8EC5: Routine at 8EC5
8EC5 |
LD A,(IX+$00) |
8EC8 |
DEC A |
8EC9 |
RES 2,A |
8ECB |
INC A |
8ECC |
LD (IX+$00),A |
8ECF |
BIT 0,(IX+$08) |
8ED3 |
JR NZ,$8F03 |
8ED5 |
LD A,(IX+$05) |
8ED8 |
AND A |
8ED9 |
JP P,$8EF3 |
8EDC |
EX AF,AF' |
8EDD |
LD A,($608F) |
8EE0 |
AND A |
8EE1 |
JR Z,$8EFF |
8EE3 |
EX AF,AF' |
8EE4 |
CP $D0 |
8EE6 |
JP C,$8D3A |
8EE9 |
SUB $08 |
8EEB |
CP $E0 |
8EED |
JR NC,$8E86 |
8EEF |
SUB $10 |
8EF1 |
JR $8E86 |
8EF3 |
CP $30 |
8EF5 |
JR C,$8EFB |
8EF7 |
SUB $10 |
8EF9 |
JR $8E86 |
8EFB |
SUB $08 |
8EFD |
JR $8E86 |
8EFF |
LD A,$F0 |
8F01 |
JR $8E86 |
8F03 |
LD A,(IX+$05) |
8F06 |
AND A |
8F07 |
JP P,$8F1C |
8F0A |
EX AF,AF' |
8F0B |
LD A,($608F) |
8F0E |
AND A |
8F0F |
JR Z,$8F2A |
8F11 |
EX AF,AF' |
8F12 |
CP $F0 |
8F14 |
JP C,$8F2F |
8F17 |
SUB $04 |
8F19 |
JP $8D37 |
8F1C |
CP $30 |
8F1E |
JR C,$8F25 |
8F20 |
SUB $10 |
8F22 |
JP $8D37 |
8F25 |
SUB $08 |
8F27 |
JP $8D37 |
8F2A |
LD A,$F0 |
8F2C |
JP $8D37 |
8F2F |
LD A,$E0 |
8F31 |
JP $8D37 |