Prev: 76C8 Up: Map Next: 76F9
76E0: Write the number of lines into the lines bubble graphic buffer
Used by the routine at 7700. Writes the number of lines being given by a teacher into the lines bubble graphic buffer at EB00.
Input
DE Number of lines
76E0 CALL $7646 Generate the graphic data for the number of lines
76E3 LD HL,$D90C Point HL at the buffer containing the graphic data for the number (at D90B)
76E6 LD DE,$EB39 Point DE at the appropriate spot in the lines bubble graphic buffer (at EB00) for writing the number of lines
76E9 LD BC,$07FF B=0x07, C=0xFF
76EC LDI Copy the graphic data (a 7x16 block of pixels) for the number of lines into the lines bubble graphic buffer
76EE LDI
76F0 INC HL
76F1 INC DE
76F2 LD A,E
76F3 ADD A,$05
76F5 LD E,A
76F6 DJNZ $76EC
76F8 RET
Prev: 76C8 Up: Map Next: 76F9