9434: Blits a column of a background bitmap based on its index value.
Bg_BlitItemColumn |
9434 |
LD A,(IX+$00) |
|
9437 |
LD DE,$0AA0 |
|
943A |
CP $9B |
|
943C |
JR Z,Bg_BlitItemColumn_0 |
|
943E |
LD DE,$0660 |
|
9441 |
CP $8F |
|
9443 |
JR C,Bg_BlitItemColumn_0 |
|
9445 |
LD DE,$0220 |
|
9448 |
CP $92 |
|
944A |
JR C,Bg_BlitItemColumn_0 |
|
944C |
LD DE,$0880 |
|
944F |
CP $C1 |
|
9451 |
JR C,Bg_BlitItemColumn_0 |
|
9453 |
LD DE,$0440 |
|
9456 |
CP $C9 |
|
9458 |
JR C,Bg_BlitItemColumn_0 |
|
945A |
LD DE,$0880 |
Bg_BlitItemColumn_0 |
945D |
LD L,A |
|
945E |
LD H,$00 |
|
9460 |
ADD HL,HL |
|
9461 |
ADD HL,HL |
|
9462 |
LD BC,Bitmap_PtrTableOffHeight |
|
9465 |
ADD HL,BC |
|
9466 |
LD B,(HL) |
|
9467 |
RES 7,B |
|
9469 |
EX DE,HL |
|
946A |
LD DE,$0110 |
Bg_BlitItemColumn_1 |
946D |
AND A |
|
946E |
SBC HL,DE |
|
9470 |
DJNZ Bg_BlitItemColumn_1 |
|
9472 |
LD DE,(Ptr_Offscreen) |
|
9476 |
ADD HL,DE |
|
9477 |
LD (Temp_BlitTo),HL |
|
947A |
LD L,(IX+$00) |
|
947D |
CALL Bitmap_CopyFrame |
|
9480 |
LD DE,(Bg_ColumnsLeft) |
|
9484 |
CALL Bitmap_DrawColumn |
Bg_BlitItemEnd |
9487 |
LD SP,(Data_Stack) |
|
948B |
RET |