Prev: EE5B Up: Map Next: EED7
EEA6: Routine at EEA6
EEA6 LD C,(IX+$00) C=*IX+00.
EEA9 LD B,(IX+$01) B=*IX+01.
EEAC LD E,(IX+$02) E=*IX+02.
EEAF LD D,(IX+$03) D=*IX+03.
EEB2 LD A,(IX+$04) A=*IX+04.
EEB5 ADD A,E A+=E.
EEB6 CP $80 Jump to EEC0 if A is higher than 80.
EEB8 JR NC,$EEC0
EEBA CP $04 Jump to EEC3 if A is lower than 04.
EEBC JR C,$EEC3
EEBE INC C Increment C by two.
EEBF INC C
EEC0 DEC C Decrease C by one.
EEC1 AND %00000011 Keep only bits 0-1.
EEC3 LD E,A E=A.
EEC4 LD A,(IX+$05) A=*IX+05.
EEC7 ADD A,D A+=D.
EEC8 CP $80 Jump to EED2 if A is higher than 80.
EECA JR NC,$EED2
EECC CP $04 Jump to EED5 if A is lower than 04.
EECE JR C,$EED5
EED0 INC B Increment B by two.
EED1 INC B
EED2 DEC B Decrease B by one.
EED3 AND %00000011 Keep only bits 0-1.
EED5 LD D,A D=A.
EED6 RET Return.
Prev: EE5B Up: Map Next: EED7