637C: Move the plane across screen
637C |
LD A,($5DCA) |
637F |
LD HL,$7CB0 |
6382 |
LD (HL),$00 |
6384 |
INC L |
6385 |
LD (HL),$00 |
6387 |
CP $08 |
6389 |
JR C,$63CD |
638B |
CP $14 |
638D |
LD IX,($5DCD) |
6391 |
JR NC,$63B2 |
6393 |
INC IX |
6395 |
INC IX |
6397 |
INC IX |
6399 |
LD H,(IX+$01) |
639C |
LD L,(IX+$00) |
639F |
EX DE,HL |
63A0 |
LD HL,$4860 |
63A3 |
AND A |
63A4 |
SBC HL,DE |
63A6 |
JR NC,$63AC |
63A8 |
LD IX,$650F |
63AC |
LD ($5DCD),IX |
63B0 |
JR $63CD |
63B2 |
DEC IX |
63B4 |
DEC IX |
63B6 |
DEC IX |
63B8 |
LD L,(IX+$00) |
63BB |
LD H,(IX+$01) |
63BE |
EX DE,HL |
63BF |
LD HL,$40C0 |
63C2 |
AND A |
63C3 |
SBC HL,DE |
63C5 |
JR C,$63AC |
63C7 |
LD IX,$6500 |
63CB |
JR $63AC |
63CD |
LD A,($5DCA) |
63D0 |
LD HL,$5DE8 |
63D3 |
BIT 0,(HL) |
63D5 |
JR Z,$63DB |
63D7 |
LD HL,$5DDF |
63DA |
SUB (HL) |
63DB |
INC A |
63DC |
CP $00 |
63DE |
JR Z,$63E4 |
63E0 |
CP $1E |
63E2 |
JR C,$63E8 |
63E4 |
XOR A |
63E5 |
LD ($5DCB),A |
63E8 |
LD ($5DCA),A |
63EB |
LD A,($631B) |
63EE |
XOR $2A |
63F0 |
LD ($631B),A |
63F3 |
LD A,($6323) |
63F6 |
XOR $2A |
63F8 |
LD ($6323),A |
63FB |
RET |