mirror of
https://github.com/livingcomputermuseum/ContrAlto.git
synced 2026-01-21 02:07:30 +00:00
commit
2e47104e53
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user