;-------------------------------------------------
;Z80 DISASSEMBLER LISTING
;Label  Instruction
;-------------------------------------------------

L0074:  .EQU 030DH
L0075:  .EQU 0372H
L0238:  .EQU 0681H
L0166:  .EQU 072AH
L0179:  .EQU 074CH
L0171:  .EQU 07AFH
L0136:  .EQU 086FH
L0241:  .EQU 0B5FH
L0246:  .EQU 0BC2H
L0256:  .EQU 0BE0H
L0282:  .EQU 0E27H
L0305:  .EQU 0FA4H
L0165:  .EQU 3E82H
L0096:  .EQU 0C983H
L0267:  .EQU 0CB85H
L0236:  .EQU 0CD81H
L0251:  .EQU 0CD83H
L0206:  .EQU 0DD83H
L0160:  .EQU 0EF83H
L0188:  .EQU 0EF85H
L0262:  .EQU 0FB83H

L0108:  DI
        IM 1
        LD D,40H
        JP L0001
        PUSH BC
        JP L0002
        NOP
        NOP
        NOP
        NOP
        PUSH BC
        IN A,(05H)
        CPL
        JP L0003
        NOP
        PUSH AF
        PUSH BC
        CPL
        LD B,A
        JP L0004
        NOP
        PUSH AF
        PUSH BC
        PUSH DE
        LD B,A
        LD A,C
        JP L0005
        EX (SP),HL
        PUSH AF
        PUSH BC
        LD A,(HL)
        INC HL
        JP L0006
        CALL L0007
        JP L0008
        NOP
        NOP
        EX AF,AF'
        BIT 0,E
        JP Z,L0009
        EX AF,AF'
        EI
        RETI
        RST 08H
        ADD A,B
        RST 10H
        LD A,A
        RST 08H
        RRCA
        RLCA
        RST 08H
        NOP
        RLCA
        RST 08H
        RET P
        RLCA
L0099:  PUSH BC
        PUSH DE
        LD D,A
        CALL L0010
        IN A,(00H)
        AND B
        SCF
        JR Z,L0011
        CCF
L0011:  LD A,D
        POP DE
        POP BC
        RET
        NOP
        NOP
        NOP
        NOP
        NOP
        NOP
        RETN
L0056:  PUSH BC
        LD B,0E4H
L0012:  DJNZ L0012
        POP BC
        RET
L0002:  BIT 6,D
        JR NZ,L0013
        LD A,(3000H)
        BIT 0,A
        JR Z,L0014
        LD A,8CH
L0020:  SET 6,D
        LD (IX+53H),1EH
        JR L0015
L0014:  LD B,10H
L0017:  RRC B
        JR NC,L0016
L0013:  XOR A
L0015:  BIT 7,A
        PUSH AF
        LD A,0FH
        LD C,00H
        RST 18H
        POP AF
        POP BC
        RES 7,A
        RET
L0016:  LD A,B
        LD C,00H
        RST 18H
        IN A,(05H)
        CPL
        AND 0F0H
        JR Z,L0017
        RRCA
        RRCA
        RRCA
        RRCA
        LD C,A
        LD A,0FBH
L0018:  ADD A,04H
        RRC C
        JR NC,L0018
L0019:  INC A
        RRC B
        JR NC,L0019
        SET 7,A
        JR L0020
L0003:  AND 0F0H
        JR NZ,L0021
        LD A,(3000H)
        BIT 0,A
        JR NZ,L0021
        RES 6,D
L0023:  XOR A
        JR L0022
L0021:  BIT 6,D
        JR NZ,L0023
        SCF
L0022:  LD A,B
        POP BC
        RET
L0004:  IN A,(04H)
        AND 0F0H
        OR C
        LD C,A
        SET 3,A
        OUT (04H),A
        LD A,B
        OUT (05H),A
        LD A,C
        OUT (04H),A
        NOP
        SET 3,A
        OUT (04H),A
        LD A,C
        CPL
        AND 07H
        PUSH HL
        LD HL,1030H
        ADD A,L
        LD L,A
        LD A,B
        CPL
        LD (HL),A
        POP HL
        POP BC
        PUSH BC
        LD A,C
        CP 01H
        JR NZ,L0024
        LD B,0F0H
        LD A,(1036H)
        BIT 3,A
        JR Z,L0025
        RES 7,B
L0025:  BIT 2,A
        JR Z,L0026
        RES 4,B
L0026:  BIT 1,A
        JR Z,L0027
        RES 6,B
L0027:  BIT 0,A
        JR Z,L0028
        RES 5,B
L0028:  IN A,(04H)
        AND 0FH
        OR B
        OUT (04H),A
L0024:  POP BC
        POP AF
        RET
L0005:  CP 04H
        LD A,B
        JR C,L0029
        RST 18H
        DEC C
        RRCA
        RRCA
        RRCA
        RRCA
L0030:  RST 18H
        POP DE
        POP BC
        POP AF
        RET
L0029:  LD A,C
        CPL
        AND 07H
        PUSH HL
        LD HL,1030H
        ADD A,L
        LD L,A
        LD D,(HL)
        POP HL
        LD A,B
        RRCA
        RRCA
        RRCA
        RRCA
        AND D
        OR B
        AND 0FH
        JR L0030
L0006:  LD C,(HL)
        INC HL
        BIT 7,C
        JR NZ,L0031
        RST 18H
L0032:  POP BC
        POP AF
        EX (SP),HL
        RET
L0031:  RES 7,C
        RST 20H
        JR L0032
L0009:  EXX
        CALL L0007
        LD D,00H
L0035:  CALL L0033
        CP 0E6H
        JR Z,L0034
        CP 19H
        JR NZ,L0035
        DEC D
L0034:  CALL L0036
        CP 55H
        JR NZ,L0037
        LD B,06H
        JR L0038
L0045:  POP HL
        DEC HL
        DEC HL
L0037:  LD A,0FFH
        CP (HL)
        JR Z,L0039
        DEC HL
        JR L0037
L0039:  INC HL
L0046:  PUSH HL
        LD B,20H
L0040:  LD (HL),00H
        INC HL
        DJNZ L0040
        POP HL
        LD A,L
        EXX
        RES 0,D
        CP 01H
        JR Z,L0041
        SET 0,D
        LD (IX+53H),1EH
L0041:  EX AF,AF'
        JP L0042
L0038:  CALL L0036
        LD (HL),A
        INC HL
        DJNZ L0038
        CALL L0036
        CP 78H
        JR NZ,L0037
        LD (HL),0FFH
        INC HL
        PUSH HL
        DEC HL
        DEC HL
        DEC HL
        DEC HL
        DEC HL
        LD A,(HL)
        DEC HL
        DEC HL
        AND 07H
        EXX
        CP H
        EXX
        JR NZ,L0043
        LD A,(HL)
        CP 0CAH
        JR Z,L0044
L0043:  LD A,(HL)
        CP 0CAH
        JR Z,L0045
        CP 0A0H
        JR NC,L0044
        LD A,(2800H)
        CP (HL)
        JR NZ,L0045
L0044:  POP HL
        JR L0046
L0008:  IN A,(00H)
        OR 80H
        OUT (00H),A
        LD (IX+00H),00H
        LD (IX+01H),0E6H
        LD (IX+02H),55H
        LD A,(IX+0FH)
        OR A
        JR Z,L0047
        LD (IX+03H),A
        LD A,0F8H
        AND (IX+05H)
        CP 80H
        JR NZ,L0048
L0047:  LD (IX+03H),0CAH
L0048:  LD A,(2800H)
        LD (IX+04H),A
        LD (IX+09H),78H
        PUSH HL
        PUSH DE
        LD HL,0FFCH
        LD B,20H
L0049:  DJNZ L0049
        LD B,0EH
L0055:  LD D,(HL)
        PUSH BC
        SCF
L0054:  RL D
        JR Z,L0050
        IN A,(01H)
        SET 6,A
        JR NC,L0051
        RES 6,A
L0051:  OUT (01H),A
        LD B,31H
L0052:  DJNZ L0052
        XOR 40H
        OUT (01H),A
        LD B,2EH
L0053:  DJNZ L0053
        AND A
        JR L0054
