 
 void disableVCBus() {
   digitalWrite(WR, HIGH);
-  digitalWrite(OEDATA, HIGH);
-  digitalWrite(OEADDRESS, HIGH);
+  digitalWrite(OEDATA, LOW);
+  digitalWrite(OEADDRESS, LOW);
   digitalWrite(OEVCBUS, HIGH);
 }
 


#define ROMSIZE 2048

prog_uchar romImage[] PROGMEM  = { 
0x1f, 0x00, 0x20, 0x17, 0x06, 0x20, 0x0e, 0x47, 0xa3, 0xce, 0x7f, 0x80, 0x5a, 0x78, 0x17, 0x05,
0xf6, 0x0e, 0x26, 0xca, 0xcd, 0x7e, 0x0a, 0x0f, 0x26, 0xca, 0xcd, 0x7e, 0x1a, 0xd9, 0x72, 0x17,
0x20, 0xc3, 0xcf, 0x5f, 0x00, 0x5b, 0x7b, 0x92, 0xcc, 0x5e, 0xc9, 0xcc, 0x1f, 0x0f, 0x04, 0x02,

 Serial.println("writing data");
 enableSRAM();
 for (int i=0;i<=ROMSIZE;i++) {
    write2RAM(i,pgm_read_byte(romImage+i));
 }
 disableSRAM();
 
