| Ground Attack | Routines |
| Prev: 6800 | Up: Map | Next: 685B |
|
||||||||||
|
String in the format of <Length>,<string>
|
||||||||||
| StrPrint | 6840 | LD C,(HL) | Get string length | |||||||
| 6841 | INC HL | |||||||||
| 6842 | LD B,(HL) | |||||||||
| 6843 | INC HL | |||||||||
| 6844 | EX DE,HL | |||||||||
| StrPrint_0 | 6845 | LD A,B | Do nothing for a zero length string. | |||||||
| 6846 | OR C | |||||||||
| 6847 | RET Z | |||||||||
| 6848 | PUSH BC | Get next character and blit. | ||||||||
| 6849 | PUSH DE | |||||||||
| 684A | PUSH HL | |||||||||
| 684B | LD A,(DE) | |||||||||
| 684C | CALL CharBlit | |||||||||
| 684F | POP HL | |||||||||
| 6850 | POP DE | |||||||||
| 6851 | POP BC | |||||||||
| 6852 | DEC BC | |||||||||
| 6853 | INC DE | |||||||||
| 6854 | INC HL | |||||||||
| 6855 | JR StrPrint_0 | |||||||||
| 6857 | NOP | |||||||||
| 6858 | NOP | |||||||||
| 6859 | NOP | |||||||||
| 685A | NOP | |||||||||
| Prev: 6800 | Up: Map | Next: 685B |