![]() |
Routines |
| Prev: A8BB | Up: Map | Next: A8D1 |
|
Used by the routines at ShowTitleMenu, MoveMarker, PlayMusic_WaitKey, TestPauseKeys and ReadControls.
Reads the rows of the keyboard which are selected by the high byte of the port address.
|
||||||||||||
| ReadKeyboard | A8CB | IN A,($FE) | Read the keyboard. | |||||||||
| A8CD | CPL | Invert the bits. | ||||||||||
| A8CE | AND %00011111 | Keep the bits for the five keys. | ||||||||||
| A8D0 | RET | Return. | ||||||||||
| Prev: A8BB | Up: Map | Next: A8D1 |