Prev: A993 Up: Map Next: AB2F
AA9B: Routine at AA9B
Used by the routine at A1AA.
AA9B XOR A Write 00 to 5E69.
AA9C LD ($5E69),A
AA9F LD IX,$AA4B IX=AA4B.
AAA3 LD B,$10 B=10.
AAA5 PUSH BC Stash BC on the stack.
AAA6 CALL $AAB8 Call AAB8.
AAA9 LD BC,$0005 BC=0005.
AAAC ADD IX,BC
AAAE POP BC
AAAF DJNZ $AAA5 Decrease counter by one and loop back to AAA5 until counter is zero.
AAB1 LD A,($5E69)
AAB4 AND A
AAB5 JR NZ,$AA9B
AAB7 RET Return.
AAB8 LD A,(IX+$00)
AABB ADD A,(IX+$02)
AABE LD L,A
AABF LD A,(IX+$01)
AAC2 ADD A,(IX+$03)
AAC5 LD H,A
AAC6 LD A,L
AAC7 CP $08
AAC9 RET C
AACA CP $F8
AACC RET NC
AACD LD A,H
AACE CP $30
AAD0 RET C
AAD1 CP $A8
AAD3 RET NC
AAD4 LD (IX+$00),L
AAD7 LD (IX+$01),H
AADA LD HL,$5E69
AADD INC (HL)
AADE RET
AADF DEFB $00,$00,$00,$02,$47,$00,$00,$FF
AAE7 DEFB $02,$42,$00,$00,$FE,$02,$44,$00
AAEF DEFB $00,$FE,$01,$43,$00,$00,$FE,$00
AAF7 DEFB $45,$00,$00,$FE,$FF,$43,$00,$00
AAFF DEFB $FE,$FE,$44,$00,$00,$FF,$FE,$42
AB07 DEFB $00,$00,$00,$FE,$47,$00,$00,$01
AB0F DEFB $FE,$42,$00,$00,$02,$FE,$44,$00
AB17 DEFB $00,$02,$FF,$43,$00,$00,$02,$00
AB1F DEFB $45,$00,$00,$02,$01,$43,$00,$00
AB27 DEFB $02,$02,$44,$00,$00,$01,$02,$42
Prev: A993 Up: Map Next: AB2F