1
0
mirror of https://github.com/livingcomputermuseum/ContrAlto.git synced 2026-01-25 19:55:57 +00:00

Built basic debugger UI and execution framework; a few bugfixes. CPU now executes uCode up until the first STARTF (unimplemented).

This commit is contained in:
Josh Dersch
2015-09-01 17:06:57 -07:00
parent c4f8fe951f
commit 0ced1a2ef8
10 changed files with 1283 additions and 52 deletions

View File

@@ -13,20 +13,13 @@ namespace Contralto
{
static void Main(string[] args)
{
AltoCPU cpu = new AltoCPU();
for(int i=0;i<2048;i++)
{
MicroInstruction inst = new MicroInstruction(UCodeMemory.UCodeROM[i]);
AltoSystem system = new AltoSystem();
Console.WriteLine("{0}: {1}", OctalHelpers.ToOctal(i), Disassembler.DisassembleInstruction(inst, TaskType.Emulator));
}
while(true)
{
MemoryBus.Clock();
cpu.ExecuteNext();
}
// for now everything is driven through the debugger
Debugger d = new Debugger(system);
d.LoadSourceCode("Disassembly\\altoIIcode3.mu");
d.ShowDialog();
}
}