Dun Darach | Routines |
Prev: A992 | Up: Map |
Used by the routine at Actor_UpdateBg.
|
|||||||
Background_Blit | AC13 | LD E,(HL) | Offscreen address. | ||||
AC14 | INC HL | ||||||
AC15 | LD D,(HL) | ||||||
AC16 | INC HL | ||||||
AC17 | LD C,(HL) | Width in characters | |||||
AC18 | INC HL | ||||||
AC19 | LD A,(HL) | Height in scans. | |||||
AC1A | INC HL | ||||||
AC1B | LD B,$00 | ||||||
Background_Blit_0 | AC1D | PUSH BC | Blit. | ||||
AC1E | PUSH DE | ||||||
AC1F | LDIR | ||||||
AC21 | POP DE | ||||||
AC22 | EX DE,HL | ||||||
AC23 | LD BC,$0022 | ||||||
AC26 | ADD HL,BC | ||||||
AC27 | EX DE,HL | ||||||
AC28 | POP BC | ||||||
AC29 | DEC A | ||||||
AC2A | JR NZ,Background_Blit_0 | ||||||
AC2C | RET |
Prev: A992 | Up: Map |