Keyboard

The KITTY uses a custom 40-key mechanical keyboard for input, which is connected to the main board via two cables.

The keyboard can be read directly by the cpu through means of 5 Keyboard Row Registers, where each bit in the byte represents the current state of a particular key (0=unpressed 1=pressed).

Address Mode Description Format (bit 7-0)
$7000 R Keyboard Row 1 Ctrl X C Space
$7010 R Keyboard Row 2 Menu Z F B N | . Enter
$7020 R Keyboard Row 3 Shift A D V H M L Backspace
$7030 R Keyboard Row 4 Alt Q S G Y J K P
$7040 R Keyboard Row 5 Esc W E R T U I O