Prev: 26788 Up: Map Next: 26853
26835: Wait for a key-press then beep
Used by the routine at 26788.
Output
A ASCII index of key pressed
26835 XOR A Clear last pressed key (LAST K system variable)...
26836 LD (23560),A ...
26839 HALT Wait for interrupt
26840 LD A,(23560) Load A with last pressed key (LAST K system variable)
26843 OR A If A is zero (i.e. no key pressed)...
26844 JR Z,26840 ...then loop back to 26840
26846 CALL 38221 Make a beep
26849 CALL 37472 Wait for keyboard to be released
26852 RET Return
Prev: 26788 Up: Map Next: 26853