Prev: F2BE Up: Map Next: F300
F2F4: Clear the screen and wait for all keys to be released
Used by the routine at F2BE.
F2F4 CALL $E801 Clear the screen.
F2F7 XOR A Set A to 0.
F2F8 IN A,($FE) Read the keyboard.
F2FA CPL Invert the bits, so keys pressed will be set bits.
F2FB AND $1F Keep only bits 1 - 5, as that's all the keyboard uses.
F2FD JR NZ,$F2F7 Loop back while keys are being pressed.
F2FF RET Otherwise return.
Prev: F2BE Up: Map Next: F300