diff --git a/HardwareVerify/HardwareVerify.ino b/HardwareVerify/HardwareVerify.ino index 0fc0a52..840dfc1 100644 --- a/HardwareVerify/HardwareVerify.ino +++ b/HardwareVerify/HardwareVerify.ino @@ -396,6 +396,7 @@ static void commandLoop() case 's': if ((arg = getHex32(cursor, noValue)) != noValue) { + Serial.println(); dumpBlock(arg, arg + 63); } else diff --git a/TommyPROM/Configure.h b/TommyPROM/Configure.h index 6b62360..563e41c 100644 --- a/TommyPROM/Configure.h +++ b/TommyPROM/Configure.h @@ -10,12 +10,6 @@ //#define PROM_IS_27 //#define PROM_IS_8755A -// Uncomment the line below to use 74LS595 shift registers instead of the 74LS164s shown -// in the schematics. This enables extra code in PromAddressDriver.cpp to control the -// RCLK line that latches the data to the output pins. - -// #define SHIFT_REGISTER_IS_595 - // Don't change anything below this comment unless you are adding support for a new device type. #if defined(PROM_IS_28C) #include "PromDevice28C.h" diff --git a/TommyPROM/PromAddressDriver.cpp b/TommyPROM/PromAddressDriver.cpp index b0044b8..5b5ad41 100644 --- a/TommyPROM/PromAddressDriver.cpp +++ b/TommyPROM/PromAddressDriver.cpp @@ -112,11 +112,11 @@ void PromAddressDriver::setAddressRegister(uint8_t clkPin, byte addr) addr <<= 1; } -#ifdef SHIFT_REGISTER_IS_595 + // Toggle the RCLK pin to output the data for 74LS595 shift registers. This pin is + // not connected when using 74LS164 shift registers. PORTB &= ~RCLK_595_MASK; delayMicroseconds(1); PORTB |= RCLK_595_MASK; delayMicroseconds(1); PORTB &= ~RCLK_595_MASK; -#endif }