![]() |
Routines |
| Prev: F262 | Up: Map | Next: F274 |
|
||||
| F268 | EX (SP),HL | HL now points to the character(s) to print on screen, e.g. F2AA | ||
|
Print character:
|
||||
| F269 | LD A,(HL) | Get character from message string | ||
| F26A | INC HL | ...and move address pointer on to the next letter | ||
| F26B | CP $FF | Check for end-of-text marker | ||
| F26D | JR Z,$F272 | If reached, stop printing | ||
| F26F | RST $10 | Otherwise print the character | ||
| F270 | JR $F269 | Repeat until all message characters printed | ||
| F272 | EX (SP),HL | ...Then swap the message address pointer back onto the stack | ||
| F273 | RET | |||
| Prev: F262 | Up: Map | Next: F274 |