1
0
mirror of https://github.com/livingcomputermuseum/ContrAlto.git synced 2026-02-04 15:43:29 +00:00

Initial rough implementation of Display hardware and associated tasks. Not really working.

This commit is contained in:
Josh Dersch
2015-11-10 17:04:05 -08:00
parent e1c90dbe01
commit ca638f1d6e
17 changed files with 697 additions and 128 deletions

View File

@@ -14,31 +14,11 @@ namespace Contralto
static void Main(string[] args)
{
AltoSystem system = new AltoSystem();
/*
for(int address=0; address < 1024; address++)
{
MicroInstruction inst = new MicroInstruction(UCodeMemory.UCodeROM[address]);
Console.WriteLine("{0}: {1} - RSEL:{2} ALUF:{3} BS:{4} F1:{5} F2:{6} T:{7} L:{8} NEXT:{9}",
OctalHelpers.ToOctal(address, 4),
OctalHelpers.ToOctal((int)UCodeMemory.UCodeROM[address], 11),
OctalHelpers.ToOctal((int)inst.RSELECT, 2),
OctalHelpers.ToOctal((int)inst.ALUF, 2),
OctalHelpers.ToOctal((int)inst.BS),
OctalHelpers.ToOctal((int)inst.F1, 2),
OctalHelpers.ToOctal((int)inst.F2, 2),
inst.LoadT ? 1 : 0,
inst.LoadL ? 1 : 0,
OctalHelpers.ToOctal((int)inst.NEXT, 4));
} */
AltoSystem system = new AltoSystem();
// for now everything is driven through the debugger
Debugger d = new Debugger(system);
system.AttachDisplay(d);
d.LoadSourceCode("Disassembly\\altoIIcode3.mu");
d.ShowDialog();