| quill | Routines |
| Prev: 26798 | Up: Map | Next: 26858 |
|
Converts message number to address of message Used by the routines at PRINT_SYSMSG_NEWLINE, PRINT_SYSMSG and PRINT_TO_SCREEN.
|
||||||||
| LOOKUP_SYSMSG | 26845 | ADD HL,HL | Double HL to get offset in table | |||||
| 26846 | PUSH DE | |||||||
| 26847 | LD DE,(27553) | DE = Start address of system messages table | ||||||
| 26851 | ADD HL,DE | HL = address of entry in system messages table | ||||||
| 26852 | LD E,(HL) | E = LSB of message | ||||||
| 26853 | INC HL | |||||||
| 26854 | LD D,(HL) | D = MSB of message | ||||||
| 26855 | EX DE,HL | HL is now address of message | ||||||
| 26856 | POP DE | |||||||
| 26857 | RET | |||||||
| Prev: 26798 | Up: Map | Next: 26858 |