![]() |
Routines |
Prev: A577 | Up: Map | Next: A592 |
Used by the routines at PrintStringAndNewline, PrintInputPrompt, Handler_RoomExits, ACCF, ACE6, Handler_UserInput, Action_ExamineItem, Print_Scoring and ED60.
Standard printing loop, which prints the fetched character byte and loops until the termination byte is reached (FF).
|
||||||||
PrintString | A585 | CALL SwitchNormalScreenOutput | Call SwitchNormalScreenOutput. | |||||
Just keep looping and printing the fetched character until the termination byte is reached (FF).
|
||||||||
PrintString_Loop | A588 | LD A,(HL) | Load a character from the string pointer into A. | |||||
A589 | INC HL | Move the string pointer to the next character. | ||||||
A58A | CP $FF | Return if the string termination character (FF) has been reached. | ||||||
A58C | RET Z | |||||||
A58D | CALL PrintCharacter | Call PrintCharacter. | ||||||
A590 | JR PrintString_Loop | Jump to PrintString_Loop. | ||||||
View the equivalent code in The Jewels Of Babylon.
|
Prev: A577 | Up: Map | Next: A592 |