L0050:  POP BC
        INC HL
        DJNZ L0055
        POP DE
        POP HL
        LD B,05H
L0057:  CALL L0056
        DJNZ L0057
        IN A,(00H)
        AND 7FH
        OUT (00H),A
        LD B,07H
L0058:  CALL L0056
        DJNZ L0058
L0042:  PUSH AF
        LD A,83H
        OUT (03H),A
        POP AF
        EI
        RETI
L0007:  DI
        PUSH AF
        LD A,03H
        OUT (03H),A
        POP AF
        RET
L0244:  CALL L0007
        IN A,(00H)
        OR 80H
        OUT (00H),A
        CALL L0056
        JR L0048
L0036:  PUSH BC
        PUSH DE
        LD B,08H
L0062:  PUSH BC
        PUSH DE
        PUSH AF
        IN A,(01H)
        AND 80H
        LD E,00H
        LD D,A
L0060:  IN A,(01H)
        DEC E
        JR Z,L0059
        AND 80H
        CP D
        JR Z,L0060
        LD D,A
        LD B,44H
L0061:  DJNZ L0061
        POP AF
        RL D
        RLA
        POP DE
        POP BC
        DJNZ L0062
        POP DE
        POP BC
        XOR D
        RET
L0059:  POP AF
        POP DE
        POP BC
L0066:  POP DE
        POP BC
        INC SP
        INC SP
        JP L0037
L0033:  PUSH BC
        PUSH DE
        PUSH AF
        IN A,(01H)
        AND 80H
        LD E,00H
        LD D,A
L0064:  IN A,(01H)
        DEC E
        JR Z,L0063
        AND 80H
        CP D
        JR Z,L0064
        LD D,A
        LD B,44H
L0065:  DJNZ L0065
        POP AF
        RL D
        RLA
        POP DE
        POP BC
        RET
L0063:  POP AF
        JR L0066
L0208:  PUSH AF
        PUSH HL
        PUSH DE
        PUSH BC
        DI
        LD HL,0305H
        LD D,00H
        LD E,A
        ADD HL,DE
        PUSH HL
        POP IX
        LD D,(IX+02H)
L0073:  LD C,(IX+01H)
L0069:  LD E,20H
L0068:  IN A,(00H)
        XOR (IX+03H)
        OUT (00H),A
        LD B,(IX+00H)
L0067:  DJNZ L0067
        DEC E
        JR NZ,L0068
        DEC C
        JR NZ,L0069
        LD C,(IX+01H)
L0072:  LD E,0C8H
L0071:  RST 10H
        JR C,L0070
        DEC E
        JR NZ,L0071
        DEC C
        JR NZ,L0072
        DEC D
        JR NZ,L0073
L0070:  LD IX,1000H
        POP BC
        POP DE
        EI
        POP HL
        POP AF
        RET
        SUB (HL)
        LD A,(BC)
        LD BC,6420H
        DJNZ L0074
        JR NZ,L0075
        INC BC
        LD (BC),A
        LD B,B
        LD H,H
        LD H,H
        LD BC,0C840H
        LD (2001H),A
L0129:  PUSH AF
        LD A,0F0H
        AND E
        JR NZ,L0076
        OR H
        JR NZ,L0076
        CALL L0077
        JR Z,L0076
        JR C,L0076
        IN A,(00H)
        AND 0FH
        JR Z,L0078
        BIT 2,E
        JR Z,L0076
        RES 2,E
        LD A,(IX+0FH)
        LD C,07H
        RST 20H
        RST 28H
        EX AF,AF'
        LD (BC),A
L0076:  POP AF
        RET
L0078:  BIT 2,E
        JR NZ,L0076
        RST 28H
        RRCA
        LD (BC),A
        SET 2,E
        JR L0076
L0077:  PUSH HL
        PUSH IY
        POP HL
        LD H,A
        LD A,L
        CP 0FH
        JR Z,L0079
        CP 0DH
        JR NZ,L0080
L0081:  LD A,H
        POP HL
        RET
L0080:  OR A
        SCF
        JR L0081
L0079:  OR A
        JR L0081
L0163:  LD H,00H
        LD (IX+20H),H
L0181:  IN A,(01H)
        AND 0F0H
        OUT (01H),A
        RET
L0207:  RST 28H
        INC B
        LD BC,0F5C5H
        LD BC,0000H
L0082:  DEC C
        JR NZ,L0082
        DJNZ L0082
L0095:  POP AF
        POP BC
        RET
L0114:  PUSH BC
        PUSH HL
        LD L,A
        LD BC,2300H
L0084:  RST 10H
        JR C,L0083
        BIT 0,D
        SCF
        JR NZ,L0083
        DEC C
        JR NZ,L0084
        DJNZ L0084
        XOR A
L0083:  LD A,L
        POP HL
        POP BC
        RET
L0234:  PUSH BC
        PUSH HL
        LD HL,1110H
        LD B,A
L0086:  LD A,(HL)
        OR A
        JR Z,L0085
        CP B
        JR Z,L0085
        INC HL
        JR L0086
L0085:  LD (HL),B
        POP HL
        POP BC
        RET
L0224:  PUSH BC
        PUSH HL
        LD HL,1110H
        LD B,A
L0089:  LD A,(HL)
        OR A
        JR Z,L0087
        CP B
        JR Z,L0088
        INC HL
        JR L0089
L0090:  INC HL
L0088:  INC HL
        LD A,(HL)
        DEC HL
        LD (HL),A
        OR A
        JR NZ,L0090
L0087:  POP HL
        POP BC
        RET
L0094:  PUSH HL
        LD B,00H
        LD HL,1110H
L0092:  LD A,(HL)
        OR A
        JR Z,L0091
        INC HL
        INC B
        CP (IX+0FH)
        JR NZ,L0092
        SET 7,B
        JR L0092
L0091:  DEC HL
        LD C,(HL)
        POP HL
        LD A,B
        OR A
        RET Z
        BIT 7,B
        JR NZ,L0093
        OR A
        LD A,C
        RET
L0093:  RES 7,B
        OR A
        LD A,C
        SCF
        RET
L0118:  LD A,(IX+21H)
        OR A
        RET NZ
        CALL L0094
        RST 28H
        JR NC,L0095
        RET Z
        RST 28H
        LD (HL),H
        ADD A,E
        RET NC
        RST 28H
        CALL M,L0096
L0186:  LD A,(3000H)
        SCF
        BIT 1,A
        JR NZ,L0097
        CCF
L0097:  BIT 2,A
        RET
L0156:  LD A,H
        OR A
        CALL Z,L0098
        RET C
        LD (IX+05H),A
        LD H,A
        XOR A
        LD (IX+06H),A
        LD (IX+07H),A
        LD (IX+08H),A
        RET
L0098:  SET 0,E
        PUSH BC
        LD A,R
        AND 03H
        INC A
        LD B,04H
        DI
L0102:  CALL L0099
        JR NC,L0100
        DEC A
        JR NZ,L0101
        LD A,04H
L0101:  DJNZ L0102
        SCF
        POP BC
        RET
L0100:  LD B,A
        CALL L0007
        PUSH AF
        CALL L0010
        CALL L0103
        RES 0,E
        POP AF
        OR A
        POP BC
        RET
L0127:  DI
        PUSH HL
        PUSH DE
        PUSH HL
        POP DE
        LD B,07H
L0104:  INC DE
        DJNZ L0104
L0106:  LD B,07H
L0105:  LD A,(DE)
        LD (HL),A
        INC HL
        INC DE
        DJNZ L0105
        LD A,(HL)
        OR A
        JR NZ,L0106
        POP DE
        EI
L0107:  LD A,(HL)
        DEC HL
        OR A
        JR Z,L0107
        INC HL
        INC HL
        INC A
        JP NZ,L0108
        DI
        PUSH HL
        EXX
        POP HL
        EXX
        POP HL
        RET
L0010:  LD B,80H
L0109:  RLC B
        DEC A
        JR NZ,L0109
        RET
L0103:  IN A,(01H)
        AND 0F0H
        OR B
        OUT (01H),A
        LD B,40H
L0110:  DJNZ L0110
        JP L0042
