![]() |
Routines |
| Prev: 660D | Up: Map | Next: 662B |
|
Used by the routine at Print_HUD_Header.
|
||||||||||
| PrintString | 6621 | LD A,(HL) | A=*HL. | |||||||
| 6622 | PUSH HL | Stash HL and BC on the stack temporarily. | ||||||||
| 6623 | PUSH BC | |||||||||
| 6624 | RST $10 | Print to the screen using RST 10. | ||||||||
| 6625 | POP BC | Restore BC and HL from the stack. | ||||||||
| 6626 | POP HL | |||||||||
| 6627 | INC HL | Increment HL by one. | ||||||||
| 6628 | DJNZ PrintString | Decrease the string length counter by one and loop back to PrintString until the whole string has been printed to the screen. | ||||||||
| 662A | RET | Return. | ||||||||
| Prev: 660D | Up: Map | Next: 662B |