Beispiel #1
0
 public static int load(int address) {
   if (debug) {
     sys.log("mem[%04X] => %02X", address, bank.load(address));
   }
   return bank.load(address);
 }
Beispiel #2
0
 public static void store(int address, int value) {
   if (debug) {
     sys.log("mem[%04X] <= %02X", address, value);
   }
   bank.store(address, value);
 }