If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Final Fantasy VI/ROM map/Assembly C01
< Final Fantasy VI | ROM map
Jump to navigation
Jump to search
C0/1001: 9C2121 STZ $2121 (from C0/01A7) C0/1004: 9C0B42 STZ $420B (turn off DMA) C0/1007: A942 LDA #$42 C0/1009: 8D0043 STA $4300 C0/100C: A922 LDA #$22 C0/100E: 8D0143 STA $4301 C0/1011: A20074 LDX #$7400 C0/1014: 8E0243 STX $4302 C0/1017: A97E LDA #$7E C0/1019: 8D0443 STA $4304 C0/101C: 8D0743 STA $4307 C0/101F: A20002 LDX #$0200 C0/1022: 8E0543 STX $4305 C0/1025: A901 LDA #$01 C0/1027: 8D0B42 STA $420B (turn on channel 1 of DMA) C0/102A: 60 RTS C0/102B: 48 PHA (from C0/A7C0) C0/102C: A54E LDA $4E C0/102E: 854F STA $4F C0/1030: A552 LDA $52 C0/1032: 8553 STA $53 C0/1034: 6452 STZ $52 C0/1036: A907 LDA #$07 C0/1038: 854E STA $4E C0/103A: 68 PLA C0/103B: 8010 BRA $104D C0/103D: 48 PHA (from C0/A7D6) C0/103E: A54E LDA $4E C0/1040: 854F STA $4F C0/1042: A552 LDA $52 C0/1044: 8553 STA $53 C0/1046: 6452 STZ $52 C0/1048: A987 LDA #$87 C0/104A: 854E STA $4E C0/104C: 68 PLA C0/104D: 202311 JSR $1123 C0/1050: 644D STZ $4D C0/1052: 60 RTS C0/1053: A54B LDA $4B (from C0/0240) C0/1055: 101B BPL $1072 C0/1057: 297F AND #$7F C0/1059: 18 CLC C0/105A: 654D ADC $4D C0/105C: 854D STA $4D C0/105E: A554 LDA $54 C0/1060: 291F AND #$1F C0/1062: 0A ASL A C0/1063: 0A ASL A C0/1064: 0A ASL A C0/1065: C54D CMP $4D C0/1067: B01E BCS $1087 C0/1069: A54D LDA $4D C0/106B: 29F8 AND #$F8 C0/106D: 854D STA $4D C0/106F: 4C8710 JMP $1087 C0/1072: A54D LDA $4D C0/1074: F007 BEQ $107D C0/1076: 38 SEC C0/1077: E54B SBC $4B C0/1079: 854D STA $4D C0/107B: 800A BRA $1087 C0/107D: A54F LDA $4F C0/107F: 854E STA $4E C0/1081: A553 LDA $53 C0/1083: 8552 STA $52 C0/1085: 644B STZ $4B C0/1087: A54D LDA $4D C0/1089: 4A LSR A C0/108A: 4A LSR A C0/108B: 4A LSR A C0/108C: 850E STA $0E C0/108E: F00A BEQ $109A C0/1090: A554 LDA $54 C0/1092: 29E0 AND #$E0 C0/1094: F004 BEQ $109A C0/1096: 050E ORA $0E C0/1098: 8002 BRA $109C C0/109A: A9E0 LDA #$E0 C0/109C: 8F53877E STA $7E8753 C0/10A0: 8F55877E STA $7E8755 C0/10A4: 8F57877E STA $7E8757 C0/10A8: 8F59877E STA $7E8759 C0/10AC: 8F5B877E STA $7E875B C0/10B0: 8F5D877E STA $7E875D C0/10B4: 8F5F877E STA $7E875F C0/10B8: 8F61877E STA $7E8761 C0/10BC: A54E LDA $4E C0/10BE: 8F648C7E STA $7E8C64 C0/10C2: 8F668C7E STA $7E8C66 C0/10C6: 8F688C7E STA $7E8C68 C0/10CA: 8F6A8C7E STA $7E8C6A C0/10CE: 8F6C8C7E STA $7E8C6C C0/10D2: 8F6E8C7E STA $7E8C6E C0/10D6: 8F708C7E STA $7E8C70 C0/10DA: 8F728C7E STA $7E8C72 C0/10DE: A550 LDA $50 C0/10E0: 8F638C7E STA $7E8C63 C0/10E4: 8F658C7E STA $7E8C65 C0/10E8: 8F678C7E STA $7E8C67 C0/10EC: 8F698C7E STA $7E8C69 C0/10F0: 8F6B8C7E STA $7E8C6B C0/10F4: 8F6D8C7E STA $7E8C6D C0/10F8: 8F6F8C7E STA $7E8C6F C0/10FC: 8F718C7E STA $7E8C71 C0/1100: A552 LDA $52 C0/1102: 8F64817E STA $7E8164 C0/1106: 8F66817E STA $7E8166 C0/110A: 8F68817E STA $7E8168 C0/110E: 8F6A817E STA $7E816A C0/1112: 8F6C817E STA $7E816C C0/1116: 8F6E817E STA $7E816E C0/111A: 8F70817E STA $7E8170 C0/111E: 8F72817E STA $7E8172 C0/1122: 60 RTS C0/1123: 48 PHA (from C0/104D) C0/1124: 48 PHA C0/1125: 29E0 AND #$E0 C0/1127: 851A STA $1A C0/1129: 68 PLA C0/112A: 2907 AND #$07 C0/112C: 0A ASL A C0/112D: 0A ASL A C0/112E: 18 CLC C0/112F: 6903 ADC #$03 C0/1131: 051A ORA $1A C0/1133: 8554 STA $54 C0/1135: 68 PLA C0/1136: 2918 AND #$18 C0/1138: 4A LSR A C0/1139: 4A LSR A C0/113A: 4A LSR A C0/113B: AA TAX C0/113C: BF4311C0 LDA $C01143,X C0/1140: 854B STA $4B C0/1142: 60 RTS C0/1143: 8182 C0/1145: 8484 C0/1147: A97E LDA #$7E (from C0/A60B, C0/A651) C0/1149: 48 PHA C0/114A: AB PLB C0/114B: E210 SEP #$10 (8 bit index registers) C0/114D: A4DF LDY $DF C0/114F: B90074 LDA $7400,Y C0/1152: 291F AND #$1F C0/1154: C51A CMP $1A C0/1156: B001 BCS $1159 C0/1158: 1A INC A C0/1159: 851E STA $1E C0/115B: B90174 LDA $7401,Y C0/115E: 297C AND #$7C C0/1160: C51B CMP $1B C0/1162: B002 BCS $1166 C0/1164: 6904 ADC #$04 C0/1166: 851F STA $1F C0/1168: C220 REP #$20 (16 bit accum./memory) C0/116A: B90074 LDA $7400,Y C0/116D: 29E003 AND #$03E0 C0/1170: C520 CMP $20 C0/1172: B003 BCS $1177 C0/1174: 692000 ADC #$0020 C0/1177: 051E ORA $1E C0/1179: 990074 STA $7400,Y C0/117C: 7B TDC C0/117D: E220 SEP #$20 (8 bit accum./memory) C0/117F: C8 INY C0/1180: C8 INY C0/1181: C4E0 CPY $E0 C0/1183: D0CA BNE $114F C0/1185: C210 REP #$10 (16 bit index registers) C0/1187: 7B TDC C0/1188: 48 PHA C0/1189: AB PLB C0/118A: 60 RTS C0/118B: A97E LDA #$7E (from C0/A61B, C0/A661) C0/118D: 48 PHA C0/118E: AB PLB C0/118F: E210 SEP #$10 (8 bit index registers) C0/1191: A4DF LDY $DF C0/1193: B90072 LDA $7200,Y C0/1196: 291F AND #$1F C0/1198: 851A STA $1A C0/119A: B90074 LDA $7400,Y C0/119D: 291F AND #$1F C0/119F: C51A CMP $1A C0/11A1: F001 BEQ $11A4 C0/11A3: 3A DEC A C0/11A4: 851E STA $1E C0/11A6: B90172 LDA $7201,Y C0/11A9: 297C AND #$7C C0/11AB: 851B STA $1B C0/11AD: B90174 LDA $7401,Y C0/11B0: 297C AND #$7C C0/11B2: C51B CMP $1B C0/11B4: F002 BEQ $11B8 C0/11B6: E904 SBC #$04 C0/11B8: 851F STA $1F C0/11BA: C220 REP #$20 (16 bit accum./memory) C0/11BC: B90072 LDA $7200,Y C0/11BF: 29E003 AND #$03E0 C0/11C2: 8520 STA $20 C0/11C4: B90074 LDA $7400,Y C0/11C7: 29E003 AND #$03E0 C0/11CA: C520 CMP $20 C0/11CC: F003 BEQ $11D1 C0/11CE: E92000 SBC #$0020 C0/11D1: 051E ORA $1E C0/11D3: 990074 STA $7400,Y C0/11D6: 7B TDC C0/11D7: E220 SEP #$20 (8 bit accum./memory) C0/11D9: C8 INY C0/11DA: C8 INY C0/11DB: C4E0 CPY $E0 C0/11DD: D0B4 BNE $1193 C0/11DF: C210 REP #$10 (16 bit index registers) C0/11E1: 7B TDC C0/11E2: 48 PHA C0/11E3: AB PLB C0/11E4: 60 RTS C0/11E5: A97E LDA #$7E (from C0/A623, C0/A669) C0/11E7: 48 PHA C0/11E8: AB PLB C0/11E9: E210 SEP #$10 (8 bit index registers) C0/11EB: A4DF LDY $DF C0/11ED: B90074 LDA $7400,Y C0/11F0: 291F AND #$1F C0/11F2: C51A CMP $1A C0/11F4: F003 BEQ $11F9 C0/11F6: 9001 BCC $11F9 C0/11F8: 3A DEC A C0/11F9: 851E STA $1E C0/11FB: B90174 LDA $7401,Y C0/11FE: 297C AND #$7C C0/1200: C51B CMP $1B C0/1202: F004 BEQ $1208 C0/1204: 9002 BCC $1208 C0/1206: E904 SBC #$04 C0/1208: 851F STA $1F C0/120A: C220 REP #$20 (16 bit accum./memory) C0/120C: B90074 LDA $7400,Y C0/120F: 29E003 AND #$03E0 C0/1212: C520 CMP $20 C0/1214: F005 BEQ $121B C0/1216: 9003 BCC $121B C0/1218: E92000 SBC #$0020 C0/121B: 051E ORA $1E C0/121D: 990074 STA $7400,Y C0/1220: 7B TDC C0/1221: E220 SEP #$20 (8 bit accum./memory) C0/1223: C8 INY C0/1224: C8 INY C0/1225: C4E0 CPY $E0 C0/1227: D0C4 BNE $11ED C0/1229: C210 REP #$10 (16 bit index registers) C0/122B: 7B TDC C0/122C: 48 PHA C0/122D: AB PLB C0/122E: 60 RTS C0/122F: A97E LDA #$7E (from C0/A633, C0/A679) C0/1231: 48 PHA C0/1232: AB PLB C0/1233: E210 SEP #$10 (8 bit index registers) C0/1235: A4DF LDY $DF C0/1237: B90072 LDA $7200,Y C0/123A: 291F AND #$1F C0/123C: 851A STA $1A C0/123E: B90074 LDA $7400,Y C0/1241: 291F AND #$1F C0/1243: C51A CMP $1A C0/1245: F001 BEQ $1248 C0/1247: 1A INC A C0/1248: 851E STA $1E C0/124A: B90172 LDA $7201,Y C0/124D: 297C AND #$7C C0/124F: 851B STA $1B C0/1251: B90174 LDA $7401,Y C0/1254: 297C AND #$7C C0/1256: C51B CMP $1B C0/1258: F002 BEQ $125C C0/125A: 6904 ADC #$04 C0/125C: 851F STA $1F C0/125E: C220 REP #$20 (16 bit accum./memory) C0/1260: B90072 LDA $7200,Y C0/1263: 29E003 AND #$03E0 C0/1266: 8520 STA $20 C0/1268: B90074 LDA $7400,Y C0/126B: 29E003 AND #$03E0 C0/126E: C520 CMP $20 C0/1270: F003 BEQ $1275 C0/1272: 692000 ADC #$0020 C0/1275: 051E ORA $1E C0/1277: 990074 STA $7400,Y C0/127A: 7B TDC C0/127B: E220 SEP #$20 (8 bit accum./memory) C0/127D: C8 INY C0/127E: C8 INY C0/127F: C4E0 CPY $E0 C0/1281: D0B4 BNE $1237 C0/1283: C210 REP #$10 (16 bit index registers) C0/1285: 7B TDC C0/1286: 48 PHA C0/1287: AB PLB C0/1288: 60 RTS C0/1289: A91F LDA #$1F (from C0/A613, C0/A659) C0/128B: 851A STA $1A C0/128D: A97C LDA #$7C C0/128F: 851B STA $1B C0/1291: A2E003 LDX #$03E0 C0/1294: 8620 STX $20 C0/1296: A97E LDA #$7E C0/1298: 48 PHA C0/1299: AB PLB C0/129A: E210 SEP #$10 (8 bit index registers) C0/129C: A4DF LDY $DF C0/129E: B90074 LDA $7400,Y C0/12A1: 291F AND #$1F C0/12A3: 18 CLC C0/12A4: 651A ADC $1A C0/12A6: C91F CMP #$1F C0/12A8: 9002 BCC $12AC C0/12AA: A91F LDA #$1F C0/12AC: 851E STA $1E C0/12AE: B90174 LDA $7401,Y C0/12B1: 297C AND #$7C C0/12B3: 18 CLC C0/12B4: 651B ADC $1B C0/12B6: C97C CMP #$7C C0/12B8: 9002 BCC $12BC C0/12BA: A97C LDA #$7C C0/12BC: 851F STA $1F C0/12BE: C220 REP #$20 (16 bit accum./memory) C0/12C0: B90074 LDA $7400,Y C0/12C3: 29E003 AND #$03E0 C0/12C6: 18 CLC C0/12C7: 6520 ADC $20 C0/12C9: C9E003 CMP #$03E0 C0/12CC: 9003 BCC $12D1 C0/12CE: A9E003 LDA #$03E0 C0/12D1: 051E ORA $1E C0/12D3: 990074 STA $7400,Y C0/12D6: 7B TDC C0/12D7: E220 SEP #$20 (8 bit accum./memory) C0/12D9: C8 INY C0/12DA: C8 INY C0/12DB: C4E0 CPY $E0 C0/12DD: D0BF BNE $129E C0/12DF: C210 REP #$10 (16 bit index registers) C0/12E1: 7B TDC C0/12E2: 48 PHA C0/12E3: AB PLB C0/12E4: 60 RTS C0/12E5: A51A LDA $1A (from C0/A62B, C0/A671) C0/12E7: 18 CLC C0/12E8: 6904 ADC #$04 C0/12EA: 851A STA $1A C0/12EC: A51B LDA $1B C0/12EE: 18 CLC C0/12EF: 6910 ADC #$10 C0/12F1: 851B STA $1B C0/12F3: C220 REP #$20 (16 bit accum./memory) C0/12F5: A520 LDA $20 C0/12F7: 18 CLC C0/12F8: 698000 ADC #$0080 C0/12FB: 8520 STA $20 C0/12FD: 7B TDC C0/12FE: E220 SEP #$20 (8 bit accum./memory) C0/1300: A97E LDA #$7E C0/1302: 48 PHA C0/1303: AB PLB C0/1304: E210 SEP #$10 (8 bit index registers) C0/1306: A4DF LDY $DF C0/1308: B90074 LDA $7400,Y C0/130B: 291F AND #$1F C0/130D: 38 SEC C0/130E: E51A SBC $1A C0/1310: 1001 BPL $1313 C0/1312: 7B TDC C0/1313: 851E STA $1E C0/1315: B90174 LDA $7401,Y C0/1318: 297C AND #$7C C0/131A: 38 SEC C0/131B: E51B SBC $1B C0/131D: 1001 BPL $1320 C0/131F: 7B TDC C0/1320: 851F STA $1F C0/1322: C220 REP #$20 (16 bit accum./memory) C0/1324: B90074 LDA $7400,Y C0/1327: 29E003 AND #$03E0 C0/132A: 38 SEC C0/132B: E520 SBC $20 C0/132D: 1001 BPL $1330 C0/132F: 7B TDC C0/1330: 051E ORA $1E C0/1332: 990074 STA $7400,Y C0/1335: 7B TDC C0/1336: E220 SEP #$20 (8 bit accum./memory) C0/1338: C8 INY C0/1339: C8 INY C0/133A: C4E0 CPY $E0 C0/133C: D0CA BNE $1308 C0/133E: C210 REP #$10 (16 bit index registers) C0/1340: 7B TDC C0/1341: 48 PHA C0/1342: AB PLB C0/1343: 60 RTS C0/1344: A97E LDA #$7E C0/1346: 48 PHA C0/1347: AB PLB C0/1348: C220 REP #$20 (16 bit accum./memory) C0/134A: E210 SEP #$10 (8 bit index registers) C0/134C: A600 LDX $00 C0/134E: BD0072 LDA $7200,X C0/1351: 9D0074 STA $7400,X C0/1354: BD0272 LDA $7202,X C0/1357: 9D0274 STA $7402,X C0/135A: BD0472 LDA $7204,X C0/135D: 9D0474 STA $7404,X C0/1360: BD0672 LDA $7206,X C0/1363: 9D0674 STA $7406,X C0/1366: BD0872 LDA $7208,X C0/1369: 9D0874 STA $7408,X C0/136C: BD0A72 LDA $720A,X C0/136F: 9D0A74 STA $740A,X C0/1372: BD0C72 LDA $720C,X C0/1375: 9D0C74 STA $740C,X C0/1378: BD0E72 LDA $720E,X C0/137B: 9D0E74 STA $740E,X C0/137E: 8A TXA C0/137F: 18 CLC C0/1380: 691000 ADC #$0010 C0/1383: AA TAX C0/1384: D0C8 BNE $134E C0/1386: 7B TDC C0/1387: E220 SEP #$20 (8 bit accum./memory) C0/1389: C210 REP #$10 (16 bit index registers) C0/138B: 7B TDC C0/138C: 48 PHA C0/138D: AB PLB C0/138E: 60 RTS C0/138F: A97E LDA #$7E (from C0/A690, C0/A6D6) C0/1391: 48 PHA C0/1392: AB PLB C0/1393: E210 SEP #$10 (8 bit index registers) C0/1395: A4DF LDY $DF C0/1397: B90075 LDA $7500,Y C0/139A: 291F AND #$1F C0/139C: C51A CMP $1A C0/139E: B001 BCS $13A1 C0/13A0: 1A INC A C0/13A1: 851E STA $1E C0/13A3: B90175 LDA $7501,Y C0/13A6: 297C AND #$7C C0/13A8: C51B CMP $1B C0/13AA: B002 BCS $13AE C0/13AC: 6904 ADC #$04 C0/13AE: 851F STA $1F C0/13B0: C220 REP #$20 (16 bit accum./memory) C0/13B2: B90075 LDA $7500,Y C0/13B5: 29E003 AND #$03E0 C0/13B8: C520 CMP $20 C0/13BA: B003 BCS $13BF C0/13BC: 692000 ADC #$0020 C0/13BF: 051E ORA $1E C0/13C1: 990075 STA $7500,Y C0/13C4: 7B TDC C0/13C5: E220 SEP #$20 (8 bit accum./memory) C0/13C7: C8 INY C0/13C8: C8 INY C0/13C9: C4E0 CPY $E0 C0/13CB: D0CA BNE $1397 C0/13CD: C210 REP #$10 (16 bit index registers) C0/13CF: 7B TDC C0/13D0: 48 PHA C0/13D1: AB PLB C0/13D2: 60 RTS C0/13D3: A97E LDA #$7E (from C0/A6A0, C0/A6E6) C0/13D5: 48 PHA C0/13D6: AB PLB C0/13D7: E210 SEP #$10 (8 bit index registers) C0/13D9: A4DF LDY $DF C0/13DB: B90073 LDA $7300,Y C0/13DE: 291F AND #$1F C0/13E0: 851A STA $1A C0/13E2: B90075 LDA $7500,Y C0/13E5: 291F AND #$1F C0/13E7: C51A CMP $1A C0/13E9: F001 BEQ $13EC C0/13EB: 3A DEC A C0/13EC: 851E STA $1E C0/13EE: B90173 LDA $7301,Y C0/13F1: 297C AND #$7C C0/13F3: 851B STA $1B C0/13F5: B90175 LDA $7501,Y C0/13F8: 297C AND #$7C C0/13FA: C51B CMP $1B C0/13FC: F002 BEQ $1400 C0/13FE: E904 SBC #$04 C0/1400: 851F STA $1F C0/1402: C220 REP #$20 (16 bit accum./memory) C0/1404: B90073 LDA $7300,Y C0/1407: 29E003 AND #$03E0 C0/140A: 8520 STA $20 C0/140C: B90075 LDA $7500,Y C0/140F: 29E003 AND #$03E0 C0/1412: C520 CMP $20 C0/1414: F003 BEQ $1419 C0/1416: E92000 SBC #$0020 C0/1419: 051E ORA $1E C0/141B: 990075 STA $7500,Y C0/141E: 7B TDC C0/141F: E220 SEP #$20 (8 bit accum./memory) C0/1421: C8 INY C0/1422: C8 INY C0/1423: C4E0 CPY $E0 C0/1425: D0B4 BNE $13DB C0/1427: C210 REP #$10 (16 bit index registers) C0/1429: 7B TDC C0/142A: 48 PHA C0/142B: AB PLB C0/142C: 60 RTS C0/142D: A97E LDA #$7E (from C0/A6A8, C0/A6EE) C0/142F: 48 PHA C0/1430: AB PLB C0/1431: E210 SEP #$10 (8 bit index registers) C0/1433: A4DF LDY $DF C0/1435: B90075 LDA $7500,Y C0/1438: 291F AND #$1F C0/143A: C51A CMP $1A C0/143C: F003 BEQ $1441 C0/143E: 9001 BCC $1441 C0/1440: 3A DEC A C0/1441: 851E STA $1E C0/1443: B90175 LDA $7501,Y C0/1446: 297C AND #$7C C0/1448: C51B CMP $1B C0/144A: F004 BEQ $1450 C0/144C: 9002 BCC $1450 C0/144E: E904 SBC #$04 C0/1450: 851F STA $1F C0/1452: C220 REP #$20 (16 bit accum./memory) C0/1454: B90075 LDA $7500,Y C0/1457: 29E003 AND #$03E0 C0/145A: C520 CMP $20 C0/145C: F005 BEQ $1463 C0/145E: 9003 BCC $1463 C0/1460: E92000 SBC #$0020 C0/1463: 051E ORA $1E C0/1465: 990075 STA $7500,Y C0/1468: 7B TDC C0/1469: E220 SEP #$20 (8 bit accum./memory) C0/146B: C8 INY C0/146C: C8 INY C0/146D: C4E0 CPY $E0 C0/146F: D0C4 BNE $1435 C0/1471: C210 REP #$10 (16 bit index registers) C0/1473: 7B TDC C0/1474: 48 PHA C0/1475: AB PLB C0/1476: 60 RTS C0/1477: A97E LDA #$7E (from C0/A6B8, C0/A6FE) C0/1479: 48 PHA C0/147A: AB PLB C0/147B: E210 SEP #$10 (8 bit index registers) C0/147D: A4DF LDY $DF C0/147F: B90073 LDA $7300,Y C0/1482: 291F AND #$1F C0/1484: 851A STA $1A C0/1486: B90075 LDA $7500,Y C0/1489: 291F AND #$1F C0/148B: C51A CMP $1A C0/148D: F001 BEQ $1490 C0/148F: 1A INC A C0/1490: 851E STA $1E C0/1492: B90173 LDA $7301,Y C0/1495: 297C AND #$7C C0/1497: 851B STA $1B C0/1499: B90175 LDA $7501,Y C0/149C: 297C AND #$7C C0/149E: C51B CMP $1B C0/14A0: F002 BEQ $14A4 C0/14A2: 6904 ADC #$04 C0/14A4: 851F STA $1F C0/14A6: C220 REP #$20 (16 bit accum./memory) C0/14A8: B90073 LDA $7300,Y C0/14AB: 29E003 AND #$03E0 C0/14AE: 8520 STA $20 C0/14B0: B90075 LDA $7500,Y C0/14B3: 29E003 AND #$03E0 C0/14B6: C520 CMP $20 C0/14B8: F003 BEQ $14BD C0/14BA: 692000 ADC #$0020 C0/14BD: 051E ORA $1E C0/14BF: 990075 STA $7500,Y C0/14C2: 7B TDC C0/14C3: E220 SEP #$20 (8 bit accum./memory) C0/14C5: C8 INY C0/14C6: C8 INY C0/14C7: C4E0 CPY $E0 C0/14C9: D0B4 BNE $147F C0/14CB: C210 REP #$10 (16 bit index registers) C0/14CD: 7B TDC C0/14CE: 48 PHA C0/14CF: AB PLB C0/14D0: 60 RTS C0/14D1: A91F LDA #$1F (from C0/A698, C0/A6DE) C0/14D3: 851A STA $1A C0/14D5: A97C LDA #$7C C0/14D7: 851B STA $1B C0/14D9: A2E003 LDX #$03E0 C0/14DC: 8620 STX $20 C0/14DE: A97E LDA #$7E C0/14E0: 48 PHA C0/14E1: AB PLB C0/14E2: E210 SEP #$10 (8 bit index registers) C0/14E4: A4DF LDY $DF C0/14E6: B90075 LDA $7500,Y C0/14E9: 291F AND #$1F C0/14EB: 18 CLC C0/14EC: 651A ADC $1A C0/14EE: C91F CMP #$1F C0/14F0: 9002 BCC $14F4 C0/14F2: A91F LDA #$1F C0/14F4: 851E STA $1E C0/14F6: B90175 LDA $7501,Y C0/14F9: 297C AND #$7C C0/14FB: 18 CLC C0/14FC: 651B ADC $1B C0/14FE: C97C CMP #$7C C0/1500: 9002 BCC $1504 C0/1502: A97C LDA #$7C C0/1504: 851F STA $1F C0/1506: C220 REP #$20 (16 bit accum./memory) C0/1508: B90075 LDA $7500,Y C0/150B: 29E003 AND #$03E0 C0/150E: 18 CLC C0/150F: 6520 ADC $20 C0/1511: C9E003 CMP #$03E0 C0/1514: 9003 BCC $1519 C0/1516: A9E003 LDA #$03E0 C0/1519: 051E ORA $1E C0/151B: 990075 STA $7500,Y C0/151E: 7B TDC C0/151F: E220 SEP #$20 (8 bit accum./memory) C0/1521: C8 INY C0/1522: C8 INY C0/1523: C4E0 CPY $E0 C0/1525: D0BF BNE $14E6 C0/1527: C210 REP #$10 (16 bit index registers) C0/1529: 7B TDC C0/152A: 48 PHA C0/152B: AB PLB C0/152C: 60 RTS C0/152D: A51A LDA $1A (from C0/A6B0, C0/A6F6) C0/152F: 18 CLC C0/1530: 6904 ADC #$04 C0/1532: 851A STA $1A C0/1534: A51B LDA $1B C0/1536: 18 CLC C0/1537: 6910 ADC #$10 C0/1539: 851B STA $1B C0/153B: C220 REP #$20 (16 bit accum./memory) C0/153D: A520 LDA $20 C0/153F: 18 CLC C0/1540: 698000 ADC #$0080 C0/1543: 8520 STA $20 C0/1545: 7B TDC C0/1546: E220 SEP #$20 (8 bit accum./memory) C0/1548: A97E LDA #$7E C0/154A: 48 PHA C0/154B: AB PLB C0/154C: E210 SEP #$10 (8 bit index registers) C0/154E: A4DF LDY $DF C0/1550: B90075 LDA $7500,Y C0/1553: 291F AND #$1F C0/1555: 38 SEC C0/1556: E51A SBC $1A C0/1558: 1001 BPL $155B C0/155A: 7B TDC C0/155B: 851E STA $1E C0/155D: B90175 LDA $7501,Y C0/1560: 297C AND #$7C C0/1562: 38 SEC C0/1563: E51B SBC $1B C0/1565: 1001 BPL $1568 C0/1567: 7B TDC C0/1568: 851F STA $1F C0/156A: C220 REP #$20 (16 bit accum./memory) C0/156C: B90075 LDA $7500,Y C0/156F: 29E003 AND #$03E0 C0/1572: 38 SEC C0/1573: E520 SBC $20 C0/1575: 1001 BPL $1578 C0/1577: 7B TDC C0/1578: 051E ORA $1E C0/157A: 990075 STA $7500,Y C0/157D: 7B TDC C0/157E: E220 SEP #$20 (8 bit accum./memory) C0/1580: C8 INY C0/1581: C8 INY C0/1582: C4E0 CPY $E0 C0/1584: D0CA BNE $1550 C0/1586: C210 REP #$10 (16 bit index registers) C0/1588: 7B TDC C0/1589: 48 PHA C0/158A: AB PLB C0/158B: 60 RTS C0/158C: A97E LDA #$7E (from C0/A6BD, C0/A703) C0/158E: 48 PHA C0/158F: AB PLB C0/1590: C220 REP #$20 (16 bit accum./memory) C0/1592: E210 SEP #$10 (8 bit index registers) C0/1594: A600 LDX $00 C0/1596: BD0073 LDA $7300,X C0/1599: 9D0075 STA $7500,X C0/159C: BD0273 LDA $7302,X C0/159F: 9D0275 STA $7502,X C0/15A2: BD0473 LDA $7304,X C0/15A5: 9D0475 STA $7504,X C0/15A8: BD0673 LDA $7306,X C0/15AB: 9D0675 STA $7506,X C0/15AE: BD0873 LDA $7308,X C0/15B1: 9D0875 STA $7508,X C0/15B4: BD0A73 LDA $730A,X C0/15B7: 9D0A75 STA $750A,X C0/15BA: BD0C73 LDA $730C,X C0/15BD: 9D0C75 STA $750C,X C0/15C0: BD0E73 LDA $730E,X C0/15C3: 9D0E75 STA $750E,X C0/15C6: 8A TXA C0/15C7: 18 CLC C0/15C8: 691000 ADC #$0010 C0/15CB: AA TAX C0/15CC: D0C8 BNE $1596 C0/15CE: 7B TDC C0/15CF: E220 SEP #$20 (8 bit accum./memory) C0/15D1: C210 REP #$10 (16 bit index registers) C0/15D3: 7B TDC C0/15D4: 48 PHA C0/15D5: AB PLB C0/15D6: 60 RTS C0/15D7: C220 REP #$20 (from C0/BF6A) (16 bit accum./memory) C0/15D9: A582 LDA $82 C0/15DB: 0A ASL A C0/15DC: AA TAX C0/15DD: BFF682ED LDA $ED82F6,X C0/15E1: 851E STA $1E C0/15E3: BFF482ED LDA $ED82F4,X C0/15E7: AA TAX C0/15E8: 7B TDC C0/15E9: E220 SEP #$20 (8 bit accum./memory) C0/15EB: E41E CPX $1E C0/15ED: F048 BEQ $1637 C0/15EF: C220 REP #$20 (16 bit accum./memory) C0/15F1: BF3486ED LDA $ED8634,X C0/15F5: 852A STA $2A C0/15F7: BF3586ED LDA $ED8635,X C0/15FB: 852B STA $2B C0/15FD: DA PHX C0/15FE: BF3686ED LDA $ED8636,X C0/1602: 29FF01 AND #$01FF C0/1605: 4A LSR A C0/1606: 4A LSR A C0/1607: 4A LSR A C0/1608: A8 TAY C0/1609: BF3686ED LDA $ED8636,X C0/160D: 290700 AND #$0007 C0/1610: AA TAX C0/1611: 7B TDC C0/1612: E220 SEP #$20 (8 bit accum./memory) C0/1614: B9401E LDA $1E40,Y C0/1617: 3FFCBAC0 AND $C0BAFC,X C0/161B: F010 BEQ $162D C0/161D: A62A LDX $2A C0/161F: BF00007F LDA $7F0000,X C0/1623: C913 CMP #$13 C0/1625: D006 BNE $162D C0/1627: A912 LDA #$12 C0/1629: 9F00007F STA $7F0000,X C0/162D: FA PLX C0/162E: E8 INX C0/162F: E8 INX C0/1630: E8 INX C0/1631: E8 INX C0/1632: E8 INX C0/1633: E41E CPX $1E C0/1635: D0B8 BNE $15EF C0/1637: 60 RTS C0/1638: AD4005 LDA $0540 (from C0/BF58) C0/163B: 0A ASL A C0/163C: 18 CLC C0/163D: 6D4005 ADC $0540 C0/1640: AA TAX C0/1641: BF00FEC0 LDA $C0FE00,X C0/1645: 854F STA $4F C0/1647: A922 LDA #$22 C0/1649: 8550 STA $50 C0/164B: A54B LDA $4B C0/164D: D004 BNE $1653 C0/164F: A54F LDA $4F C0/1651: 854E STA $4E C0/1653: BF01FEC0 LDA $C0FE01,X C0/1657: 0901 ORA #$01 C0/1659: 8551 STA $51 C0/165B: BF02FEC0 LDA $C0FE02,X C0/165F: 8553 STA $53 C0/1661: 8D2D21 STA $212D C0/1664: A54B LDA $4B C0/1666: D004 BNE $166C C0/1668: A553 LDA $53 C0/166A: 8552 STA $52 C0/166C: 60 RTS C0/166D: AD3605 LDA $0536 (from C0/BF14) C0/1670: 0A ASL A C0/1671: 0A ASL A C0/1672: 0A ASL A C0/1673: AA TAX C0/1674: BF40FEC0 LDA $C0FE40,X C0/1678: 300E BMI $1688 C0/167A: C220 REP #$20 (16 bit accum./memory) C0/167C: 0A ASL A C0/167D: 0A ASL A C0/167E: 0A ASL A C0/167F: 0A ASL A C0/1680: 8D4B05 STA $054B C0/1683: 7B TDC C0/1684: E220 SEP #$20 (8 bit accum./memory) C0/1686: 8012 BRA $169A C0/1688: 4502 EOR $02 C0/168A: 1A INC A C0/168B: C220 REP #$20 (16 bit accum./memory) C0/168D: 0A ASL A C0/168E: 0A ASL A C0/168F: 0A ASL A C0/1690: 0A ASL A C0/1691: 4502 EOR $02 C0/1693: 1A INC A C0/1694: 8D4B05 STA $054B C0/1697: 7B TDC C0/1698: E220 SEP #$20 (8 bit accum./memory) C0/169A: BF41FEC0 LDA $C0FE41,X C0/169E: 300E BMI $16AE C0/16A0: C220 REP #$20 (16 bit accum./memory) C0/16A2: 0A ASL A C0/16A3: 0A ASL A C0/16A4: 0A ASL A C0/16A5: 0A ASL A C0/16A6: 8D4D05 STA $054D C0/16A9: 7B TDC C0/16AA: E220 SEP #$20 (8 bit accum./memory) C0/16AC: 8012 BRA $16C0 C0/16AE: 4502 EOR $02 C0/16B0: 1A INC A C0/16B1: C220 REP #$20 (16 bit accum./memory) C0/16B3: 0A ASL A C0/16B4: 0A ASL A C0/16B5: 0A ASL A C0/16B6: 0A ASL A C0/16B7: 4502 EOR $02 C0/16B9: 1A INC A C0/16BA: 8D4D05 STA $054D C0/16BD: 7B TDC C0/16BE: E220 SEP #$20 (8 bit accum./memory) C0/16C0: BF42FEC0 LDA $C0FE42,X C0/16C4: 300E BMI $16D4 C0/16C6: C220 REP #$20 (16 bit accum./memory) C0/16C8: 0A ASL A C0/16C9: 0A ASL A C0/16CA: 0A ASL A C0/16CB: 0A ASL A C0/16CC: 8D4F05 STA $054F C0/16CF: 7B TDC C0/16D0: E220 SEP #$20 (8 bit accum./memory) C0/16D2: 8012 BRA $16E6 C0/16D4: 4502 EOR $02 C0/16D6: 1A INC A C0/16D7: C220 REP #$20 (16 bit accum./memory) C0/16D9: 0A ASL A C0/16DA: 0A ASL A C0/16DB: 0A ASL A C0/16DC: 0A ASL A C0/16DD: 4502 EOR $02 C0/16DF: 1A INC A C0/16E0: 8D4F05 STA $054F C0/16E3: 7B TDC C0/16E4: E220 SEP #$20 (8 bit accum./memory) C0/16E6: BF43FEC0 LDA $C0FE43,X C0/16EA: 300E BMI $16FA C0/16EC: C220 REP #$20 (16 bit accum./memory) C0/16EE: 0A ASL A C0/16EF: 0A ASL A C0/16F0: 0A ASL A C0/16F1: 0A ASL A C0/16F2: 8D5105 STA $0551 C0/16F5: 7B TDC C0/16F6: E220 SEP #$20 (8 bit accum./memory) C0/16F8: 8012 BRA $170C C0/16FA: 4502 EOR $02 C0/16FC: 1A INC A C0/16FD: C220 REP #$20 (16 bit accum./memory) C0/16FF: 0A ASL A C0/1700: 0A ASL A C0/1701: 0A ASL A C0/1702: 0A ASL A C0/1703: 4502 EOR $02 C0/1705: 1A INC A C0/1706: 8D5105 STA $0551 C0/1709: 7B TDC C0/170A: E220 SEP #$20 (8 bit accum./memory) C0/170C: BF44FEC0 LDA $C0FE44,X C0/1710: 8D5305 STA $0553 C0/1713: BF45FEC0 LDA $C0FE45,X C0/1717: 8D5405 STA $0554 C0/171A: BF46FEC0 LDA $C0FE46,X C0/171E: 8D5505 STA $0555 C0/1721: BF47FEC0 LDA $C0FE47,X C0/1725: 8D5605 STA $0556 C0/1728: 60 RTS C0/1729: A600 LDX $00 (from C0/BF05) C0/172B: 865B STX $5B C0/172D: 865D STX $5D C0/172F: 865F STX $5F C0/1731: 8661 STX $61 C0/1733: 8663 STX $63 C0/1735: 8665 STX $65 C0/1737: 8667 STX $67 C0/1739: 8669 STX $69 C0/173B: 866B STX $6B C0/173D: 866D STX $6D C0/173F: 866F STX $6F C0/1741: 8671 STX $71 C0/1743: 8673 STX $73 C0/1745: 8675 STX $75 C0/1747: 8677 STX $77 C0/1749: 8679 STX $79 C0/174B: 867B STX $7B C0/174D: 867D STX $7D C0/174F: 8E4705 STX $0547 C0/1752: 8E4905 STX $0549 C0/1755: 8E4B05 STX $054B C0/1758: 8E4D05 STX $054D C0/175B: 8E4F05 STX $054F C0/175E: 8E5105 STX $0551 C0/1761: 9C8605 STZ $0586 C0/1764: 9C8505 STZ $0585 C0/1767: 9C8805 STZ $0588 C0/176A: 9C8705 STZ $0587 C0/176D: 9C8A05 STZ $058A C0/1770: 9C8905 STZ $0589 C0/1773: 20E717 JSR $17E7 C0/1776: 207F17 JSR $177F (JMP fool!) C0/1779: 60 RTS C0/177A: 0F C0/177B: 1F C0/177C: 3F C0/177D: 7F C0/177E: FF C0/177F: AE NOP (from C0/1776, C0/BEEA) C0/1780: C01F CPY #$1F C0/1782: 8E661F STX $1F66 C0/1785: AE3E05 LDX $053E C0/1788: D010 BNE $179A C0/178A: 9C2C06 STZ $062C C0/178D: 9C2E06 STZ $062E C0/1790: A9FF LDA #$FF C0/1792: 8D2D06 STA $062D C0/1795: 8D2F06 STA $062F C0/1798: 801C BRA $17B6 C0/179A: A908 LDA #$08 C0/179C: 8D2C06 STA $062C C0/179F: AD3E05 LDA $053E C0/17A2: 38 SEC C0/17A3: E907 SBC #$07 C0/17A5: 8D2D06 STA $062D C0/17A8: A907 LDA #$07 C0/17AA: 8D2E06 STA $062E C0/17AD: AD3F05 LDA $053F C0/17B0: 38 SEC C0/17B1: E907 SBC #$07 C0/17B3: 8D2F06 STA $062F C0/17B6: AD2C06 LDA $062C C0/17B9: CD661F CMP $1F66 C0/17BC: 9005 BCC $17C3 C0/17BE: 8D661F STA $1F66 C0/17C1: 800B BRA $17CE C0/17C3: AD2D06 LDA $062D C0/17C6: CD661F CMP $1F66 C0/17C9: B003 BCS $17CE C0/17CB: 8D661F STA $1F66 C0/17CE: AD2E06 LDA $062E C0/17D1: CD671F CMP $1F67 C0/17D4: 9005 BCC $17DB C0/17D6: 8D671F STA $1F67 C0/17D9: 800B BRA $17E6 C0/17DB: AD2F06 LDA $062F C0/17DE: CD671F CMP $1F67 C0/17E1: B003 BCS $17E6 C0/17E3: 8D671F STA $1F67 C0/17E6: 60 RTS C0/17E7: AD3705 LDA $0537 (from C0/1773) C0/17EA: 2903 AND #$03 C0/17EC: AA TAX C0/17ED: BF7A17C0 LDA $C0177A,X C0/17F1: 8589 STA $89 C0/17F3: AD3705 LDA $0537 C0/17F6: 4A LSR A C0/17F7: 4A LSR A C0/17F8: 2903 AND #$03 C0/17FA: AA TAX C0/17FB: BF7A17C0 LDA $C0177A,X C0/17FF: 8588 STA $88 C0/1801: AD3705 LDA $0537 C0/1804: 4A LSR A C0/1805: 4A LSR A C0/1806: 4A LSR A C0/1807: 4A LSR A C0/1808: 2903 AND #$03 C0/180A: AA TAX C0/180B: BF7A17C0 LDA $C0177A,X C0/180F: 8587 STA $87 C0/1811: AD3705 LDA $0537 C0/1814: 4A LSR A C0/1815: 4A LSR A C0/1816: 4A LSR A C0/1817: 4A LSR A C0/1818: 4A LSR A C0/1819: 4A LSR A C0/181A: AA TAX C0/181B: BF7A17C0 LDA $C0177A,X C0/181F: 8586 STA $86 C0/1821: AD3805 LDA $0538 C0/1824: 4A LSR A C0/1825: 4A LSR A C0/1826: 4A LSR A C0/1827: 4A LSR A C0/1828: 2903 AND #$03 C0/182A: AA TAX C0/182B: BF7A17C0 LDA $C0177A,X C0/182F: 858B STA $8B C0/1831: AD3805 LDA $0538 C0/1834: 4A LSR A C0/1835: 4A LSR A C0/1836: 4A LSR A C0/1837: 4A LSR A C0/1838: 4A LSR A C0/1839: 4A LSR A C0/183A: AA TAX C0/183B: BF7A17C0 LDA $C0177A,X C0/183F: 858A STA $8A C0/1841: AD3805 LDA $0538 C0/1844: 2901 AND #$01 C0/1846: 8D9105 STA $0591 C0/1849: AD3805 LDA $0538 C0/184C: 4A LSR A C0/184D: 2901 AND #$01 C0/184F: 8D9205 STA $0592 C0/1852: AD3805 LDA $0538 C0/1855: 4A LSR A C0/1856: 2901 AND #$01 C0/1858: 8D9305 STA $0593 C0/185B: 60 RTS C0/185C: AD4205 LDA $0542 (from C0/BF79) C0/185F: 38 SEC C0/1860: E90F SBC #$0F C0/1862: 8D4205 STA $0542 C0/1865: AD4405 LDA $0544 C0/1868: 38 SEC C0/1869: E90F SBC #$0F C0/186B: 8D4405 STA $0544 C0/186E: AD4605 LDA $0546 C0/1871: 38 SEC C0/1872: E90F SBC #$0F C0/1874: 8D4605 STA $0546 C0/1877: A910 LDA #$10 C0/1879: 48 PHA C0/187A: 205D21 JSR $215D C0/187D: 20472A JSR $2A47 C0/1880: 20D822 JSR $22D8 C0/1883: 20CA2A JSR $2ACA C0/1886: 205724 JSR $2457 C0/1889: 204D2B JSR $2B4D C0/188C: EE4205 INC $0542 C0/188F: EE4405 INC $0544 C0/1892: EE4605 INC $0546 C0/1895: 68 PLA C0/1896: 3A DEC A C0/1897: D0E0 BNE $1879 C0/1899: CE4205 DEC $0542 C0/189C: CE4405 DEC $0544 C0/189F: CE4605 DEC $0546 C0/18A2: 60 RTS C0/18A3: A584 LDA $84 (from C0/00E5) C0/18A5: D03C BNE $18E3 C0/18A7: A559 LDA $59 C0/18A9: D038 BNE $18E3 C0/18AB: A585 LDA $85 C0/18AD: D034 BNE $18E3 C0/18AF: A556 LDA $56 C0/18B1: D030 BNE $18E3 C0/18B3: AC0308 LDY $0803 C0/18B6: B96A08 LDA $086A,Y C0/18B9: 290F AND #$0F C0/18BB: D026 BNE $18E3 C0/18BD: B96D08 LDA $086D,Y C0/18C0: 290F AND #$0F C0/18C2: D01F BNE $18E3 C0/18C4: A6E5 LDX $E5 C0/18C6: E00000 CPX #$0000 C0/18C9: D018 BNE $18E3 C0/18CB: A5E7 LDA $E7 C0/18CD: C9CA CMP #$CA C0/18CF: D012 BNE $18E3 C0/18D1: A5B8 LDA $B8 C0/18D3: 2904 AND #$04 C0/18D5: F006 BEQ $18DD C0/18D7: A5B2 LDA $B2 C0/18D9: C901 CMP #$01 C0/18DB: D006 BNE $18E3 C0/18DD: 20E418 JSR $18E4 C0/18E0: 20771A JSR $1A77 C0/18E3: 60 RTS C0/18E4: C220 REP #$20 (16 bit accum./memory) C0/18E6: A582 LDA $82 C0/18E8: 0A ASL A C0/18E9: AA TAX C0/18EA: BF82F4ED LDA $EDF482,X C0/18EE: 851E STA $1E C0/18F0: BF80F4ED LDA $EDF480,X C0/18F4: AA TAX C0/18F5: C51E CMP $1E C0/18F7: D003 BNE $18FC C0/18F9: 4C261A JMP $1A26 C0/18FC: 7B TDC C0/18FD: E220 SEP #$20 (8 bit accum./memory) C0/18FF: 6426 STZ $26 C0/1901: 6428 STZ $28 C0/1903: BF82F4ED LDA $EDF482,X C0/1907: 3022 BMI $192B C0/1909: 851A STA $1A C0/190B: BF81F4ED LDA $EDF481,X C0/190F: C5B0 CMP $B0 C0/1911: D03A BNE $194D C0/1913: A5AF LDA $AF C0/1915: 38 SEC C0/1916: FF80F4ED SBC $EDF480,X C0/191A: 9031 BCC $194D C0/191C: 8526 STA $26 C0/191E: BF80F4ED LDA $EDF480,X C0/1922: 18 CLC C0/1923: 651A ADC $1A C0/1925: C5AF CMP $AF C0/1927: B033 BCS $195C C0/1929: 8022 BRA $194D C0/192B: 297F AND #$7F C0/192D: 851A STA $1A C0/192F: BF80F4ED LDA $EDF480,X C0/1933: C5AF CMP $AF C0/1935: D016 BNE $194D C0/1937: A5B0 LDA $B0 C0/1939: 38 SEC C0/193A: FF81F4ED SBC $EDF481,X C0/193E: 900D BCC $194D C0/1940: 8528 STA $28 C0/1942: BF81F4ED LDA $EDF481,X C0/1946: 18 CLC C0/1947: 651A ADC $1A C0/1949: C5B0 CMP $B0 C0/194B: B00F BCS $195C C0/194D: C221 REP #$21 C0/194F: 8A TXA C0/1950: 690700 ADC #$0007 C0/1953: AA TAX C0/1954: 7B TDC C0/1955: E220 SEP #$20 (8 bit accum./memory) C0/1957: E41E CPX $1E C0/1959: D0A4 BNE $18FF C0/195B: 60 RTS C0/195C: A901 LDA #$01 C0/195E: 8D8E07 STA $078E C0/1961: C220 REP #$20 (16 bit accum./memory) C0/1963: BF83F4ED LDA $EDF483,X C0/1967: 290002 AND #$0200 C0/196A: F003 BEQ $196F C0/196C: 202A1A JSR $1A2A C0/196F: BF83F4ED LDA $EDF483,X C0/1973: 29FF01 AND #$01FF C0/1976: C9FF01 CMP #$01FF C0/1979: F065 BEQ $19E0 C0/197B: BF83F4ED LDA $EDF483,X C0/197F: 8D641F STA $1F64 C0/1982: 29FF01 AND #$01FF C0/1985: C90300 CMP #$0003 C0/1988: B015 BCS $199F C0/198A: BF85F4ED LDA $EDF485,X C0/198E: 8D601F STA $1F60 C0/1991: 7B TDC C0/1992: E220 SEP #$20 (8 bit accum./memory) C0/1994: A901 LDA #$01 C0/1996: 8584 STA $84 C0/1998: 20886E JSR $6E88 C0/199B: 20560F JSR $0F56 C0/199E: 60 RTS C0/199F: BF85F4ED LDA $EDF485,X C0/19A3: 8DC01F STA $1FC0 C0/19A6: 7B TDC C0/19A7: E220 SEP #$20 (8 bit accum./memory) C0/19A9: BF84F4ED LDA $EDF484,X C0/19AD: 2930 AND #$30 C0/19AF: 4A LSR A C0/19B0: 4A LSR A C0/19B1: 4A LSR A C0/19B2: 4A LSR A C0/19B3: 8D4307 STA $0743 C0/19B6: BF84F4ED LDA $EDF484,X C0/19BA: 2908 AND #$08 C0/19BC: 8D4507 STA $0745 (set location name to appear when map loads) C0/19BF: A901 LDA #$01 C0/19C1: 8D4407 STA $0744 C0/19C4: BF84F4ED LDA $EDF484,X C0/19C8: 2904 AND #$04 C0/19CA: F004 BEQ $19D0 C0/19CC: 4A LSR A C0/19CD: 8D4407 STA $0744 C0/19D0: A901 LDA #$01 C0/19D2: 8584 STA $84 C0/19D4: 20886E JSR $6E88 C0/19D7: 20560F JSR $0F56 C0/19DA: A980 LDA #$80 C0/19DC: 8DFA11 STA $11FA C0/19DF: 60 RTS C0/19E0: 20461A JSR $1A46 (you should only be here if map loaded was $1FFF) C0/19E3: C220 REP #$20 (16 bit accum./memory) C0/19E5: BF83F4ED LDA $EDF483,X C0/19E9: 2900FE AND #$FE00 C0/19EC: 0D691F ORA $1F69 (add in bits from parent map) C0/19EF: 8D641F STA $1F64 (set as current map with flags set) C0/19F2: 7B TDC C0/19F3: E220 SEP #$20 (8 bit accum./memory) C0/19F5: AE691F LDX $1F69 C0/19F8: E00300 CPX #$0003 (is parent map darkness (or greater)?) C0/19FB: B011 BCS $1A0E (branch if so) C0/19FD: AC6B1F LDY $1F6B (load position to be on when loading parent map) C0/1A00: 8C601F STY $1F60 (set as current position) C0/1A03: A901 LDA #$01 C0/1A05: 8584 STA $84 C0/1A07: 20886E JSR $6E88 C0/1A0A: 20560F JSR $0F56 (JMP fool!) C0/1A0D: 60 RTS C0/1A0E: AD681F LDA $1F68 C0/1A11: 8D4307 STA $0743 C0/1A14: BF84F4ED LDA $EDF484,X C0/1A18: 2908 AND #$08 C0/1A1A: 8D4507 STA $0745 (set location name to appear when map loads) C0/1A1D: 20560F JSR $0F56 C0/1A20: A980 LDA #$80 C0/1A22: 8DFA11 STA $11FA C0/1A25: 60 RTS C0/1A26: 7B TDC C0/1A27: E220 SEP #$20 (8 bit accum./memory) C0/1A29: 60 RTS C0/1A2A: C220 REP #$20 (16 bit accum./memory) C0/1A2C: A582 LDA $82 C0/1A2E: 29FF01 AND #$01FF C0/1A31: 8D691F STA $1F69 (save as parent map) C0/1A34: A5AF LDA $AF C0/1A36: 8D6B1F STA $1F6B (save as position to be on when loading parent map) C0/1A39: 7B TDC C0/1A3A: E220 SEP #$20 (8 bit accum./memory) C0/1A3C: AC0308 LDY $0803 C0/1A3F: B97E08 LDA $087E,Y C0/1A42: 8DD21F STA $1FD2 C0/1A45: 60 RTS C0/1A46: DA PHX C0/1A47: 7B TDC C0/1A48: E220 SEP #$20 (8 bit accum./memory) C0/1A4A: ADD21F LDA $1FD2 C0/1A4D: 2903 AND #$03 C0/1A4F: 4902 EOR #$02 C0/1A51: AA TAX C0/1A52: 4980 EOR #$80 C0/1A54: 8D681F STA $1F68 C0/1A57: AD6B1F LDA $1F6B C0/1A5A: 18 CLC C0/1A5B: 7F6F1AC0 ADC $C01A6F,X (+/- 1 to the X position, I think) C0/1A5F: 8D6B1F STA $1F6B (save as X position to be on when loading parent map) C0/1A62: AD6C1F LDA $1F6C C0/1A65: 18 CLC C0/1A66: 7F731AC0 ADC $C01A73,X (+/- 1 to the Y position, I think) C0/1A6A: 8D6C1F STA $1F6C (save as Y position to be on when loading parent map) C0/1A6D: FA PLX C0/1A6E: 60 RTS C0/1A6F: 0001 C0/1A71: 00FF C0/1A73: FF000100 SBC $000100,X C0/1A77: C220 REP #$20 (16 bit accum./memory) C0/1A79: A582 LDA $82 C0/1A7B: 0A ASL A C0/1A7C: AA TAX C0/1A7D: BF02BBDF LDA $DFBB02,X (Pointer to entrance triggers) C0/1A81: 851E STA $1E C0/1A83: BF00BBDF LDA $DFBB00,X C0/1A87: AA TAX C0/1A88: C51E CMP $1E C0/1A8A: D003 BNE $1A8F C0/1A8C: 4C771B JMP $1B77 C0/1A8F: BF00BBDF LDA $DFBB00,X C0/1A93: C5AF CMP $AF C0/1A95: F00D BEQ $1AA4 C0/1A97: 8A TXA C0/1A98: 18 CLC C0/1A99: 690600 ADC #$0006 C0/1A9C: AA TAX C0/1A9D: E41E CPX $1E C0/1A9F: D0EE BNE $1A8F C0/1AA1: 4C771B JMP $1B77 C0/1AA4: A90100 LDA #$0001 C0/1AA7: 8D8E07 STA $078E C0/1AAA: BF02BBDF LDA $DFBB02,X C0/1AAE: 290002 AND #$0200 C0/1AB1: F003 BEQ $1AB6 C0/1AB3: 202A1A JSR $1A2A C0/1AB6: BF02BBDF LDA $DFBB02,X C0/1ABA: 29FF01 AND #$01FF C0/1ABD: C9FF01 CMP #$01FF C0/1AC0: F065 BEQ $1B27 C0/1AC2: BF02BBDF LDA $DFBB02,X C0/1AC6: 8D641F STA $1F64 C0/1AC9: 29FF01 AND #$01FF C0/1ACC: C90300 CMP #$0003 C0/1ACF: B015 BCS $1AE6 C0/1AD1: BF04BBDF LDA $DFBB04,X C0/1AD5: 8D601F STA $1F60 C0/1AD8: 7B TDC C0/1AD9: E220 SEP #$20 (8 bit accum./memory) C0/1ADB: A901 LDA #$01 C0/1ADD: 8584 STA $84 C0/1ADF: 20886E JSR $6E88 C0/1AE2: 20560F JSR $0F56 (JMP fool!) C0/1AE5: 60 RTS C0/1AE6: BF04BBDF LDA $DFBB04,X C0/1AEA: 8DC01F STA $1FC0 C0/1AED: 7B TDC C0/1AEE: E220 SEP #$20 (8 bit accum./memory) C0/1AF0: BF03BBDF LDA $DFBB03,X C0/1AF4: 4A LSR A C0/1AF5: 4A LSR A C0/1AF6: 4A LSR A C0/1AF7: 4A LSR A C0/1AF8: 2903 AND #$03 C0/1AFA: 8D4307 STA $0743 C0/1AFD: BF03BBDF LDA $DFBB03,X C0/1B01: 2908 AND #$08 C0/1B03: 8D4507 STA $0745 (set location name to appear when map loads) C0/1B06: A901 LDA #$01 C0/1B08: 8D4407 STA $0744 C0/1B0B: BF03BBDF LDA $DFBB03,X C0/1B0F: 2904 AND #$04 C0/1B11: F004 BEQ $1B17 C0/1B13: 4A LSR A C0/1B14: 8D4407 STA $0744 C0/1B17: 20560F JSR $0F56 C0/1B1A: A980 LDA #$80 C0/1B1C: 8DFA11 STA $11FA C0/1B1F: A901 LDA #$01 C0/1B21: 8584 STA $84 C0/1B23: 20886E JSR $6E88 (JMP fool!) C0/1B26: 60 RTS C0/1B27: 20461A JSR $1A46 C0/1B2A: C220 REP #$20 (16 bit accum./memory) C0/1B2C: BF02BBDF LDA $DFBB02,X C0/1B30: 2900FE AND #$FE00 C0/1B33: 0D691F ORA $1F69 (add in bits from the parent map) C0/1B36: 8D641F STA $1F64 (set as the current map, flags and all) C0/1B39: 7B TDC C0/1B3A: E220 SEP #$20 (8 bit accum./memory) C0/1B3C: AE691F LDX $1F69 (parent map) C0/1B3F: E00300 CPX #$0003 (is parent map darkness or greater?) C0/1B42: B00E BCS $1B52 (branch if so) C0/1B44: AC6B1F LDY $1F6B C0/1B47: 8C601F STY $1F60 C0/1B4A: A901 LDA #$01 C0/1B4C: 8584 STA $84 C0/1B4E: 20560F JSR $0F56 (JMP fool!) C0/1B51: 60 RTS C0/1B52: AD681F LDA $1F68 C0/1B55: 8D4307 STA $0743 C0/1B58: AC6B1F LDY $1F6B C0/1B5B: 8C661F STY $1F66 C0/1B5E: BF03BBDF LDA $DFBB03,X C0/1B62: 2908 AND #$08 C0/1B64: 8D4507 STA $0745 (set location name to appear when map loads) C0/1B67: A980 LDA #$80 C0/1B69: 8DFA11 STA $11FA C0/1B6C: A901 LDA #$01 C0/1B6E: 8584 STA $84 C0/1B70: 20560F JSR $0F56 C0/1B73: 20886E JSR $6E88 (JMP fool!) C0/1B76: 60 RTS C0/1B77: 7B TDC C0/1B78: E220 SEP #$20 (8 bit accum./memory) C0/1B7A: 60 RTS C0/1B7B: C220 REP #$20 (from C0/BF76)(16 bit accum./memory) C0/1B7D: AD4105 LDA $0541 C0/1B80: 29FF00 AND #$00FF C0/1B83: 38 SEC C0/1B84: E90700 SBC #$0007 C0/1B87: 0A ASL A C0/1B88: 0A ASL A C0/1B89: 0A ASL A C0/1B8A: 0A ASL A C0/1B8B: 855C STA $5C C0/1B8D: AD4205 LDA $0542 C0/1B90: 29FF00 AND #$00FF C0/1B93: 38 SEC C0/1B94: E90700 SBC #$0007 C0/1B97: 0A ASL A C0/1B98: 0A ASL A C0/1B99: 0A ASL A C0/1B9A: 0A ASL A C0/1B9B: 8560 STA $60 C0/1B9D: 7B TDC C0/1B9E: E220 SEP #$20 (8 bit accum./memory) C0/1BA0: AD5305 LDA $0553 C0/1BA3: 8D0242 STA $4202 C0/1BA6: AD4105 LDA $0541 C0/1BA9: 8D0342 STA $4203 C0/1BAC: A588 LDA $88 C0/1BAE: C220 REP #$20 (16 bit accum./memory) C0/1BB0: 0A ASL A C0/1BB1: 0A ASL A C0/1BB2: 0A ASL A C0/1BB3: 0A ASL A C0/1BB4: 090F00 ORA #$000F C0/1BB7: 851E STA $1E C0/1BB9: AD3205 LDA $0532 C0/1BBC: 29FF00 AND #$00FF C0/1BBF: 0A ASL A C0/1BC0: 0A ASL A C0/1BC1: 0A ASL A C0/1BC2: 0A ASL A C0/1BC3: 18 CLC C0/1BC4: 6D1642 ADC $4216 C0/1BC7: 8520 STA $20 C0/1BC9: 4A LSR A C0/1BCA: 4A LSR A C0/1BCB: 4A LSR A C0/1BCC: 4A LSR A C0/1BCD: E220 SEP #$20 (8 bit accum./memory) C0/1BCF: 2588 AND $88 C0/1BD1: 8D4305 STA $0543 C0/1BD4: C220 REP #$20 (16 bit accum./memory) C0/1BD6: A520 LDA $20 C0/1BD8: 38 SEC C0/1BD9: E97000 SBC #$0070 C0/1BDC: 251E AND $1E C0/1BDE: 8564 STA $64 C0/1BE0: 7B TDC C0/1BE1: E220 SEP #$20 (8 bit accum./memory) C0/1BE3: AD5405 LDA $0554 C0/1BE6: 8D0242 STA $4202 C0/1BE9: AD4205 LDA $0542 C0/1BEC: 8D0342 STA $4203 C0/1BEF: A589 LDA $89 C0/1BF1: C220 REP #$20 (16 bit accum./memory) C0/1BF3: 0A ASL A C0/1BF4: 0A ASL A C0/1BF5: 0A ASL A C0/1BF6: 0A ASL A C0/1BF7: 090F00 ORA #$000F C0/1BFA: 851E STA $1E C0/1BFC: AD3305 LDA $0533 C0/1BFF: 29FF00 AND #$00FF C0/1C02: 0A ASL A C0/1C03: 0A ASL A C0/1C04: 0A ASL A C0/1C05: 0A ASL A C0/1C06: 18 CLC C0/1C07: 6D1642 ADC $4216 C0/1C0A: 8520 STA $20 C0/1C0C: 4A LSR A C0/1C0D: 4A LSR A C0/1C0E: 4A LSR A C0/1C0F: 4A LSR A C0/1C10: E220 SEP #$20 (8 bit accum./memory) C0/1C12: 2589 AND $89 C0/1C14: 8D4405 STA $0544 C0/1C17: C220 REP #$20 (16 bit accum./memory) C0/1C19: A520 LDA $20 C0/1C1B: 38 SEC C0/1C1C: E97000 SBC #$0070 C0/1C1F: 251E AND $1E C0/1C21: 8568 STA $68 C0/1C23: 7B TDC C0/1C24: E220 SEP #$20 (8 bit accum./memory) C0/1C26: AD5505 LDA $0555 C0/1C29: 8D0242 STA $4202 C0/1C2C: AD4105 LDA $0541 C0/1C2F: 8D0342 STA $4203 C0/1C32: A58A LDA $8A C0/1C34: C220 REP #$20 (16 bit accum./memory) C0/1C36: 0A ASL A C0/1C37: 0A ASL A C0/1C38: 0A ASL A C0/1C39: 0A ASL A C0/1C3A: 090F00 ORA #$000F C0/1C3D: 851E STA $1E C0/1C3F: AD3405 LDA $0534 C0/1C42: 29FF00 AND #$00FF C0/1C45: 0A ASL A C0/1C46: 0A ASL A C0/1C47: 0A ASL A C0/1C48: 0A ASL A C0/1C49: 18 CLC C0/1C4A: 6D1642 ADC $4216 C0/1C4D: 8520 STA $20 C0/1C4F: 4A LSR A C0/1C50: 4A LSR A C0/1C51: 4A LSR A C0/1C52: 4A LSR A C0/1C53: E220 SEP #$20 (8 bit accum./memory) C0/1C55: 258A AND $8A C0/1C57: 8D4505 STA $0545 C0/1C5A: C220 REP #$20 (16 bit accum./memory) C0/1C5C: A520 LDA $20 C0/1C5E: 38 SEC C0/1C5F: E97000 SBC #$0070 C0/1C62: 251E AND $1E C0/1C64: 856C STA $6C C0/1C66: 7B TDC C0/1C67: E220 SEP #$20 (8 bit accum./memory) C0/1C69: AD5605 LDA $0556 C0/1C6C: 8D0242 STA $4202 C0/1C6F: AD4205 LDA $0542 C0/1C72: 8D0342 STA $4203 C0/1C75: A58B LDA $8B C0/1C77: C220 REP #$20 (16 bit accum./memory) C0/1C79: 0A ASL A C0/1C7A: 0A ASL A C0/1C7B: 0A ASL A C0/1C7C: 0A ASL A C0/1C7D: 090F00 ORA #$000F C0/1C80: 851E STA $1E C0/1C82: AD3505 LDA $0535 C0/1C85: 29FF00 AND #$00FF C0/1C88: 0A ASL A C0/1C89: 0A ASL A C0/1C8A: 0A ASL A C0/1C8B: 0A ASL A C0/1C8C: 18 CLC C0/1C8D: 6D1642 ADC $4216 C0/1C90: 8520 STA $20 C0/1C92: 4A LSR A C0/1C93: 4A LSR A C0/1C94: 4A LSR A C0/1C95: 4A LSR A C0/1C96: E220 SEP #$20 (8 bit accum./memory) C0/1C98: 258B AND $8B C0/1C9A: 8D4605 STA $0546 C0/1C9D: C220 REP #$20 (16 bit accum./memory) C0/1C9F: A520 LDA $20 C0/1CA1: 38 SEC C0/1CA2: E97000 SBC #$0070 C0/1CA5: 251E AND $1E C0/1CA7: 8570 STA $70 C0/1CA9: 7B TDC C0/1CAA: E220 SEP #$20 (8 bit accum./memory) C0/1CAC: 60 RTS C0/1CAD: C220 REP #$20 (16 bit accum./memory) C0/1CAF: A582 LDA $82 C0/1CB1: 0A ASL A C0/1CB2: 0A ASL A C0/1CB3: 0A ASL A C0/1CB4: 0A ASL A C0/1CB5: 0A ASL A C0/1CB6: 18 CLC C0/1CB7: 6582 ADC $82 C0/1CB9: AA TAX C0/1CBA: 7B TDC C0/1CBB: E220 SEP #$20 (8 bit accum./memory) C0/1CBD: A400 LDY $00 C0/1CBF: BF008FED LDA $ED8F00,X C0/1CC3: 992005 STA $0520,Y C0/1CC6: E8 INX C0/1CC7: C8 INY C0/1CC8: C02100 CPY #$0021 C0/1CCB: D0F2 BNE $1CBF C0/1CCD: 60 RTS C0/1CCE: AD2405 LDA $0524 (from C0/BF73) C0/1CD1: 0A ASL A C0/1CD2: AA TAX C0/1CD3: C221 REP #$21 C0/1CD5: BF10CDD9 LDA $D9CD10,X (pointers to location tile properties) C0/1CD9: 6900A8 ADC #$A800 C0/1CDC: 85F3 STA $F3 C0/1CDE: 7B TDC C0/1CDF: E220 SEP #$20 (8 bit accum./memory) C0/1CE1: A9D9 LDA #$D9 C0/1CE3: 85F5 STA $F5 C0/1CE5: A20076 LDX #$7600 C0/1CE8: 86F6 STX $F6 C0/1CEA: A97E LDA #$7E C0/1CEC: 85F8 STA $F8 C0/1CEE: 226C04C0 JSL $C0046C (LZ decompression) C0/1CF2: 60 RTS C0/1CF3: 9C0B42 STZ $420B (turn off DMA) C0/1CF6: A980 LDA #$80 C0/1CF8: 8D1521 STA $2115 C0/1CFB: A691 LDX $91 C0/1CFD: 8E1621 STX $2116 C0/1D00: A941 LDA #$41 C0/1D02: 8D0043 STA $4300 C0/1D05: A918 LDA #$18 C0/1D07: 8D0143 STA $4301 C0/1D0A: A2C0D9 LDX #$D9C0 C0/1D0D: 8E0243 STX $4302 C0/1D10: A97F LDA #$7F C0/1D12: 8D0443 STA $4304 C0/1D15: 8D0743 STA $4307 C0/1D18: A20004 LDX #$0400 C0/1D1B: 8E0543 STX $4305 C0/1D1E: A901 LDA #$01 C0/1D20: 8D0B42 STA $420B (turn on channel 1 of DMA) C0/1D23: 60 RTS C0/1D24: 9C0B42 STZ $420B (turn off DMA) C0/1D27: A980 LDA #$80 C0/1D29: 8D1521 STA $2115 C0/1D2C: C220 REP #$20 (16 bit accum./memory) C0/1D2E: AD9100 LDA $0091 C0/1D31: 18 CLC C0/1D32: 690002 ADC #$0200 C0/1D35: 8D1621 STA $2116 C0/1D38: 7B TDC C0/1D39: E220 SEP #$20 (8 bit accum./memory) C0/1D3B: A941 LDA #$41 C0/1D3D: 8D0043 STA $4300 C0/1D40: A918 LDA #$18 C0/1D42: 8D0143 STA $4301 C0/1D45: A2C0DD LDX #$DDC0 C0/1D48: 8E0243 STX $4302 C0/1D4B: A97F LDA #$7F C0/1D4D: 8D0443 STA $4304 C0/1D50: 8D0743 STA $4307 C0/1D53: A20004 LDX #$0400 C0/1D56: 8E0543 STX $4305 C0/1D59: A901 LDA #$01 C0/1D5B: 8D0B42 STA $420B C0/1D5E: 60 RTS C0/1D5F: 9C0B42 STZ $420B (turn off DMA) C0/1D62: A980 LDA #$80 C0/1D64: 8D1521 STA $2115 C0/1D67: A697 LDX $97 C0/1D69: 8E1621 STX $2116 C0/1D6C: A941 LDA #$41 C0/1D6E: 8D0043 STA $4300 C0/1D71: A918 LDA #$18 C0/1D73: 8D0143 STA $4301 C0/1D76: A2C0E1 LDX #$E1C0 C0/1D79: 8E0243 STX $4302 C0/1D7C: A97F LDA #$7F C0/1D7E: 8D0443 STA $4304 C0/1D81: 8D0743 STA $4307 C0/1D84: A20004 LDX #$0400 C0/1D87: 8E0543 STX $4305 C0/1D8A: A901 LDA #$01 C0/1D8C: 8D0B42 STA $420B C0/1D8F: 60 RTS C0/1D90: 9C0B42 STZ $420B (turn off DMA) C0/1D93: A980 LDA #$80 C0/1D95: 8D1521 STA $2115 C0/1D98: C220 REP #$20 (16 bit accum./memory) C0/1D9A: AD9700 LDA $0097 C0/1D9D: 18 CLC C0/1D9E: 690002 ADC #$0200 C0/1DA1: 8D1621 STA $2116 C0/1DA4: 7B TDC C0/1DA5: E220 SEP #$20 (8 bit accum./memory) C0/1DA7: A941 LDA #$41 C0/1DA9: 8D0043 STA $4300 C0/1DAC: A918 LDA #$18 C0/1DAE: 8D0143 STA $4301 C0/1DB1: A2C0E5 LDX #$E5C0 C0/1DB4: 8E0243 STX $4302 C0/1DB7: A97F LDA #$7F C0/1DB9: 8D0443 STA $4304 C0/1DBC: 8D0743 STA $4307 C0/1DBF: A20004 LDX #$0400 C0/1DC2: 8E0543 STX $4305 C0/1DC5: A901 LDA #$01 C0/1DC7: 8D0B42 STA $420B C0/1DCA: 60 RTS C0/1DCB: 9C0B42 STZ $420B (turn off DMA) C0/1DCE: A980 LDA #$80 C0/1DD0: 8D1521 STA $2115 C0/1DD3: A69D LDX $9D C0/1DD5: 8E1621 STX $2116 C0/1DD8: A941 LDA #$41 C0/1DDA: 8D0043 STA $4300 C0/1DDD: A918 LDA #$18 C0/1DDF: 8D0143 STA $4301 C0/1DE2: A2C0E9 LDX #$E9C0 C0/1DE5: 8E0243 STX $4302 C0/1DE8: A97F LDA #$7F C0/1DEA: 8D0443 STA $4304 C0/1DED: 8D0743 STA $4307 C0/1DF0: A20004 LDX #$0400 C0/1DF3: 8E0543 STX $4305 C0/1DF6: A901 LDA #$01 C0/1DF8: 8D0B42 STA $420B C0/1DFB: 60 RTS C0/1DFC: 9C0B42 STZ $420B (turn off DMA) C0/1DFF: A980 LDA #$80 C0/1E01: 8D1521 STA $2115 C0/1E04: C220 REP #$20 (16 bit accum./memory) C0/1E06: AD9D00 LDA $009D C0/1E09: 18 CLC C0/1E0A: 690002 ADC #$0200 C0/1E0D: 8D1621 STA $2116 C0/1E10: 7B TDC C0/1E11: E220 SEP #$20 (8 bit accum./memory) C0/1E13: A941 LDA #$41 C0/1E15: 8D0043 STA $4300 C0/1E18: A918 LDA #$18 C0/1E1A: 8D0143 STA $4301 C0/1E1D: A2C0ED LDX #$EDC0 C0/1E20: 8E0243 STX $4302 C0/1E23: A97F LDA #$7F C0/1E25: 8D0443 STA $4304 C0/1E28: 8D0743 STA $4307 C0/1E2B: A20004 LDX #$0400 C0/1E2E: 8E0543 STX $4305 C0/1E31: A901 LDA #$01 C0/1E33: 8D0B42 STA $420B C0/1E36: 60 RTS C0/1E37: AD5A05 LDA $055A C0/1E3A: F01D BEQ $1E59 C0/1E3C: C903 CMP #$03 C0/1E3E: B019 BCS $1E59 C0/1E40: 3A DEC A C0/1E41: D00E BNE $1E51 C0/1E43: 20241D JSR $1D24 C0/1E46: A55A LDA $5A C0/1E48: 0901 ORA #$01 C0/1E4A: 855A STA $5A C0/1E4C: 9C5A05 STZ $055A C0/1E4F: 804A BRA $1E9B C0/1E51: 20F31C JSR $1CF3 C0/1E54: CE5A05 DEC $055A C0/1E57: 8042 BRA $1E9B C0/1E59: AD5B05 LDA $055B C0/1E5C: F01D BEQ $1E7B C0/1E5E: C903 CMP #$03 C0/1E60: B019 BCS $1E7B C0/1E62: 3A DEC A C0/1E63: D00E BNE $1E73 C0/1E65: 20901D JSR $1D90 C0/1E68: A55A LDA $5A C0/1E6A: 0902 ORA #$02 C0/1E6C: 855A STA $5A C0/1E6E: 9C5B05 STZ $055B C0/1E71: 8028 BRA $1E9B C0/1E73: 205F1D JSR $1D5F C0/1E76: CE5B05 DEC $055B C0/1E79: 8020 BRA $1E9B C0/1E7B: AD5C05 LDA $055C C0/1E7E: F01B BEQ $1E9B C0/1E80: C903 CMP #$03 C0/1E82: B017 BCS $1E9B C0/1E84: 3A DEC A C0/1E85: D00E BNE $1E95 C0/1E87: 20FC1D JSR $1DFC C0/1E8A: A55A LDA $5A C0/1E8C: 0904 ORA #$04 C0/1E8E: 855A STA $5A C0/1E90: 9C5C05 STZ $055C C0/1E93: 8006 BRA $1E9B C0/1E95: 20CB1D JSR $1DCB C0/1E98: CE5C05 DEC $055C C0/1E9B: AD5A05 LDA $055A C0/1E9E: 0D5B05 ORA $055B C0/1EA1: 0D5C05 ORA $055C C0/1EA4: D01D BNE $1EC3 C0/1EA6: A55A LDA $5A C0/1EA8: 2901 AND #$01 C0/1EAA: F003 BEQ $1EAF C0/1EAC: 205E3F JSR $3F5E C0/1EAF: A55A LDA $5A C0/1EB1: 2902 AND #$02 C0/1EB3: F003 BEQ $1EB8 C0/1EB5: 207E3F JSR $3F7E C0/1EB8: A55A LDA $5A C0/1EBA: 2904 AND #$04 C0/1EBC: F003 BEQ $1EC1 C0/1EBE: 209E3F JSR $3F9E C0/1EC1: 645A STZ $5A C0/1EC3: 60 RTS C0/1EC4: A97F LDA #$7F (from C0/4D48) C0/1EC6: 852F STA $2F C0/1EC8: A58F LDA $8F C0/1ECA: 852A STA $2A C0/1ECC: A590 LDA $90 C0/1ECE: 18 CLC C0/1ECF: 652B ADC $2B C0/1ED1: 852B STA $2B C0/1ED3: 852E STA $2E C0/1ED5: A400 LDY $00 C0/1ED7: B78C LDA [$8C],Y C0/1ED9: 8526 STA $26 C0/1EDB: 6427 STZ $27 C0/1EDD: C8 INY C0/1EDE: B78C LDA [$8C],Y C0/1EE0: 8528 STA $28 C0/1EE2: 8529 STA $29 C0/1EE4: C8 INY C0/1EE5: A626 LDX $26 C0/1EE7: A52A LDA $2A C0/1EE9: 852D STA $2D C0/1EEB: B78C LDA [$8C],Y C0/1EED: 872D STA [$2D] C0/1EEF: C8 INY C0/1EF0: E62D INC $2D C0/1EF2: CA DEX C0/1EF3: D0F6 BNE $1EEB C0/1EF5: E62E INC $2E C0/1EF7: C629 DEC $29 C0/1EF9: D0EA BNE $1EE5 C0/1EFB: C220 REP #$20 (16 bit accum./memory) C0/1EFD: A52A LDA $2A C0/1EFF: 29FF3F AND #$3FFF C0/1F02: 852A STA $2A C0/1F04: 7B TDC C0/1F05: E220 SEP #$20 (8 bit accum./memory) C0/1F07: 60 RTS C0/1F08: AD5A05 LDA $055A C0/1F0B: C905 CMP #$05 C0/1F0D: F004 BEQ $1F13 C0/1F0F: C903 CMP #$03 C0/1F11: B001 BCS $1F14 (branch if 3 or 4) C0/1F13: 60 RTS C0/1F14: C904 CMP #$04 C0/1F16: D008 BNE $1F20 C0/1F18: AD4205 LDA $0542 C0/1F1B: 38 SEC C0/1F1C: E907 SBC #$07 C0/1F1E: 8004 BRA $1F24 C0/1F20: AD4205 LDA $0542 C0/1F23: 1A INC A C0/1F24: 2587 AND $87 C0/1F26: 852B STA $2B C0/1F28: AD4105 LDA $0541 C0/1F2B: 38 SEC C0/1F2C: E907 SBC #$07 C0/1F2E: 2586 AND $86 C0/1F30: 852A STA $2A C0/1F32: 8520 STA $20 C0/1F34: AD8C05 LDA $058C C0/1F37: 4904 EOR #$04 C0/1F39: 8592 STA $92 C0/1F3B: 6491 STZ $91 C0/1F3D: 7B TDC C0/1F3E: E220 SEP #$20 (8 bit accum./memory) C0/1F40: A52A LDA $2A C0/1F42: 290F AND #$0F C0/1F44: 0A ASL A C0/1F45: 0A ASL A C0/1F46: 851E STA $1E C0/1F48: 641F STZ $1F C0/1F4A: A52B LDA $2B C0/1F4C: 290F AND #$0F C0/1F4E: EB XBA C0/1F4F: C220 REP #$20 (16 bit accum./memory) C0/1F51: 4A LSR A C0/1F52: 051E ORA $1E C0/1F54: 851E STA $1E C0/1F56: 7B TDC C0/1F57: E220 SEP #$20 (8 bit accum./memory) C0/1F59: A908 LDA #$08 C0/1F5B: 8528 STA $28 C0/1F5D: A97F LDA #$7F C0/1F5F: 48 PHA C0/1F60: AB PLB C0/1F61: A910 LDA #$10 C0/1F63: 851B STA $1B C0/1F65: A41E LDY $1E C0/1F67: A520 LDA $20 C0/1F69: 852A STA $2A C0/1F6B: B22A LDA ($2A) C0/1F6D: C220 REP #$20 (16 bit accum./memory) C0/1F6F: 0A ASL A C0/1F70: AA TAX C0/1F71: BD00C0 LDA $C000,X C0/1F74: 99C0D9 STA $D9C0,Y C0/1F77: BD00C2 LDA $C200,X C0/1F7A: 99C2D9 STA $D9C2,Y C0/1F7D: BD00C4 LDA $C400,X C0/1F80: 9900DA STA $DA00,Y C0/1F83: BD00C6 LDA $C600,X C0/1F86: 9902DA STA $DA02,Y C0/1F89: 98 TYA C0/1F8A: 18 CLC C0/1F8B: 690400 ADC #$0004 C0/1F8E: 29BFFF AND #$FFBF C0/1F91: A8 TAY C0/1F92: 7B TDC C0/1F93: E220 SEP #$20 (8 bit accum./memory) C0/1F95: A52A LDA $2A C0/1F97: 1A INC A C0/1F98: 2586 AND $86 C0/1F9A: 852A STA $2A C0/1F9C: C61B DEC $1B C0/1F9E: D0CB BNE $1F6B C0/1FA0: A52B LDA $2B C0/1FA2: 1A INC A C0/1FA3: 2587 AND $87 C0/1FA5: 852B STA $2B C0/1FA7: C221 REP #$21 C0/1FA9: A51E LDA $1E C0/1FAB: 698000 ADC #$0080 C0/1FAE: 29FF07 AND #$07FF C0/1FB1: 851E STA $1E C0/1FB3: 7B TDC C0/1FB4: E220 SEP #$20 (8 bit accum./memory) C0/1FB6: C628 DEC $28 C0/1FB8: D0A7 BNE $1F61 C0/1FBA: A900 LDA #$00 C0/1FBC: 48 PHA C0/1FBD: AB PLB C0/1FBE: CE5A05 DEC $055A C0/1FC1: 60 RTS C0/1FC2: AD5B05 LDA $055B C0/1FC5: C905 CMP #$05 C0/1FC7: F004 BEQ $1FCD C0/1FC9: C903 CMP #$03 C0/1FCB: B001 BCS $1FCE C0/1FCD: 60 RTS C0/1FCE: C904 CMP #$04 C0/1FD0: D008 BNE $1FDA C0/1FD2: AD4405 LDA $0544 C0/1FD5: 38 SEC C0/1FD6: E907 SBC #$07 C0/1FD8: 8004 BRA $1FDE C0/1FDA: AD4405 LDA $0544 C0/1FDD: 1A INC A C0/1FDE: 2589 AND $89 C0/1FE0: 18 CLC C0/1FE1: 6940 ADC #$40 C0/1FE3: 852B STA $2B C0/1FE5: AD4305 LDA $0543 C0/1FE8: 38 SEC C0/1FE9: E907 SBC #$07 C0/1FEB: 2588 AND $88 C0/1FED: 852A STA $2A C0/1FEF: 8520 STA $20 C0/1FF1: AD8E05 LDA $058E C0/1FF4: 4904 EOR #$04 C0/1FF6: 8598 STA $98 C0/1FF8: 6497 STZ $97 C0/1FFA: 7B TDC C0/1FFB: E220 SEP #$20 (8 bit accum./memory) C0/1FFD: A52A LDA $2A C0/1FFF: 290F AND #$0F C0/2001: 0A ASL A C0/2002: 0A ASL A C0/2003: 851E STA $1E C0/2005: 641F STZ $1F C0/2007: A52B LDA $2B C0/2009: 290F AND #$0F C0/200B: EB XBA C0/200C: C220 REP #$20 (16 bit accum./memory) C0/200E: 4A LSR A C0/200F: 051E ORA $1E C0/2011: 851E STA $1E C0/2013: 7B TDC C0/2014: E220 SEP #$20 (8 bit accum./memory) C0/2016: A908 LDA #$08 C0/2018: 8528 STA $28 C0/201A: A97F LDA #$7F C0/201C: 48 PHA C0/201D: AB PLB C0/201E: A910 LDA #$10 C0/2020: 851B STA $1B C0/2022: A41E LDY $1E C0/2024: A520 LDA $20 C0/2026: 852A STA $2A C0/2028: B22A LDA ($2A) C0/202A: C220 REP #$20 (16 bit accum./memory) C0/202C: 0A ASL A C0/202D: AA TAX C0/202E: BD00C8 LDA $C800,X C0/2031: 99C0E1 STA $E1C0,Y C0/2034: BD00CA LDA $CA00,X C0/2037: 99C2E1 STA $E1C2,Y C0/203A: BD00CC LDA $CC00,X C0/203D: 9900E2 STA $E200,Y C0/2040: BD00CE LDA $CE00,X C0/2043: 9902E2 STA $E202,Y C0/2046: 98 TYA C0/2047: 18 CLC C0/2048: 690400 ADC #$0004 C0/204B: 29BFFF AND #$FFBF C0/204E: A8 TAY C0/204F: 7B TDC C0/2050: E220 SEP #$20 (8 bit accum./memory) C0/2052: A52A LDA $2A C0/2054: 1A INC A C0/2055: 2588 AND $88 C0/2057: 852A STA $2A C0/2059: C61B DEC $1B C0/205B: D0CB BNE $2028 C0/205D: A52B LDA $2B C0/205F: 1A INC A C0/2060: 2589 AND $89 C0/2062: 0940 ORA #$40 C0/2064: 852B STA $2B C0/2066: C221 REP #$21 C0/2068: A51E LDA $1E C0/206A: 698000 ADC #$0080 C0/206D: 29FF07 AND #$07FF C0/2070: 851E STA $1E C0/2072: 7B TDC C0/2073: E220 SEP #$20 (8 bit accum./memory) C0/2075: C628 DEC $28 C0/2077: D0A5 BNE $201E C0/2079: A900 LDA #$00 C0/207B: 48 PHA C0/207C: AB PLB C0/207D: CE5B05 DEC $055B C0/2080: 60 RTS