![]() |
Routines |
| Prev: 26125 | Up: Map | Next: 26155 |
|
Used by the routine at Print_HUD_Header.
|
||||||||||
| PrintString | 26145 | LD A,(HL) | A=*HL. | |||||||
| 26146 | PUSH HL | Stash HL and BC on the stack temporarily. | ||||||||
| 26147 | PUSH BC | |||||||||
| 26148 | RST 16 | Print to the screen using RST 16. | ||||||||
| 26149 | POP BC | Restore BC and HL from the stack. | ||||||||
| 26150 | POP HL | |||||||||
| 26151 | INC HL | Increment HL by one. | ||||||||
| 26152 | DJNZ PrintString | Decrease the string length counter by one and loop back to PrintString until the whole string has been printed to the screen. | ||||||||
| 26154 | RET | Return. | ||||||||
| Prev: 26125 | Up: Map | Next: 26155 |