![]() |
Routines |
Prev: 47766 | Up: Map | Next: 47793 |
Used by the routines at PrintStringAndNewline, PrintInputPrompt, UserInput_Delete, Handler_RoomExits, Action_ExamineItem, Action_Take and Action_DropThrow.
Standard printing loop, which prints the fetched character byte and loops until the termination byte is reached (255).
|
||||||||
PrintString | 47780 | CALL SwitchNormalScreenOutput | Call SwitchNormalScreenOutput. | |||||
Just keep looping and printing the fetched character until the termination byte is reached (255).
|
||||||||
PrintString_Loop | 47783 | LD A,(HL) | Load a character from the string pointer into A. | |||||
47784 | INC HL | Move the string pointer to the next character. | ||||||
47785 | CP 255 | Return if the string termination character (255) has been reached. | ||||||
47787 | RET Z | |||||||
47788 | CALL PrintCharacter | Call PrintCharacter. | ||||||
47791 | JR PrintString_Loop | Jump to PrintString_Loop. | ||||||
View the equivalent code in Warlord.
|
Prev: 47766 | Up: Map | Next: 47793 |