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