8F5F: Routine at 8F5F
main_loop_23 |
8F5F |
LD HL,$ED28 |
|
8F62 |
LD ($A9E3),HL |
|
8F65 |
LD HL,$E900 |
|
8F68 |
LD ($AED0),HL |
|
8F6B |
LD HL,$E301 |
|
8F6E |
LD DE,$E336 |
|
8F71 |
LD BC,$1520 |
ml23_loop |
8F74 |
LD A,(HL) |
|
8F75 |
ADD A,C |
|
8F76 |
LD (HL),A |
|
8F77 |
LD A,(DE) |
|
8F78 |
ADD A,C |
|
8F79 |
LD (DE),A |
|
8F7A |
INC E |
|
8F7B |
INC L |
|
8F7C |
DJNZ ml23_loop |
|
8F7E |
LD IY,$E315 |
|
8F82 |
NOP |
|
8F83 |
NOP |
|
8F84 |
NOP |
|
8F85 |
DEC IY |
|
8F87 |
LD A,($A240) |
|
8F8A |
ADD A,$73 |
|
8F8C |
LD L,A |
|
8F8D |
LD H,$EE |
|
8F8F |
LD IX,$EAB0 |
|
8F93 |
LD BC,$1420 |
main_loop_23_0 |
8F96 |
PUSH IX |
|
8F98 |
PUSH HL |
|
8F99 |
PUSH BC |
|
8F9A |
LD A,($A222) |
|
8F9D |
AND A |
|
8F9E |
CALL NZ,draw_hazards_16 |
|
8FA1 |
CALL sub_A9DE |
|
8FA4 |
NOP |
|
8FA5 |
NOP |
|
8FA6 |
NOP |
|
8FA7 |
NOP |
|
8FA8 |
NOP |
|
8FA9 |
NOP |
|
8FAA |
POP BC |
|
8FAB |
POP HL |
|
8FAC |
POP IX |
|
8FAE |
LD A,(HL) |
|
8FAF |
AND A |
|
8FB0 |
JR NZ,main_loop_23_4 |
main_loop_23_1 |
8FB2 |
INC IX |
|
8FB4 |
INC IX |
|
8FB6 |
LD A,L |
|
8FB7 |
ADD A,C |
|
8FB8 |
LD L,A |
|
8FB9 |
LD A,(HL) |
|
8FBA |
AND A |
|
8FBB |
JR NZ,$9023 |
main_loop_23_2 |
8FBD |
INC IX |
|
8FBF |
INC IX |
|
8FC1 |
LD A,L |
|
8FC2 |
SUB $21 |
|
8FC4 |
LD L,A |
|
8FC5 |
DEC IY |
|
8FC7 |
DJNZ main_loop_23_0 |
|
8FC9 |
LD A,($8FA4) |
|
8FCC |
AND A |
|
8FCD |
RET NZ |
|
8FCE |
LD A,($A227) |
|
8FD1 |
AND A |
|
8FD2 |
RET Z |
|
8FD3 |
LD HL,$E1DF |
|
8FD6 |
LD E,$78 |
|
8FD8 |
DEC A |
|
8FD9 |
JR Z,main_loop_23_3 |
|
8FDB |
LD HL,$E1E4 |
|
8FDE |
LD E,$80 |
main_loop_23_3 |
8FE0 |
LD D,$30 |
|
8FE2 |
LD C,(HL) |
|
8FE3 |
INC HL |
|
8FE4 |
LD B,(HL) |
|
8FE5 |
SRL B |
|
8FE7 |
PUSH BC |
|
8FE8 |
EXX |
|
8FE9 |
POP BC |
|
8FEA |
LD E,C |
|
8FEB |
LD C,$00 |
|
8FED |
EXX |
|
8FEE |
INC HL |
|
8FEF |
LD B,(HL) |
|
8FF0 |
INC HL |
|
8FF1 |
LD A,(HL) |
|
8FF2 |
INC HL |
|
8FF3 |
LD H,(HL) |
|
8FF4 |
LD L,A |
|
8FF5 |
JP sub_b67c_4 |
main_loop_23_4 |
8FF8 |
LD E,A |
|
8FF9 |
LD A,(IX+$01) |
|
8FFC |
AND A |
|
8FFD |
JR NZ,main_loop_23_1 |
|
8FFF |
PUSH IX |
|
9001 |
PUSH HL |
|
9002 |
PUSH BC |
|
9003 |
LD A,E |
|
9004 |
ADD A,A |
|
9005 |
ADD A,A |
|
9006 |
ADD A,A |
|
9007 |
SUB E |
|
9008 |
LD E,A |
|
9009 |
LD D,$00 |
|
900B |
LD HL,$901C |
|
900E |
PUSH HL |
|
900F |
LD HL,($5CF8) |
|
9012 |
ADD HL,DE |
|
9013 |
LD E,(HL) |
|
9014 |
INC HL |
|
9015 |
LD D,(HL) |
|
9016 |
INC HL |
|
9017 |
LD A,(HL) |
|
9018 |
INC HL |
|
9019 |
LD H,(HL) |
|
901A |
LD L,A |
|
901B |
JP (HL) |
|
901C |
POP BC |
|
901D |
POP HL |
|
901E |
POP IX |
|
9020 |
JP main_loop_23_1 |