![]() |
Routines |
| Prev: A8B6 | Up: Map | Next: A8CB |
|
Used by the routine at PauseGame.
Tests whether SPACE or CAPS SHIFT is being pressed.
|
||||||||||||||||||||
| TestPauseKeys | A8BB | LD A,$7F | Read from the keyboard;
|
|||||||||||||||||
| A8BD | CALL ReadKeyboard | |||||||||||||||||||
| A8C0 | AND %00000001 | Keep the bit for SPACE. | ||||||||||||||||||
| A8C2 | RET NZ | Return if SPACE is being pressed. | ||||||||||||||||||
| A8C3 | LD A,$FE | Read from the keyboard;
|
||||||||||||||||||
| A8C5 | CALL ReadKeyboard | |||||||||||||||||||
| A8C8 | AND %00000001 | Keep the bit for CAPS SHIFT. | ||||||||||||||||||
| A8CA | RET | Return. | ||||||||||||||||||
| Prev: A8B6 | Up: Map | Next: A8CB |