Routines |
Prev: E8F1 | Up: Map | Next: F47A |
Used by the routine at StartGame.
|
||||
E901 | LD C,$36 | |||
E903 | XOR A | |||
E904 | LD ($EA31),A | |||
E907 | LD A,$01 | |||
E909 | LD ($EA32),A | |||
E90C | CALL $E9B1 | |||
E90F | LD C,$6D | |||
E911 | XOR A | |||
E912 | LD ($EA32),A | |||
E915 | CALL $E9B1 | |||
E918 | LD B,$0A | |||
E91A | LD A,$01 | |||
E91C | LD ($EA31),A | |||
E91F | PUSH BC | |||
E920 | LD C,$7F | |||
E922 | CALL $E9B1 | |||
E925 | LD A,C | |||
E926 | CP $49 | |||
E928 | JR Z,$E932 | |||
E92A | SUB $09 | |||
E92C | LD C,A | |||
E92D | CALL $E9A4 | |||
E930 | JR $E922 | |||
E932 | LD A,C | |||
E933 | CP $76 | |||
E935 | JR Z,$E942 | |||
E937 | ADD A,$09 | |||
E939 | LD C,A | |||
E93A | CALL $E9B1 | |||
E93D | CALL $E9A4 | |||
E940 | JR $E932 | |||
E942 | POP BC | |||
E943 | DJNZ $E91A | |||
E945 | LD B,$02 | |||
E947 | PUSH BC | |||
E948 | LD HL,$E954 | |||
E94B | LD B,$28 | |||
E94D | CALL $EB99 | |||
E950 | POP BC | |||
E951 | DJNZ $E947 | |||
E953 | RET | |||
E954 | LD (BC),A | |||
E955 | ADD HL,BC | |||
E956 | LD (BC),A | |||
E957 | DEC D | |||
E958 | LD (BC),A | |||
E959 | ADD HL,BC | |||
E95A | LD (BC),A | |||
E95B | DEC D | |||
E95C | LD (BC),A | |||
E95D | ADD HL,BC | |||
E95E | LD (BC),A | |||
E95F | DEC D | |||
E960 | LD (BC),A | |||
E961 | ADD HL,BC | |||
E962 | LD (BC),A | |||
E963 | DEC D | |||
E964 | LD (BC),A | |||
E965 | ADD HL,BC | |||
E966 | LD (BC),A | |||
E967 | DEC D | |||
E968 | LD (BC),A | |||
E969 | DEC B | |||
E96A | LD (BC),A | |||
E96B | LD DE,$0502 | |||
E96E | LD (BC),A | |||
E96F | LD DE,$0502 | |||
E972 | LD (BC),A | |||
E973 | LD DE,$0502 | |||
E976 | LD (BC),A | |||
E977 | LD DE,$0502 | |||
E97A | LD (BC),A | |||
E97B | LD DE,$0402 | |||
E97E | LD (BC),A | |||
E97F | DJNZ $E983 | |||
E981 | INC B | |||
E982 | LD (BC),A | |||
E983 | DJNZ $E987 | |||
E985 | INC B | |||
E986 | LD (BC),A | |||
E987 | DJNZ $E98B | |||
E989 | INC B | |||
E98A | LD (BC),A | |||
E98B | DJNZ $E98F | |||
E98D | INC B | |||
E98E | LD (BC),A | |||
E98F | DJNZ $E993 | |||
E991 | NOP | |||
E992 | LD (BC),A | |||
E993 | INC C | |||
E994 | LD (BC),A | |||
E995 | NOP | |||
E996 | LD (BC),A | |||
E997 | INC C | |||
E998 | LD (BC),A | |||
E999 | NOP | |||
E99A | LD (BC),A | |||
E99B | INC C | |||
E99C | LD (BC),A | |||
E99D | NOP | |||
E99E | LD (BC),A | |||
E99F | INC C | |||
E9A0 | LD (BC),A | |||
E9A1 | NOP | |||
E9A2 | LD (BC),A | |||
E9A3 | INC C | |||
E9A4 | XOR A | |||
E9A5 | LD ($EA31),A | |||
E9A8 | CALL $EA14 | |||
E9AB | LD A,$01 | |||
E9AD | LD ($EA31),A | |||
E9B0 | RET | |||
E9B1 | LD IX,$EA33 | |||
E9B5 | LD DE,$0020 | |||
E9B8 | LD L,(IX+$00) | |||
E9BB | INC IX | |||
E9BD | LD H,(IX+$00) | |||
E9C0 | LD A,($EA32) | |||
E9C3 | CP $00 | |||
E9C5 | JR Z,$E9C9 | |||
E9C7 | SBC HL,DE | |||
E9C9 | LD (HL),C | |||
E9CA | INC IX | |||
E9CC | LD B,(IX+$00) | |||
E9CF | INC IX | |||
E9D1 | LD A,(IX+$00) | |||
E9D4 | INC IX | |||
E9D6 | CP $01 | |||
E9D8 | JR Z,$E9EF | |||
E9DA | CP $02 | |||
E9DC | JR Z,$E9F8 | |||
E9DE | CP $04 | |||
E9E0 | JR Z,$EA01 | |||
E9E2 | CP $08 | |||
E9E4 | JR Z,$EA0A | |||
E9E6 | CP $00 | |||
E9E8 | RET Z | |||
E9E9 | DEC IX | |||
E9EB | DEC IX | |||
E9ED | JR $E9B8 | |||
E9EF | INC HL | |||
E9F0 | LD (HL),C | |||
E9F1 | CALL $EA14 | |||
E9F4 | DJNZ $E9EF | |||
E9F6 | JR $E9CC | |||
E9F8 | DEC HL | |||
E9F9 | LD (HL),C | |||
E9FA | CALL $EA14 | |||
E9FD | DJNZ $E9F8 | |||
E9FF | JR $E9CC | |||
EA01 | ADD HL,DE | |||
EA02 | LD (HL),C | |||
EA03 | CALL $EA14 | |||
EA06 | DJNZ $EA01 | |||
EA08 | JR $E9CC | |||
EA0A | SBC HL,DE | |||
EA0C | LD (HL),C | |||
EA0D | CALL $EA14 | |||
EA10 | DJNZ $EA0A | |||
EA12 | JR $E9CC | |||
EA14 | LD A,($EA31) | |||
EA17 | CP $00 | |||
EA19 | RET NZ | |||
EA1A | PUSH BC | |||
EA1B | PUSH HL | |||
EA1C | LD H,$02 | |||
EA1E | LD BC,$03E8 | |||
EA21 | LD A,(HL) | |||
EA22 | INC HL | |||
EA23 | AND $18 | |||
EA25 | OR $05 | |||
EA27 | OUT ($FE),A | |||
EA29 | DEC BC | |||
EA2A | LD A,B | |||
EA2B | OR C | |||
EA2C | JR NZ,$EA21 | |||
EA2E | POP HL | |||
EA2F | POP BC | |||
EA30 | RET | |||
EA31 | LD BC,$C500 | |||
EA34 | LD E,B | |||
EA35 | INC BC | |||
EA36 | LD (BC),A | |||
EA37 | DEC B | |||
EA38 | INC B | |||
EA39 | INC BC | |||
EA3A | LD BC,$0802 | |||
EA3D | LD BC,$6702 | |||
EA40 | LD E,C | |||
EA41 | DEC B | |||
EA42 | EX AF,AF' | |||
EA43 | LD (BC),A | |||
EA44 | LD BC,$0405 | |||
EA47 | LD (BC),A | |||
EA48 | EX AF,AF' | |||
EA49 | LD BC,$6B02 | |||
EA4C | LD E,C | |||
EA4D | DEC B | |||
EA4E | EX AF,AF' | |||
EA4F | LD (BC),A | |||
EA50 | LD BC,$0405 | |||
EA53 | ADC A,$58 | |||
EA55 | LD BC,$0501 | |||
EA58 | INC B | |||
EA59 | OUT ($58),A | |||
EA5B | LD (BC),A | |||
EA5C | LD (BC),A | |||
EA5D | LD (BC),A | |||
EA5E | INC B | |||
EA5F | LD BC,$0101 | |||
EA62 | INC B | |||
EA63 | LD BC,$0202 | |||
EA66 | INC B | |||
EA67 | LD (BC),A | |||
EA68 | LD BC,$59C5 | |||
EA6B | INC BC | |||
EA6C | LD (BC),A | |||
EA6D | DEC B | |||
EA6E | INC B | |||
EA6F | INC BC | |||
EA70 | LD BC,$0804 | |||
EA73 | RST $00 | |||
EA74 | LD E,C | |||
EA75 | INC B | |||
EA76 | INC B | |||
EA77 | LD L,B | |||
EA78 | LD E,D | |||
EA79 | LD BC,$4A01 | |||
EA7C | LD E,D | |||
EA7D | INC B | |||
EA7E | EX AF,AF' | |||
EA7F | ADC A,$59 | |||
EA81 | LD (BC),A | |||
EA82 | LD (BC),A | |||
EA83 | LD (BC),A | |||
EA84 | INC B | |||
EA85 | LD BC,$0101 | |||
EA88 | INC B | |||
EA89 | LD BC,$0202 | |||
EA8C | INC B | |||
EA8D | LD (BC),A | |||
EA8E | LD BC,$5A70 | |||
EA91 | DEC B | |||
EA92 | EX AF,AF' | |||
EA93 | INC BC | |||
EA94 | LD BC,$0402 | |||
EA97 | LD (BC),A | |||
EA98 | LD (BC),A | |||
EA99 | LD BC,$0101 | |||
EA9C | INC B | |||
EA9D | LD D,E | |||
EA9E | LD E,D | |||
EA9F | LD BC,$0004 | |||
EAA2 | NOP | |||
This entry point is used by the routine at D69F.
|
||||
EAA3 | LD A,$80 | |||
EAA5 | LD ($D556),A | |||
EAA8 | LD A,$08 | |||
EAAA | LD ($D555),A | |||
EAAD | CALL $EB6F | |||
EAB0 | CALL $F6BA | |||
EAB3 | LD HL,$D555 | |||
EAB6 | BIT 3,(HL) | |||
EAB8 | JR NZ,$EAAD | |||
EABA | LD A,$12 | |||
EABC | LD ($D548),A | |||
EABF | LD HL,$EB87 | |||
EAC2 | LD DE,$03E8 | |||
EAC5 | DEC DE | |||
EAC6 | LD A,$64 | |||
EAC8 | DEC A | |||
EAC9 | JR NZ,$EAC8 | |||
EACB | LD A,D | |||
EACC | OR E | |||
EACD | JR NZ,$EAC5 | |||
EACF | LD B,$04 | |||
EAD1 | PUSH BC | |||
EAD2 | LD B,$05 | |||
EAD4 | PUSH HL | |||
EAD5 | PUSH BC | |||
EAD6 | LD A,($D548) | |||
EAD9 | LD ($E568),A | |||
EADC | LD A,(HL) | |||
EADD | LD ($E569),A | |||
EAE0 | SUB $0A | |||
EAE2 | JR Z,$EAF8 | |||
EAE4 | JP P,$EAF2 | |||
EAE7 | NEG | |||
EAE9 | LD ($E56C),A | |||
EAEC | CALL $D989 | |||
EAEF | JP $EAF8 | |||
EAF2 | LD ($E56C),A | |||
EAF5 | CALL $D9F0 | |||
EAF8 | LD A,($D548) | |||
EAFB | SUB $12 | |||
EAFD | NEG | |||
EAFF | INC A | |||
EB00 | LD ($E56C),A | |||
EB03 | CALL $DA56 | |||
EB06 | LD B,$04 | |||
EB08 | LD A,$01 | |||
EB0A | LD ($E56C),A | |||
EB0D | PUSH BC | |||
EB0E | LD A,$12 | |||
EB10 | LD ($E568),A | |||
EB13 | CALL $DA56 | |||
EB16 | LD D,$32 | |||
EB18 | LD E,$1E | |||
EB1A | LD A,$05 | |||
EB1C | XOR $10 | |||
EB1E | OUT ($FE),A | |||
EB20 | LD B,D | |||
EB21 | DJNZ $EB21 | |||
EB23 | DEC E | |||
EB24 | JR NZ,$EB1C | |||
EB26 | POP BC | |||
EB27 | DJNZ $EB0D | |||
EB29 | POP BC | |||
EB2A | POP HL | |||
EB2B | INC HL | |||
EB2C | DJNZ $EAD4 | |||
EB2E | POP BC | |||
EB2F | LD HL,$EB87 | |||
EB32 | LD A,($D548) | |||
EB35 | SUB $04 | |||
EB37 | LD ($D548),A | |||
EB3A | DJNZ $EAD1 | |||
EB3C | LD DE,$03E8 | |||
EB3F | DEC DE | |||
EB40 | LD A,$64 | |||
EB42 | DEC A | |||
EB43 | JR NZ,$EB42 | |||
EB45 | LD A,D | |||
EB46 | OR E | |||
EB47 | JR NZ,$EB3F | |||
EB49 | LD A,$45 | |||
EB4B | LD ($5AA9),A | |||
EB4E | LD ($5AAA),A | |||
EB51 | LD ($5AAB),A | |||
EB54 | LD ($5AAC),A | |||
EB57 | LD A,$80 | |||
EB59 | LD ($D556),A | |||
EB5C | LD A,$08 | |||
EB5E | LD ($D555),A | |||
EB61 | CALL $EB6F | |||
EB64 | CALL $F6F3 | |||
EB67 | LD HL,$D555 | |||
EB6A | BIT 3,(HL) | |||
EB6C | JR NZ,$EB61 | |||
EB6E | RET | |||
EB6F | LD BC,$03E8 | |||
EB72 | LD H,$05 | |||
EB74 | LD A,(HL) | |||
EB75 | INC HL | |||
EB76 | AND $18 | |||
EB78 | OR $05 | |||
EB7A | OUT ($FE),A | |||
EB7C | DEC BC | |||
EB7D | LD A,B | |||
EB7E | OR C | |||
EB7F | JR NZ,$EB74 | |||
EB81 | LD B,$08 | |||
EB83 | LD HL,($D568) | |||
EB86 | RET | |||
EB87 | LD A,(BC) | |||
EB88 | LD C,$12 | |||
EB8A | LD B,$02 | |||
EB8C | LD DE,$07D0 | |||
EB8F | DEC DE | |||
EB90 | LD A,$32 | |||
EB92 | DEC A | |||
EB93 | JR NZ,$EB92 | |||
EB95 | LD A,D | |||
EB96 | OR E | |||
EB97 | JR NZ,$EB8F | |||
EB99 | PUSH BC | |||
EB9A | INC HL | |||
EB9B | LD A,(HL) | |||
EB9C | DEC HL | |||
EB9D | CP $FF | |||
EB9F | JP NZ,$EBAF | |||
EBA2 | INC HL | |||
EBA3 | INC HL | |||
EBA4 | LD BC,$4E20 | |||
EBA7 | DEC BC | |||
EBA8 | LD A,B | |||
EBA9 | OR C | |||
EBAA | JR NZ,$EBA7 | |||
EBAC | JP $EBEE | |||
EBAF | RLCA | |||
EBB0 | RLCA | |||
EBB1 | LD IX,$ECAF | |||
EBB5 | LD B,$00 | |||
EBB7 | LD C,A | |||
EBB8 | ADD IX,BC | |||
EBBA | PUSH HL | |||
EBBB | LD L,(IX+$00) | |||
EBBE | LD H,(IX+$01) | |||
EBC1 | LD ($EC68),HL | |||
EBC4 | LD C,(IX+$02) | |||
EBC7 | LD B,(IX+$03) | |||
EBCA | POP HL | |||
EBCB | LD A,(HL) | |||
EBCC | INC HL | |||
EBCD | INC HL | |||
EBCE | PUSH HL | |||
EBCF | PUSH BC | |||
EBD0 | POP DE | |||
EBD1 | LD B,A | |||
EBD2 | LD HL,$0000 | |||
EBD5 | ADD HL,DE | |||
EBD6 | DJNZ $EBD5 | |||
EBD8 | AND A | |||
EBD9 | LD DE,$0000 | |||
EBDC | LD BC,$0032 | |||
EBDF | INC DE | |||
EBE0 | SBC HL,BC | |||
EBE2 | JP P,$EBDF | |||
EBE5 | DEC DE | |||
EBE6 | LD ($EC6A),DE | |||
EBEA | CALL $EBF2 | |||
EBED | POP HL | |||
EBEE | POP BC | |||
EBEF | DJNZ $EB99 | |||
EBF1 | RET | |||
EBF2 | LD HL,$0001 | |||
EBF5 | LD ($EC62),HL | |||
EBF8 | LD HL,($EC68) | |||
EBFB | LD ($EC66),HL | |||
EBFE | LD DE,($EC6A) | |||
EC02 | LD BC,($EC68) | |||
EC06 | DEC BC | |||
EC07 | PUSH BC | |||
EC08 | PUSH DE | |||
EC09 | CALL $EC6C | |||
EC0C | POP DE | |||
EC0D | POP BC | |||
EC0E | LD HL,($EC62) | |||
EC11 | INC HL | |||
EC12 | LD ($EC62),HL | |||
EC15 | LD HL,($EC66) | |||
EC18 | DEC HL | |||
EC19 | LD ($EC66),HL | |||
EC1C | DEC BC | |||
EC1D | LD A,B | |||
EC1E | OR C | |||
EC1F | JP Z,$EC29 | |||
EC22 | DEC DE | |||
EC23 | LD A,D | |||
EC24 | OR E | |||
EC25 | JP NZ,$EC07 | |||
EC28 | RET | |||
EC29 | DEC DE | |||
EC2A | LD A,D | |||
EC2B | OR E | |||
EC2C | RET Z | |||
EC2D | LD BC,($EC68) | |||
EC31 | DEC BC | |||
EC32 | PUSH BC | |||
EC33 | PUSH DE | |||
EC34 | CALL $EC6C | |||
EC37 | POP DE | |||
EC38 | POP BC | |||
EC39 | LD HL,($EC62) | |||
EC3C | DEC HL | |||
EC3D | LD ($EC62),HL | |||
EC40 | LD HL,($EC66) | |||
EC43 | INC HL | |||
EC44 | LD ($EC66),HL | |||
EC47 | DEC BC | |||
EC48 | LD A,B | |||
EC49 | OR C | |||
EC4A | JP Z,$EC54 | |||
EC4D | DEC DE | |||
EC4E | LD A,D | |||
EC4F | OR E | |||
EC50 | JP NZ,$EC32 | |||
EC53 | RET | |||
EC54 | DEC DE | |||
EC55 | LD A,D | |||
EC56 | OR E | |||
EC57 | RET Z | |||
EC58 | LD BC,($EC68) | |||
EC5C | DEC BC | |||
EC5D | JP $EC07 | |||
EC60 | DEC B | |||
EC61 | NOP | |||
EC62 | DEC (HL) | |||
EC63 | NOP | |||
EC64 | DEC B | |||
EC65 | NOP | |||
EC66 | CP C | |||
EC67 | NOP | |||
EC68 | DEFB $ED,$00 | |||
EC6A | INC (HL) | |||
EC6B | NOP | |||
EC6C | LD A,($E858) | |||
EC6F | CP $00 | |||
EC71 | JR Z,$EC76 | |||
EC73 | XOR A | |||
EC74 | JR $EC78 | |||
EC76 | LD A,$05 | |||
EC78 | LD ($EC60),A | |||
EC7B | LD ($EC64),A | |||
EC7E | LD B,$02 | |||
EC80 | LD DE,($EC62) | |||
EC84 | DEC DE | |||
EC85 | LD A,D | |||
EC86 | OR E | |||
EC87 | JP NZ,$EC84 | |||
EC8A | LD A,($EC60) | |||
EC8D | XOR $10 | |||
EC8F | LD ($EC60),A | |||
EC92 | OUT ($FE),A | |||
EC94 | DJNZ $EC80 | |||
EC96 | LD B,$02 | |||
EC98 | LD DE,($EC66) | |||
EC9C | DEC DE | |||
EC9D | LD A,D | |||
EC9E | OR E | |||
EC9F | JP NZ,$EC9C | |||
ECA2 | LD A,($EC64) | |||
ECA5 | XOR $10 | |||
ECA7 | LD ($EC64),A | |||
ECAA | OUT ($FE),A | |||
ECAC | DJNZ $EC98 | |||
ECAE | RET | |||
ECAF | LD L,H | |||
ECB0 | LD BC,$00C1 | |||
ECB3 | LD E,B | |||
ECB4 | LD BC,$00CC | |||
ECB7 | LD B,E | |||
ECB8 | LD BC,$00D9 | |||
ECBB | LD SP,$E401 | |||
ECBE | NOP | |||
ECBF | INC E | |||
ECC0 | LD BC,$00F5 | |||
ECC3 | LD A,(BC) | |||
ECC4 | LD BC,$0106 | |||
ECC7 | CALL M,$1400 | |||
ECCA | LD BC,$00ED | |||
ECCD | INC HL | |||
ECCE | LD BC,$00DF | |||
ECD1 | LD (HL),$01 | |||
ECD3 | OUT ($00),A | |||
ECD5 | LD B,(HL) | |||
ECD6 | LD BC,$00C6 | |||
ECD9 | LD E,D | |||
ECDA | LD BC,$00B9 | |||
ECDD | LD (HL),C | |||
ECDE | LD BC,$00AE | |||
ECE1 | ADD A,A | |||
ECE2 | LD BC,$00A4 | |||
ECE5 | SBC A,L | |||
ECE6 | LD BC,$009A | |||
ECE9 | OR L | |||
ECEA | LD BC,$0091 | |||
ECED | RST $08 | |||
ECEE | LD BC,$0088 | |||
ECF1 | EX DE,HL | |||
ECF2 | LD BC,$0080 | |||
ECF5 | LD B,$02 | |||
ECF7 | LD A,B | |||
ECF8 | NOP | |||
ECF9 | INC HL | |||
ECFA | LD (BC),A | |||
ECFB | LD (HL),C | |||
ECFC | NOP | |||
ECFD | LD B,D | |||
ECFE | LD (BC),A | |||
ECFF | LD L,D | |||
ED00 | NOP | |||
ED01 | LD H,E | |||
ED02 | LD (BC),A | |||
ED03 | LD H,E | |||
ED04 | NOP | |||
ED05 | ADC A,H | |||
ED06 | LD (BC),A | |||
ED07 | LD B,$02 | |||
ED09 | LD B,$04 | |||
ED0B | LD B,$05 | |||
ED0D | LD B,$07 | |||
ED0F | LD (DE),A | |||
ED10 | ADD HL,BC | |||
ED11 | LD B,$02 | |||
ED13 | LD B,$04 | |||
ED15 | LD B,$05 | |||
ED17 | LD B,$07 | |||
ED19 | LD (DE),A | |||
ED1A | ADD HL,BC | |||
ED1B | LD B,$0E | |||
ED1D | LD B,$0C | |||
ED1F | LD B,$0B | |||
ED21 | LD B,$09 | |||
ED23 | JR $ED2C | |||
ED25 | INC BC | |||
ED26 | RLCA | |||
ED27 | INC BC | |||
ED28 | EX AF,AF' | |||
ED29 | INC BC | |||
ED2A | ADD HL,BC | |||
ED2B | INC BC | |||
ED2C | LD A,(BC) | |||
ED2D | INC BC | |||
ED2E | DEC BC | |||
ED2F | INC BC | |||
ED30 | INC C | |||
ED31 | INC BC | |||
ED32 | DEC C | |||
ED33 | INC BC | |||
ED34 | LD C,$03 | |||
ED36 | RRCA | |||
ED37 | INC BC | |||
ED38 | DJNZ $ED3D | |||
ED3A | LD DE,$1203 | |||
ED3D | JR NC,$ED52 | |||
ED3F | NOP | |||
ED40 | RST $38 | |||
ED41 | NOP | |||
ED42 | RST $38 | |||
ED43 | NOP | |||
ED44 | RST $38 | |||
ED45 | NOP | |||
ED46 | RST $38 | |||
ED47 | ADD HL,BC | |||
ED48 | LD C,$00 | |||
ED4A | RST $38 | |||
ED4B | ADD HL,BC | |||
ED4C | RLCA | |||
ED4D | CP $FF | |||
ED4F | RET Z | |||
ED50 | CP $80 | |||
ED52 | JR NZ,$ED57 | |||
ED54 | SET 7,B | |||
ED56 | RET | |||
ED57 | CP $40 | |||
ED59 | JR NZ,$ED5E | |||
ED5B | SET 6,B | |||
ED5D | RET | |||
ED5E | LD C,A | |||
ED5F | LD A,B | |||
ED60 | CP $00 | |||
ED62 | RET Z | |||
ED63 | LD A,C | |||
ED64 | CP $15 | |||
ED66 | JP M,$EE66 | |||
ED69 | CP $40 | |||
ED6B | JP P,$EE66 | |||
ED6E | LD C,A | |||
ED6F | LD A,($E0D2) | |||
ED72 | CP $15 | |||
ED74 | JP M,$EE66 | |||
ED77 | CP $40 | |||
ED79 | JP P,$EE66 | |||
ED7C | LD D,$15 | |||
ED7E | CALL $EEA3 | |||
ED81 | LD D,$3D | |||
ED83 | LD E,$03 | |||
ED85 | LD A,($E0D2) | |||
ED88 | CALL $EEA3 | |||
ED8B | INC D | |||
ED8C | DEC E | |||
ED8D | LD A,($E0D2) | |||
ED90 | JR NZ,$ED88 | |||
ED92 | CP $1B | |||
ED94 | JR NZ,$ED9D | |||
ED96 | LD A,C | |||
ED97 | CP $1C | |||
ED99 | JR NZ,$EDB1 | |||
ED9B | JR $EDA6 | |||
ED9D | CP $1C | |||
ED9F | JR NZ,$EDB1 | |||
EDA1 | LD A,C | |||
EDA2 | CP $1B | |||
EDA4 | JR NZ,$EDB1 | |||
EDA6 | LD IX,$D556 | |||
EDAA | SET 3,(IX+$00) | |||
EDAE | JP $EE4E | |||
EDB1 | LD A,($E0D2) | |||
EDB4 | CP $1D | |||
EDB6 | JR NZ,$EDBF | |||
EDB8 | LD A,C | |||
EDB9 | CP $1E | |||
EDBB | JR NZ,$EDF3 | |||
EDBD | JR $EDC8 | |||
EDBF | CP $1E | |||
EDC1 | JR NZ,$EDF3 | |||
EDC3 | LD A,C | |||
EDC4 | CP $1D | |||
EDC6 | JR NZ,$EDF3 | |||
EDC8 | LD IX,$D556 | |||
EDCC | SET 2,(IX+$00) | |||
EDD0 | LD A,($D55C) | |||
EDD3 | AND A | |||
EDD4 | ADD A,A | |||
EDD5 | DAA | |||
EDD6 | LD ($D55C),A | |||
EDD9 | LD A,($D55B) | |||
EDDC | PUSH AF | |||
EDDD | AND A | |||
EDDE | ADD A,A | |||
EDDF | DAA | |||
EDE0 | LD ($D55B),A | |||
EDE3 | POP AF | |||
EDE4 | JP NC,$EE4E | |||
EDE7 | CCF | |||
EDE8 | LD A,($D55B) | |||
EDEB | INC A | |||
EDEC | DAA | |||
EDED | LD ($D55B),A | |||
EDF0 | JP $EE4E | |||
EDF3 | LD A,($E0D2) | |||
EDF6 | CP $17 | |||
EDF8 | JR NZ,$EE08 | |||
EDFA | CP C | |||
EDFB | JR NZ,$EE08 | |||
EDFD | LD IX,$D556 | |||
EE01 | SET 6,(IX+$00) | |||
EE05 | JP $EE4E | |||
EE08 | LD A,($E0D2) | |||
EE0B | INC A | |||
EE0C | CP C | |||
EE0D | JR Z,$EE15 | |||
EE0F | SUB $02 | |||
EE11 | CP C | |||
EE12 | JR NZ,$EE4E | |||
EE14 | INC A | |||
EE15 | DEC A | |||
EE16 | CALL $D66C | |||
EE19 | LD D,$1F | |||
EE1B | LD E,$0D | |||
EE1D | CP D | |||
EE1E | JR Z,$EE27 | |||
EE20 | INC D | |||
EE21 | INC D | |||
EE22 | DEC E | |||
EE23 | JR NZ,$EE1D | |||
EE25 | JR $EE4E | |||
EE27 | LD A,$0E | |||
EE29 | SUB E | |||
EE2A | LD D,A | |||
EE2B | LD A,$05 | |||
EE2D | ADD A,$05 | |||
EE2F | DAA | |||
EE30 | DEC D | |||
EE31 | JR NZ,$EE2D | |||
EE33 | PUSH AF | |||
EE34 | SET 3,B | |||
EE36 | LD ($D587),A | |||
EE39 | LD A,($D55C) | |||
EE3C | LD D,A | |||
EE3D | POP AF | |||
EE3E | ADD A,D | |||
EE3F | DAA | |||
EE40 | LD ($D55C),A | |||
EE43 | JR NC,$EE4E | |||
EE45 | LD A,($D55B) | |||
EE48 | CCF | |||
EE49 | INC A | |||
EE4A | DAA | |||
EE4B | LD ($D55B),A | |||
EE4E | INC B | |||
EE4F | SET 4,B | |||
EE51 | LD A,($D54E) | |||
EE54 | CP $00 | |||
EE56 | JR Z,$EE5D | |||
EE58 | LD A,$03 | |||
EE5A | LD ($D54E),A | |||
EE5D | LD A,$00 | |||
EE5F | LD DE,($E3BB) | |||
EE63 | LD (DE),A | |||
EE64 | LD (HL),A | |||
EE65 | RET | |||
EE66 | LD A,($D54E) | |||
EE69 | CP $00 | |||
EE6B | RET Z | |||
EE6C | CP $03 | |||
EE6E | RET Z | |||
EE6F | SET 5,B | |||
EE71 | RET | |||
EE72 | LD A,B | |||
EE73 | CP $00 | |||
EE75 | JR Z,$EE7F | |||
EE77 | CP $40 | |||
EE79 | JR Z,$EE7F | |||
EE7B | CP $20 | |||
EE7D | JR NZ,$EE83 | |||
EE7F | POP HL | |||
EE80 | JP $E15D | |||
EE83 | AND $07 | |||
EE85 | RLCA | |||
EE86 | RLCA | |||
EE87 | BIT 7,B | |||
EE89 | JR Z,$EE93 | |||
EE8B | INC A | |||
EE8C | PUSH HL | |||
EE8D | LD HL,$D555 | |||
EE90 | SET 0,(HL) | |||
EE92 | POP HL | |||
EE93 | LD ($E56C),A | |||
EE96 | LD A,($D548) | |||
EE99 | LD ($E568),A | |||
EE9C | LD A,($D549) | |||
EE9F | LD ($E569),A | |||
EEA2 | RET | |||
EEA3 | CP D | |||
EEA4 | JR NZ,$EEB0 | |||
EEA6 | LD A,C | |||
EEA7 | CP $16 | |||
EEA9 | POP IY | |||
EEAB | JR Z,$EEBD | |||
EEAD | JP $EE66 | |||
EEB0 | LD A,C | |||
EEB1 | CP D | |||
EEB2 | RET NZ | |||
EEB3 | LD A,($E0D2) | |||
EEB6 | CP $16 | |||
EEB8 | POP IY | |||
EEBA | JP NZ,$EE66 | |||
EEBD | LD A,$00 | |||
EEBF | LD ($E0D2),A | |||
EEC2 | LD A,D | |||
EEC3 | CALL $D7A9 | |||
EEC6 | LD A,$50 | |||
EEC8 | JP $EE33 | |||
EECB | NOP | |||
EECC | JR NZ,$EE58 | |||
EECE | JR C,$EEEC | |||
EED0 | DJNZ $EEF6 | |||
EED2 | NOP | |||
EED3 | NOP | |||
EED4 | NOP | |||
EED5 | JR Z,$EF0F | |||
EED7 | JR $EF35 | |||
EED9 | LD (BC),A | |||
EEDA | NOP | |||
EEDB | NOP | |||
EEDC | LD C,B | |||
EEDD | LD D,$3C | |||
EEDF | LD E,D | |||
EEE0 | INC A | |||
EEE1 | JR Z,$EEF3 | |||
EEE3 | NOP | |||
EEE4 | LD C,D | |||
EEE5 | RET C | |||
EEE6 | LD L,(HL) | |||
EEE7 | LD L,H | |||
EEE8 | CP B | |||
EEE9 | INC L | |||
EEEA | LD C,D | |||
EEEB | LD A,H | |||
EEEC | CP $E6 | |||
EEEE | AND $E6 | |||
EEF0 | AND $FE | |||
EEF2 | LD A,H | |||
EEF3 | JR C,$EF6D | |||
EEF5 | LD A,B | |||
EEF6 | JR C,$EF30 | |||
EEF8 | JR C,$EF76 | |||
EEFA | LD A,H | |||
EEFB | CALL M,$0EFE | |||
EEFE | LD A,(HL) | |||
EEFF | CALL M,$FEE0 | |||
EF02 | CP $FC | |||
EF04 | CP $0E | |||
EF06 | INC A | |||
EF07 | LD A,$0E | |||
EF09 | CP $FC | |||
EF0B | RET NZ | |||
EF0C | RET NZ | |||
EF0D | ADC A,$CE | |||
EF0F | CP $FE | |||
EF11 | LD C,$0E | |||
EF13 | CP $FE | |||
EF15 | RET PO | |||
EF16 | CALL M,$0EFE | |||
EF19 | CP $FC | |||
EF1B | INC A | |||
EF1C | LD A,B | |||
EF1D | RET P | |||
EF1E | CALL M,$EEEE | |||
EF21 | XOR $7C | |||
EF23 | LD A,(HL) | |||
EF24 | LD A,(HL) | |||
EF25 | LD C,$3C | |||
EF27 | INC A | |||
EF28 | LD (HL),B | |||
EF29 | LD H,B | |||
EF2A | LD H,B | |||
EF2B | LD A,H | |||
EF2C | AND $E6 | |||
EF2E | LD A,H | |||
EF2F | CP $E6 | |||
EF31 | AND $7C | |||
EF33 | LD A,H | |||
EF34 | XOR $EE | |||
EF36 | XOR $7E | |||
EF38 | LD E,$3C | |||
EF3A | LD A,B | |||
This entry point is used by the routine at StartGame.
|
||||
EF3B | LD HL,$50E1 | |||
EF3E | LD B,$14 | |||
EF40 | LD C,$04 | |||
EF42 | PUSH HL | |||
EF43 | SCF | |||
EF44 | RR (HL) | |||
EF46 | JP C,$EF52 | |||
EF49 | INC H | |||
EF4A | DEC C | |||
EF4B | JP NZ,$EF43 | |||
EF4E | POP HL | |||
EF4F | JP $EF40 | |||
EF52 | POP HL | |||
EF53 | INC HL | |||
EF54 | HALT | |||
EF55 | DJNZ $EF40 | |||
EF57 | DEC HL | |||
EF58 | LD ($D577),HL | |||
EF5B | LD A,$01 | |||
EF5D | LD ($D579),A | |||
EF60 | LD A,$14 | |||
EF62 | LD ($D57A),A | |||
EF65 | RET | |||
This entry point is used by the routine at D2DE.
|
||||
EF66 | LD B,$28 | |||
EF68 | LD HL,$D556 | |||
EF6B | RES 5,(HL) | |||
EF6D | RES 6,(HL) | |||
EF6F | LD HL,($D577) | |||
EF72 | LD C,$04 | |||
EF74 | PUSH HL | |||
EF75 | SCF | |||
EF76 | RR (HL) | |||
EF78 | JP C,$EF99 | |||
EF7B | INC H | |||
EF7C | DEC C | |||
EF7D | JP NZ,$EF75 | |||
EF80 | LD A,B | |||
EF81 | ADD A,$1E | |||
EF83 | LD H,A | |||
EF84 | LD L,$14 | |||
EF86 | LD A,$05 | |||
EF88 | XOR $10 | |||
EF8A | OUT ($FE),A | |||
EF8C | LD D,H | |||
EF8D | DEC D | |||
EF8E | JP NZ,$EF8D | |||
EF91 | DEC L | |||
EF92 | JP NZ,$EF88 | |||
EF95 | POP HL | |||
EF96 | DJNZ $EF72 | |||
EF98 | RET | |||
EF99 | POP HL | |||
EF9A | LD A,($D57A) | |||
EF9D | CP $14 | |||
EF9F | RET P | |||
EFA0 | INC A | |||
EFA1 | LD ($D57A),A | |||
EFA4 | INC HL | |||
EFA5 | LD ($D577),HL | |||
EFA8 | PUSH HL | |||
EFA9 | JP $EF75 | |||
EFAC | LD HL,$E06C | |||
EFAF | LD B,$2A | |||
EFB1 | CP (HL) | |||
EFB2 | JR Z,$EFB8 | |||
EFB4 | INC HL | |||
EFB5 | DJNZ $EFB1 | |||
EFB7 | RET | |||
EFB8 | LD (HL),$00 | |||
EFBA | RET | |||
EFBB | LD HL,$D556 | |||
EFBE | BIT 4,(HL) | |||
EFC0 | JR Z,$EFC9 | |||
EFC2 | RES 4,(HL) | |||
EFC4 | POP IY | |||
EFC6 | JP $D3AA | |||
EFC9 | LD A,($D554) | |||
EFCC | CP $00 | |||
EFCE | JR Z,$F045 | |||
EFD0 | BIT 1,A | |||
EFD2 | JR Z,$EFE8 | |||
EFD4 | RES 1,A | |||
EFD6 | LD ($D554),A | |||
EFD9 | LD A,$15 | |||
EFDB | CALL $EFAC | |||
EFDE | LD BC,($D820) | |||
EFE2 | LD ($E568),BC | |||
EFE6 | JR $F02E | |||
EFE8 | BIT 2,A | |||
EFEA | JR Z,$F000 | |||
EFEC | RES 2,A | |||
EFEE | LD ($D554),A | |||
EFF1 | LD A,$3D | |||
EFF3 | CALL $EFAC | |||
EFF6 | LD BC,($D822) | |||
EFFA | LD ($E568),BC | |||
EFFE | JR $F02E | |||
F000 | BIT 3,A | |||
F002 | JR Z,$F018 | |||
F004 | RES 3,A | |||
F006 | LD ($D554),A | |||
F009 | LD A,$3E | |||
F00B | CALL $EFAC | |||
F00E | LD BC,($D824) | |||
F012 | LD ($E568),BC | |||
F016 | JR $F02E | |||
F018 | BIT 4,A | |||
F01A | JR Z,$F045 | |||
F01C | RES 4,A | |||
F01E | LD ($D554),A | |||
F021 | LD A,$3F | |||
F023 | CALL $EFAC | |||
F026 | LD BC,($D826) | |||
F02A | LD ($E568),BC | |||
F02E | XOR A | |||
F02F | LD ($D54F),A | |||
F032 | CALL $D8CA | |||
F035 | LD A,$01 | |||
F037 | LD ($D54F),A | |||
F03A | CALL $E7E5 | |||
F03D | CALL $E580 | |||
F040 | POP IY | |||
F042 | JP $D3AA | |||
F045 | CALL $E859 | |||
F048 | CP $00 | |||
F04A | JP NZ,$E1A1 | |||
F04D | LD A,($D551) | |||
F050 | CP $00 | |||
F052 | JP Z,$E12B | |||
F055 | CALL $E15D | |||
F058 | JP $EFBB | |||
This entry point is used by the routine at DEED.
|
||||
F05B | LD A,(HL) | |||
F05C | LD HL,$E06B | |||
F05F | LD B,$00 | |||
F061 | LD C,A | |||
F062 | ADD HL,BC | |||
F063 | LD A,(HL) | |||
F064 | LD ($E3BB),HL | |||
F067 | CP $00 | |||
F069 | JP Z,$E15D | |||
F06C | LD ($E0D2),A | |||
F06F | LD A,($D54E) | |||
F072 | CP $03 | |||
F074 | JR Z,$F07B | |||
F076 | LD A,$01 | |||
F078 | LD ($D54E),A | |||
F07B | LD A,($D550) | |||
F07E | CP $09 | |||
F080 | LD A,($E3BD) | |||
F083 | JP Z,$F41E | |||
F086 | CP $11 | |||
F088 | JP NZ,$F145 | |||
F08B | INC HL | |||
F08C | LD A,(HL) | |||
F08D | CP $00 | |||
F08F | JR NZ,$F094 | |||
F091 | INC B | |||
F092 | JR $F08B | |||
F094 | CALL $ED4D | |||
F097 | CALL $EE72 | |||
F09A | PUSH BC | |||
F09B | PUSH HL | |||
F09C | CALL $D7A6 | |||
F09F | CALL $E108 | |||
F0A2 | CALL $D989 | |||
F0A5 | CALL $D7C9 | |||
F0A8 | POP HL | |||
F0A9 | POP BC | |||
F0AA | DEC HL | |||
F0AB | CALL $E0FC | |||
F0AE | LD A,($D54E) | |||
F0B1 | CP $02 | |||
F0B3 | RET Z | |||
F0B4 | BIT 5,B | |||
F0B6 | JR Z,$F0D4 | |||
F0B8 | LD A,$00 | |||
F0BA | LD ($D54E),A | |||
F0BD | LD A,($E569) | |||
F0C0 | CP $0F | |||
F0C2 | RET P | |||
F0C3 | ADD A,$04 | |||
F0C5 | LD ($D549),A | |||
F0C8 | INC HL | |||
F0C9 | LD ($E3BB),HL | |||
F0CC | LD A,(HL) | |||
F0CD | LD ($E0D2),A | |||
F0D0 | LD B,$00 | |||
F0D2 | JR $F08B | |||
F0D4 | LD A,($D54E) | |||
F0D7 | CP $00 | |||
F0D9 | JR NZ,$F0E2 | |||
F0DB | PUSH BC | |||
F0DC | PUSH HL | |||
F0DD | CALL $F218 | |||
F0E0 | POP HL | |||
F0E1 | POP BC | |||
F0E2 | LD A,($D54E) | |||
F0E5 | CP $02 | |||
F0E7 | RET Z | |||
F0E8 | CP $03 | |||
F0EA | JR Z,$F0F1 | |||
F0EC | LD A,$01 | |||
F0EE | LD ($D54E),A | |||
F0F1 | BIT 6,B | |||
F0F3 | JR NZ,$F0FD | |||
F0F5 | LD A,($D54E) | |||
F0F8 | CP $03 | |||
F0FA | RET Z | |||
F0FB | JR $F0BD | |||
F0FD | LD A,($E56C) | |||
F100 | LD C,A | |||
F101 | LD A,($D549) | |||
F104 | ADD A,C | |||
F105 | LD ($D549),A | |||
F108 | LD ($E3BB),HL | |||
F10B | CALL $E05B | |||
F10E | LD A,($D54E) | |||
F111 | CP $03 | |||
F113 | JR Z,$F11A | |||
F115 | LD A,$02 | |||
F117 | LD ($D54E),A | |||
F11A | CALL $F14A | |||
F11D | PUSH BC | |||
F11E | PUSH HL | |||
F11F | CALL $F12D | |||
F122 | POP HL | |||
F123 | POP BC | |||
F124 | LD A,($D54E) | |||
F127 | CP $03 | |||
F129 | RET Z | |||
F12A | JP $F1A3 | |||
F12D | LD A,($D549) | |||
F130 | ADD A,$03 | |||
F132 | RLCA | |||
F133 | RLCA | |||
F134 | RLCA | |||
F135 | DEC A | |||
F136 | LD H,A | |||
F137 | LD A,($D548) | |||
F13A | INC A | |||
F13B | RLCA | |||
F13C | RLCA | |||
F13D | RLCA | |||
F13E | LD IX,$DF85 | |||
F142 | JP $DEED | |||
F145 | CP $12 | |||
F147 | JP NZ,$F22E | |||
F14A | DEC HL | |||
F14B | LD A,(HL) | |||
F14C | CP $00 | |||
F14E | JR NZ,$F153 | |||
F150 | INC B | |||
F151 | JR $F14A | |||
F153 | CALL $ED4D | |||
F156 | CALL $EE72 | |||
F159 | PUSH BC | |||
F15A | PUSH HL | |||
F15B | CALL $D7A6 | |||
F15E | CALL $E108 | |||
F161 | CALL $D9F0 | |||
F164 | CALL $D7C9 | |||
F167 | POP HL | |||
F168 | POP BC | |||
F169 | BIT 7,B | |||
F16B | JR Z,$F195 | |||
F16D | LD A,($E56C) | |||
F170 | PUSH AF | |||
F171 | CALL $E0E5 | |||
F174 | CALL $D7A6 | |||
F177 | PUSH BC | |||
F178 | LD A,$02 | |||
F17A | LD ($E569),A | |||
F17D | CALL $D9F0 | |||
F180 | POP BC | |||
F181 | DJNZ $F177 | |||
F183 | POP AF | |||
F184 | ADD A,$03 | |||
F186 | LD ($E56C),A | |||
F189 | LD A,($D54E) | |||
F18C | CP $01 | |||
F18E | RET Z | |||
F18F | CP $03 | |||
F191 | RET Z | |||
F192 | JP $F12D | |||
F195 | INC HL | |||
F196 | CALL $E0FC | |||
F199 | LD A,($D54E) | |||
F19C | CP $02 | |||
F19E | RET Z | |||
F19F | BIT 5,B | |||
F1A1 | JR Z,$F1BF | |||
F1A3 | LD A,$00 | |||
F1A5 | LD ($D54E),A | |||
F1A8 | LD A,($E569) | |||
F1AB | CP $06 | |||
F1AD | RET M | |||
F1AE | SUB $04 | |||
F1B0 | LD ($D549),A | |||
F1B3 | DEC HL | |||
F1B4 | LD ($E3BB),HL | |||
F1B7 | LD A,(HL) | |||
F1B8 | LD ($E0D2),A | |||
F1BB | LD B,$00 | |||
F1BD | JR $F14A | |||
F1BF | LD A,($D54E) | |||
F1C2 | CP $00 | |||
F1C4 | JR NZ,$F1CD | |||
F1C6 | PUSH BC | |||
F1C7 | PUSH HL | |||
F1C8 | CALL $F12D | |||
F1CB | POP HL | |||
F1CC | POP BC | |||
F1CD | LD A,($D54E) | |||
F1D0 | CP $02 | |||
F1D2 | RET Z | |||
F1D3 | CP $03 | |||
F1D5 | JR Z,$F1DC | |||
F1D7 | LD A,$01 | |||
F1D9 | LD ($D54E),A | |||
F1DC | BIT 6,B | |||
F1DE | JR NZ,$F1E8 | |||
F1E0 | LD A,($D54E) | |||
F1E3 | CP $03 | |||
F1E5 | RET Z | |||
F1E6 | JR $F1A8 | |||
F1E8 | LD A,($E56C) | |||
F1EB | LD C,A | |||
F1EC | LD A,($D549) | |||
F1EF | SUB C | |||
F1F0 | LD ($D549),A | |||
F1F3 | LD ($E3BB),HL | |||
F1F6 | CALL $E05B | |||
F1F9 | LD A,($D54E) | |||
F1FC | CP $03 | |||
F1FE | JR Z,$F205 | |||
F200 | LD A,$02 | |||
F202 | LD ($D54E),A | |||
F205 | CALL $F08B | |||
F208 | PUSH BC | |||
F209 | PUSH HL | |||
F20A | CALL $F218 | |||
F20D | POP HL | |||
F20E | POP BC | |||
F20F | LD A,($D54E) | |||
F212 | CP $03 | |||
F214 | RET Z | |||
F215 | JP $F0B8 | |||
F218 | LD A,($D549) | |||
F21B | DEC A | |||
F21C | RLCA | |||
F21D | RLCA | |||
F21E | RLCA | |||
F21F | LD H,A | |||
F220 | LD A,($D548) | |||
F223 | INC A | |||
F224 | RLCA | |||
F225 | RLCA | |||
F226 | RLCA | |||
F227 | LD IX,$DF79 | |||
F22B | JP $DEED | |||
F22E | LD DE,$0007 | |||
F231 | CP $14 | |||
F233 | JP NZ,$F328 | |||
F236 | ADD HL,DE | |||
F237 | LD A,(HL) | |||
F238 | CP $00 | |||
F23A | JR NZ,$F23F | |||
F23C | INC B | |||
F23D | JR $F236 | |||
F23F | CALL $ED4D | |||
F242 | CALL $EE72 | |||
F245 | PUSH BC | |||
F246 | PUSH HL | |||
F247 | CALL $D7A6 | |||
F24A | CALL $E108 | |||
F24D | CALL $DA56 | |||
F250 | CALL $D7C9 | |||
F253 | POP HL | |||
F254 | POP BC | |||
F255 | BIT 7,B | |||
F257 | JR Z,$F281 | |||
F259 | LD A,($E56C) | |||
F25C | PUSH AF | |||
F25D | CALL $E0E5 | |||
F260 | CALL $D7A6 | |||
F263 | PUSH BC | |||
F264 | LD A,$12 | |||
F266 | LD ($E568),A | |||
F269 | CALL $DA56 | |||
F26C | POP BC | |||
F26D | DJNZ $F263 | |||
F26F | POP AF | |||
F270 | ADD A,$03 | |||
F272 | LD ($E56C),A | |||
F275 | LD A,($D54E) | |||
F278 | CP $01 | |||
F27A | RET Z | |||
F27B | CP $03 | |||
F27D | RET Z | |||
F27E | JP $F408 | |||
F281 | LD DE,$0007 | |||
F284 | AND A | |||
F285 | SBC HL,DE | |||
F287 | CALL $E0FC | |||
F28A | LD A,($D54E) | |||
F28D | CP $02 | |||
F28F | RET Z | |||
F290 | BIT 5,B | |||
F292 | JR Z,$F2B3 | |||
F294 | LD A,$00 | |||
F296 | LD ($D54E),A | |||
F299 | LD A,($E568) | |||
F29C | CP $0F | |||
F29E | RET P | |||
F29F | ADD A,$04 | |||
F2A1 | LD ($D548),A | |||
F2A4 | LD DE,$0007 | |||
F2A7 | ADD HL,DE | |||
F2A8 | LD ($E3BB),HL | |||
F2AB | LD A,(HL) | |||
F2AC | LD ($E0D2),A | |||
F2AF | LD B,$00 | |||
F2B1 | JR $F236 | |||
F2B3 | LD A,($D54E) | |||
F2B6 | CP $00 | |||
F2B8 | JR NZ,$F2C1 | |||
F2BA | PUSH BC | |||
F2BB | PUSH HL | |||
F2BC | CALL $F408 | |||
F2BF | POP HL | |||
F2C0 | POP BC | |||
F2C1 | LD A,($D54E) | |||
F2C4 | CP $02 | |||
F2C6 | RET Z | |||
F2C7 | CP $03 | |||
F2C9 | JR Z,$F2D0 | |||
F2CB | LD A,$01 | |||
F2CD | LD ($D54E),A | |||
F2D0 | BIT 6,B | |||
F2D2 | JR NZ,$F2DC | |||
F2D4 | LD A,($D54E) | |||
F2D7 | CP $03 | |||
F2D9 | RET Z | |||
F2DA | JR $F299 | |||
F2DC | LD A,($E56C) | |||
F2DF | LD C,A | |||
F2E0 | LD A,($D548) | |||
F2E3 | ADD A,C | |||
F2E4 | LD ($D548),A | |||
F2E7 | LD ($E3BB),HL | |||
F2EA | CALL $E05B | |||
F2ED | LD A,($D54E) | |||
F2F0 | CP $03 | |||
F2F2 | JR Z,$F2F9 | |||
F2F4 | LD A,$02 | |||
F2F6 | LD ($D54E),A | |||
F2F9 | LD DE,$0007 | |||
F2FC | AND A | |||
F2FD | CALL $F32E | |||
F300 | PUSH BC | |||
F301 | PUSH HL | |||
F302 | CALL $F310 | |||
F305 | POP HL | |||
F306 | POP BC | |||
F307 | LD A,($D54E) | |||
F30A | CP $03 | |||
F30C | RET Z | |||
F30D | JP $F38B | |||
F310 | LD A,($D549) | |||
F313 | INC A | |||
F314 | RLCA | |||
F315 | RLCA | |||
F316 | RLCA | |||
F317 | LD H,A | |||
F318 | LD A,($D548) | |||
F31B | ADD A,$03 | |||
F31D | RLCA | |||
F31E | RLCA | |||
F31F | RLCA | |||
F320 | DEC A | |||
F321 | LD IX,$DF9D | |||
F325 | JP $DEED | |||
F328 | CP $18 | |||
F32A | JP NZ,$F04D | |||
F32D | AND A | |||
F32E | SBC HL,DE | |||
F330 | LD A,(HL) | |||
F331 | CP $00 | |||
F333 | JR NZ,$F338 | |||
F335 | INC B | |||
F336 | JR $F32E | |||
F338 | CALL $ED4D | |||
F33B | CALL $EE72 | |||
F33E | PUSH BC | |||
F33F | PUSH HL | |||
F340 | CALL $D7A6 | |||
F343 | CALL $E108 | |||
F346 | CALL $DAE7 | |||
F349 | CALL $D7C9 | |||
F34C | POP HL | |||
F34D | POP BC | |||
F34E | BIT 7,B | |||
F350 | JR Z,$F37A | |||
F352 | LD A,($E56C) | |||
F355 | PUSH AF | |||
F356 | CALL $E0E5 | |||
F359 | CALL $D7A6 | |||
F35C | PUSH BC | |||
F35D | LD A,$02 | |||
F35F | LD ($E568),A | |||
F362 | CALL $DAE7 | |||
F365 | POP BC | |||
F366 | DJNZ $F35C | |||
F368 | POP AF | |||
F369 | ADD A,$03 | |||
F36B | LD ($E56C),A | |||
F36E | LD A,($D54E) | |||
F371 | CP $01 | |||
F373 | RET Z | |||
F374 | CP $03 | |||
F376 | RET Z | |||
F377 | JP $F310 | |||
F37A | LD DE,$0007 | |||
F37D | ADD HL,DE | |||
F37E | CALL $E0FC | |||
F381 | LD A,($D54E) | |||
F384 | CP $02 | |||
F386 | RET Z | |||
F387 | BIT 5,B | |||
F389 | JR Z,$F3AC | |||
F38B | LD A,$00 | |||
F38D | LD ($D54E),A | |||
F390 | LD A,($E568) | |||
F393 | CP $05 | |||
F395 | RET M | |||
F396 | SUB $04 | |||
F398 | LD ($D548),A | |||
F39B | LD DE,$0007 | |||
F39E | AND A | |||
F39F | SBC HL,DE | |||
F3A1 | LD ($E3BB),HL | |||
F3A4 | LD A,(HL) | |||
F3A5 | LD ($E0D2),A | |||
F3A8 | LD B,$00 | |||
F3AA | JR $F32E | |||
F3AC | LD A,($D54E) | |||
F3AF | CP $00 | |||
F3B1 | JR NZ,$F3BA | |||
F3B3 | PUSH BC | |||
F3B4 | PUSH HL | |||
F3B5 | CALL $F310 | |||
F3B8 | POP HL | |||
F3B9 | POP BC | |||
F3BA | LD A,($D54E) | |||
F3BD | CP $02 | |||
F3BF | RET Z | |||
F3C0 | CP $03 | |||
F3C2 | JR Z,$F3C9 | |||
F3C4 | LD A,$01 | |||
F3C6 | LD ($D54E),A | |||
F3C9 | BIT 6,B | |||
F3CB | JR NZ,$F3D5 | |||
F3CD | LD A,($D54E) | |||
F3D0 | CP $03 | |||
F3D2 | RET Z | |||
F3D3 | JR $F390 | |||
F3D5 | LD A,($E56C) | |||
F3D8 | LD C,A | |||
F3D9 | LD A,($D548) | |||
F3DC | SUB C | |||
F3DD | LD ($D548),A | |||
F3E0 | LD ($E3BB),HL | |||
F3E3 | CALL $E05B | |||
F3E6 | LD A,($D54E) | |||
F3E9 | CP $03 | |||
F3EB | JR Z,$F3F2 | |||
F3ED | LD A,$02 | |||
F3EF | LD ($D54E),A | |||
F3F2 | LD DE,$0007 | |||
F3F5 | CALL $F236 | |||
F3F8 | PUSH BC | |||
F3F9 | PUSH HL | |||
F3FA | CALL $F408 | |||
F3FD | POP HL | |||
F3FE | POP BC | |||
F3FF | LD A,($D54E) | |||
F402 | CP $03 | |||
F404 | RET Z | |||
F405 | JP $F294 | |||
F408 | LD A,($D549) | |||
F40B | INC A | |||
F40C | RLCA | |||
F40D | RLCA | |||
F40E | RLCA | |||
F40F | LD H,A | |||
F410 | LD A,($D548) | |||
F413 | DEC A | |||
F414 | RLCA | |||
F415 | RLCA | |||
F416 | RLCA | |||
F417 | LD IX,$DF91 | |||
F41B | JP $DEED | |||
F41E | CP $10 | |||
F420 | JP NZ,$E12B | |||
F423 | LD A,($E075) | |||
F426 | CP $00 | |||
F428 | JP NZ,$E12B | |||
F42B | CALL $E51E | |||
F42E | LD A,($E0D2) | |||
F431 | CP $00 | |||
F433 | JP Z,$E12B | |||
F436 | LD ($E075),A | |||
F439 | HALT | |||
F43A | HALT | |||
F43B | HALT | |||
F43C | CP $15 | |||
F43E | JP M,$F468 | |||
F441 | CP $29 | |||
F443 | JP M,$F470 | |||
F446 | CP $3D | |||
F448 | JP M,$F475 | |||
F44B | LD HL,$AC24 | |||
F44E | LD ($E0D3),HL | |||
F451 | CALL $DC74 | |||
F454 | CALL $D816 | |||
F457 | LD HL,($E3BB) | |||
F45A | INC HL | |||
F45B | LD ($E3BB),HL | |||
F45E | LD B,$00 | |||
F460 | LD A,$06 | |||
F462 | LD ($D549),A | |||
F465 | JP $F08B | |||
F468 | CALL $DDBD | |||
F46B | LD HL,$A0E3 | |||
F46E | JR $F44E | |||
F470 | LD HL,$AC24 | |||
F473 | JR $F44E | |||
F475 | LD HL,$B765 | |||
F478 | JR $F44E |
Prev: E8F1 | Up: Map | Next: F47A |