Prev: 38528 Up: Map Next: 38562
38545: Print a single character
Used by the routines at 34499 and 38528.
Input
A ASCII code of the character
DE Display file address
38545 LD H,7 Point HL at the bitmap for the character (in the ROM)
38547 LD L,A
38548 SET 7,L
38550 ADD HL,HL
38551 ADD HL,HL
38552 ADD HL,HL
38553 LD B,8 There are eight pixel rows in a character bitmap
This entry point is used by the routine at 34762 to draw a triangle UDG on the title screen, and by the routine at 37841 to draw an item in the current room.
38555 LD A,(HL) Copy the character bitmap (or triangle UDG, or item graphic) to the screen (or screen buffer)
38556 LD (DE),A
38557 INC HL
38558 INC D
38559 DJNZ 38555
38561 RET
Prev: 38528 Up: Map Next: 38562