Prev: 43195 Up: Map Next: 43217
43211: Read Keyboard
Reads the rows of the keyboard which are selected by the high byte of the port address.
Input
A The high byte of the port address (0 selects all of the rows)
Output
A The keys which are being pressed (bit set for pressed)
ReadKeyboard 43211 IN A,(254) Read the keyboard.
43213 CPL Invert the bits.
43214 AND %00011111 Keep the bits for the five keys.
43216 RET Return.
Prev: 43195 Up: Map Next: 43217