L0001:  LD IX,1000H
        LD HL,1000H
L0111:  LD (HL),00H
        INC HL
        LD A,H
        CP 14H
        JR NZ,L0111
        LD SP,1400H
        LD HL,1200H
        LD (HL),0FFH
        INC HL
        EXX
        LD HL,0042H
        LD B,04H
        LD C,03H
        OTIR
        LD E,C
        DEC C
        LD B,E
        OTIR
        LD B,E
        LD C,06H
        OTIR
        LD B,E
        INC C
        OTIR
        XOR A
        OUT (00H),A
        OUT (01H),A
        LD A,(2800H)
        LD C,07H
        RST 20H
        RST 28H
        XOR 85H
        RST 28H
        NOP
        INC BC
        RST 28H
        EX AF,AF'
        LD (BC),A
        RST 28H
        NOP
        LD BC,0FEFH
        NOP
        LD IY,100FH
        LD (IY+00H),A
        LD B,A
        AND 0FH
        CP 0AH
        JR NC,L0112
        LD A,B
        AND 0F0H
        JR Z,L0112
        CP 0A0H
        JR C,L0113
L0112:  RST 28H
        INC C
        LD (BC),A
        CALL L0114
        RST 28H
        NOP
        LD (BC),A
        CALL L0114
        JR NC,L0112
        RST 00H
L0113:  LD DE,0000H
        LD H,D
        LD (IX+53H),1EH
        SET 0,E
        LD SP,1400H
        LD BC,0506H
        PUSH BC
        BIT 0,D
        JR NZ,L0115
        LD A,(IX+22H)
        OR A
        JP NZ,L0116
        IN A,(05H)
        CPL
        CP 0C0H
        JP NC,L0117
        RES 0,E
        EI
        LD A,H
        OR A
        CALL Z,L0118
        CALL L0114
        SET 0,E
L0115:  LD (IX+20H),H
        DI
        EXX
        PUSH HL
        EXX
        POP HL
        LD A,H
        CP 12H
        JP NZ,L0108
        LD A,L
        CP 01H
        JR NZ,L0119
        RES 0,D
L0119:  EI
        RES 0,E
        JR Z,L0120
        BIT 1,D
        JR Z,L0121
L0123:  DEC HL
        DEC HL
        DEC HL
        DEC HL
        DEC HL
        BIT 3,(HL)
        JR NZ,L0122
        DEC HL
L0124:  DEC HL
L0125:  LD A,L
        CP 01H
        JR NZ,L0123
        RES 1,D
        RET
L0122:  DEC HL
        LD A,(IX+03H)
        CP (HL)
        JR NZ,L0124
        DEC HL
        LD A,(2800H)
        CP (HL)
        JR NZ,L0125
        LD (1055H),HL
        INC HL
        JP L0126
L0121:  LD HL,1201H
        DI
        PUSH DE
        PUSH HL
        LD DE,1013H
        LD BC,0006H
        LDIR
        POP HL
        POP DE
        EI
        RES 0,E
        NOP
        NOP
        CALL L0127
        LD H,(IX+20H)
        EI
        LD A,L
        DEC A
        JP Z,L0128
        SET 0,D
        JP L0128
L0120:  LD H,(IX+20H)
        BIT 3,E
        RET NZ
        CALL L0129
        LD A,(IX+22H)
        OR A
        JR Z,L0130
L0116:  LD (IX+0FH),A
        INC A
        LD C,A
        AND 0FH
        CP 0AH
        JR C,L0131
        LD C,00H
L0131:  LD (IX+22H),C
        LD (IX+19H),02H
        JP L0132
L0130:  RST 10H
        JR C,L0133
        LD A,E
        AND 0F8H
        RET NZ
        OR (IX+53H)
        JP Z,L0134
        BIT 5,D
        PUSH AF
        CALL NZ,L0114
        POP AF
        JP NZ,L0135
        DEC (IX+53H)
        RET NZ
        BIT 5,D
        RES 5,D
        RES 4,D
        JP NZ,L0135
        LD A,H
        OR A
        RET NZ
        CALL L0077
        RET Z
        RET C
        RES 1,E
        RST 28H
        NOP
        INC BC
        RST 28H
        INC C
        LD (BC),A
        RET
L0133:  BIT 3,E
        RET NZ
        RST 08H
        RET Z
        BIT 7,H
        JP NZ,L0136
        LD (IX+19H),04H
        BIT 7,D
        JR Z,L0137
        CP 0FH
        JR Z,L0137
        CP 0BH
        RET NZ
L0137:  CP 0AH
        JP C,L0138
        CP 0EH
        JP Z,L0139
        CP 0DH
        JR Z,L0140
        CALL L0077
        RET Z
        RET C
        SUB 0AH
        JP Z,L0132
        DEC A
        JP Z,L0141
        DEC A
        JP Z,L0142
        CP 03H
        JP Z,L0143
        RET
L0140:  LD A,H
        OR A
        RET NZ
        LD IY,100EH
        LD A,07H
        AND E
        LD E,A
        RST 28H
        POP DE
        ADD A,E
        RST 28H
        EX AF,AF'
        LD (BC),A
        XOR A
        LD (IY+00H),A
        LD C,07H
        RST 20H
L0145:  BIT 0,D
        JP NZ,L0144
        RST 10H
        JR NC,L0145
        RST 08H
        JR Z,L0145
        CP 0AH
        JR NC,L0146
        LD (IY-01H),03H
        JR L0138
L0146:  LD IY,100FH
        RES 6,D
        CP 0EH
        RET Z
        CP 0DH
        RET Z
        SET 6,D
        RET
L0138:  LD C,A
        LD A,(IX+21H)
        OR A
        RET NZ
        LD A,C
        CALL L0077
        JR C,L0147
        JR Z,L0148
L0152:  PUSH HL
        PUSH IY
        POP HL
L0153:  RLD
        POP HL
L0151:  PUSH AF
        PUSH BC
        PUSH HL
        CALL L0077
        PUSH AF
        JR C,L0149
        CALL NZ,L0118
L0149:  POP AF
        LD A,08H
        LD L,(IY+00H)
        LD B,(IY-01H)
        LD C,02H
        JR C,L0150
        JR NZ,L0150
        LD L,(IY+01H)
        LD B,(IY+00H)
        XOR A
L0150:  RST 18H
L0162:  LD C,07H
        LD A,L
        RST 20H
        LD C,05H
        LD A,B
        RST 20H
        POP HL
        POP BC
        POP AF
        RET
L0147:  DEC (IY-01H)
        CALL L0151
        JR NZ,L0152
        DEC IY
        LD (IY+00H),0CCH
L0148:  PUSH HL
        PUSH IY
        POP HL
        INC HL
        RLD
        DEC HL
        JR L0153
L0132:  SET 1,E
        XOR A
        CP (IX+21H)
        RET NZ
        ADD A,(IX+0FH)
        JP Z,L0154
        CP 0AH
        JR NC,L0155
        RLCA
        RLCA
        RLCA
        RLCA
        AND 0F0H
        LD (IX+22H),A
        RET
L0155:  LD L,A
        LD A,(2800H)
        CP L
        RET Z
        CALL L0094
        RET C
        LD C,A
        CALL L0156
        JR NC,L0157
L0161:  RES 1,D
        SET 0,E
        EXX
        LD A,L
        EXX
        DEC A
        JR Z,L0158
        SET 0,D
L0158:  RES 0,E
        LD A,B
        OR A
        JR Z,L0159
        LD (IX+0FH),C
        LD A,C
        LD C,07H
        RST 20H
        RST 28H
        CALL PE,L0160
        ADC A,B
        ADD A,D
        RET
L0167:  CALL L0094
        JR L0161
L0159:  RST 28H
        NOP
        LD BC,80EFH
        ADD A,D
        RST 28H
        JR NZ,L0162
        CALL L0163
        LD (IX+21H),00H
        CALL L0151
        LD A,E
        RES 2,E
        AND 0F0H
        JP NZ,L0164
        LD A,(IX+57H)
        INC A
        RET Z
        JP L0134
