Prev: 37333 Up: Map Next: 37486
37472: Wait for keyboard to be released
Used by the routines at 26835, 27176, 37333 and 38749.
37472 PUSH AF Store AF
37473 LD A,(23556) Read first byte of second keyboard map (KSTATE system variable)...
37476 CP 255 ...and if this is not 255 (i.e. not marked as "free")...
37478 JR NZ,37473 ...loop back
37480 XOR A Clear last pressed key (LAST K system variable)...
37481 LD (23560),A ...
37484 POP AF Restore AF
37485 RET Return
Prev: 37333 Up: Map Next: 37486