Prev: 27130 Up: Map Next: 27190
27151: Dump flags and location information to channel 253
Used by the routine at KEYBOARD_HANDLER.
DUMP_FLAGS 27151 CALL OPEN_CHANNEL_253 Open channel #253
27154 LD DE,23296 DE=pointer to flag 0
27157 XOR A A=0
DUMP_FLAGS_0 27158 CALL DUMP_FLAGS_1 Print value of current flag
27161 INC DE Onto next flag
27162 INC A Increment flag counter
27163 CP 31 Have we reached flag 31?
27165 JR NZ,DUMP_FLAGS_0 If not, do next flag
27167 LD A,20 A=20 (Inverse)
27169 RST 16 Print a character
27170 LD A,1 A=1 (Inverse on)
27172 RST 16 Print a chracter
27173 LD DE,23331 DE points to current location
DUMP_FLAGS_1 27176 PUSH AF
27177 LD A,(DE) A=value of flag/location of object
27178 LD HL,27348 HL=temporary location for storing A
27181 LD (HL),A
27182 DEC HL
27183 LD (HL),0 HL points to 16-bit version of A (but MSB is always 0)
27185 CALL 6696 Print number indirectly addressed by HL
27188 POP AF
27189 RET
Prev: 27130 Up: Map Next: 27190