Prev: A8B6 Up: Map Next: A8CB
A8BB: Test Pause Keys
Used by the routine at PauseGame.
Tests whether SPACE or CAPS SHIFT is being pressed.
Output
F Zero flag reset if one of them is being pressed
TestPauseKeys A8BB LD A,$7F Read from the keyboard;
Port Number Bit
0 1 2 3 4
7F SPACE SYMBOL SHIFT M N B
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;
Port Number Bit
0 1 2 3 4
FE CAPS SHIFT Z X C V
A8C5 CALL ReadKeyboard
A8C8 AND %00000001 Keep the bit for CAPS SHIFT.
A8CA RET Return.
Prev: A8B6 Up: Map Next: A8CB