Prev: 21B9 Up: Map Next: 21E1
21D6: THE 'IN-CHAN-K' SUBROUTINE
Used by the routine at INPUT.
Input
Output
F Zero flag set if channel 'K' (keyboard) is being used
IN_CHAN_K 21D6 LD HL,($5C51) The base address of the channel information for the current channel (CURCHL) is fetched and the channel code compared to the character 'K'.
21D9 INC HL
21DA INC HL
21DB INC HL
21DC INC HL
21DD LD A,(HL)
21DE CP "K"
21E0 RET Return afterwards.
Prev: 21B9 Up: Map Next: 21E1