![]() |
Routines |
| Prev: FC1B | Up: Map | Next: FC3D |
|
Used by the routines at Print_AuthorByline and Print_HighScore.
|
||||||||||||
| PrintMessage_Loop | FC2E | LD A,(DE) | Fetch the character to print from *DE. | |||||||||
| FC2F | PUSH DE | Stash the message pointer, screen buffer location and character counter on the stack. | ||||||||||
| FC30 | PUSH HL | |||||||||||
| FC31 | PUSH BC | |||||||||||
| FC32 | CALL PrintCharacter | Call PrintCharacter. | ||||||||||
| FC35 | POP BC | Restore the character counter and screen buffer location from the stack. | ||||||||||
| FC36 | POP HL | |||||||||||
| FC37 | POP DE | Restore the message pointer from the stack. | ||||||||||
| FC38 | INC HL | Move to the next position in the screen buffer. | ||||||||||
| FC39 | INC DE | Move to the next character in the message. | ||||||||||
| FC3A | DJNZ PrintMessage_Loop | Decrease the character counter by one and loop back to PrintMessage_Loop until the entire message has been printed to the screen buffer. | ||||||||||
| FC3C | RET | Return. | ||||||||||
| Prev: FC1B | Up: Map | Next: FC3D |