Routines |
Prev: 54176 | Up: Map | Next: 54215 |
54192 | LD HL,(54110) | Load HL with address of bitmap virtual text cursor | ||
54195 | LD A,L | Get LSB of video memory address in A | ||
54196 | ADD A,32 | Add 32 (i.e. move down one character row) | ||
54198 | JP C,54206 | If we have encountered the bottom of the current third of the display, then skip ahead to 54206 | ||
54201 | AND 224 | Decrease to nearest multiple of 32 (i.e. start of a character row) | ||
54203 | LD L,A | Place modified address back into HL | ||
54204 | JR 54188 | Store at 54110 and return | ||
54206 | AND 224 | Decrease to nearest multiple of 32 (i.e. start of a character row) | ||
54208 | LD L,A | Place modified address back into L | ||
54209 | LD A,H | Load MSB of video memory address into A | ||
54210 | ADD A,8 | Increase by 8 (as we're moving one text row, or EIGHT pixel rows down) | ||
54212 | LD H,A | Place modified address back into HL | ||
54213 | JR 54188 | Store at 54110 and return |
Prev: 54176 | Up: Map | Next: 54215 |