Prev: 7124 Up: Map Next: 7134
7126: Draw the pixels for an ASCII character on screen
Used by the routine at 76a6.
Input
B Loop counter for no. of pixel rows - is always $08!
DE Address for desired character from the font set.
HL Display address for where to draw the character.
Output
HL Next character location.
7126 ld a,(de) Current byte from the font character
7127 ld (hl),a Write byte to screen
7128 inc de Next row of font pixels
7129 inc h Next pixel line
712a djnz $7126 Repeat until 8x8 char displayed
712c pop de
712d pop bc
712e ld a,h Reset display line
712f sub $08
7131 ld h,a
7132 inc l Increment column
7133 ret
Prev: 7124 Up: Map Next: 7134