L0157:  LD IY,100FH
        RST 28H
        XOR B
        ADD A,E
        RST 28H
        CALL Z,L0165
        DJNZ L0166
        OR (HL)
        DEC B
        LD (IX+05H),A
        SET 1,D
L0170:  DEC (IX+19H)
        JR Z,L0167
        SET 0,E
        PUSH AF
        RST 30H
        POP AF
        LD B,10H
L0168:  DJNZ L0168
        RES 0,E
        LD BC,0000H
        RES 0,D
L0169:  BIT 0,D
        RET NZ
        DEC C
        JR NZ,L0169
        DJNZ L0169
        BIT 0,D
        JR Z,L0170
        RET
L0154:  XOR A
        CP H
        RET NZ
        BIT 5,D
        RET NZ
        BIT 4,D
        JR Z,L0171
        LD A,20H
        OR D
        LD D,A
        LD (IX+53H),0FFH
L0135:  BIT 5,D
        JR Z,L0172
        DEC (IX+53H)
        LD A,(IX+53H)
        DEC A
        JR Z,L0173
        IN A,(01H)
        OR 01H
        OUT (01H),A
        RST 28H
        XOR D
        ADD A,L
        RST 28H
        INC B
        LD (BC),A
        RST 28H
        LD B,01H
        JP L0075
L0173:  RES 4,D
L0176:  BIT 5,D
        RET Z
L0172:  RST 28H
        NOP
        LD BC,7EDDH
        RRCA
        LD C,07H
        RST 20H
        RST 28H
        EX AF,AF'
        LD (BC),A
        LD (IX+53H),0AH
        RES 5,D
        RET
L0142:  LD A,H
        OR A
        RET Z
        OR 80H
        LD (IX+05H),A
        BIT 3,D
        JR NZ,L0174
        SET 3,D
        RES 2,D
L0174:  LD A,04H
        XOR D
        LD D,A
        AND 04H
        RST 28H
        INC B
        LD BC,0B28H
        LD A,00H
        LD (3800H),A
        LD A,05H
        LD B,01H
        JR L0175
        LD A,04H
        LD B,02H
L0175:  LD (IX+06H),B
        LD C,01H
        RST 18H
        PUSH AF
        RST 30H
        POP AF
        RET
L0141:  XOR A
        CP H
        JR Z,L0176
        LD A,(IX+0FH)
        OR A
        JR Z,L0177
        CALL L0094
        JR NC,L0178
L0180:  CALL L0156
        LD A,20H
        JP L0179
L0178:  LD A,(IX+21H)
        OR A
        RET Z
        IN A,(01H)
        LD B,A
        AND 0F0H
        OUT (01H),A
        CALL L0056
        IN A,(00H)
        AND 0FH
        CPL
        AND B
        LD A,B
        OUT (01H),A
        JR NZ,L0180
L0177:  LD A,H
        CALL L0010
        CALL L0181
        LD A,20H
        OR H
        LD (IX+05H),A
        XOR A
        LD (IX+0FH),A
        LD C,07H
        RST 20H
L0183:  PUSH BC
        PUSH AF
        RST 30H
        POP AF
        CALL L0114
        POP BC
        JR C,L0182
        IN A,(00H)
        AND B
        JR Z,L0183
L0182:  LD H,00H
        LD BC,1110H
L0185:  LD A,(BC)
        OR A
        JP Z,L0184
        XOR A
        LD (BC),A
        INC BC
        JR L0185
L0143:  CALL L0186
        JR Z,L0187
        LD A,H
        AND 07H
        RET NZ
        BIT 7,H
        JR NZ,L0136
        SET 7,H
        RST 28H
        JP C,L0188
        INC B
        LD (BC),A
        RST 28H
        DEC B
        LD BC,0CBC9H
        CP H
        JP L0184
L0187:  LD A,H
        OR A
        RET Z
        BIT 7,D
        JR NZ,L0189
        LD L,0A0H
        LD A,(IX+21H)
        OR A
        RET NZ
L0190:  CALL L0094
        RET Z
        DEC B
        RET NZ
L0191:  LD (IX+0FH),A
        LD (IX+03H),A
        LD C,07H
        RST 20H
        LD A,H
        OR L
        LD (IX+05H),A
        SET 1,D
        LD A,(IX+0FH)
        LD (IX+19H),02H
        JP L0170
L0189:  LD L,0B0H
        LD B,(IX+21H)
        XOR A
        CP B
        JR Z,L0190
        LD A,B
        JR L0191
L0128:  BIT 3,(IX+15H)
        RET NZ
        RES 1,D
        LD A,(IX+13H)
        CP 0AFH
        JR Z,L0192
        CP 0ABH
        JR NZ,L0193
L0192:  SET 4,D
        CP 0AFH
        JR Z,L0194
        RES 4,D
        BIT 5,D
        CALL NZ,L0172
L0194:  BIT 3,E
        RET NZ
        LD A,(IX+14H)
        CP 0AAH
        RET NZ
        LD A,(IX+15H)
        CP 0C0H
        RET NZ
        LD A,(IX+16H)
        CP 0EH
        RET NZ
        BIT 1,E
        RET NZ
        LD (IX+53H),0FFH
        BIT 5,D
        RET NZ
        LD A,(IX+17H)
        LD C,05H
        RST 20H
        LD A,(IX+18H)
        LD C,07H
        RST 20H
        RST 28H
        LD (BC),A
        LD (BC),A
        RET
L0193:  CP 0CAH
        JR NZ,L0195
        LD A,(IX+15H)
        LD L,A
        AND 07H
        CP H
        RET NZ
        LD A,L
        AND 0F8H
        CP 80H
        JR NZ,L0196
        CALL L0118
        CALL L0186
        JP NC,L0197
        LD A,(IX+16H)
        CP 01H
        JP Z,L0197
        CP 02H
        RET NZ
        LD B,0CH
L0198:  CALL L0056
        DJNZ L0198
        JP L0142
L0196:  CP 20H
        RET NZ
        LD H,00H
        JP L0184
L0195:  CP 0BFH
        JP Z,L0199
        LD B,A
        LD A,(2800H)
        CP B
        RET NZ
        LD A,(IX+15H)
        CP 30H
        JP Z,L0200
        AND 0F8H
        CP 10H
        JP NZ,L0201
        LD B,14H
L0202:  CALL L0056
        DJNZ L0202
        LD A,(IX+15H)
        AND 07H
        JR Z,L0203
        LD A,E
        AND 0F0H
        JP NZ,L0204
        XOR A
        CP H
        JP NZ,L0205
        CALL L0176
        LD A,(IX+15H)
        OR 08H
        LD (IX+05H),A
        LD A,(IX+14H)
        LD (IX+21H),A
        LD (IX+0FH),A
        LD IY,100FH
        SET 1,E
        PUSH AF
        RST 30H
        POP AF
        LD C,07H
        RST 20H
        RST 28H
        EX AF,AF'
        LD (BC),A
        RST 28H
        CALL Z,L0206
        LD A,(HL)
        DEC D
        AND 07H
        LD H,A
        CALL L0010
        CALL L0007
        CALL L0103
        CALL L0207
        XOR A
        CALL L0208
        LD L,03H
L0211:  LD A,L
        LD (3800H),A
        XOR 02H
        LD L,A
        LD BC,0800H
L0210:  RST 10H
        JR C,L0209
        BIT 0,D
        JR NZ,L0209
        DEC C
        JR NZ,L0210
        DJNZ L0210
        JR L0211
L0209:  LD L,00H
        RST 10H
        JR C,L0212
        LD L,03H
L0212:  LD A,L
        LD (3800H),A
        CALL L0213
        RST 28H
        LD B,01H
        RET
L0203:  LD C,(IX+14H)
        PUSH HL
        LD HL,1040H
        LD B,0FH
L0216:  XOR A
        CP (HL)
        JR Z,L0214
        LD A,C
        CP (HL)
        JR Z,L0215
        INC HL
        DJNZ L0216
        LD B,0FH
        LD HL,1040H
        DI
        PUSH DE
        LD DE,1041H
L0217:  LD A,(DE)
        LD (HL),A
        INC HL
        INC DE
        DJNZ L0217
        POP DE
        EI
L0214:  LD (HL),C
L0215:  POP HL
        RET
