Prev: FBC8 Up: Map Next: FBDB
FBD4: Get Keypress
Used by the routines at ChangeControls, UserDefinedKeys and PressAnyKey_Pause.
GetKeypress FBD4 XOR A A=00.
FBD5 IN A,($FE) Read from the keyboard;
Port Number Bit
0 1 2 3 4
FE SHIFT Z X C V
FBD7 CPL Invert the bits in A.
FBD8 AND %00011111 Keep only bits 0-4.
FBDA RET Return.
Prev: FBC8 Up: Map Next: FBDB