mirror of
https://github.com/livingcomputermuseum/ContrAlto.git
synced 2026-03-10 20:34:24 +00:00
@@ -189,9 +189,6 @@ namespace Contralto.CPU
|
||||
break;
|
||||
|
||||
case MicrocodeBank.RAM0:
|
||||
_microcodeBank[(int)task] = (nextAddress & 0x80) == 0 ? MicrocodeBank.ROM0 : MicrocodeBank.RAM2;
|
||||
break;
|
||||
|
||||
case MicrocodeBank.RAM1:
|
||||
_microcodeBank[(int)task] = (nextAddress & 0x80) == 0 ? MicrocodeBank.ROM0 : MicrocodeBank.RAM2;
|
||||
break;
|
||||
@@ -210,15 +207,12 @@ namespace Contralto.CPU
|
||||
break;
|
||||
|
||||
case MicrocodeBank.RAM0:
|
||||
_microcodeBank[(int)task] = (nextAddress & 0x80) == 0 ? MicrocodeBank.RAM1 : MicrocodeBank.RAM1;
|
||||
_microcodeBank[(int)task] = MicrocodeBank.RAM1;
|
||||
break;
|
||||
|
||||
case MicrocodeBank.RAM1:
|
||||
_microcodeBank[(int)task] = (nextAddress & 0x80) == 0 ? MicrocodeBank.RAM0 : MicrocodeBank.RAM0;
|
||||
break;
|
||||
|
||||
case MicrocodeBank.RAM2:
|
||||
_microcodeBank[(int)task] = (nextAddress & 0x80) == 0 ? MicrocodeBank.RAM0 : MicrocodeBank.RAM0;
|
||||
_microcodeBank[(int)task] = MicrocodeBank.RAM0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,14 +62,14 @@ namespace Contralto.Memory
|
||||
else
|
||||
{
|
||||
_bus.Add(addr, dev);
|
||||
|
||||
if (dev is Memory)
|
||||
{
|
||||
_mainMemory = (Memory)dev;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (dev is Memory)
|
||||
{
|
||||
_mainMemory = (Memory)dev;
|
||||
}
|
||||
}
|
||||
|
||||
public void Reset()
|
||||
|
||||
Reference in New Issue
Block a user