Example #1
0
 public void HardReset()
 {
     for (uint i = 0; i < 0x7FF; i++)
     {
         ram[i] = 0x00;
     }
     cpu.PC = (ushort)(cpu.ReadMemory(0xFFFC) | ((ushort)cpu.ReadMemory(0xFFFD) << 8));
     via0.HardReset();
     via1.HardReset();
 }