Prev: 32254 Up: Map Next: 32287
32275: Print UDG at HL to screen at BC
Plots 8 scan bytes in the character cell at C,B from the UDG at HL. HL can point to the char set in ROM.
Used by the routines at print_score and print_string_yxt_at_hl.
Input
C char xpos
B char ypos
HL UDG data, 8 consecutive bytes
print_udg 32275 CALL cxy2saddr cxy2saddr: DE = screen address of char C,B
32278 LD B,8 8 scans, top to bottom
print_udg_0 32280 LD A,(HL) Pick up data byte
32281 INC HL Move to next
32282 LD (DE),A Load into screen
32283 INC D Move down a scan
32284 DJNZ print_udg_0 Back for next
32286 RET
Prev: 32254 Up: Map Next: 32287