L0205:  LD A,(IX+15H)
        OR 48H
        LD (IX+05H),A
        LD A,(IX+0FH)
        PUSH AF
        LD A,(IX+14H)
        LD (IX+0FH),A
        RST 30H
        POP AF
        LD (IX+0FH),A
        BIT 7,H
        RET NZ
L0273:  LD A,08H
        JP L0208
L0204:  LD A,(IX+15H)
        OR 0C8H
        LD (IX+05H),A
        BIT 4,E
        JR NZ,L0218
        BIT 7,E
        JR NZ,L0219
        LD (IX+06H),0BH
        LD A,(IX+0EH)
        LD (IX+08H),A
        LD A,(IX+0DH)
        LD (IX+07H),A
L0220:  LD A,(IX+14H)
        LD B,(IX+0FH)
        PUSH BC
        LD (IX+0FH),A
        RST 30H
        POP BC
        LD (IX+0FH),B
        RET
L0218:  LD (IX+06H),00H
        JR L0220
L0219:  LD A,(IX+0EH)
        LD (IX+06H),A
        JR L0220
L0201:  CP 20H
        JR NZ,L0221
        LD B,14H
L0222:  CALL L0056
        DJNZ L0222
        LD A,(IX+15H)
        OR 08H
        LD (IX+05H),A
        LD A,(IX+14H)
        LD (IX+0FH),A
        RST 30H
        RES 7,D
        LD A,(IX+21H)
        OR A
        JR Z,L0223
L0225:  CALL L0163
        JP L0184
L0223:  LD A,(IX+14H)
        CALL L0224
        CALL L0094
        JR Z,L0225
        LD (IX+0FH),A
        LD C,07H
        RST 20H
        RET
L0221:  CP 0A0H
        JR Z,L0226
        CP 0B0H
        RET NZ
        RES 7,D
        JR L0227
L0226:  SET 7,D
L0227:  LD A,08H
        OR (IX+15H)
        LD (IX+05H),A
        LD B,08H
L0228:  CALL L0056
        DJNZ L0228
        LD A,(IX+14H)
        LD (IX+0FH),A
        PUSH AF
        RST 30H
        POP AF
        BIT 7,D
        JR Z,L0229
L0254:  SET 7,D
        BIT 3,D
        LD B,0EH
        JR Z,L0230
        SET 2,D
        LD B,0DH
L0230:  LD C,01H
        RST 18H
        RST 28H
        XOR 85H
        XOR A
L0232:  LD C,02H
        RST 18H
        LD A,B
        DEC C
        RST 18H
        LD IY,100FH
        RET
L0229:  RES 7,D
        LD B,06H
        BIT 3,D
        JR Z,L0231
        LD B,05H
L0231:  LD A,08H
        JR L0232
L0126:  RES 1,D
        RES 0,D
        EI
        INC HL
        LD A,0F8H
        AND (HL)
        CP 18H
        JR NZ,L0233
        DEC HL
        LD A,(HL)
        LD (IX+0FH),A
        LD C,07H
        RST 20H
        CALL L0234
        CALL L0213
        LD A,(IX+20H)
        OR A
        JR NZ,L0235
        INC HL
        LD A,(HL)
        AND 07H
        LD (IX+20H),A
        SET 3,D
L0235:  LD IY,100FH
        LD H,(IX+20H)
        CALL L0176
        RST 28H
        EX AF,AF'
        LD (BC),A
        RST 28H
        CALL M,L0160
        CALL P,L0236
        LD (HL),D
        INC BC
        XOR A
        JP L0208
L0233:  CP 58H
        JP NZ,L0237
        LD HL,(1055H)
        CALL L0127
        EI
        LD IY,100FH
        CALL L0161
        RST 28H
        CALL P,L0238
        INC HL
L0239:  CALL L0056
        DJNZ L0239
        LD B,05H
L0242:  LD A,04H
        CALL L0208
        RST 10H
        JR C,L0240
        BIT 0,D
        JR NZ,L0241
        DJNZ L0242
        LD A,(IX+20H)
        OR A
        JR NZ,L0241
        RST 28H
        NOP
        LD BC,0026H
        RST 28H
        RET NC
        ADD A,E
        CALL L0094
        JP Z,L0184
        LD H,(IX+20H)
        LD (IX+0FH),A
        RST 28H
        EX AF,AF'
        LD (BC),A
        RET
L0240:  RST 08H
        JR Z,L0241
        RST 28H
        RET NZ
        ADD A,E
        PUSH AF
        LD A,(IX+0FH)
        LD C,07H
        RST 20H
        POP AF
        RST 28H
        EX AF,AF'
        LD (BC),A
        CP 0CH
        JR NZ,L0243
        LD A,(IX+05H)
        AND 0F0H
        LD (IX+05H),A
        CALL L0007
        CALL L0244
        JR L0241
L0243:  CP 0AH
        JR NZ,L0241
        LD A,(1016H)
        OR A
        JR Z,L0241
        CP 0BH
        JR Z,L0241
        LD A,0AH
        LD H,(IX+20H)
        JP L0132
L0237:  CP 0D8H
        JR NZ,L0245
        LD (IX+57H),0FFH
        CALL L0094
        JR NZ,L0246
        CALL L0181
        RST 28H
        NOP
        LD BC,0CDE5H
        INC B
        RLCA
        POP HL
        LD (IX+57H),00H
        INC HL
        LD A,(HL)
        CP 0BH
        JR Z,L0247
        DEC HL
        OR A
        JR NZ,L0248
        LD C,01H
        RST 18H
        RST 28H
        EX AF,AF'
        LD (BC),A
        LD HL,(1055H)
        CALL L0127
        EI
L0249:  RST 28H
        DI
        ADD A,E
        CALL L0114
        RST 28H
        POP DE
        ADD A,E
        CALL L0114
        JR NC,L0249
L0253:  BIT 0,D
        JP Z,L0240
        JP L0241
L0247:  INC HL
        LD A,(HL)
        LD C,05H
        RST 20H
        INC HL
        CP 0C0H
        LD A,(HL)
        LD C,07H
        RST 20H
        LD A,00H
        JR NC,L0250
        LD A,02H
L0250:  LD C,02H
        RST 18H
        LD HL,(1055H)
        CALL L0127
        EI
L0252:  RST 28H
        DI
        ADD A,E
        CALL L0114
        RST 28H
        JP PO,L0251
        LD A,A
        INC BC
        JR NC,L0252
        JR L0253
L0248:  LD (IX+0FH),A
        LD C,07H
        RST 20H
        LD A,08H
        JR L0250
L0245:  CP 0A8H
        LD C,H
        LD H,(IX+20H)
        JP Z,L0254
        CP 0B8H
        JP Z,L0229
        CP 28H
        RET NZ
        LD H,C
        DEC HL
        LD A,(HL)
        CALL L0224
        CALL L0094
        JR Z,L0255
        LD (IX+0FH),A
        LD IY,100FH
        LD H,(IX+20H)
        LD C,07H
        RST 20H
        RET
L0255:  LD H,00H
        RST 28H
        JR NC,L0256
        LD A,73H
        AND D
        LD D,A
L0184:  LD A,(IX+0FH)
        LD C,07H
        RST 20H
        LD A,H
        OR A
        RET NZ
        LD (3800H),A
        LD (IX+20H),A
        LD (IX+21H),A
        LD A,73H
        AND D
        LD D,A
        XOR A
        LD C,01H
        RST 18H
        CALL L0163
        INC C
        BIT 4,E
        JR Z,L0164
        LD A,0CH
L0257:  RST 18H
        INC C
        LD A,02H
        RST 18H
        RET
L0164:  LD A,(100DH)
        LD C,05H
        RST 20H
        LD A,(100EH)
        LD C,07H
        RST 20H
        LD C,02H
        BIT 5,E
        LD A,02H
        JR NZ,L0257
        BIT 6,E
        LD A,00H
        JR NZ,L0257
        BIT 7,E
        LD A,08H
        JR NZ,L0257
        RST 18H
        LD A,(1040H)
        OR A
        JP Z,L0135
