Prev: A94B Up: Map Next: AA9B
A993: Routine at A993
Used by the routine at A1AA.
A993 LD A,(IX+$00)
A996 ADD A,(IX+$02)
A999 LD L,A
A99A LD A,(IX+$01)
A99D ADD A,(IX+$03)
A9A0 LD H,A
This entry point is used by the routine at AB48.
A9A1 LD A,L
A9A2 CP $08
A9A4 RET C
A9A5 CP $F8
A9A7 RET NC
A9A8 LD A,H
A9A9 CP $30
A9AB RET C
A9AC CP $A8
A9AE RET NC
A9AF LD (IX+$00),L
A9B2 LD (IX+$01),H
A9B5 LD A,($5E69)
A9B8 INC A
A9B9 LD ($5E69),A
A9BC LD BC,$0202
A9BF PUSH HL
A9C0 EXX
A9C1 POP DE
A9C2 LD L,E
A9C3 LD H,D
A9C4 CALL AttributeAddress
A9C7 LD A,(HL)
A9C8 AND A
A9C9 JR Z,$A9CF
A9CB LD A,(IX+$04)
A9CE LD (HL),A
A9CF EXX
A9D0 CALL ScreenAddress
A9D3 PUSH BC
A9D4 PUSH HL
A9D5 LD A,(IX+$00)
A9D8 AND $07
A9DA LD E,A
A9DB EX AF,AF'
A9DC LD A,E
A9DD LD DE,$AA13
A9E0 ADD A,E
A9E1 LD E,A
A9E2 LD A,D
A9E3 ADC A,$00
A9E5 LD D,A
A9E6 LD A,(DE)
A9E7 XOR (HL)
A9E8 LD (HL),A
A9E9 EX AF,AF'
A9EA INC A
A9EB AND $07
A9ED JR NZ,$AA10
A9EF INC L
A9F0 EXX
A9F1 INC E
A9F2 LD L,E
A9F3 LD H,D
A9F4 EX AF,AF'
A9F5 CALL AttributeAddress
A9F8 LD A,(HL)
A9F9 AND A
A9FA JR Z,$AA00
A9FC LD A,(IX+$04)
A9FF LD (HL),A
AA00 EXX
AA01 EX AF,AF'
AA02 DJNZ $A9D8
AA04 POP HL
AA05 CALL ScreenPos1PixelAbove
AA08 EXX
AA09 DEC D
AA0A EXX
AA0B POP BC
AA0C DEC C
AA0D JR NZ,$A9D3
AA0F RET
AA10 EXX
AA11 JR $A9F2
AA13 ADD A,B
AA14 LD B,B
AA15 JR NZ,$AA27
AA17 EX AF,AF'
AA18 INC B
AA19 LD (BC),A
AA1A LD BC,$FE00
AA1D LD B,C
AA1E LD BC,$42FE
AA21 LD (BC),A
AA22 CP $43
AA24 LD (BC),A
AA25 RST $38
AA26 LD B,H
AA27 LD (BC),A
AA28 NOP
AA29 LD B,L
AA2A LD (BC),A
AA2B LD BC,$0246
AA2E LD (BC),A
AA2F LD B,A
AA30 LD BC,$4602
AA33 NOP
AA34 LD (BC),A
AA35 LD B,L
AA36 RST $38
AA37 LD (BC),A
AA38 LD B,H
AA39 CP $02
AA3B LD B,E
AA3C CP $01
AA3E LD B,D
AA3F CP $00
AA41 LD B,C
AA42 CP $FF
AA44 LD B,D
AA45 CP $FE
AA47 LD B,E
AA48 RST $38
AA49 CP $44
AA4B NOP
AA4C NOP
AA4D NOP
AA4E NOP
AA4F NOP
AA50 NOP
AA51 NOP
AA52 NOP
AA53 NOP
AA54 NOP
AA55 NOP
AA56 NOP
AA57 NOP
AA58 NOP
AA59 NOP
AA5A NOP
AA5B NOP
AA5C NOP
AA5D NOP
AA5E NOP
AA5F NOP
AA60 NOP
AA61 NOP
AA62 NOP
AA63 NOP
AA64 NOP
AA65 NOP
AA66 NOP
AA67 NOP
AA68 NOP
AA69 NOP
AA6A NOP
AA6B NOP
AA6C NOP
AA6D NOP
AA6E NOP
AA6F NOP
AA70 NOP
AA71 NOP
AA72 NOP
AA73 NOP
AA74 NOP
AA75 NOP
AA76 NOP
AA77 NOP
AA78 NOP
AA79 NOP
AA7A NOP
AA7B NOP
AA7C NOP
AA7D NOP
AA7E NOP
AA7F NOP
AA80 NOP
AA81 NOP
AA82 NOP
AA83 NOP
AA84 NOP
AA85 NOP
AA86 NOP
AA87 NOP
AA88 NOP
AA89 NOP
AA8A NOP
AA8B NOP
AA8C NOP
AA8D NOP
AA8E NOP
AA8F NOP
AA90 NOP
AA91 NOP
AA92 NOP
AA93 NOP
AA94 NOP
AA95 NOP
AA96 NOP
AA97 NOP
AA98 NOP
AA99 NOP
AA9A NOP
Prev: A94B Up: Map Next: AA9B