Prev: BE13 Up: Map Next: BE2E
BE21: Print String
Input
HL Pointer to a message terminated by FF
PrintString BE21 CALL SwitchToNormalScreenOutput Call SwitchToNormalScreenOutput to select the screen channel.
Keep printing until the FF terminator.
PrintString_Loop BE24 LD A,(HL) Read the next character and advance the pointer.
BE25 INC HL
BE26 CP $FF Return if this character is the FF terminator.
BE28 RET Z
Print this character.
BE29 CALL PrintCharacter Call PrintCharacter.
BE2C JR PrintString_Loop Jump back to PrintString_Loop for the next character.
Prev: BE13 Up: Map Next: BE2E