   delay(blinkTimeLow);
 }
 
-void enableSRAM() {
+/*void enableSRAM() {
   pinMode(CE1SRAM, OUTPUT);
   pinMode(CE2SRAM, OUTPUT);
   digitalWrite(CE1SRAM, LOW);
   digitalWrite(CE2SRAM, HIGH);
-}
+}*/
 
 void disableVCBus() {
   digitalWrite(WESRAM, HIGH);
-  digitalWrite(OEDATA, LOW);
-  digitalWrite(OEADDRESS, LOW);
+  digitalWrite(OESHIFT, LOW);
   digitalWrite(OEVCBUS, HIGH);
 }
 
 void enableVCBus() {
   digitalWrite(WESRAM, HIGH);
-  digitalWrite(OEDATA, HIGH);
-  digitalWrite(OEADDRESS, HIGH);
+  digitalWrite(OESHIFT, HIGH);
   digitalWrite(OEVCBUS, LOW);
   delay(100);
   // handover R/W control to VC4000


  // Write ROM file to SRAM
  if (romFile) {
    enableSRAM();
    unsigned romSize = static_cast<unsigned>(romFile.size());
    if (romSize <= MAX_ROM_SIZE) {
      for (unsigned i = 0; i < romSize; i++) {

File romFile;

void setup() {
  pinMode(SD_CS, OUTPUT);
  pinMode(CLOCK, OUTPUT);
  pinMode(LATCH, OUTPUT);
  pinMode(DATA, OUTPUT);
  pinMode(WESRAM, OUTPUT);
  pinMode(OESHIFT, OUTPUT);
  pinMode(OEVCBUS, OUTPUT);
  pinMode(LED, OUTPUT);

