![]() |
Routines |
| Prev: 64539 | Up: Map | Next: 64573 |
|
Used by the routines at Print_AuthorByline and Print_HighScore.
|
||||||||||||
| PrintMessage_Loop | 64558 | LD A,(DE) | Fetch the character to print from *DE. | |||||||||
| 64559 | PUSH DE | Stash the message pointer, screen buffer location and character counter on the stack. | ||||||||||
| 64560 | PUSH HL | |||||||||||
| 64561 | PUSH BC | |||||||||||
| 64562 | CALL PrintCharacter | Call PrintCharacter. | ||||||||||
| 64565 | POP BC | Restore the character counter and screen buffer location from the stack. | ||||||||||
| 64566 | POP HL | |||||||||||
| 64567 | POP DE | Restore the message pointer from the stack. | ||||||||||
| 64568 | INC HL | Move to the next position in the screen buffer. | ||||||||||
| 64569 | INC DE | Move to the next character in the message. | ||||||||||
| 64570 | 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. | ||||||||||
| 64572 | RET | Return. | ||||||||||
| Prev: 64539 | Up: Map | Next: 64573 |