Prev: F3A4 Up: Map Next: F3E0
F3D3: Convert a UDG ID to the address of its data
Used by the routines at 62A3, CDD3 and F3EC.
Input
A UDG ID to look up
HL On return, points to the UDG data
F3D3 LD L,A Put the ID in HL.
F3D4 LD H,$00
F3D6 ADD HL,HL Double this to get an appropriate word offset.
F3D7 LD BC,$6C46 Add the base address of the graphic lookup table at 6C46.
F3DA ADD HL,BC
F3DB LD A,(HL) Put the address of the graphic in HL.
F3DC INC HL
F3DD LD H,(HL)
F3DE LD L,A
F3DF RET Return.
Prev: F3A4 Up: Map Next: F3E0