![]() |
Routines |
| Prev: 24622 | Up: Map | Next: 24711 |
|
Used by the routines at DrawCubbyHoleShelves and DrawPlayArea.
Prints the same string on a number of consecutive character rows, so that a UDG is repeated down the screen.
|
||||||||||||||||
| PrintString_Wrapper | 24695 | PUSH HL | Stash HL, DE and BC on the stack. | |||||||||||||
| 24696 | PUSH DE | |||||||||||||||
| 24697 | PUSH BC | |||||||||||||||
| 24698 | CALL PrintStringColour | Print the string using PrintStringColour. | ||||||||||||||
| 24701 | POP BC | Restore BC, DE and HL from the stack. | ||||||||||||||
| 24702 | POP DE | |||||||||||||||
| 24703 | POP HL | |||||||||||||||
| 24704 | LD A,H | Move down 8 pixels onto the next row. | ||||||||||||||
| 24705 | ADD A,8 | |||||||||||||||
| 24707 | LD H,A | |||||||||||||||
| 24708 | DJNZ PrintString_Wrapper | Decrease the row counter by one and loop back to PrintString_Wrapper until all of the rows have been printed. | ||||||||||||||
| 24710 | RET | Return. | ||||||||||||||
| Prev: 24622 | Up: Map | Next: 24711 |