Prev: 07F2 Up: Map Next: 081B
080F: print_column_3: Write character data at column that is 3 greater than a multiple of 4.
Used by the routines at print_double_column_3 and print_normal.
Input
DE holds address of character font bitmap.
HL holds screen address to print character at.
B holds the number or pixel rows to write.
print_column_3 080F LD A,(DE) Load byte of font data into A.
0810 LD C,A Add leftmost 2 bits of existing screen byte (part of previous character column).
0811 LD A,(HL)
0812 AND $C0
0814 ADD A,C
0815 LD (HL),A Write result to the screen.
0816 INC H Increment H to move to next pixel row of screen bitmap.
0817 INC DE Increment DE to move to next pixel row of font data.
0818 DJNZ print_column_3 Loop back to print_column_3 for number of iterations in B and return.
081A RET
Prev: 07F2 Up: Map Next: 081B