Arduino, Hacking, SEM, Rom, Hacdc.
//digitalWrite(kPin_A12, (addr & 4096)?HIGH:LOW); //digitalWrite(kPin_A13, (addr & 8192)?HIGH:LOW); } byte ReadByte() { // read the current eight-bit byte being output by the ROM ... byte b = 0; if (digitalRead(kPin_D0)) b |= 1; if (digitalRead(kPin_D1)) b |= 2; if (digitalRead(kPin_D2)) b |= 4; if