![]() |
Routines |
DE | Display file address: 20956 (lines), 20924 (score) or 20988 (high score) |
HL | Lines, score or high score |
30408 | EX DE,HL | Transfer the lines, score or high score to DE |
30409 | CALL 30278 | Generate a 7x24-bit graphic for the number stored in DE |
30412 | EX DE,HL | Transfer the display file address back to DE |
30413 | LD HL,55563 | The graphic data for the number is stored in the buffer at 55563-55583 |
30416 | LD BC,2047 | B=7 (number of pixel rows) |
30419 | PUSH DE | Save the display file address temporarily |
30420 | LDI | Transfer a 24-bit wide row of pixels to the screen |
30422 | LDI | |
30424 | LDI | |
30426 | POP DE | Restore the display file address to DE |
30427 | INC D | Next pixel row on the screen |
30428 | DJNZ 30419 | Jump back until all 7 pixel rows are done |
30430 | JR 30457 | Jump over the routine at 30432 |