Menu

Patch Commodore 64 Kernal Roms to remap keyboard
📰

Patch Commodore 64 Kernal Roms to remap keyboard

Adafruit Industries – Makers, hackers, artists, designers and engineers!·Anne Barela·16 days ago
#K6wgQbYZ
#adafruit#keyboard#maps#shift#patched
Reading 0:00
15s threshold

Dave VW has posted a new way to remap the Commodore 64 keyboard, writing at Tech with Dave. Earlier remapping drivers loaded into lower BASIC RAM at a fixed address and vanished on restart. The keyboard tables actually live in the KERNAL ROM, which holds four maps: Normal, Shift, Commodore, and Control.

The new program, 64KEY ROM PATCH, is a PRG added to the c-keymaps project. It locates the keyboard maps, then applies a patch list of DATA statements giving shift mask, key scan code, and PETSCII character. The patched ROM is built in RAM and activated.

From there the change can be made lasting. The patched image can be saved, moved to a PC, and burned to an EEPROM for a physical C64. Owners of a ROM switcher such as Easy Flash 3, or a toggle switch between two ROMs, can swap maps on the fly. Emulator users can just add the patched ROM to their collection and select it.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.