L0134:  CALL L0077
        RET C
        RET Z
        LD A,(IX+22H)
        OR H
        RET NZ
        OR (IX+40H)
        JR Z,L0258
        SET 1,E
        RES 0,D
        LD (IX+0FH),A
        LD C,07H
        RST 20H
        RST 28H
        EX AF,AF'
        LD (BC),A
L0259:  LD C,03H
        LD A,01H
        RST 18H
        CALL L0114
        XOR A
        RST 18H
        CALL L0114
        JR NC,L0259
        BIT 0,D
        RET NZ
        RST 08H
        RES 6,D
        CP 0BH
        RET NZ
        SET 6,D
        CALL L0213
        JR L0134
L0258:  CP (IX+53H)
        JP NZ,L0135
        RET
L0139:  LD A,H
        OR A
        RET NZ
        DI
        LD A,E
        AND 0F0H
        JR NZ,L0144
        CALL L0077
        JR Z,L0260
        JR NC,L0261
        LD A,(IY+00H)
        OR A
        JR Z,L0261
        LD C,07H
        RST 20H
        RST 28H
        EX AF,AF'
        LD (BC),A
        LD E,82H
L0263:  LD IY,100FH
        RST 28H
        JP PO,L0262
        RET
L0261:  LD E,12H
        RST 28H
        INC C
        LD (BC),A
        JR L0263
L0260:  LD A,(IY+00H)
        CP 0C0H
        JR C,L0264
        LD E,42H
        LD L,00H
L0265:  LD A,(IY+00H)
        LD C,05H
        RST 20H
        LD A,(IY+01H)
        LD C,07H
        RST 20H
        LD A,L
        LD C,02H
        RST 18H
        JR L0263
L0264:  LD E,22H
        LD L,02H
        JR L0265
L0144:  LD A,0FH
        AND E
        LD E,A
        RST 28H
        RET NZ
        ADD A,E
        RST 28H
        EX AF,AF'
        LD (BC),A
        LD IY,100FH
        LD A,(IY+00H)
        LD C,07H
        RST 20H
        EI
        JP L0134
L0199:  LD A,(IX+14H)
        CP 0AAH
        RET NZ
        LD A,(IX+15H)
        CP 0C1H
        RET NZ
        LD A,(IX+16H)
        CP 01H
        JR NZ,L0266
        CALL L0176
        SET 3,E
        LD A,(1034H)
        LD (IX+1AH),A
        LD A,(1035H)
        LD (IX+1BH),A
        LD A,(1036H)
        LD (IX+1CH),A
        IN A,(01H)
        LD (IX+1DH),A
        AND 0F0H
        OR 01H
        OUT (01H),A
        RST 28H
        .DB 0DDH ;UNRECOGNIZED
        ADD A,A
        RST 28H
        .DB 0DDH ;UNRECOGNIZED
        ADD A,L
        CALL L0207
        RST 28H
        LD B,01H
        RST 28H
        NOP
        LD (BC),A
        RET
L0266:  CP 09H
        RET NZ
        LD A,(IX+1DH)
        OUT (01H),A
        LD A,(IX+1CH)
        LD C,01H
        RST 18H
        LD A,(IX+1BH)
        INC C
        RST 18H
        LD A,(IX+1AH)
        INC C
        RES 0,A
        RST 18H
        RST 28H
        JP C,L0267
        SBC A,E
        LD (IX+53H),1EH
        JP L0184
L0213:  LD A,(IX+0FH)
        PUSH HL
        LD HL,103FH
        LD B,10H
L0269:  INC HL
        CP (HL)
        JR Z,L0268
        DJNZ L0269
        POP HL
        RET
L0268:  DI
        PUSH DE
        LD D,H
        LD E,L
L0271:  INC DE
        DJNZ L0270
        POP DE
        LD (HL),00H
        EI
        POP HL
        RET
L0270:  LD A,(DE)
        LD (HL),A
        INC HL
        JR L0271
L0197:  LD A,(IX+16H)
        CP 01H
        JR Z,L0272
        CP 02H
        RET NZ
        CALL L0186
        RET NC
        CALL L0075
        JP L0142
L0272:  RES 2,D
        RES 3,D
        LD IY,100FH
        LD A,(IX+14H)
        LD (IX+0FH),A
        LD C,07H
        RST 20H
        RST 28H
        LD B,01H
        XOR A
        LD (3800H),A
        RET
L0200:  CALL L0203
        LD A,H
        OR A
        JP NZ,L0273
        LD A,E
        AND 0FCH
        RET NZ
        LD A,(IX+14H)
        LD (IX+0FH),A
        LD (IX+53H),1EH
        LD (IX+19H),04H
        JP L0132
L0117:  LD BC,(100DH)
        LD A,B
        CP 99H
        RET NZ
        SUB C
        RET NZ
        OR H
        JR Z,L0274
        RST 00H
L0274:  LD DE,4003H
        RST 28H
        XOR D
        ADD A,L
        RST 28H
        XOR D
        ADD A,A
        RST 28H
        NOP
        INC BC
        RST 28H
        INC BC
        LD (BC),A
        RST 28H
        NOP
        LD BC,0FEFH
        NOP
        CALL L0181
L0275:  RST 10H
        JR NC,L0275
        RST 08H
        JR Z,L0275
        CP 0EH
        JR Z,L0274
        CP 0FH
        JR NZ,L0276
        RST 00H
L0276:  LD HL,0E44H
        PUSH HL
        CP 01H
        JR NZ,L0277
        RST 28H
        LD BC,0EF03H
        EX AF,AF'
        LD (BC),A
L0278:  LD A,(2800H)
        LD C,07H
        RST 20H
        RST 10H
        RET C
        JR L0278
L0277:  CP 02H
        JR NZ,L0279
        RST 28H
        RRCA
        LD (BC),A
        RST 28H
        LD (BC),A
        INC BC
L0280:  RST 10H
        RET C
        JR L0280
L0279:  CP 03H
        JR NZ,L0281
        PUSH DE
        LD D,3DH
        LD A,12H
L0286:  LD C,05H
        RST 20H
        RST 28H
        JR NZ,L0282
        RST 28H
        EX AF,AF'
        INC BC
        RST 28H
        NOP
        LD (BC),A
        LD A,80H
        OUT (00H),A
        LD E,00H
        LD C,40H
L0284:  LD A,C
        XOR 40H
        LD C,A
        OUT (01H),A
        LD B,D
L0283:  DJNZ L0283
        DEC E
        JR NZ,L0284
        RST 10H
        JR NC,L0284
        RST 08H
        CP 0EH
        JR NZ,L0284
        XOR A
        OUT (00H),A
        POP DE
        RET
L0281:  CP 04H
        JR NZ,L0285
        PUSH DE
        LD A,24H
        LD D,1DH
        JR L0286
L0285:  CP 05H
        JR NZ,L0287
L0291:  LD A,(0001H)
        AND 80H
        LD L,A
        LD H,00H
L0289:  IN A,(01H)
        AND 80H
        CP L
        JR NZ,L0288
        DEC H
        JR NZ,L0289
        XOR A
        CP L
        JR Z,L0290
        DEC A
        JR L0290
L0288:  LD A,11H
L0290:  LD C,07H
        RST 20H
        RST 28H
        DEC B
        ADD A,L
        RST 28H
        LD (BC),A
        LD (BC),A
        RST 10H
        JR NC,L0291
        RST 08H
        CP 0EH
        JR NZ,L0291
        RET
L0287:  CP 06H
        JR NZ,L0292
        LD B,10H
L0294:  SRL B
        RET C
        LD A,B
        OUT (01H),A
        RLCA
        RLCA
        RLCA
        RLCA
        LD L,A
        CALL L0056
        IN A,(00H)
        CPL
        AND 0FH
        OR L
        LD C,07H
        RST 20H
        RST 28H
        LD B,85H
        RST 28H
        NOP
        LD (BC),A
L0293:  RST 10H
        JR NC,L0293
        RST 08H
        JR Z,L0293
        JR L0294
L0292:  CP 07H
        JR NZ,L0295
L0299:  LD BC,07AEH
        CALL L0186
        PUSH AF
        JR NC,L0296
        LD A,0FH
        AND C
        LD C,A
