![]() |
Routines |
| Prev: 24822 | Up: Map | Next: 24852 |
|
Used by the routine at 24852.
|
||||
|
On entry BC should point to a screen address and DE to the address of a UDG tile.
|
||||
| Draw_UDG | 24841 | LD L,C | Copies BC containing the screen address into HL. | |
| 24842 | LD H,B | |||
| 24843 | LD B,8 | Draw the UDG graphic data to the screen. | ||
| Draw_UDG_Loop | 24845 | LD A,(DE) | ||
| 24846 | LD (HL),A | |||
| 24847 | INC H | |||
| 24848 | INC DE | |||
| 24849 | DJNZ Draw_UDG_Loop | |||
| 24851 | RET | Return. | ||
| Prev: 24822 | Up: Map | Next: 24852 |