private static void WaitData() { for (int i = 0; i < 1000 & ((CPUBus.Read8(0x64) & 1) == 1); i++) { ; } }
private static void WaitSignal() { for (int i = 0; i < 1000 & ((CPUBus.Read8(0x64) & 2) != 0); i++) { ; } }
private static byte Read() { WaitData(); return(CPUBus.Read8(0x60)); }