B902: Clear Play Area
Clear_PlayArea |
B902 |
PUSH HL |
|
B903 |
PUSH BC |
|
B904 |
PUSH DE |
|
B905 |
LD IX,$8248 |
|
B909 |
LD C,$98 |
Clear_PlayArea_0 |
B90B |
LD L,(IX+$00) |
|
B90E |
LD H,(IX+$01) |
|
B911 |
LD B,$20 |
Clear_PlayArea_1 |
B913 |
LD (HL),$00 |
|
B915 |
INC HL |
|
B916 |
DJNZ Clear_PlayArea_1 |
|
B918 |
INC IX |
|
B91A |
INC IX |
|
B91C |
DEC C |
|
B91D |
JR NZ,Clear_PlayArea_0 |
|
B91F |
LD HL,$58A0 |
|
B922 |
LD BC,$0260 |
Clear_PlayArea_2 |
B925 |
LD (HL),$46 |
|
B927 |
INC HL |
|
B928 |
DEC BC |
|
B929 |
LD A,B |
|
B92A |
OR C |
|
B92B |
JR NZ,Clear_PlayArea_2 |
StackRestore |
B92D |
POP DE |
|
B92E |
POP BC |
|
B92F |
POP HL |
|
B930 |
RET |