First thought on an interface (to use Paleolithic DROM)
Posted: Wed Jun 04, 2025 5:54 am
Noodling ideas here; the basic requirement is a minimal interface which fits in 128 bytes (including the reset vector!). There's no decoding logic yet, but: the scan for the keypad and LED select occupies 8 sequential addresses with a further address to write the LED pattern and read the pressed key(s).
I suspect a main loop will read bit patterns directly from eight memory locations; reading the keys after each column. If a key is pressed it either executes code from the default address (go); increments the current address (return); or shifts the byte at the current address left and adds itself as the low byte (hex keys).
It's going to need sixteen bytes to store the LED patterns, which is a pain, and I don't think there's going to be space to select a start address - a default is likely $0200 to keep the zero page and stack free.
The remainder of the hardware will be a 65c02, 65256 ram, 24c256 eeprom (half only), 68b50 uart (because I've got some).
Thoughts?
Neil
I suspect a main loop will read bit patterns directly from eight memory locations; reading the keys after each column. If a key is pressed it either executes code from the default address (go); increments the current address (return); or shifts the byte at the current address left and adds itself as the low byte (hex keys).
It's going to need sixteen bytes to store the LED patterns, which is a pain, and I don't think there's going to be space to select a start address - a default is likely $0200 to keep the zero page and stack free.
The remainder of the hardware will be a 65c02, 65256 ram, 24c256 eeprom (half only), 68b50 uart (because I've got some).
Thoughts?
Neil