Prev: 52584 Up: Map Next: 52614
52606: Debugger
As the game uses its own character set, it's unlikely this routine was/ is used for the actual game (it doesn't seem to be called from anywhere). At a guess, it was probably used for "testing" text messages and outputs during development.
Debugger 52606 LD A,(HL) Grab a byte from HL return if it's 255 (our termination character).
52607 CP 255
52609 RET Z
52610 RST 16 Print to screen (see PRINT_A_1).
52611 INC HL Increase HL by one and loop back to Debugger.
52612 JR Debugger
Prev: 52584 Up: Map Next: 52614