![]() |
Routines |
| Prev: BE13 | Up: Map | Next: BE2E |
|
Used by the routines at PrintStringAndANewline, Handler_UserInput, Handler_DisplayRoom, Parser_ResolvePhrase, PrintInputPrompt, Handler_PrintCarrying and Handler_NotCarryingIt.
Print 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. | ||||||
|
View the equivalent code in;
|
||||||||
| Prev: BE13 | Up: Map | Next: BE2E |