Prev: 43190 Up: Map Next: 43211
43195: 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 43195 LD A,127 Read from the keyboard;
Port Number Bit
0 1 2 3 4
127 SPACE SYMBOL SHIFT M N B
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;
Port Number Bit
0 1 2 3 4
254 CAPS SHIFT Z X C V
43205 CALL ReadKeyboard
43208 AND %00000001 Keep the bit for CAPS SHIFT.
43210 RET Return.
Prev: 43190 Up: Map Next: 43211