L0296:  POP AF
        LD L,A
        LD A,C
        JR Z,L0297
        AND 0F0H
        OR 0DH
L0297:  LD C,07H
        RST 20H
        LD A,B
        BIT 0,L
        JR Z,L0298
        LD A,0E7H
L0298:  LD C,05H
        RST 20H
        RST 28H
        NOP
        LD (BC),A
        RST 10H
        JR NC,L0299
        RST 08H
        CP 0EH
        JR NZ,L0299
        RET
L0295:  CP 08H
        JR NZ,L0300
        LD A,0EH
L0303:  LD C,01H
        RST 18H
        RST 28H
        NOP
        LD (BC),A
        RST 28H
        INC C
        INC BC
        RST 28H
        XOR 85H
        RST 28H
        LD BC,0DB87H
        LD BC,0F0E6H
        OR 01H
        OUT (01H),A
L0301:  RST 10H
        JR NC,L0301
        RET
L0300:  CP 09H
        JR NZ,L0302
        LD A,0DH
        JR L0303
L0302:  CP 0AH
        JR NZ,L0304
        LD A,06H
L0308:  LD C,01H
        RST 18H
        RST 28H
        EX AF,AF'
        LD (BC),A
        RST 28H
        INC C
        INC BC
        IN A,(01H)
        AND 0F0H
        OR 01H
        OUT (01H),A
        RST 28H
        LD BC,0D787H
        JR NC,L0305
        RET
L0304:  CP 0BH
        JR NZ,L0306
        RST 28H
        INC B
        LD BC,7FCDH
        INC BC
        RST 28H
        INC C
        LD (BC),A
L0307:  LD A,01H
        LD (3800H),A
        LD A,0CH
        CALL L0208
        LD A,02H
        LD (3800H),A
        LD A,10H
        CALL L0208
        RST 10H
        JR NC,L0307
        RST 08H
        CP 0EH
        JR NZ,L0307
        XOR A
        LD (3800H),A
        RET
L0306:  CP 0CH
        RET NZ
        LD A,05H
        JR L0308
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H
        RST 38H

;--------------------------------------------
;LIST OF LABELS
;Sorted by address:      Sorted by name:
;--------------------------------------------

