ED2A: Routine at ED2A
ED2A |
LD A,($ECF5) |
ED2D |
ADD A,A |
ED2E |
LD E,A |
ED2F |
LD D,$00 |
ED31 |
LD HL,$ECF6 |
ED34 |
ADD HL,DE |
ED35 |
LD A,($ECFF) |
ED38 |
SUB (HL) |
ED39 |
INC HL |
ED3A |
LD A,($ECFE) |
ED3D |
SBC A,(HL) |
ED3E |
RET C |
ED3F |
LD BC,$0000 |
ED42 |
DEC BC |
ED43 |
NOP |
ED44 |
NOP |
ED45 |
LD A,B |
ED46 |
OR C |
ED47 |
JR NZ,$ED42 |
ED49 |
CALL Clear_PlayArea |
ED4C |
LD HL,$ED00 |
ED4F |
ADD HL,DE |
ED50 |
LD E,(HL) |
ED51 |
INC HL |
ED52 |
LD D,(HL) |
ED53 |
EX DE,HL |
ED54 |
LD DE,$0000 |
ED57 |
CALL PrintString |
ED5A |
CALL $B9AC |
ED5D |
CALL $EEA2 |
ED60 |
LD A,($ECF5) |
ED63 |
ADD A,A |
ED64 |
ADD A,$65 |
ED66 |
LD IX,$ED06 |
ED6A |
LD B,$03 |
ED6C |
PUSH BC |
ED6D |
LD BC,$F5CA |
ED70 |
CALL $EF35 |
ED73 |
CALL $A8A0 |
ED76 |
POP BC |
ED77 |
DJNZ $ED6C |
ED79 |
CALL ShadowBufferToScreen |
ED7C |
CALL Controls_ExitScreen |
ED7F |
OR A |
ED80 |
JR Z,$ED5D |
ED82 |
LD HL,$ECF5 |
ED85 |
INC (HL) |
ED86 |
CALL DrawRoom |
ED89 |
RET |
ED8A |
LD IX,$ED06 |
ED8E |
LD B,$03 |
ED90 |
PUSH BC |
ED91 |
LD BC,$F5CA |
ED94 |
CALL $EF35 |
ED97 |
CALL $A8A0 |
ED9A |
PUSH AF |
ED9B |
CALL $E329 |
ED9E |
POP AF |
ED9F |
POP BC |
EDA0 |
DJNZ $ED90 |
EDA2 |
RET |