Prev: 63740 Up: Map Next: 63986
63969: Set zero flag if key pressed is already assigned to a control, otherwise reset
Used by the routine at 63740.
Input
A Index of key pressed
Output
F Zero flag set if pressed key is already assigned, otherwise reset
63969 PUSH BC Store BC
63970 PUSH HL Store HL
63971 LD HL,63986 Point HL at start of list of current keyboard control characters
63974 LD B,5 Load B with 5 (as there are five controls to process)
63976 CP (HL) If key pressed is the same as current control key index...
63977 JR Z,63983 ...then skip ahead to 63983
63979 INC HL Advance HL to next entry in list of current keyboard control characters
63980 DJNZ 63976 Decrease B (remaining number of control characters to process) and loop back to 63976 if not zero
63982 OR A Reset zero flag
63983 POP HL Restore HL
63984 POP BC Restore BC
63985 RET Return
Prev: 63740 Up: Map Next: 63986