;L0108:  0000            L0001:  048E
;L0099:  004F            L0002:  006F
;L0011:  005C            L0003:  00B9
;L0056:  0068            L0004:  00D1
;L0012:  006B            L0005:  0122
;L0002:  006F            L0006:  0149
;L0020:  007C            L0007:  0255
;L0014:  0084            L0008:  01D5
;L0017:  0086            L0009:  0159
;L0013:  008A            L0010:  0478
;L0015:  008B            L0011:  005C
;L0016:  0098            L0012:  006B
;L0018:  00AA            L0013:  008A
;L0019:  00B0            L0014:  0084
;L0003:  00B9            L0015:  008B
;L0023:  00C6            L0016:  0098
;L0021:  00C9            L0017:  0086
;L0022:  00CE            L0018:  00AA
;L0004:  00D1            L0019:  00B0
;L0025:  0106            L0020:  007C
;L0026:  010C            L0021:  00C9
;L0027:  0112            L0022:  00CE
;L0028:  0118            L0023:  00C6
;L0024:  011F            L0024:  011F
;L0005:  0122            L0025:  0106
;L0030:  012D            L0026:  010C
;L0029:  0132            L0027:  0112
;L0006:  0149            L0028:  0118
;L0032:  0150            L0029:  0132
;L0031:  0154            L0030:  012D
;L0009:  0159            L0031:  0154
;L0035:  015F            L0032:  0150
;L0034:  016B            L0033:  029E
;L0045:  0176            L0034:  016B
;L0037:  0179            L0035:  015F
;L0039:  0181            L0036:  026B
;L0046:  0182            L0037:  0179
;L0040:  0185            L0038:  019D
;L0041:  0199            L0039:  0181
;L0038:  019D            L0040:  0185
;L0043:  01C3            L0041:  0199
;L0044:  01D2            L0042:  024C
;L0008:  01D5            L0043:  01C3
;L0047:  01F9            L0044:  01D2
;L0048:  01FD            L0045:  0176
;L0049:  020E            L0046:  0182
;L0055:  0212            L0047:  01F9
;L0054:  0215            L0048:  01FD
;L0051:  0221            L0049:  020E
;L0052:  0225            L0050:  0232
;L0053:  022D            L0051:  0221
;L0050:  0232            L0052:  0225
;L0057:  023A            L0053:  022D
;L0058:  0247            L0054:  0215
;L0042:  024C            L0055:  0212
;L0007:  0255            L0056:  0068
;L0244:  025D            L0057:  023A
;L0036:  026B            L0058:  0247
;L0062:  026F            L0059:  0294
;L0060:  0279            L0060:  0279
;L0061:  0286            L0061:  0286
;L0059:  0294            L0062:  026F
;L0066:  0297            L0063:  02BE
;L0033:  029E            L0064:  02A8
;L0064:  02A8            L0065:  02B5
;L0065:  02B5            L0066:  0297
;L0063:  02BE            L0067:  02E2
;L0208:  02C1            L0068:  02D8
;L0073:  02D3            L0069:  02D6
;L0069:  02D6            L0070:  02FB
;L0068:  02D8            L0071:  02EF
;L0067:  02E2            L0072:  02ED
;L0072:  02ED            L0073:  02D3
;L0071:  02EF            L0074:  030D
;L0070:  02FB            L0075:  0372
;L0074:  030D            L0076:  033E
;L0129:  0319            L0077:  034B
;L0076:  033E            L0078:  0340
;L0078:  0340            L0079:  0360
;L0077:  034B            L0080:  035C
;L0081:  0359            L0081:  0359
;L0080:  035C            L0082:  0377
;L0079:  0360            L0083:  0393
;L0163:  0363            L0084:  0385
;L0181:  0368            L0085:  03A7
;L0207:  036F            L0086:  039D
;L0075:  0372            L0087:  03C3
;L0082:  0377            L0088:  03BC
;L0095:  037C            L0089:  03B1
;L0114:  037F            L0090:  03BB
;L0084:  0385            L0091:  03DB
;L0083:  0393            L0092:  03CC
;L0234:  0397            L0093:  03E8
;L0086:  039D            L0094:  03C6
;L0085:  03A7            L0095:  037C
;L0224:  03AB            L0096:  C983
;L0089:  03B1            L0097:  040B
;L0090:  03BB            L0098:  0423
;L0088:  03BC            L0099:  004F
;L0087:  03C3            L0100:  043D
;L0094:  03C6            L0101:  0438
;L0092:  03CC            L0102:  042E
;L0091:  03DB            L0103:  0480
;L0093:  03E8            L0104:  0455
;L0118:  03EE            L0105:  045A
;L0186:  0402            L0106:  0458
;L0097:  040B            L0107:  0466
;L0156:  040E            L0108:  0000
;L0098:  0423            L0109:  047A
;L0102:  042E            L0110:  0489
;L0101:  0438            L0111:  0495
;L0100:  043D            L0112:  04EF
;L0127:  044E            L0113:  04FE
;L0104:  0455            L0114:  037F
;L0106:  0458            L0115:  052F
;L0105:  045A            L0116:  05AA
;L0107:  0466            L0117:  0E36
;L0010:  0478            L0118:  03EE
;L0109:  047A            L0119:  0544
;L0103:  0480            L0120:  059B
;L0110:  0489            L0121:  0575
;L0001:  048E            L0122:  0560
;L0111:  0495            L0123:  054D
;L0112:  04EF            L0124:  0557
;L0113:  04FE            L0125:  0558
;L0115:  052F            L0126:  0AE5
;L0119:  0544            L0127:  044E
;L0123:  054D            L0128:  08AE
;L0124:  0557            L0129:  0319
;L0125:  0558            L0130:  05C1
;L0122:  0560            L0131:  05B7
;L0121:  0575            L0132:  06CD
;L0120:  059B            L0133:  05F6
;L0116:  05AA            L0134:  0CB3
;L0131:  05B7            L0135:  0788
;L0130:  05C1            L0136:  086F
;L0133:  05F6            L0137:  060F
;L0137:  060F            L0138:  0671
;L0140:  0635            L0139:  0CF5
;L0145:  064D            L0140:  0635
;L0146:  0662            L0141:  07F3
;L0138:  0671            L0142:  07BF
;L0152:  067F            L0143:  0856
;L0238:  0681            L0144:  0D46
;L0153:  0683            L0145:  064D
;L0151:  0686            L0146:  0662
;L0149:  0692            L0147:  06B5
;L0150:  06A8            L0148:  06C3
;L0162:  06A9            L0149:  0692
;L0147:  06B5            L0150:  06A8
;L0148:  06C3            L0151:  0686
;L0132:  06CD            L0152:  067F
;L0155:  06E8            L0153:  0683
;L0161:  06F8            L0154:  0776
;L0158:  0704            L0155:  06E8
;L0167:  0718            L0156:  040E
;L0159:  071D            L0157:  0740
;L0166:  072A            L0158:  0704
;L0157:  0740            L0159:  071D
;L0179:  074C            L0160:  EF83
;L0170:  0754            L0161:  06F8
;L0168:  0760            L0162:  06A9
;L0169:  0769            L0163:  0363
;L0154:  0776            L0164:  0C8B
;L0135:  0788            L0165:  3E82
;L0173:  07A7            L0166:  072A
;L0176:  07A9            L0167:  0718
;L0172:  07AC            L0168:  0760
;L0171:  07AF            L0169:  0769
;L0142:  07BF            L0170:  0754
;L0174:  07CF            L0171:  07AF
;L0175:  07E9            L0172:  07AC
;L0141:  07F3            L0173:  07A7
;L0180:  0802            L0174:  07CF
;L0178:  080A            L0175:  07E9
;L0177:  0824            L0176:  07A9
;L0183:  0838            L0177:  0824
;L0182:  0847            L0178:  080A
;L0185:  084C            L0179:  074C
;L0143:  0856            L0180:  0802
;L0136:  086F            L0181:  0368
;L0187:  0874            L0182:  0847
;L0190:  0882            L0183:  0838
;L0191:  0888            L0184:  0C61
;L0189:  08A2            L0185:  084C
;L0128:  08AE            L0186:  0402
;L0192:  08C0            L0187:  0874
;L0194:  08CD            L0188:  EF85
;L0193:  08FC            L0189:  08A2
;L0198:  0925            L0190:  0882
;L0196:  092D            L0191:  0888
;L0195:  0935            L0192:  08C0
;L0202:  0951            L0193:  08FC
;L0211:  09A6            L0194:  08CD
;L0210:  09B0            L0195:  0935
;L0209:  09BE            L0196:  092D
;L0212:  09C5            L0197:  0DEC
;L0203:  09D0            L0198:  0925
;L0216:  09D9            L0199:  0D5E
;L0217:  09EE            L0200:  0E19
;L0214:  09F6            L0201:  0A56
;L0215:  09F7            L0202:  0951
;L0205:  09F9            L0203:  09D0
;L0273:  0A13            L0204:  0A18
;L0204:  0A18            L0205:  09F9
;L0220:  0A38            L0206:  DD83
;L0218:  0A48            L0207:  036F
;L0219:  0A4E            L0208:  02C1
;L0201:  0A56            L0209:  09BE
;L0222:  0A5C            L0210:  09B0
;L0225:  0A78            L0211:  09A6
;L0223:  0A7E            L0212:  09C5
;L0221:  0A90            L0213:  0DC9
;L0226:  0A9B            L0214:  09F6
;L0227:  0A9D            L0215:  09F7
;L0228:  0AA7            L0216:  09D9
;L0254:  0AB9            L0217:  09EE
;L0230:  0AC5            L0218:  0A48
;L0232:  0ACC            L0219:  0A4E
;L0229:  0AD7            L0220:  0A38
;L0231:  0AE1            L0221:  0A90
;L0126:  0AE5            L0222:  0A5C
;L0235:  0B0F            L0223:  0A7E
;L0233:  0B29            L0224:  03AB
;L0239:  0B41            L0225:  0A78
;L0242:  0B48            L0226:  0A9B
;L0241:  0B5F            L0227:  0A9D
;L0240:  0B74            L0228:  0AA7
;L0243:  0B99            L0229:  0AD7
;L0237:  0BAF            L0230:  0AC5
;L0246:  0BC2            L0231:  0AE1
;L0256:  0BE0            L0232:  0ACC
;L0249:  0BE2            L0233:  0B29
;L0253:  0BF0            L0234:  0397
;L0247:  0BF8            L0235:  0B0F
;L0250:  0C0A            L0236:  CD81
;L0252:  0C14            L0237:  0BAF
;L0248:  0C24            L0238:  0681
;L0245:  0C2E            L0239:  0B41
;L0255:  0C58            L0240:  0B74
;L0184:  0C61            L0241:  0B5F
;L0257:  0C85            L0242:  0B48
;L0164:  0C8B            L0243:  0B99
;L0134:  0CB3            L0244:  025D
;L0259:  0CCF            L0245:  0C2E
;L0258:  0CEE            L0246:  0BC2
;L0139:  0CF5            L0247:  0BF8
;L0263:  0D13            L0248:  0C24
;L0261:  0D1C            L0249:  0BE2
;L0260:  0D23            L0250:  0C0A
;L0265:  0D2E            L0251:  CD83
;L0264:  0D40            L0252:  0C14
;L0144:  0D46            L0253:  0BF0
;L0199:  0D5E            L0254:  0AB9
;L0266:  0DA3            L0255:  0C58
;L0213:  0DC9            L0256:  0BE0
;L0269:  0DD2            L0257:  0C85
;L0268:  0DDA            L0258:  0CEE
;L0271:  0DDE            L0259:  0CCF
;L0270:  0DE7            L0260:  0D23
;L0197:  0DEC            L0261:  0D1C
;L0272:  0E00            L0262:  FB83
;L0200:  0E19            L0263:  0D13
;L0282:  0E27            L0264:  0D40
;L0117:  0E36            L0265:  0D2E
;L0274:  0E44            L0266:  0DA3
;L0275:  0E5C            L0267:  CB85
;L0276:  0E6B            L0268:  0DDA
;L0278:  0E79            L0269:  0DD2
;L0277:  0E83            L0270:  0DE7
;L0280:  0E8D            L0271:  0DDE
;L0279:  0E91            L0272:  0E00
;L0286:  0E9A            L0273:  0A13
;L0284:  0EAE            L0274:  0E44
;L0283:  0EB5            L0275:  0E5C
;L0281:  0EC7            L0276:  0E6B
;L0285:  0ED2            L0277:  0E83
;L0291:  0ED6            L0278:  0E79
;L0289:  0EDE            L0279:  0E91
;L0288:  0EEF            L0280:  0E8D
;L0290:  0EF1            L0281:  0EC7
;L0287:  0F03            L0282:  0E27
;L0294:  0F09            L0283:  0EB5
;L0293:  0F26            L0284:  0EAE
;L0292:  0F2E            L0285:  0ED2
;L0299:  0F32            L0286:  0E9A
;L0296:  0F3F            L0287:  0F03
;L0297:  0F48            L0288:  0EEF
;L0298:  0F52            L0289:  0EDE
;L0295:  0F61            L0290:  0EF1
;L0303:  0F67            L0291:  0ED6
;L0301:  0F7E            L0292:  0F2E
;L0300:  0F82            L0293:  0F26
;L0302:  0F8A            L0294:  0F09
;L0308:  0F90            L0295:  0F61
;L0305:  0FA4            L0296:  0F3F
;L0304:  0FA8            L0297:  0F48
;L0307:  0FB5            L0298:  0F52
;L0306:  0FD6            L0299:  0F32
;L0165:  3E82            L0300:  0F82
;L0096:  C983            L0301:  0F7E
;L0267:  CB85            L0302:  0F8A
;L0236:  CD81            L0303:  0F67
;L0251:  CD83            L0304:  0FA8
;L0206:  DD83            L0305:  0FA4
;L0160:  EF83            L0306:  0FD6
;L0188:  EF85            L0307:  0FB5
;L0262:  FB83            L0308:  0F90
