Madrid_Initialise |
B5A7 |
LD IX,$6240 |
|
B5AB |
LD B,$60 |
Madrid_Initialise_0 |
B5AD |
LD DE,$B4FA |
|
B5B0 |
LD L,(IX+$02) |
|
B5B3 |
LD H,(IX+$03) |
|
B5B6 |
AND A |
|
B5B7 |
SBC HL,DE |
|
B5B9 |
JR Z,Madrid_Initialise_3 |
Madrid_Initialise_1 |
B5BB |
PUSH IX |
|
B5BD |
CALL $9619 |
|
B5C0 |
LD A,($99A5) |
|
B5C3 |
POP IX |
|
B5C5 |
AND (IX+$04) |
|
B5C8 |
JR Z,Madrid_Initialise_1 |
|
B5CA |
CP $40 |
|
B5CC |
JR Z,Madrid_Initialise_1 |
Madrid_Initialise_2 |
B5CE |
LD (IX+$04),A |
|
B5D1 |
LD DE,$0006 |
|
B5D4 |
ADD IX,DE |
|
B5D6 |
DJNZ Madrid_Initialise_0 |
|
B5D8 |
LD HL,$7BA4 |
|
B5DB |
LD ($725C),HL |
|
B5DE |
LD HL,$7260 |
|
B5E1 |
LD ($99B8),HL |
|
B5E4 |
LD A,$01 |
|
B5E6 |
LD ($7258),A |
|
B5E9 |
DEC A |
|
B5EA |
LD ($99AA),A |
|
B5ED |
CALL $9929 |
|
B5F0 |
LD IX,$B623 |
|
B5F4 |
LD DE,$0020 |
|
B5F7 |
LD ($926E),DE |
|
B5FB |
LD DE,$7400 |
|
B5FE |
LD ($99B8),DE |
|
B602 |
LD B,$09 |
|
B604 |
JP $9226 |
Madrid_Initialise_3 |
B607 |
PUSH IX |
|
B609 |
LD DE,$FF44 |
|
B60C |
POP HL |
|
B60D |
ADD HL,DE |
|
B60E |
LD A,(HL) |
|
B60F |
AND %00000111 |
|
B611 |
RLCA |
|
B612 |
RLCA |
|
B613 |
RLCA |
|
B614 |
LD C,A |
|
B615 |
LD A,(HL) |
|
B616 |
AND %00111000 |
|
B618 |
RRCA |
|
B619 |
RRCA |
|
B61A |
RRCA |
|
B61B |
LD E,A |
|
B61C |
LD A,(HL) |
|
B61D |
AND %01000000 |
|
B61F |
OR C |
|
B620 |
OR E |
|
B621 |
JR Madrid_Initialise_2 |
|
B623 |
DEFB $50,$B6,$40,$7C,$00,$50,$B6,$88 |
|
B62B |
DEFB $7C,$00,$50,$B6,$BC,$7C,$00,$60 |
|
B633 |
DEFB $B6,$C4,$7C,$00,$58,$B6,$06,$7D |
|
B63B |
DEFB $00,$60,$B6,$0C,$7D,$00,$50,$B6 |
|
B643 |
DEFB $0E,$7D,$00,$50,$B6,$36,$7D,$00 |
|
B64B |
DEFB $58,$B6,$3A,$7D,$00,$68,$B6,$02 |
|
B653 |
DEFB $02,$98,$B6,$00,$00,$88,$B6,$01 |
|
B65B |
DEFB $01,$98,$B6,$00,$00,$90,$B6,$01 |
|
B663 |
DEFB $01,$98,$B6,$00,$00,$07,$1F,$3F |
|
B66B |
DEFB $3F,$7F,$7F,$FF,$FF,$FF,$7F,$3F |
|
B673 |
DEFB $3F,$1F,$0F,$07,$07,$E0,$F8,$FC |
|
B67B |
DEFB $FC,$FE,$FE,$FF,$FF,$FF,$FE,$FC |
|
B683 |
DEFB $FC,$F8,$F0,$E0,$E0,$00,$03,$07 |
|
B68B |
DEFB $0F,$0F,$1F,$1F,$DF,$00,$C0,$E0 |
|
B693 |
DEFB $F0,$F0,$F8,$F8,$FE,$07,$07,$07 |
|
B69B |
DEFB $07,$A0 |