E7C3: Handler: Sao Paulo
Handler_SaoPaulo |
E7C3 |
LD A,($EFFC) |
|
E7C6 |
AND $08 |
|
E7C8 |
JR NZ,Handler_SaoPaulo_0 |
|
E7CA |
LD HL,$EFFF |
|
E7CD |
SET 2,(HL) |
Handler_SaoPaulo_0 |
E7CF |
LD HL,($99E3) |
|
E7D2 |
LD DE,$0038 |
|
E7D5 |
ADD HL,DE |
|
E7D6 |
LD A,$00 |
|
E7D8 |
CP L |
|
E7D9 |
JR NZ,Handler_SaoPaulo_1 |
|
E7DB |
LD HL,$7240 |
Handler_SaoPaulo_1 |
E7DE |
LD ($99E3),HL |
|
E7E1 |
CALL $9439 |
|
E7E4 |
LD IX,($99E3) |
|
E7E8 |
BIT 5,(IX+$06) |
|
E7EC |
JR Z,Handler_SaoPaulo_2 |
|
E7EE |
RES 5,(IX+$06) |
|
E7F2 |
JP $9926 |
Handler_SaoPaulo_2 |
E7F5 |
LD A,(IX+$07) |
|
E7F8 |
LD E,A |
|
E7F9 |
CP $00 |
|
E7FB |
JR Z,Handler_SaoPaulo_3 |
|
E7FD |
CALL Handler_SaoPaulo_9 |
|
E800 |
LD (IX+$07),$00 |
|
E804 |
JR Z,Handler_SaoPaulo_6 |
Handler_SaoPaulo_3 |
E806 |
LD A,(IX+$06) |
|
E809 |
LD E,A |
|
E80A |
CALL Handler_SaoPaulo_9 |
|
E80D |
JR Z,Handler_SaoPaulo_6 |
|
E80F |
BIT 6,D |
|
E811 |
JR Z,Handler_SaoPaulo_4 |
|
E813 |
LD HL,$7200 |
|
E816 |
SET 4,(HL) |
|
E818 |
RET |
Handler_SaoPaulo_4 |
E819 |
BIT 5,D |
|
E81B |
LD A,(IX+$06) |
|
E81E |
LD D,A |
|
E81F |
JR NZ,Handler_SaoPaulo_5 |
|
E821 |
XOR $10 |
Handler_SaoPaulo_5 |
E823 |
LD (IX+$07),A |
|
E826 |
CALL $9619 |
|
E829 |
LD IX,($99E3) |
|
E82D |
AND $10 |
|
E82F |
OR $08 |
|
E831 |
LD E,A |
|
E832 |
LD A,D |
|
E833 |
XOR E |
|
E834 |
LD E,A |
|
E835 |
CALL Handler_SaoPaulo_9 |
|
E838 |
JR Z,Handler_SaoPaulo_6 |
|
E83A |
LD A,E |
|
E83B |
XOR $10 |
|
E83D |
LD E,A |
|
E83E |
CALL Handler_SaoPaulo_9 |
|
E841 |
RET NZ |
Handler_SaoPaulo_6 |
E842 |
LD (IX+$04),L |
|
E845 |
LD (IX+$05),H |
|
E848 |
SET 5,E |
|
E84A |
LD (IX+$06),E |
|
E84D |
BIT 4,D |
|
E84F |
JR Z,Handler_SaoPaulo_8 |
|
E851 |
LD A,($7200) |
|
E854 |
AND $01 |
|
E856 |
PUSH AF |
|
E857 |
CALL $939D |
|
E85A |
LD HL,$99AD |
|
E85D |
DEC (HL) |
|
E85E |
JR Z,Handler_SaoPaulo_7 |
|
E860 |
POP AF |
|
E861 |
JP NZ,$9926 |
|
E864 |
LD HL,$7200 |
|
E867 |
RES 0,(HL) |
|
E869 |
JP $9926 |
Handler_SaoPaulo_7 |
E86C |
LD HL,$EFFA |
|
E86F |
SET 0,(HL) |
|
E871 |
LD SP,($99AE) |
|
E875 |
RET |
Handler_SaoPaulo_8 |
E876 |
CALL $9619 |
|
E879 |
AND $57 |
|
E87B |
JP NZ,$9926 |
|
E87E |
LD A,$07 |
|
E880 |
LD ($99AA),A |
|
E883 |
CALL $994D |
|
E886 |
LD A,$00 |
|
E888 |
LD ($99AA),A |
|
E88B |
JP $9926 |
Handler_SaoPaulo_9 |
E88E |
LD L,(IX+$04) |
|
E891 |
LD H,(IX+$05) |
|
E894 |
CALL $9378 |
|
E897 |
LD D,A |
|
E898 |
AND $62 |
|
E89A |
RET |