C0B1: Draws a furniture tile as a double height bitmap.
Tile_BlitDoubleHeight |
C0B1 |
PUSH AF |
|
C0B2 |
PUSH HL |
|
C0B3 |
PUSH BC |
|
C0B4 |
PUSH DE |
|
C0B5 |
EX DE,HL |
|
C0B6 |
PUSH HL |
|
C0B7 |
LD D,$58 |
|
C0B9 |
LD E,L |
|
C0BA |
LD L,H |
|
C0BB |
LD H,$00 |
|
C0BD |
ADD HL,HL |
|
C0BE |
ADD HL,HL |
|
C0BF |
ADD HL,HL |
|
C0C0 |
ADD HL,HL |
|
C0C1 |
ADD HL,HL |
|
C0C2 |
ADD HL,DE |
|
C0C3 |
LD (HL),C |
|
C0C4 |
PUSH DE |
|
C0C5 |
LD DE,$0020 |
|
C0C8 |
ADD HL,DE |
|
C0C9 |
POP DE |
|
C0CA |
LD (HL),C |
|
C0CB |
POP HL |
|
C0CC |
LD L,H |
|
C0CD |
LD D,$00 |
|
C0CF |
LD H,D |
|
C0D0 |
LD C,E |
|
C0D1 |
LD B,D |
|
C0D2 |
ADD HL,HL |
|
C0D3 |
ADD HL,HL |
|
C0D4 |
ADD HL,HL |
|
C0D5 |
ADD HL,HL |
|
C0D6 |
LD DE,DF_lookup |
|
C0D9 |
ADD HL,DE |
|
C0DA |
PUSH HL |
|
C0DB |
POP IX |
|
C0DD |
LD L,A |
|
C0DE |
LD H,$00 |
|
C0E0 |
ADD HL,HL |
|
C0E1 |
ADD HL,HL |
|
C0E2 |
ADD HL,HL |
|
C0E3 |
LD DE,Bmp_Tiles |
|
C0E6 |
ADD HL,DE |
|
C0E7 |
EX DE,HL |
|
C0E8 |
DEC BC |
|
C0E9 |
DEC BC |
|
C0EA |
LD A,$08 |
Tile_BlitDoubleHeight_0 |
C0EC |
LD L,(IX+$00) |
|
C0EF |
LD H,(IX+$01) |
|
C0F2 |
ADD HL,BC |
|
C0F3 |
INC IX |
|
C0F5 |
INC IX |
|
C0F7 |
EX DE,HL |
|
C0F8 |
LDI |
|
C0FA |
EX DE,HL |
|
C0FB |
INC BC |
|
C0FC |
LD L,(IX+$00) |
|
C0FF |
LD H,(IX+$01) |
|
C102 |
ADD HL,BC |
|
C103 |
INC IX |
|
C105 |
INC IX |
|
C107 |
DEC DE |
|
C108 |
EX DE,HL |
|
C109 |
LDI |
|
C10B |
EX DE,HL |
|
C10C |
INC BC |
|
C10D |
DEC A |
|
C10E |
JR NZ,Tile_BlitDoubleHeight_0 |
|
C110 |
POP DE |
|
C111 |
POP BC |
|
C112 |
POP HL |
|
C113 |
POP AF |
|
C114 |
RET |