![]() |
Routines |
| Prev: 48659 | Up: Map | Next: 48686 |
|
Used by the routines at PrintStringAndANewline, Handler_UserInput, Handler_DisplayRoom, Parser_ResolvePhrase, PrintInputPrompt, Handler_PrintCarrying and Handler_NotCarryingIt.
Print a message terminated by 255.
|
||||||||
| PrintString | 48673 | CALL SwitchToNormalScreenOutput | Call SwitchToNormalScreenOutput to select the screen channel. | |||||
|
Keep printing until the 255 terminator.
|
||||||||
| PrintString_Loop | 48676 | LD A,(HL) | Read the next character and advance the pointer. | |||||
| 48677 | INC HL | |||||||
| 48678 | CP 255 | Return if this character is the 255 terminator. | ||||||
| 48680 | RET Z | |||||||
|
Print this character.
|
||||||||
| 48681 | CALL PrintCharacter | Call PrintCharacter. | ||||||
| 48684 | JR PrintString_Loop | Jump back to PrintString_Loop for the next character. | ||||||
|
View the equivalent code in;
|
||||||||
| Prev: 48659 | Up: Map | Next: 48686 |