![]() |
Routines |
| Prev: 43190 | Up: Map | Next: 43211 |
|
Used by the routine at PauseGame.
Tests whether SPACE or CAPS SHIFT is being pressed.
|
||||||||||||||||||||
| TestPauseKeys | 43195 | LD A,127 | Read from the keyboard;
|
|||||||||||||||||
| 43197 | CALL ReadKeyboard | |||||||||||||||||||
| 43200 | AND %00000001 | Keep the bit for SPACE. | ||||||||||||||||||
| 43202 | RET NZ | Return if SPACE is being pressed. | ||||||||||||||||||
| 43203 | LD A,254 | Read from the keyboard;
|
||||||||||||||||||
| 43205 | CALL ReadKeyboard | |||||||||||||||||||
| 43208 | AND %00000001 | Keep the bit for CAPS SHIFT. | ||||||||||||||||||
| 43210 | RET | Return. | ||||||||||||||||||
| Prev: 43190 | Up: Map | Next: 43211 |