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 C2F: Difference between revisions
< Final Fantasy VI | ROM map
Jump to navigation
Jump to search
(clean up) |
m (add missing byte and comment about similarity to decompression routine at C0/046C) |
||
Line 1,660: | Line 1,660: | ||
in Bank 7F, from Offsets F800h to FFFFh. The initial offset written to is FFDEh, | in Bank 7F, from Offsets F800h to FFFFh. The initial offset written to is FFDEh, | ||
wrapping to F800h after FFFFh is passed, going up to FFFFh again and wrapping to | wrapping to F800h after FFFFh is passed, going up to FFFFh again and wrapping to | ||
F800h as needed, etc.) | F800h as needed, etc. | ||
Note that except for the direct page register save/set/restore, this routine is identical to C0/046C.) | |||
(Input block format: | (Input block format: | ||
Line 1,718: | Line 1,719: | ||
[so it's bottom bit of Bank; add to 7Eh]) | [so it's bottom bit of Bank; add to 7Eh]) | ||
C2/FF8A: A9 01 LDA #$01 | C2/FF8A: A9 01 LDA #$01 | ||
C2/FF8C: 85 | C2/FF8C: 85 FE STA $FE (setting to 1 will force us to read control byte | ||
from input data first time we hit C2/FFA2.) | from input data first time we hit C2/FFA2.) | ||
C2/FF8E: A0 02 00 LDY #$0002 (move input data pointer to first actual data byte) | C2/FF8E: A0 02 00 LDY #$0002 (move input data pointer to first actual data byte) |
Revision as of 00:45, 3 November 2015
C2/F001 unknow
C2/F001: 6F F6 22 86 ADC $8622F6 C2/F005: C3 C1 CMP $C1,S C2/F007: A2 60 LDX #$60 C2/F009: 00 22 BRK $22 C2/F00B: A7 C3 LDA [$C3] C2/F00D: C1 60 CMP ($60,X) C2/F00F: A9 03 85 LDA #$8503 C2/F012: 26 A9 ROL $A9 C2/F014: 03 20 ORA $20,S C2/F016: F8 SED C2/F017: F4 A9 04 PEA $04A9 C2/F01A: 20 E6 F6 JSR $F6E6 C2/F01D: 4C EB F9 JMP $F9EB C2/F020: A2 98 LDX #$98 C2/F022: 01 22 ORA ($22,X) C2/F024: 52 24 EOR ($24) C2/F026: C1 20 CMP ($20,X) C2/F028: 70 FA BVS $F024 C2/F02A: 4C 09 F8 JMP $F809 C2/F02D: 8B PHB C2/F02E: A9 7F 48 LDA #$487F C2/F031: AB PLB C2/F032: 7B TDC C2/F033: AA TAX C2/F034: C2 20 REP #$20 C2/F036: A9 3F 00 LDA #$003F C2/F039: 9D 00 C4 STA $C400,X C2/F03C: 9D 00 CC STA $CC00,X C2/F03F: 9D 00 D4 STA $D400,X C2/F042: 9D 00 DC STA $DC00,X C2/F045: E8 INX C2/F046: E8 INX C2/F047: E0 00 CPX #$00 C2/F049: 08 PHP C2/F04A: D0 ED BNE $F039 C2/F04C: 7B TDC C2/F04D: E2 20 SEP #$20 C2/F04F: AB PLB C2/F050: AD 8D 89 LDA $898D C2/F053: 29 FE 8D AND #$8DFE C2/F056: 8D 89 A2 STA $A289 C2/F059: 00 01 BRK $01 C2/F05B: 8E C4 E9 STX $E9C4 C2/F05E: 8E CA E9 STX $E9CA C2/F061: 7B TDC C2/F062: AA TAX C2/F063: 8E C6 E9 STX $E9C6 C2/F066: 8E C8 E9 STX $E9C8 C2/F069: 8E CC E9 STX $E9CC C2/F06C: 8E CE E9 STX $E9CE C2/F06F: 60 RTS C2/F070: 20 2D F0 JSR $F02D C2/F073: A2 8B LDX #$8B C2/F075: 01 DA ORA ($DA,X) C2/F077: 22 00 24 C1 JSR $C12400 C2/F07B: 20 70 FA JSR $FA70 C2/F07E: 22 C6 9E C1 JSR $C19EC6 C2/F082: FA PLX C2/F083: 22 80 24 C1 JSR $C12480 C2/F087: 20 87 FA JSR $FA87 C2/F08A: EE B0 62 INC $62B0 C2/F08D: 60 RTS C2/F08E: A2 89 LDX #$89 C2/F090: 01 22 ORA ($22,X) C2/F092: 52 24 EOR ($24) C2/F094: C1 20 CMP ($20,X) C2/F096: 70 FA BVS $F092 C2/F098: 7B TDC C2/F099: A8 TAY C2/F09A: AA TAX C2/F09B: BD 39 6A LDA $6A39,X C2/F09E: 9D 38 6A STA $6A38,X C2/F0A1: C2 20 REP #$20 C2/F0A3: BD 82 6F LDA $6F82,X C2/F0A6: 9D 7E 6F STA $6F7E,X C2/F0A9: BD 84 6F LDA $6F84,X C2/F0AC: 9D 80 6F STA $6F80,X C2/F0AF: 8A TXA C2/F0B0: 18 CLC C2/F0B1: 69 80 00 ADC #$0080 C2/F0B4: AA TAX C2/F0B5: 7B TDC C2/F0B6: E2 20 SEP #$20 C2/F0B8: C8 INY C2/F0B9: E0 00 CPX #$00 C2/F0BB: 02 D0 COP $D0 C2/F0BD: DD 4C 09 CMP $094C,X C2/F0C0: F8 SED C2/F0C1: A2 86 LDX #$86 C2/F0C3: 01 22 ORA ($22,X) C2/F0C5: 80 24 BRA $F0EB C2/F0C7: C1 20 CMP ($20,X) C2/F0C9: 87 FA STA [$FA] C2/F0CB: 20 1B FA JSR $FA1B C2/F0CE: 20 4F FA JSR $FA4F C2/F0D1: A9 CC 8F LDA #$8FCC C2/F0D4: 24 21 BIT $21 C2/F0D6: 00 9C BRK $9C C2/F0D8: 1B TCS C2/F0D9: 96 4C STX $4C,Y C2/F0DB: 09 F8 A9 ORA #$A9F8 C2/F0DE: 02 20 COP $20 C2/F0E0: 6F F6 A2 8D ADC $8DA2F6 C2/F0E4: 01 22 ORA ($22,X) C2/F0E6: 52 24 EOR ($24) C2/F0E8: C1 20 CMP ($20,X) C2/F0EA: 70 FA BVS $F0E6 C2/F0EC: 20 4F FA JSR $FA4F C2/F0EF: A9 CC 8F LDA #$8FCC C2/F0F2: 24 21 BIT $21 C2/F0F4: 00 9C BRK $9C C2/F0F6: 1B TCS C2/F0F7: 96 60 STX $60,Y C2/F0F9: A2 99 LDX #$99 C2/F0FB: 01 22 ORA ($22,X) C2/F0FD: 80 24 BRA $F123 C2/F0FF: C1 20 CMP ($20,X) C2/F101: 87 FA STA [$FA] C2/F103: 20 1B FA JSR $FA1B C2/F106: 4C 09 F8 JMP $F809 C2/F109: A2 95 LDX #$95 C2/F10B: 01 22 ORA ($22,X) C2/F10D: 52 24 EOR ($24) C2/F10F: C1 20 CMP ($20,X) C2/F111: 70 FA BVS $F10D C2/F113: 20 3E F6 JSR $F63E C2/F116: 4C 33 FA JMP $FA33 C2/F119: A2 9A LDX #$9A C2/F11B: 01 22 ORA ($22,X) C2/F11D: 80 24 BRA $F143 C2/F11F: C1 20 CMP ($20,X) C2/F121: 87 FA STA [$FA] C2/F123: 20 A3 F9 JSR $F9A3 C2/F126: 4C 09 F8 JMP $F809 C2/F129: A2 97 LDX #$97 C2/F12B: 01 22 ORA ($22,X) C2/F12D: 80 24 BRA $F153 C2/F12F: C1 20 CMP ($20,X) C2/F131: 87 FA STA [$FA] C2/F133: 20 97 F9 JSR $F997 C2/F136: 20 4F FA JSR $FA4F C2/F139: A9 3C 8F LDA #$8F3C C2/F13C: 23 21 AND $21,S C2/F13E: 00 9C BRK $9C C2/F140: 1B TCS C2/F141: 96 AD STX $AD,Y C2/F143: 6F 89 29 F7 ADC $F72989 C2/F147: 8D 6F 89 STA $896F C2/F14A: 4C 09 F8 JMP $F809 C2/F14D: A2 91 LDX #$91 C2/F14F: 01 22 ORA ($22,X) C2/F151: 80 24 BRA $F177 C2/F153: C1 20 CMP ($20,X) C2/F155: 87 FA STA [$FA] C2/F157: 20 27 FA JSR $FA27 C2/F15A: 20 4F FA JSR $FA4F C2/F15D: A9 3C 8F LDA #$8F3C C2/F160: 23 21 AND $21,S C2/F162: 00 A9 BRK $A9 C2/F164: 04 8D TSB $8D C2/F166: 1B TCS C2/F167: 96 4C STX $4C,Y C2/F169: 09 F8 A2 ORA #$A2F8 C2/F16C: 93 01 STA ($01,S),Y C2/F16E: 22 80 24 C1 JSR $C12480 C2/F172: 20 87 FA JSR $FA87 C2/F175: 4C 09 F8 JMP $F809 C2/F178: 86 10 STX $10 C2/F17A: 7B TDC C2/F17B: AA TAX C2/F17C: C2 20 REP #$20 C2/F17E: 7B TDC C2/F17F: AA TAX C2/F180: A9 08 F7 LDA #$F708 C2/F183: 9D 21 9A STA $9A21,X C2/F186: E8 INX C2/F187: E8 INX C2/F188: E8 INX C2/F189: E8 INX C2/F18A: E4 10 CPX $10 C2/F18C: D0 F5 BNE $F183 C2/F18E: 7B TDC C2/F18F: E2 20 SEP #$20 C2/F191: EE 97 61 INC $6197 C2/F194: 60 RTS C2/F195: A2 8E LDX #$8E C2/F197: 01 22 ORA ($22,X) C2/F199: 52 24 EOR ($24) C2/F19B: C1 20 CMP ($20,X) C2/F19D: 70 FA BVS $F199 C2/F19F: 20 0F FA JSR $FA0F C2/F1A2: 22 86 C3 C1 JSR $C1C386 C2/F1A6: A2 81 LDX #$81 C2/F1A8: 00 22 BRK $22 C2/F1AA: A7 C3 LDA [$C3] C2/F1AC: C1 20 CMP ($20,X) C2/F1AE: 4F FA A9 3C EOR $3CA9FA C2/F1B2: 8F 23 21 00 STA $002123 C2/F1B6: A2 00 LDX #$00 C2/F1B8: 02 20 COP $20 C2/F1BA: 78 SEI C2/F1BB: F1 20 SBC ($20),Y C2/F1BD: CA DEX C2/F1BE: F1 AD SBC ($AD),Y C2/F1C0: 6F 89 29 F7 ADC $F72989 C2/F1C4: 8D 6F 89 STA $896F C2/F1C7: 4C 09 F8 JMP $F809 C2/F1CA: 9C 56 6F STZ $6F56 C2/F1CD: A2 20 LDX #$20 C2/F1CF: 05 BD ORA $BD C2/F1D1: 2E 6A 9D ROL $9D6A C2/F1D4: 3E 6A 9D ROL $9D6A,X C2/F1D7: 4E 6A BD LSR $BD6A C2/F1DA: 7E 6F 9D ROR $9D6F,X C2/F1DD: 8E 6F 9D STX $9D6F C2/F1E0: 9E 6F BD STZ $BD6F,X C2/F1E3: CE 74 9D DEC $9D74 C2/F1E6: DE 74 9D DEC $9D74,X C2/F1E9: EE 74 E8 INC $E874 C2/F1EC: E0 30 CPX #$30 C2/F1EE: 05 D0 ORA $D0 C2/F1F0: DF EE 66 6F CMP $6F66EE,X C2/F1F4: A9 02 8D LDA #$8D02 C2/F1F7: 76 6F ROR $6F,X C2/F1F9: 60 RTS C2/F1FA: 9C AD 62 STZ $62AD C2/F1FD: 9C AE 62 STZ $62AE C2/F200: 20 6D F6 JSR $F66D C2/F203: A2 83 LDX #$83 C2/F205: 01 22 ORA ($22,X) C2/F207: 52 24 EOR ($24) C2/F209: C1 20 CMP ($20,X) C2/F20B: 70 FA BVS $F207 C2/F20D: 20 03 FA JSR $FA03 C2/F210: 60 RTS C2/F211: A2 82 LDX #$82 C2/F213: 01 22 ORA ($22,X) C2/F215: 80 24 BRA $F23B C2/F217: C1 20 CMP ($20,X) C2/F219: 87 FA STA [$FA] C2/F21B: 20 C7 F9 JSR $F9C7 C2/F21E: 4C 09 F8 JMP $F809 C2/F221: A2 80 LDX #$80 C2/F223: 01 22 ORA ($22,X) C2/F225: 80 24 BRA $F24B C2/F227: C1 20 CMP ($20,X) C2/F229: 87 FA STA [$FA] C2/F22B: 20 EB F9 JSR $F9EB C2/F22E: 4C 09 F8 JMP $F809 C2/F231: A2 92 LDX #$92 C2/F233: 01 22 ORA ($22,X) C2/F235: 52 24 EOR ($24) C2/F237: C1 20 CMP ($20,X) C2/F239: 70 FA BVS $F235 C2/F23B: 20 EB F9 JSR $F9EB C2/F23E: 4C 09 F8 JMP $F809 C2/F241: 9C 1B 96 STZ $961B C2/F244: 20 4F FA JSR $FA4F C2/F247: A9 CC 8F LDA #$8FCC C2/F24A: 24 21 BIT $21 C2/F24C: 00 A2 BRK $A2 C2/F24E: 87 01 STA [$01] C2/F250: 22 80 24 C1 JSR $C12480 C2/F254: 20 87 FA JSR $FA87 C2/F257: 20 1B FA JSR $FA1B C2/F25A: 4C 09 F8 JMP $F809 C2/F25D: A9 06 8D LDA #$8D06 C2/F260: 1B TCS C2/F261: 96 20 STX $20,Y C2/F263: 4F FA A9 3C EOR $3CA9FA C2/F267: 8F 23 21 00 STA $002123 C2/F26B: A2 84 LDX #$84 C2/F26D: 01 22 ORA ($22,X) C2/F26F: 80 24 BRA $F295 C2/F271: C1 20 CMP ($20,X) C2/F273: 87 FA STA [$FA] C2/F275: 20 A3 F9 JSR $F9A3 C2/F278: 4C 09 F8 JMP $F809 C2/F27B: A2 85 LDX #$85 C2/F27D: 01 22 ORA ($22,X) C2/F27F: 80 24 BRA $F2A5 C2/F281: C1 20 CMP ($20,X) C2/F283: 87 FA STA [$FA] C2/F285: EE B0 62 INC $62B0 C2/F288: 60 RTS C2/F289: A2 81 LDX #$81 C2/F28B: 01 22 ORA ($22,X) C2/F28D: 80 24 BRA $F2B3 C2/F28F: C1 20 CMP ($20,X) C2/F291: 87 FA STA [$FA] C2/F293: 20 27 FA JSR $FA27 C2/F296: 4C 09 F8 JMP $F809 C2/F299: 20 AF F9 JSR $F9AF C2/F29C: 20 4F FA JSR $FA4F C2/F29F: A9 3C 8F LDA #$8F3C C2/F2A2: 23 21 AND $21,S C2/F2A4: 00 A9 BRK $A9 C2/F2A6: CC 8F 24 CPY $248F C2/F2A9: 21 00 AND ($00,X) C2/F2AB: A9 07 8D LDA #$8D07 C2/F2AE: 1B TCS C2/F2AF: 96 AD STX $AD,Y C2/F2B1: 6F 89 29 F7 ADC $F72989 C2/F2B5: 8D 6F 89 STA $896F C2/F2B8: 60 RTS C2/F2B9: 20 30 F6 JSR $F630 C2/F2BC: 4C CA F8 JMP $F8CA C2/F2BF: 20 CA F8 JSR $F8CA C2/F2C2: A2 02 LDX #$02 C2/F2C4: 84 86 STY $86 C2/F2C6: 10 A9 BPL $F271 C2/F2C8: 13 22 ORA ($22,S),Y C2/F2CA: 00 B0 BRK $B0 C2/F2CC: C1 20 CMP ($20,X) C2/F2CE: 4F FA A9 CC EOR $CCA9FA C2/F2D2: 8F 24 21 00 STA $002124 C2/F2D6: 9C 1B 96 STZ $961B C2/F2D9: 22 7E B0 C1 JSR $C1B07E C2/F2DD: AD 6F 89 LDA $896F C2/F2E0: 09 48 8D ORA #$8D48 C2/F2E3: 6F 89 7B AA ADC $AA7B89 C2/F2E7: 8E F5 4A STX $4AF5 C2/F2EA: 8E F7 4A STX $4AF7 C2/F2ED: EE AD 60 INC $60AD C2/F2F0: 60 RTS C2/F2F1: 22 9E 9A C1 JSR $C19A9E C2/F2F5: A5 10 LDA $10 C2/F2F7: 30 0B BMI $F304 C2/F2F9: 0A ASL C2/F2FA: 0A ASL C2/F2FB: 0A ASL C2/F2FC: 0A ASL C2/F2FD: 0A ASL C2/F2FE: A8 TAY C2/F2FF: A9 30 99 LDA #$9930 C2/F302: BD 61 60 LDA $6061,X C2/F305: 22 86 C3 C1 JSR $C1C386 C2/F309: 9C 67 7B STZ $7B67 C2/F30C: 22 26 02 C1 JSR $C10226 C2/F310: 22 F1 C3 C1 JSR $C1C3F1 C2/F314: AD 6F 89 LDA $896F C2/F317: 29 EF 8D AND #$8DEF C2/F31A: 6F 89 22 A1 ADC $A12289 C2/F31E: AA TAX C2/F31F: C1 A5 CMP ($A5,X) C2/F321: 12 29 ORA ($29) C2/F323: 7F 38 E9 04 ADC $04E938,X C2/F327: 20 9E FA JSR $FA9E C2/F32A: 48 PHA C2/F32B: 22 5F 1E C1 JSR $C11E5F C2/F32F: 20 F1 F2 JSR $F2F1 C2/F332: 22 22 1F C1 JSR $C11F22 C2/F336: 22 26 02 C1 JSR $C10226 C2/F33A: 68 PLA C2/F33B: 49 FF 8D EOR #$8DFF C2/F33E: AB PLB C2/F33F: 60 RTS C2/F340: AD 7D 62 LDA $627D C2/F343: 29 7F 8D AND #$8D7F C2/F346: 7D 62 A9 ADC $A962,X C2/F349: 02 8D COP $8D C2/F34B: 0E 7B 8D ASL $8D7B C2/F34E: 0F 7B 60 20 ORA $20607B C2/F352: 5D F3 A9 EOR $A9F3,X C2/F355: 06 8D ASL $8D C2/F357: 1B TCS C2/F358: 96 9C STX $9C,Y C2/F35A: AC 60 60 LDY $6060 C2/F35D: EE AC 60 INC $60AC C2/F360: 20 EB F9 JSR $F9EB C2/F363: 20 4F FA JSR $FA4F C2/F366: 9C 1B 96 STZ $961B C2/F369: A9 3C 8F LDA #$8F3C C2/F36C: 23 21 AND $21,S C2/F36E: 00 22 BRK $22 C2/F370: A1 AA LDA ($AA,X) C2/F372: C1 A5 CMP ($A5,X) C2/F374: 12 10 ORA ($10) C2/F376: 0D 29 0F ORA $0F29 C2/F379: 38 SEC C2/F37A: E9 04 0A SBC #$0A04 C2/F37D: A8 TAY C2/F37E: A9 31 99 LDA #$9931 C2/F381: DC 80 60 JMP [$6080] C2/F384: 29 03 0A AND #$0A03 C2/F387: 0A ASL C2/F388: 0A ASL C2/F389: 0A ASL C2/F38A: 0A ASL C2/F38B: A8 TAY C2/F38C: A9 30 99 LDA #$9930 C2/F38F: BD 61 60 LDA $6061,X C2/F392: A9 08 85 LDA #$8508 C2/F395: 26 A9 ROL $A9 C2/F397: 05 20 ORA $20 C2/F399: F8 SED C2/F39A: F4 A9 06 PEA $06A9 C2/F39D: 20 E6 F6 JSR $F6E6 C2/F3A0: 20 1B FA JSR $FA1B C2/F3A3: 20 4F FA JSR $FA4F C2/F3A6: A9 3C 8F LDA #$8F3C C2/F3A9: 23 21 AND $21,S C2/F3AB: 00 A9 BRK $A9 C2/F3AD: 04 8D TSB $8D C2/F3AF: 1B TCS C2/F3B0: 96 EE STX $EE,Y C2/F3B2: AC 60 60 LDY $6060 C2/F3B5: A9 08 85 LDA #$8508 C2/F3B8: 26 A9 ROL $A9 C2/F3BA: 05 20 ORA $20 C2/F3BC: F8 SED C2/F3BD: F4 A9 06 PEA $06A9 C2/F3C0: 20 E6 F6 JSR $F6E6 C2/F3C3: 20 03 FA JSR $FA03 C2/F3C6: 20 4F FA JSR $FA4F C2/F3C9: A9 3C 8F LDA #$8F3C C2/F3CC: 23 21 AND $21,S C2/F3CE: 00 A9 BRK $A9 C2/F3D0: CC 8F 24 CPY $248F C2/F3D3: 21 00 AND ($00,X) C2/F3D5: 9C 1B 96 STZ $961B C2/F3D8: 60 RTS C2/F3D9: 20 1B FA JSR $FA1B C2/F3DC: A9 CC 8F LDA #$8FCC C2/F3DF: 24 21 BIT $21 C2/F3E1: 00 20 BRK $20 C2/F3E3: 4F FA 9C 1B EOR $1B9CFA C2/F3E7: 96 60 STX $60,Y C2/F3E9: 20 DF F9 JSR $F9DF C2/F3EC: 20 4F FA JSR $FA4F C2/F3EF: A9 CC 8F LDA #$8FCC C2/F3F2: 24 21 BIT $21 C2/F3F4: 00 A9 BRK $A9 C2/F3F6: 02 8D COP $8D C2/F3F8: 1B TCS C2/F3F9: 96 60 STX $60,Y C2/F3FB: A9 00 85 LDA #$8500 C2/F3FE: 26 A9 ROL $A9 C2/F400: 02 20 COP $20 C2/F402: F8 SED C2/F403: F4 A9 03 PEA $03A9 C2/F406: 20 E6 F6 JSR $F6E6 C2/F409: AD 6F 89 LDA $896F C2/F40C: 29 F7 8D AND #$8DF7 C2/F40F: 6F 89 20 BB ADC $BB2089 C2/F413: F9 EE AC SBC $ACEE,Y C2/F416: 60 RTS C2/F417: 60 RTS C2/F418: A9 08 85 LDA #$8508 C2/F41B: 26 A9 ROL $A9 C2/F41D: 05 20 ORA $20 C2/F41F: F8 SED C2/F420: F4 A9 06 PEA $06A9 C2/F423: 20 E6 F6 JSR $F6E6 C2/F426: 20 33 FA JSR $FA33 C2/F429: 20 4F FA JSR $FA4F C2/F42C: A9 CC 8F LDA #$8FCC C2/F42F: 24 21 BIT $21 C2/F431: 00 9C BRK $9C C2/F433: 1B TCS C2/F434: 96 60 STX $60,Y C2/F436: 20 33 FA JSR $FA33 C2/F439: 20 4F FA JSR $FA4F C2/F43C: A9 3C 8F LDA #$8F3C C2/F43F: 23 21 AND $21,S C2/F441: 00 9C BRK $9C C2/F443: 1B TCS C2/F444: 96 22 STX $22,Y C2/F446: 86 C3 STX $C3 C2/F448: C1 22 CMP ($22,X) C2/F44A: 9E 9A C1 STZ $C19A,X C2/F44D: A5 10 LDA $10 C2/F44F: 22 ED C3 C1 JSR $C1C3ED C2/F453: A5 10 LDA $10 C2/F455: 29 03 0A AND #$0A03 C2/F458: 0A ASL C2/F459: 0A ASL C2/F45A: 0A ASL C2/F45B: 0A ASL C2/F45C: A8 TAY C2/F45D: A9 30 99 LDA #$9930 C2/F460: BD 61 A9 LDA $A961,X C2/F463: 02 8D COP $8D C2/F465: 0E 7B 8D ASL $8D7B C2/F468: 0F 7B 60 20 ORA $20607B C2/F46C: 33 FA AND ($FA,S),Y C2/F46E: 20 4F FA JSR $FA4F C2/F471: A9 CC 8F LDA #$8FCC C2/F474: 24 21 BIT $21 C2/F476: 00 9C BRK $9C C2/F478: 1B TCS C2/F479: 96 EE STX $EE,Y C2/F47B: AC 60 EE LDY $EE60 C2/F47E: AD 60 A9 LDA $A960 C2/F481: 02 8D COP $8D C2/F483: 0E 7B 8D ASL $8D7B C2/F486: 0F 7B 60 20 ORA $20607B C2/F48A: 33 FA AND ($FA,S),Y C2/F48C: EE AC 60 INC $60AC C2/F48F: A9 02 8D LDA #$8D02 C2/F492: 0E 7B 8D ASL $8D7B C2/F495: 0F 7B 60 20 ORA $20607B C2/F499: 9C F4 6B STZ $6BF4 C2/F49C: EE AC 60 INC $60AC C2/F49F: A9 08 8D LDA #$8D08 C2/F4A2: 0E 7B 8D ASL $8D7B C2/F4A5: 0F 7B A2 02 ORA $02A27B C2/F4A9: 01 86 ORA ($86,X) C2/F4AB: 10 A9 BPL $F456 C2/F4AD: 12 22 ORA ($22) C2/F4AF: 00 B0 BRK $B0 C2/F4B1: C1 60 CMP ($60,X) C2/F4B3: 22 9E 9A C1 JSR $C19A9E C2/F4B7: A5 10 LDA $10 C2/F4B9: C2 20 REP #$20 C2/F4BB: 0A ASL C2/F4BC: AA TAX C2/F4BD: BF 8B CE C2 LDA $C2CE8B,X C2/F4C1: 18 CLC C2/F4C2: 69 10 00 ADC #$0010 C2/F4C5: AA TAX C2/F4C6: 7B TDC C2/F4C7: E2 20 SEP #$20 C2/F4C9: 60 RTS C2/F4CA: 20 B3 F4 JSR $F4B3 C2/F4CD: A9 01 9D LDA #$9D01 C2/F4D0: 35 6A AND $6A,X C2/F4D2: 9D 45 6A STA $6A45,X C2/F4D5: 9D 55 6A STA $6A55,X C2/F4D8: A9 00 9D LDA #$9D00 C2/F4DB: D8 CLD C2/F4DC: 74 A9 STZ $A9,X C2/F4DE: 55 9D EOR $9D,X C2/F4E0: E8 INX C2/F4E1: 74 A9 STZ $A9,X C2/F4E3: AA TAX C2/F4E4: 9D F8 74 STA $74F8,X C2/F4E7: A2 02 LDX #$02 C2/F4E9: 03 86 ORA $86,S C2/F4EB: 10 A9 BPL $F496 C2/F4ED: 10 22 BPL $F511 C2/F4EF: 00 B0 BRK $B0 C2/F4F1: C1 A9 CMP ($A9,X) C2/F4F3: 04 8D TSB $8D C2/F4F5: 0F 7B 60 85 ORA $85607B C2/F4F9: 22 A5 26 85 JSR $8526A5 C2/F4FD: 28 PLP C2/F4FE: AE 3D 61 LDX $613D C2/F501: 86 12 STX $12 C2/F503: 8A TXA C2/F504: 0A ASL C2/F505: 0A ASL C2/F506: 0A ASL C2/F507: 0A ASL C2/F508: 85 12 STA $12 C2/F50A: C2 20 REP #$20 C2/F50C: A5 12 LDA $12 C2/F50E: 4A LSR C2/F50F: 4A LSR C2/F510: 4A LSR C2/F511: 4A LSR C2/F512: 85 12 STA $12 C2/F514: AD 80 60 LDA $6080 C2/F517: 4A LSR C2/F518: 4A LSR C2/F519: 4A LSR C2/F51A: 4A LSR C2/F51B: 8D 80 60 STA $6080 C2/F51E: 64 24 STZ $24 C2/F520: 7B TDC C2/F521: E2 20 SEP #$20 C2/F523: AD 80 60 LDA $6080 C2/F526: 29 01 D0 AND #$D001 C2/F529: 45 A5 EOR $A5 C2/F52B: 12 29 ORA ($29) C2/F52D: 01 F0 ORA ($F0,X) C2/F52F: 3F A5 22 85 AND $8522A5,X C2/F533: 14 A6 TRB $A6 C2/F535: 24 A9 BIT $A9 C2/F537: 01 85 ORA ($85,X) C2/F539: 1A INC C2/F53A: 86 1E STX $1E C2/F53C: A9 10 85 LDA #$8510 C2/F53F: 10 BD BPL $F4FE C2/F541: 2E 6A 9D ROL $9D6A C2/F544: 3E 6A BD ROL $BD6A,X C2/F547: 7E 6F 9D ROR $9D6F,X C2/F54A: 8E 6F BD STX $BD6F C2/F54D: CE 74 9D DEC $9D74 C2/F550: DE 74 E8 DEC $E874,X C2/F553: C6 10 DEC $10 C2/F555: D0 E9 BNE $F540 C2/F557: DA PHX C2/F558: A6 1E LDX $1E C2/F55A: A5 1A LDA $1A C2/F55C: 9D 46 6A STA $6A46,X C2/F55F: E6 1A INC $1A C2/F561: BD 35 6A LDA $6A35,X C2/F564: 18 CLC C2/F565: 65 26 ADC $26 C2/F567: 9D 45 6A STA $6A45,X C2/F56A: FA PLX C2/F56B: C6 14 DEC $14 C2/F56D: D0 CB BNE $F53A C2/F56F: 66 13 ROR $13 C2/F571: 66 12 ROR $12 C2/F573: 6E 81 60 ROR $6081 C2/F576: 6E 80 60 ROR $6080 C2/F579: C2 20 REP #$20 C2/F57B: A5 24 LDA $24 C2/F57D: 18 CLC C2/F57E: 69 80 00 ADC #$0080 C2/F581: 85 24 STA $24 C2/F583: AA TAX C2/F584: 7B TDC C2/F585: E2 20 SEP #$20 C2/F587: E0 00 CPX #$00 C2/F589: 05 D0 ORA $D0 C2/F58B: 97 60 STA [$60],Y C2/F58D: 20 33 FA JSR $FA33 C2/F590: A9 08 LDA #$08 C2/F592: 85 26 STA $26 C2/F594: A9 05 LDA #$05 C2/F596: 20 F8 F4 JSR $F4F8 C2/F599: A9 06 LDA #$06 C2/F59B: 4C E6 F6 JMP $F6E6 C2/F59E: 4C 33 FA JMP $FA33 C2/F5A1: 4C 33 FA JMP $FA33 (identical to above.. could reuse these 3 bytes if we changed the table entry that pointed here.)
C2/F5A4 unknow
C2/F5A4: A9 00 LDA #$00 C2/F5A6: 85 26 STA $26 C2/F5A8: A9 07 LDA #$07 C2/F5AA: 20 F8 F4 JSR $F4F8 C2/F5AD: A9 08 LDA #$08 C2/F5AF: 20 E6 F6 JSR $F6E6 C2/F5B2: 20 4F FA JSR $FA4F C2/F5B5: A9 3C LDA #$3C C2/F5B7: 8F 23 21 00 STA $002123 C2/F5BB: 9C 1B 96 STZ $961B C2/F5BE: 4C 27 FA JMP $FA27
C2/F5C1 unknow
C2/F5C1: EE AC 60 INC $60AC C2/F5C4: A9 00 LDA #$00 C2/F5C6: 85 26 STA $26 C2/F5C8: A9 05 LDA #$05 C2/F5CA: 20 F8 F4 JSR $F4F8 C2/F5CD: A9 06 LDA #$06 C2/F5CF: 4C E6 F6 JMP $F6E6
C2/F5D2 unknow
C2/F5D2: A0 00 28 LDY #$2800 C2/F5D5: 22 09 B1 C1 JSL $C1B109 C2/F5D9: AD 8D 89 LDA $898D C2/F5DC: 29 FE AND #$FE C2/F5DE: 8D 8D 89 STA $898D C2/F5E1: A0 03 00 LDY #$0003 C2/F5E4: B1 76 LDA ($76),Y C2/F5E6: 0A ASL C2/F5E7: AA TAX C2/F5E8: C2 20 REP #$20 C2/F5EA: BD 01 20 LDA $2001,X C2/F5ED: AA TAX C2/F5EE: 7B TDC C2/F5EF: E2 20 SEP #$20 C2/F5F1: 22 D1 24 C1 JSL $C124D1 C2/F5F5: 4C 09 F8 JMP $F809
C2/F5F8 unknow
C2/F5F8: A9 08 85 LDA #$8508 C2/F5FB: 26 A9 ROL $A9 C2/F5FD: 05 20 ORA $20 C2/F5FF: F8 SED C2/F600: F4 A9 06 PEA $06A9 C2/F603: 20 E6 F6 JSR $F6E6 C2/F606: 20 1B FA JSR $FA1B C2/F609: EE AC 60 INC $60AC C2/F60C: 60 RTS
C2/F60D unknow
C2/F60D: A9 08 85 LDA #$8508 C2/F610: 26 A9 ROL $A9 C2/F612: 05 20 ORA $20 C2/F614: F8 SED C2/F615: F4 A9 06 PEA $06A9 C2/F618: 20 E6 F6 JSR $F6E6 C2/F61B: 20 27 FA JSR $FA27 C2/F61E: 20 4F FA JSR $FA4F C2/F621: A9 3C 8F LDA #$8F3C C2/F624: 23 21 AND $21,S C2/F626: 00 A9 BRK $A9 C2/F628: 05 8D ORA $8D C2/F62A: 1B TCS C2/F62B: 96 EE STX $EE,Y C2/F62D: AC 60 60 LDY $6060 C2/F630: A9 06 85 LDA #$8506 C2/F633: 26 A9 ROL $A9 C2/F635: 05 20 ORA $20 C2/F637: F8 SED C2/F638: F4 A9 06 PEA $06A9 C2/F63B: 4C E6 F6 JMP $F6E6 C2/F63E: 64 26 STZ $26 C2/F640: A9 03 20 LDA #$2003 C2/F643: F8 SED C2/F644: F4 A9 04 PEA $04A9 C2/F647: 20 E6 F6 JSR $F6E6 C2/F64A: 4C 1B FA JMP $FA1B C2/F64D: 00 05 BRK $05 C2/F64F: 02 01 COP $01 C2/F651: 01 00 ORA ($00,X) C2/F653: 00 01 BRK $01 C2/F655: 06 03 ASL $03 C2/F657: 02 02 COP $02 C2/F659: 01 01 ORA ($01,X) C2/F65B: 20 03 FA JSR $FA03 C2/F65E: 20 4F FA JSR $FA4F C2/F661: A9 3C 8F LDA #$8F3C C2/F664: 23 21 AND $21,S C2/F666: 00 A9 BRK $A9 C2/F668: CC 8F 24 CPY $248F C2/F66B: 21 00 AND ($00,X) C2/F66D: A9 08 85 LDA #$8508 C2/F670: 26 7B ROL $7B C2/F672: AA TAX C2/F673: C2 20 REP #$20 C2/F675: AD 3D 61 LDA $613D C2/F678: A0 10 LDY #$10 C2/F67A: 00 0A BRK $0A C2/F67C: 90 01 BCC $F67F C2/F67E: E8 INX C2/F67F: 88 DEY C2/F680: D0 F9 BNE $F67B C2/F682: E0 06 CPX #$06 C2/F684: 00 90 BRK $90 C2/F686: 03 A2 ORA $A2,S C2/F688: 06 00 ASL $00 C2/F68A: 7B TDC C2/F68B: E2 20 SEP #$20 C2/F68D: A9 06 8D LDA #$8D06 C2/F690: 1B TCS C2/F691: 96 BF STX $BF,Y C2/F693: 4D F6 C2 EOR $C2F6 C2/F696: F0 05 BEQ $F69D C2/F698: DA PHX C2/F699: 20 F8 F4 JSR $F4F8 C2/F69C: FA PLX C2/F69D: BF 54 F6 C2 LDA $C2F654,X C2/F6A1: 4C E6 F6 JMP $F6E6 C2/F6A4: 20 27 FA JSR $FA27 C2/F6A7: 20 4F FA JSR $FA4F C2/F6AA: A9 3C 8F LDA #$8F3C C2/F6AD: 23 21 AND $21,S C2/F6AF: 00 9C BRK $9C C2/F6B1: 1B TCS C2/F6B2: 96 EE STX $EE,Y C2/F6B4: AC 60 A9 LDY $A960 C2/F6B7: 03 85 ORA $85,S C2/F6B9: 26 A9 ROL $A9 C2/F6BB: 05 20 ORA $20 C2/F6BD: F8 SED C2/F6BE: F4 A9 06 PEA $06A9 C2/F6C1: 4C E6 F6 JMP $F6E6 C2/F6C4: 20 3F FA JSR $FA3F C2/F6C7: A9 08 85 LDA #$8508 C2/F6CA: 26 A9 ROL $A9 C2/F6CC: 02 20 COP $20 C2/F6CE: F8 SED C2/F6CF: F4 A9 03 PEA $03A9 C2/F6D2: 4C E6 F6 JMP $F6E6 C2/F6D5: 20 1B FA JSR $FA1B C2/F6D8: A9 28 85 LDA #$8528 C2/F6DB: 26 A9 ROL $A9 C2/F6DD: 01 20 ORA ($20,X) C2/F6DF: F8 SED C2/F6E0: F4 A9 02 PEA $02A9 C2/F6E3: 4C E6 F6 JMP $F6E6 C2/F6E6: 8D 0F 7B STA $7B0F C2/F6E9: 8D 0E 7B STA $7B0E C2/F6EC: 60 RTS C2/F6ED: 20 B3 F4 JSR $F4B3 C2/F6F0: A9 01 9D LDA #$9D01 C2/F6F3: 35 6A AND $6A,X C2/F6F5: 9D 45 6A STA $6A45,X C2/F6F8: A9 09 9D LDA #$9D09 C2/F6FB: 55 6A EOR $6A,X C2/F6FD: 9D 65 6A STA $6A65,X C2/F700: A9 11 9D LDA #$9D11 C2/F703: 75 6A ADC $6A,X C2/F705: 9D 85 6A STA $6A85,X C2/F708: A9 01 9D LDA #$9D01 C2/F70B: AC 6F 9D LDY $9D6F C2/F70E: BC 6F A9 LDY $A96F,X C2/F711: 02 9D COP $9D C2/F713: CC 6F 9D CPY $9D6F C2/F716: DC 6F A9 JMP [$A96F] C2/F719: 80 9D BRA $F6B8 C2/F71B: E8 INX C2/F71C: 74 9D STZ $9D,X C2/F71E: 08 PHP C2/F71F: 75 9D ADC $9D,X C2/F721: 28 PLP C2/F722: 75 7B ADC $7B,X C2/F724: 9D D9 74 STA $74D9,X C2/F727: 9D F9 74 STA $74F9,X C2/F72A: 9D 19 75 STA $7519,X C2/F72D: A9 FF 9D LDA #$9DFF C2/F730: E9 74 9D SBC #$9D74 C2/F733: 09 75 9D ORA #$9D75 C2/F736: 29 75 20 AND #$2075 C2/F739: 41 F7 EOR ($F7,X) C2/F73B: A9 07 8D LDA #$8D07 C2/F73E: 0F 7B 60 20 ORA $20607B C2/F742: 1B TCS C2/F743: FA PLX C2/F744: 22 86 C3 C1 JSR $C1C386 C2/F748: 22 9E 9A C1 JSR $C19A9E C2/F74C: A5 10 LDA $10 C2/F74E: 22 ED C3 C1 JSR $C1C3ED C2/F752: A9 02 8D LDA #$8D02 C2/F755: 0E 7B 8D ASL $8D7B C2/F758: 0F 7B AD 6F ORA $6FAD7B C2/F75C: 89 29 F7 BIT #$F729 C2/F75F: 8D 6F 89 STA $896F C2/F762: 60 RTS C2/F763: 20 1B FA JSR $FA1B C2/F766: 20 4F FA JSR $FA4F C2/F769: A9 3C 8F LDA #$8F3C C2/F76C: 23 21 AND $21,S C2/F76E: 00 A9 BRK $A9 C2/F770: 03 8D ORA $8D,S C2/F772: 1B TCS C2/F773: 96 A9 STX $A9,Y C2/F775: 02 8D COP $8D C2/F777: 0E 7B 8D ASL $8D7B C2/F77A: 0F 7B 60 20 ORA $20607B C2/F77E: F7 F9 SBC [$F9],Y C2/F780: 20 4F FA JSR $FA4F C2/F783: A9 3C 8F LDA #$8F3C C2/F786: 23 21 AND $21,S C2/F788: 00 9C BRK $9C C2/F78A: 1B TCS C2/F78B: 96 A9 STX $A9,Y C2/F78D: 02 8D COP $8D C2/F78F: 0E 7B 8D ASL $8D7B C2/F792: 0F 7B 60 20 ORA $20607B C2/F796: D3 F9 CMP ($F9,S),Y C2/F798: A9 02 8D LDA #$8D02 C2/F79B: 0E 7B 8D ASL $8D7B C2/F79E: 0F 7B 60 20 ORA $20607B C2/F7A2: 1B TCS C2/F7A3: FA PLX C2/F7A4: 20 4F FA JSR $FA4F C2/F7A7: A9 3C 8F LDA #$8F3C C2/F7AA: 23 21 AND $21,S C2/F7AC: 00 9C BRK $9C C2/F7AE: 1B TCS C2/F7AF: 96 22 STX $22,Y C2/F7B1: 86 C3 STX $C3 C2/F7B3: C1 22 CMP ($22,X) C2/F7B5: 9E 9A C1 STZ $C19A,X C2/F7B8: A5 10 LDA $10 C2/F7BA: 22 ED C3 C1 JSR $C1C3ED C2/F7BE: A9 02 8D LDA #$8D02 C2/F7C1: 0E 7B 8D ASL $8D7B C2/F7C4: 0F 7B 60 20 ORA $20607B C2/F7C8: 27 FA AND [$FA] C2/F7CA: 20 4F FA JSR $FA4F C2/F7CD: A9 3C 8F LDA #$8F3C C2/F7D0: 23 21 AND $21,S C2/F7D2: 00 22 BRK $22 C2/F7D4: 86 C3 STX $C3 C2/F7D6: C1 22 CMP ($22,X) C2/F7D8: 9E 9A C1 STZ $C19A,X C2/F7DB: A5 10 LDA $10 C2/F7DD: 22 ED C3 C1 JSR $C1C3ED C2/F7E1: A9 02 8D LDA #$8D02 C2/F7E4: 1B TCS C2/F7E5: 96 A9 STX $A9,Y C2/F7E7: 02 8D COP $8D C2/F7E9: 0E 7B 8D ASL $8D7B C2/F7EC: 0F 7B 60 20 ORA $20607B C2/F7F0: 33 FA AND ($FA,S),Y C2/F7F2: 20 4F FA JSR $FA4F C2/F7F5: A9 CC 8F LDA #$8FCC C2/F7F8: 24 21 BIT $21 C2/F7FA: 00 A9 BRK $A9 C2/F7FC: 01 8D ORA ($8D,X) C2/F7FE: 1B TCS C2/F7FF: 96 A9 STX $A9,Y C2/F801: 02 8D COP $8D C2/F803: 0E 7B 8D ASL $8D7B C2/F806: 0F 7B 60 A9 ORA $A9607B C2/F80A: 02 8D COP $8D C2/F80C: 0E 7B 8D ASL $8D7B C2/F80F: 0F 7B 60 EE ORA $EE607B C2/F813: AA TAX C2/F814: 60 RTS C2/F815: A9 06 8D LDA #$8D06 C2/F818: 0E 7B A9 ASL $A97B C2/F81B: 02 8D COP $8D C2/F81D: 0F 7B 60 EE ORA $EE607B C2/F821: AC 60 A9 LDY $A960 C2/F824: 02 8D COP $8D C2/F826: 0F 7B 4C 3F ORA $3F4C7B C2/F82A: FA PLX C2/F82B: A9 06 8D LDA #$8D06 C2/F82E: 0E 7B 8D ASL $8D7B C2/F831: 0F 7B 4C 3F ORA $3F4C7B C2/F835: FA PLX C2/F836: 4C 3F FA JMP $FA3F C2/F839: 4C 1B FA JMP $FA1B C2/F83C: AD 6F 89 LDA $896F C2/F83F: 29 F7 8D AND #$8DF7 C2/F842: 6F 89 4C 0F ADC $0F4C89 C2/F846: FA PLX C2/F847: C2 20 REP #$20 C2/F849: AD 80 60 LDA $6080 C2/F84C: 49 FF FF EOR #$FFFF C2/F84F: 85 22 STA $22 C2/F851: AD 7E 60 LDA $607E C2/F854: 25 22 AND $22 C2/F856: 48 PHA C2/F857: 7B TDC C2/F858: E2 20 SEP #$20 C2/F85A: FA PLX C2/F85B: D0 01 BNE $F85E C2/F85D: 60 RTS C2/F85E: 9C 67 7B STZ $7B67 C2/F861: 22 86 C3 C1 JSR $C1C386 C2/F865: 22 26 02 C1 JSR $C10226 C2/F869: 22 F1 C3 C1 JSR $C1C3F1 C2/F86D: 22 7E B0 C1 JSR $C1B07E C2/F871: 22 A1 AA C1 JSR $C1AAA1 C2/F875: A5 12 LDA $12 C2/F877: 10 16 BPL $F88F C2/F879: 29 7F 38 AND #$387F C2/F87C: E9 04 20 SBC #$2004 C2/F87F: 9E FA 22 STZ $22FA,X C2/F882: 5F 1E C1 22 EOR $22C11E,X C2/F886: 22 1F C1 22 JSR $22C11F C2/F88A: 26 02 ROL $02 C2/F88C: C1 80 CMP ($80,X) C2/F88E: 1F 29 03 0A ORA $0A0329,X C2/F892: 0A ASL C2/F893: 0A ASL C2/F894: 0A ASL C2/F895: 0A ASL C2/F896: AA TAX C2/F897: 7B TDC C2/F898: A8 TAY C2/F899: BD 80 7F LDA $7F80,X C2/F89C: 99 60 7E STA $7E60,Y C2/F89F: C8 INY C2/F8A0: E8 INX C2/F8A1: C0 20 00 CPY #$0020 C2/F8A4: D0 F3 BNE $F899 C2/F8A6: AD 6F 89 LDA $896F C2/F8A9: 09 10 8D ORA #$8D10 C2/F8AC: 6F 89 AD 7D ADC $7DAD89 C2/F8B0: 62 29 7F PER $C077DC C2/F8B3: 8D 7D 62 STA $627D C2/F8B6: 20 6F F3 JSR $F36F C2/F8B9: 22 26 02 C1 JSR $C10226 C2/F8BD: AD 6F 89 LDA $896F C2/F8C0: 29 F7 09 AND #$09F7 C2/F8C3: 40 RTI C2/F8C4: 8D 6F 89 STA $896F C2/F8C7: 4C 1B FA JMP $FA1B C2/F8CA: 9C 67 7B STZ $7B67 C2/F8CD: 22 86 C3 C1 JSR $C1C386 C2/F8D1: 22 26 02 C1 JSR $C10226 C2/F8D5: 22 7E B0 C1 JSR $C1B07E C2/F8D9: 22 A1 AA C1 JSR $C1AAA1 C2/F8DD: A5 12 LDA $12 C2/F8DF: 10 44 BPL $F925 C2/F8E1: 29 7F 38 AND #$387F C2/F8E4: E9 04 20 SBC #$2004 C2/F8E7: 9E FA 48 STZ $48FA,X C2/F8EA: 85 14 STA $14 C2/F8EC: 20 54 EA JSR $EA54 C2/F8EF: AD 8D 89 LDA $898D C2/F8F2: 48 PHA C2/F8F3: 29 FE 8D AND #$8DFE C2/F8F6: 8D 89 A5 STA $A589 C2/F8F9: 14 22 TRB $22 C2/F8FB: 5F 1E C1 22 EOR $22C11E,X C2/F8FF: 22 1F C1 22 JSR $22C11F C2/F903: F1 C3 SBC ($C3),Y C2/F905: C1 22 CMP ($22,X) C2/F907: 26 02 ROL $02 C2/F909: C1 20 CMP ($20,X) C2/F90B: 54 EA AD MVN $EA,$AD C2/F90E: 6F 89 29 E7 ADC $E72989 C2/F912: 8D 6F 89 STA $896F C2/F915: 68 PLA C2/F916: 8D 8D 89 STA $898D C2/F919: 68 PLA C2/F91A: 49 FF 8D EOR #$8DFF C2/F91D: AB PLB C2/F91E: 60 RTS C2/F91F: 22 26 02 C1 JSR $C10226 C2/F923: 80 37 BRA $F95C C2/F925: 48 PHA C2/F926: 20 54 EA JSR $EA54 C2/F929: AD 8D 89 LDA $898D C2/F92C: 48 PHA C2/F92D: 29 FE 8D AND #$8DFE C2/F930: 8D 89 AD STA $AD89 C2/F933: 6F 89 29 E7 ADC $E72989 C2/F937: 09 50 8D ORA #$8D50 C2/F93A: 6F 89 22 55 ADC $552289 C2/F93E: 1E C1 68 ASL $68C1,X C2/F941: 8D 8D 89 STA $898D C2/F944: 68 PLA C2/F945: 29 03 0A AND #$0A03 C2/F948: 0A ASL C2/F949: 0A ASL C2/F94A: 0A ASL C2/F94B: 0A ASL C2/F94C: AA TAX C2/F94D: 7B TDC C2/F94E: A8 TAY C2/F94F: BD 80 7F LDA $7F80,X C2/F952: 99 60 7E STA $7E60,Y C2/F955: C8 INY C2/F956: E8 INX C2/F957: C0 20 00 CPY #$0020 C2/F95A: D0 F3 BNE $F94F C2/F95C: AD 7D 62 LDA $627D C2/F95F: 29 7F 8D AND #$8D7F C2/F962: 7D 62 4C ADC $4C62,X C2/F965: 0F FA A2 02 ORA $02A2FA C2/F969: 04 86 TSB $86 C2/F96B: 10 A9 BPL $F916 C2/F96D: 01 22 ORA ($22,X) C2/F96F: 00 B0 BRK $B0 C2/F971: C1 60 CMP ($60,X) C2/F973: A2 02 LDX #$02 C2/F975: 45 86 EOR $86 C2/F977: 10 A9 BPL $F922 C2/F979: 12 22 ORA ($22) C2/F97B: 00 B0 BRK $B0 C2/F97D: C1 60 CMP ($60,X) C2/F97F: A2 02 LDX #$02 C2/F981: 04 86 TSB $86 C2/F983: 10 A9 BPL $F92E C2/F985: 03 22 ORA $22,S C2/F987: 00 B0 BRK $B0 C2/F989: C1 60 CMP ($60,X) C2/F98B: A2 02 LDX #$02 C2/F98D: 01 86 ORA ($86,X) C2/F98F: 10 A9 BPL $F93A C2/F991: 02 22 COP $22 C2/F993: 00 B0 BRK $B0 C2/F995: C1 60 CMP ($60,X) C2/F997: A2 02 LDX #$02 C2/F999: 01 86 ORA ($86,X) C2/F99B: 10 A9 BPL $F946 C2/F99D: 14 22 TRB $22 C2/F99F: 00 B0 BRK $B0 C2/F9A1: C1 60 CMP ($60,X) C2/F9A3: A2 02 LDX #$02 C2/F9A5: 04 86 TSB $86 C2/F9A7: 10 A9 BPL $F952 C2/F9A9: 12 22 ORA ($22) C2/F9AB: 00 B0 BRK $B0 C2/F9AD: C1 60 CMP ($60,X) C2/F9AF: A2 02 LDX #$02 C2/F9B1: 41 86 EOR ($86,X) C2/F9B3: 10 A9 BPL $F95E C2/F9B5: 14 22 TRB $22 C2/F9B7: 00 B0 BRK $B0 C2/F9B9: C1 60 CMP ($60,X) C2/F9BB: A2 02 LDX #$02 C2/F9BD: 02 86 COP $86 C2/F9BF: 10 A9 BPL $F96A C2/F9C1: 04 22 TSB $22 C2/F9C3: 00 B0 BRK $B0 C2/F9C5: C1 60 CMP ($60,X) C2/F9C7: A2 02 LDX #$02 C2/F9C9: 05 86 ORA $86 C2/F9CB: 10 A9 BPL $F976 C2/F9CD: 12 22 ORA ($22) C2/F9CF: 00 B0 BRK $B0 C2/F9D1: C1 60 CMP ($60,X) C2/F9D3: A2 02 LDX #$02 C2/F9D5: 41 86 EOR ($86,X) C2/F9D7: 10 A9 BPL $F982 C2/F9D9: 12 22 ORA ($22) C2/F9DB: 00 B0 BRK $B0 C2/F9DD: C1 60 CMP ($60,X) C2/F9DF: A2 02 LDX #$02 C2/F9E1: 04 86 TSB $86 C2/F9E3: 10 A9 BPL $F98E C2/F9E5: 10 22 BPL $FA09 C2/F9E7: 00 B0 BRK $B0 C2/F9E9: C1 60 CMP ($60,X) C2/F9EB: A2 02 LDX #$02 C2/F9ED: 02 86 COP $86 C2/F9EF: 10 A9 BPL $F99A C2/F9F1: 10 22 BPL $FA15 C2/F9F3: 00 B0 BRK $B0 C2/F9F5: C1 60 CMP ($60,X) C2/F9F7: A2 02 LDX #$02 C2/F9F9: 41 86 EOR ($86,X) C2/F9FB: 10 A9 BPL $F9A6 C2/F9FD: 10 22 BPL $FA21 C2/F9FF: 00 B0 BRK $B0 C2/FA01: C1 60 CMP ($60,X) C2/FA03: A2 02 LDX #$02 C2/FA05: 04 86 TSB $86 C2/FA07: 10 A9 BPL $F9B2 C2/FA09: 11 22 ORA ($22),Y C2/FA0B: 00 B0 BRK $B0 C2/FA0D: C1 60 CMP ($60,X) C2/FA0F: A2 02 LDX #$02 C2/FA11: 01 86 ORA ($86,X) C2/FA13: 10 A9 BPL $F9BE C2/FA15: 04 22 TSB $22 C2/FA17: 00 B0 BRK $B0 C2/FA19: C1 60 CMP ($60,X) C2/FA1B: A2 02 LDX #$02 C2/FA1D: 01 86 ORA ($86,X) C2/FA1F: 10 A9 BPL $F9CA C2/FA21: 12 22 ORA ($22) C2/FA23: 00 B0 BRK $B0 C2/FA25: C1 60 CMP ($60,X) C2/FA27: A2 02 LDX #$02 C2/FA29: 01 86 ORA ($86,X) C2/FA2B: 10 A9 BPL $F9D6 C2/FA2D: 10 22 BPL $FA51 C2/FA2F: 00 B0 BRK $B0 C2/FA31: C1 60 CMP ($60,X) C2/FA33: A2 02 LDX #$02 C2/FA35: 04 86 TSB $86 C2/FA37: 10 A9 BPL $F9E2 C2/FA39: 13 22 ORA ($22,S),Y C2/FA3B: 00 B0 BRK $B0 C2/FA3D: C1 60 CMP ($60,X) C2/FA3F: A2 02 LDX #$02 C2/FA41: 03 86 ORA $86,S C2/FA43: 10 A9 BPL $F9EE C2/FA45: 10 22 BPL $FA69 C2/FA47: 00 B0 BRK $B0 C2/FA49: C1 60 CMP ($60,X) C2/FA4B: 20 4F FA JSR $FA4F C2/FA4E: 6B RTL C2/FA4F: 7B TDC C2/FA50: AA TAX C2/FA51: A8 TAY C2/FA52: A9 FF 9D LDA #$9DFF C2/FA55: 21 9A AND ($9A,X) C2/FA57: 99 1F 96 STA $961F,Y C2/FA5A: 1A INC C2/FA5B: 9D 22 9A STA $9A22,X C2/FA5E: 99 20 96 STA $9620,Y C2/FA61: C8 INY C2/FA62: C8 INY C2/FA63: E8 INX C2/FA64: E8 INX C2/FA65: E8 INX C2/FA66: E8 INX C2/FA67: E0 5C CPX #$5C C2/FA69: 02 D0 COP $D0 C2/FA6B: E6 EE INC $EE C2/FA6D: 97 61 STA [$61],Y C2/FA6F: 60 RTS C2/FA70: AE 69 61 LDX $6169 C2/FA73: 7B TDC C2/FA74: A8 TAY C2/FA75: BF 20 78 D2 LDA $D27820,X C2/FA79: 99 60 7E STA $7E60,Y C2/FA7C: 99 60 7C STA $7C60,Y C2/FA7F: E8 INX C2/FA80: C8 INY C2/FA81: C0 20 00 CPY #$0020 C2/FA84: D0 EF BNE $FA75 C2/FA86: 60 RTS C2/FA87: AE 69 61 LDX $6169 C2/FA8A: 7B TDC C2/FA8B: A8 TAY C2/FA8C: BF 20 78 D2 LDA $D27820,X C2/FA90: 99 60 7F STA $7F60,Y C2/FA93: 99 60 7D STA $7D60,Y C2/FA96: E8 INX C2/FA97: C8 INY C2/FA98: C0 20 00 CPY #$0020 C2/FA9B: D0 EF BNE $FA8C C2/FA9D: 60 RTS C2/FA9E: AA TAX C2/FA9F: BF 01 1A C1 LDA $C11A01,X C2/FAA3: 60 RTS
C2/FAA4 free space
(Blank/Free space - 457 bytes) (Note that the first 7 bytes are NOT available in FF3us 1.1) C2/FAA4: FF FF FF FF C2/FAA8: FF FF FF FF C2/FAAC: FF FF FF FF C2/FAB0: FF FF FF FF C2/FAB4: FF FF FF FF C2/FAB8: FF FF FF FF C2/FABC: FF FF FF FF C2/FAC0: FF FF FF FF C2/FAC4: FF FF FF FF C2/FAC8: FF FF FF FF C2/FACC: FF FF FF FF C2/FAD0: FF FF FF FF C2/FAD4: FF FF FF FF C2/FAD8: FF FF FF FF C2/FADC: FF FF FF FF C2/FAE0: FF FF FF FF C2/FAE4: FF FF FF FF C2/FAE8: FF FF FF FF C2/FAEC: FF FF FF FF C2/FAF0: FF FF FF FF C2/FAF4: FF FF FF FF C2/FAF8: FF FF FF FF C2/FAFC: FF FF FF FF C2/FB00: FF FF FF FF C2/FB04: FF FF FF FF C2/FB08: FF FF FF FF C2/FB0C: FF FF FF FF C2/FB10: FF FF FF FF C2/FB14: FF FF FF FF C2/FB18: FF FF FF FF C2/FB1C: FF FF FF FF C2/FB20: FF FF FF FF C2/FB24: FF FF FF FF C2/FB28: FF FF FF FF C2/FB2C: FF FF FF FF C2/FB30: FF FF FF FF C2/FB34: FF FF FF FF C2/FB38: FF FF FF FF C2/FB3C: FF FF FF FF C2/FB40: FF FF FF FF C2/FB44: FF FF FF FF C2/FB48: FF FF FF FF C2/FB4C: FF FF FF FF C2/FB50: FF FF FF FF C2/FB54: FF FF FF FF C2/FB58: FF FF FF FF C2/FB5C: FF FF FF FF C2/FB60: FF FF FF FF C2/FB64: FF FF FF FF C2/FB68: FF FF FF FF C2/FB6C: FF FF FF FF C2/FB70: FF FF FF FF C2/FB74: FF FF FF FF C2/FB78: FF FF FF FF C2/FB7C: FF FF FF FF C2/FB80: FF FF FF FF C2/FB84: FF FF FF FF C2/FB88: FF FF FF FF C2/FB8C: FF FF FF FF C2/FB90: FF FF FF FF C2/FB94: FF FF FF FF C2/FB98: FF FF FF FF C2/FB9C: FF FF FF FF C2/FBA0: FF FF FF FF C2/FBA4: FF FF FF FF C2/FBA8: FF FF FF FF C2/FBAC: FF FF FF FF C2/FBB0: FF FF FF FF C2/FBB4: FF FF FF FF C2/FBB8: FF FF FF FF C2/FBBC: FF FF FF FF C2/FBC0: FF FF FF FF C2/FBC4: FF FF FF FF C2/FBC8: FF FF FF FF C2/FBCC: FF FF FF FF C2/FBD0: FF FF FF FF C2/FBD4: FF FF FF FF C2/FBD8: FF FF FF FF C2/FBDC: FF FF FF FF C2/FBE0: FF FF FF FF C2/FBE4: FF FF FF FF C2/FBE8: FF FF FF FF C2/FBEC: FF FF FF FF C2/FBF0: FF FF FF FF C2/FBF4: FF FF FF FF C2/FBF8: FF FF FF FF C2/FBFC: FF FF FF FF C2/FC00: FF FF FF FF C2/FC04: FF FF FF FF C2/FC08: FF FF FF FF C2/FC0C: FF FF FF FF C2/FC10: FF FF FF FF C2/FC14: FF FF FF FF C2/FC18: FF FF FF FF C2/FC1C: FF FF FF FF C2/FC20: FF FF FF FF C2/FC24: FF FF FF FF C2/FC28: FF FF FF FF C2/FC2C: FF FF FF FF C2/FC30: FF FF FF FF C2/FC34: FF FF FF FF C2/FC38: FF FF FF FF C2/FC3C: FF FF FF FF C2/FC40: FF FF FF FF C2/FC44: FF FF FF FF C2/FC48: FF FF FF FF C2/FC4C: FF FF FF FF C2/FC50: FF FF FF FF C2/FC54: FF FF FF FF C2/FC58: FF FF FF FF C2/FC5C: FF FF FF FF C2/FC60: FF FF FF FF C2/FC64: FF FF FF FF C2/FC68: FF FF FF FF C2/FC6C: FF
C2/FC6D unknow
C2/FC6D: 00 00 24 C2/FC70: 03 48 ORA $48,S C2/FC72: 06 6A ASL $6A C2/FC74: 09 8C 0C ORA #$0C8C C2/FC77: AB PLB C2/FC78: 0F C8 12 E2 ORA $E212C8 C2/FC7C: 15 F9 ORA $F9,X C2/FC7E: 18 CLC C2/FC7F: 0B PHD C2/FC80: 1C 1A 1F TRB $1F1A C2/FC83: 23 22 AND $22,S C2/FC85: 28 PLP C2/FC86: 25 26 AND $26 C2/FC88: 28 PLP C2/FC89: 1F 2B 11 2E ORA $2E112B,X C2/FC8D: FB XCE C2/FC8E: 30 DF BMI $FC6F C2/FC90: 33 BA AND ($BA,S),Y C2/FC92: 36 8C ROL $8C,X C2/FC94: 39 56 3C AND $3C56,Y C2/FC97: 17 3F ORA [$3F],Y C2/FC99: CE 41 7A DEC $7A41 C2/FC9C: 44 1C 47 MVP $1C,$47 C2/FC9F: B3 49 LDA ($49,S),Y C2/FCA1: 3F 4C BF 4E AND $4EBF4C,X C2/FCA5: 33 51 AND ($51,S),Y C2/FCA7: 9B TXY C2/FCA8: 53 F5 EOR ($F5,S),Y C2/FCAA: 55 42 EOR $42,X C2/FCAC: 58 CLI C2/FCAD: 82 5A B3 BRL $C0B00A C2/FCB0: 5C D7 5E EB JMP $EB5ED7 C2/FCB4: 60 RTS C2/FCB5: F1 62 SBC ($62),Y C2/FCB7: E8 INX C2/FCB8: 64 CF STZ $CF C2/FCBA: 66 A6 ROR $A6 C2/FCBC: 68 PLA C2/FCBD: 6D 6A 23 ADC $236A C2/FCC0: 6C C9 6D JMP ($6DC9) C2/FCC3: 5E 6F E2 LSR $E26F,X C2/FCC6: 70 54 BVS $FD1C C2/FCC8: 72 B5 ADC ($B5) C2/FCCA: 73 04 ADC ($04,S),Y C2/FCCC: 75 41 ADC $41,X C2/FCCE: 76 6B ROR $6B,X C2/FCD0: 77 84 ADC [$84],Y C2/FCD2: 78 SEI C2/FCD3: 89 79 7C BIT #$7C79 C2/FCD6: 7A PLY C2/FCD7: 5C 7B 29 7C JMP $7C297B C2/FCDB: E3 7C SBC $7C,S C2/FCDD: 89 7D 1D BIT #$1D7D C2/FCE0: 7E 9C 7E ROR $7E9C,X C2/FCE3: 09 7F 61 ORA #$617F C2/FCE6: 7F A6 7F D8 ADC $D87FA6,X C2/FCEA: 7F F5 7F FF ADC $FF7FF5,X C2/FCEE: 7F F5 7F D8 ADC $D87FF5,X C2/FCF2: 7F A6 7F 61 ADC $617FA6,X C2/FCF6: 7F 09 7F 9C ADC $9C7F09,X C2/FCFA: 7E 1D 7E ROR $7E1D,X C2/FCFD: 89 7D E3 BIT #$E37D C2/FD00: 7C 29 7C JMP ($7C29,X) C2/FD03: 5C 7B 7C 7A JMP $7A7C7B C2/FD07: 89 79 84 BIT #$8479 C2/FD0A: 78 SEI C2/FD0B: 6B RTL C2/FD0C: 77 41 ADC [$41],Y C2/FD0E: 76 04 ROR $04,X C2/FD10: 75 B5 ADC $B5,X C2/FD12: 73 54 ADC ($54,S),Y C2/FD14: 72 E2 ADC ($E2) C2/FD16: 70 5E BVS $FD76 C2/FD18: 6F C9 6D 23 ADC $236DC9 C2/FD1C: 6C 6D 6A JMP ($6A6D) C2/FD1F: A6 68 LDX $68 C2/FD21: CF 66 E8 64 CMP $64E866 C2/FD25: F1 62 SBC ($62),Y C2/FD27: EB XBA C2/FD28: 60 RTS C2/FD29: D7 5E CMP [$5E],Y C2/FD2B: B3 5C LDA ($5C,S),Y C2/FD2D: 82 5A 42 BRL $C03F8A C2/FD30: 58 CLI C2/FD31: F5 55 SBC $55,X C2/FD33: 9A TXS C2/FD34: 53 33 EOR ($33,S),Y C2/FD36: 51 BF EOR ($BF),Y C2/FD38: 4E 3F 4C LSR $4C3F C2/FD3B: B3 49 LDA ($49,S),Y C2/FD3D: 1C 47 7A TRB $7A47 C2/FD40: 44 CE 41 MVP $CE,$41 C2/FD43: 17 3F ORA [$3F],Y C2/FD45: 56 3C LSR $3C,X C2/FD47: 8C 39 BA STY $BA39 C2/FD4A: 36 DE ROL $DE,X C2/FD4C: 33 FB AND ($FB,S),Y C2/FD4E: 30 11 BMI $FD61 C2/FD50: 2E 1F 2B ROL $2B1F C2/FD53: 26 28 ROL $28 C2/FD55: 28 PLP C2/FD56: 25 23 AND $23 C2/FD58: 22 1A 1F 0B JSR $0B1F1A C2/FD5C: 1C F8 18 TRB $18F8 C2/FD5F: E2 15 SEP #$15 C2/FD61: C8 INY C2/FD62: 12 AB ORA ($AB) C2/FD64: 0F 8C 0C 6A ORA $6A0C8C C2/FD68: 09 48 06 ORA #$0648 C2/FD6B: 24 03 BIT $03 C2/FD6D: 00 00 BRK $00 C2/FD6F: DC FC B8 JMP [$B8FC] C2/FD72: F9 95 F6 SBC $F695,Y C2/FD75: 74 F3 STZ $F3,X C2/FD77: 55 F0 EOR $F0,X C2/FD79: 38 SEC C2/FD7A: ED 1E EA SBC $EA1E C2/FD7D: 07 E7 ORA [$E7] C2/FD7F: F5 E3 SBC $E3,X C2/FD81: E6 E0 INC $E0 C2/FD83: DC DD D8 JMP [$D8DD] C2/FD86: DA PHX C2/FD87: D9 D7 E1 CMP $E1D7,Y C2/FD8A: D4 EF PEI $EF C2/FD8C: D1 04 CMP ($04),Y C2/FD8E: CF 21 CC 46 CMP $46CC21 C2/FD92: C9 73 C6 CMP #$C673 C2/FD95: AA TAX C2/FD96: C3 E9 CMP $E9,S C2/FD98: C0 32 BE CPY #$BE32 C2/FD9B: 86 BB STX $BB C2/FD9D: E3 B8 SBC $B8,S C2/FD9F: 4C B6 C1 JMP $C1B6 C2/FDA2: B3 41 LDA ($41,S),Y C2/FDA4: B1 CD LDA ($CD),Y C2/FDA6: AE 65 AC LDX $AC65 C2/FDA9: 0B PHD C2/FDAA: AA TAX C2/FDAB: BE A7 7E LDX $7EA7,Y C2/FDAE: A5 4C LDA $4C C2/FDB0: A3 29 LDA $29,S C2/FDB2: A1 14 LDA ($14,X) C2/FDB4: 9F 0F 9D 18 STA $189D0F,X C2/FDB8: 9B TXY C2/FDB9: 31 99 AND ($99),Y C2/FDBB: 5A PHY C2/FDBC: 97 93 STA [$93],Y C2/FDBE: 95 DD STA $DD,X C2/FDC0: 93 37 STA ($37,S),Y C2/FDC2: 92 A2 STA ($A2) C2/FDC4: 90 1E BCC $FDE4 C2/FDC6: 8F AC 8D 4B STA $4B8DAC C2/FDCA: 8C FC 8A STY $8AFC C2/FDCD: BF 89 95 88 LDA $889589,X C2/FDD1: 7C 87 77 JMP ($7787,X) C2/FDD4: 86 84 STX $84 C2/FDD6: 85 A4 STA $A4 C2/FDD8: 84 D7 STY $D7 C2/FDDA: 83 1D STA $1D,S C2/FDDC: 83 77 STA $77,S C2/FDDE: 82 E3 81 BRL $C07FC4 C2/FDE1: 64 81 STZ $81 C2/FDE3: F7 80 SBC [$80],Y C2/FDE5: 9F 80 5A 80 STA $805A80,X C2/FDE9: 28 PLP C2/FDEA: 80 0B BRA $FDF7 C2/FDEC: 80 01 BRA $FDEF C2/FDEE: 80 0B BRA $FDFB C2/FDF0: 80 28 BRA $FE1A C2/FDF2: 80 5A BRA $FE4E C2/FDF4: 80 9F BRA $FD95 C2/FDF6: 80 F7 BRA $FDEF C2/FDF8: 80 64 BRA $FE5E C2/FDFA: 81 E3 STA ($E3,X) C2/FDFC: 81 77 STA ($77,X) C2/FDFE: 82 1D 83 BRL $C0811E C2/FE01: D7 83 CMP [$83],Y C2/FE03: A4 84 LDY $84 C2/FE05: 84 85 STY $85 C2/FE07: 77 86 ADC [$86],Y C2/FE09: 7D 87 95 ADC $9587,X C2/FE0C: 88 DEY C2/FE0D: BF 89 FC 8A LDA $8AFC89,X C2/FE11: 4B PHK C2/FE12: 8C AC 8D STY $8DAC C2/FE15: 1E 8F A2 ASL $A28F,X C2/FE18: 90 37 BCC $FE51 C2/FE1A: 92 DD STA ($DD) C2/FE1C: 93 93 STA ($93,S),Y C2/FE1E: 95 5A STA $5A,X C2/FE20: 97 32 STA [$32],Y C2/FE22: 99 18 9B STA $9B18,Y C2/FE25: 0F 9D 15 9F ORA $9F159D C2/FE29: 2A ROL C2/FE2A: A1 4D LDA ($4D,X) C2/FE2C: A3 7E LDA $7E,S C2/FE2E: A5 BE LDA $BE C2/FE30: A7 0B LDA [$0B] C2/FE32: AA TAX C2/FE33: 66 AC ROR $AC C2/FE35: CD AE 41 CMP $41AE C2/FE38: B1 C1 LDA ($C1),Y C2/FE3A: B3 4D LDA ($4D,S),Y C2/FE3C: B6 E4 LDX $E4,Y C2/FE3E: B8 CLV C2/FE3F: 86 BB STX $BB C2/FE41: 33 BE AND ($BE,S),Y C2/FE43: EA NOP C2/FE44: C0 AA C3 CPY #$C3AA C2/FE47: 74 C6 STZ $C6,X C2/FE49: 47 C9 EOR [$C9] C2/FE4B: 22 CC 05 CF JSR $CF05CC C2/FE4F: F0 D1 BEQ $FE22 C2/FE51: E2 D4 SEP #$D4 C2/FE53: DA PHX C2/FE54: D7 D9 CMP [$D9],Y C2/FE56: DA PHX C2/FE57: DD DD E7 CMP $E7DD,X C2/FE5A: E0 F5 CPX #$F5 C2/FE5C: E3 08 SBC $08,S C2/FE5E: E7 1F SBC [$1F] C2/FE60: EA NOP C2/FE61: 39 ED 55 AND $55ED,Y C2/FE64: F0 75 BEQ $FEDB C2/FE66: F3 96 SBC ($96,S),Y C2/FE68: F6 B9 INC $B9,X C2/FE6A: F9 DC FC SBC $FCDC,Y C2/FE6D: 00 03 BRK $03 C2/FE6F: 06 09 ASL $09 C2/FE71: 0C 10 13 TSB $1310 C2/FE74: 16 19 ASL $19,X C2/FE76: 1C 1F 22 TRB $221F C2/FE79: 25 28 AND $28 C2/FE7B: 2B PLD C2/FE7C: 2E 31 33 ROL $3331 C2/FE7F: 36 39 ROL $39,X C2/FE81: 3C 3F 41 BIT $413F,X C2/FE84: 44 47 49 MVP $47,$49 C2/FE87: 4C 4E 51 JMP $514E C2/FE8A: 53 55 EOR ($55,S),Y C2/FE8C: 58 CLI C2/FE8D: 5A PHY C2/FE8E: 5C 5E 60 62 JMP $62605E C2/FE92: 64 66 STZ $66 C2/FE94: 68 PLA C2/FE95: 6A ROR C2/FE96: 6B RTL C2/FE97: 6D 6F 70 ADC $706F C2/FE9A: 71 73 ADC ($73),Y C2/FE9C: 74 75 STZ $75,X C2/FE9E: 76 78 ROR $78,X C2/FEA0: 79 7A 7A ADC $7A7A,Y C2/FEA3: 7B TDC C2/FEA4: 7C 7D 7D JMP ($7D7D,X) C2/FEA7: 7E 7E 7E ROR $7E7E,X C2/FEAA: 7F 7F 7F 7F ADC $7F7F7F,X C2/FEAE: 7F 7F 7F 7E ADC $7E7F7F,X C2/FEB2: 7E 7E 7D ROR $7D7E,X C2/FEB5: 7D 7C 7B ADC $7B7C,X C2/FEB8: 7A PLY C2/FEB9: 7A PLY C2/FEBA: 79 78 76 ADC $7678,Y C2/FEBD: 75 74 ADC $74,X C2/FEBF: 73 71 ADC ($71,S),Y C2/FEC1: 70 6F BVS $FF32 C2/FEC3: 6D 6B 6A ADC $6A6B C2/FEC6: 68 PLA C2/FEC7: 66 64 ROR $64 C2/FEC9: 62 60 5E PER $C05D2C C2/FECC: 5C 5A 58 55 JMP $55585A C2/FED0: 53 51 EOR ($51,S),Y C2/FED2: 4E 4C 49 LSR $494C C2/FED5: 47 44 EOR [$44] C2/FED7: 41 3F EOR ($3F,X) C2/FED9: 3C 39 36 BIT $3639,X C2/FEDC: 33 31 AND ($31,S),Y C2/FEDE: 2E 2B 28 ROL $282B C2/FEE1: 25 22 AND $22 C2/FEE3: 1F 1C 19 16 ORA $16191C,X C2/FEE7: 13 10 ORA ($10,S),Y C2/FEE9: 0C 09 06 TSB $0609 C2/FEEC: 03 00 ORA $00,S C2/FEEE: FD FA F7 SBC $F7FA,X C2/FEF1: F4 F0 ED PEA $EDF0 C2/FEF4: EA NOP C2/FEF5: E7 E4 SBC [$E4] C2/FEF7: E1 DE SBC ($DE,X) C2/FEF9: DB STP C2/FEFA: D8 CLD C2/FEFB: D5 D2 CMP $D2,X C2/FEFD: CF CD CA C7 CMP $C7CACD C2/FF01: C4 C1 CPY $C1 C2/FF03: BF BC B9 B7 LDA $B7B9BC,X C2/FF07: B4 B2 LDY $B2,X C2/FF09: AF AD AB A8 LDA $A8ABAD C2/FF0D: A6 A4 LDX $A4 C2/FF0F: A2 A0 LDX #$A0 C2/FF11: 9E 9C 9A STZ $9A9C,X C2/FF14: 98 TYA C2/FF15: 96 95 STX $95,Y C2/FF17: 93 91 STA ($91,S),Y C2/FF19: 90 8F BCC $FEAA C2/FF1B: 8D 8C 8B STA $8B8C C2/FF1E: 8A TXA C2/FF1F: 88 DEY C2/FF20: 87 86 STA [$86] C2/FF22: 86 85 STX $85 C2/FF24: 84 83 STY $83 C2/FF26: 83 82 STA $82,S C2/FF28: 82 82 81 BRL $C080AD C2/FF2B: 81 81 STA ($81,X) C2/FF2D: 81 81 STA ($81,X) C2/FF2F: 81 81 STA ($81,X) C2/FF31: 82 82 82 BRL $C081B6 C2/FF34: 83 83 STA $83,S C2/FF36: 84 85 STY $85 C2/FF38: 86 86 STX $86 C2/FF3A: 87 88 STA [$88] C2/FF3C: 8A TXA C2/FF3D: 8B PHB C2/FF3E: 8C 8D 8F STY $8F8D C2/FF41: 90 91 BCC $FED4 C2/FF43: 93 95 STA ($95,S),Y C2/FF45: 96 98 STX $98,Y C2/FF47: 9A TXS C2/FF48: 9C 9E A0 STZ $A09E C2/FF4B: A2 A4 LDX #$A4 C2/FF4D: A6 A8 LDX $A8 C2/FF4F: AB PLB C2/FF50: AD AF B2 LDA $B2AF C2/FF53: B4 B7 LDY $B7,X C2/FF55: B9 BC BF LDA $BFBC,Y C2/FF58: C1 C4 CMP ($C4,X) C2/FF5A: C7 CA CMP [$CA] C2/FF5C: CD CF D2 CMP $D2CF C2/FF5F: D5 D8 CMP $D8,X C2/FF61: DB STP C2/FF62: DE E1 E4 DEC $E4E1,X C2/FF65: E7 EA SBC [$EA] C2/FF67: ED F0 F4 SBC $F4F0 C2/FF6A: F7 FA SBC [$FA],Y C2/FF6C: FD
C2/FF6D decompress routine
(Decompress Data) ($00F3 = 24-bit address of input data block. $00F6 - Bit 0 of $00F8 = 17-bit address to write to in WRAM. Our other output buffer is a temporary one of 800h bytes in length. It resides in Bank 7F, from Offsets F800h to FFFFh. The initial offset written to is FFDEh, wrapping to F800h after FFFFh is passed, going up to FFFFh again and wrapping to F800h as needed, etc. Note that except for the direct page register save/set/restore, this routine is identical to C0/046C.) (Input block format: First 2 bytes: 16-bit number of bytes (including control bytes) to read from block. Control byte. Bit 0: Next value read from input block is: 1 = 1 byte to copy to output blocks. 0 = 2 bytes containing a pointer elsewhere in temporary output block. as well as a quantity of bytes to copy within output block. Bit 1: Next value after that from input block is: 1 = see above 0 = see above Bits 2-7: etc, etc, etc, etc, etc, etc. Data value from input block (8 in a row, unless there are no values left to read from block): If corresponding control bit was 1, a given value is just 1 plain data byte to copy to output block. If corresponding control bit was 0, data value takes 2 bytes and has the format: Byte 1 = Bits 0-7 of a 16-bit pointer to earlier in output block Byte 2, Bits 0-2 = Bits 8-10 of a 16-bit pointer to earlier in temporary output buffer. Bits 11-15 of pointer will always be set, so it's F800h - FFFFh. Byte 2, Bits 3-7 = Add 3 to get Quantity of bytes to copy from one place to another in our output block. Once 8 data values have been read in a row, and provided there are still more values to be read from input block, the next value read will be a new Control Byte, and the process will repeat.) C2/FF6D: 8B PHB C2/FF6E: 0B PHD C2/FF6F: A2 00 00 LDX #$0000 C2/FF72: DA PHX C2/FF73: 2B PLD (Set direct page register to 0) C2/FF74: C2 20 REP #$20 (Set 16-bit A) C2/FF76: A7 F3 LDA [$F3] ($F3 is pointer to location of data to copy/decompress) (read first 16-bit word from input data, which tells us the total # of bytes [including control bytes] to read from the data block.) C2/FF78: 85 FC STA $FC (save that quantity.) (btw, the quantity had better be accurate. once this routine reads a control byte, it will _always_ read at least one more byte (and increment Y). also, if it's told to read a 2-byte pointer, it will _always_ read both bytes (incrementing Y twice). should Y surpass $FC due to the latter being inaccurate, the instruction at C2/FFF9 will keep looping, and we'll exit the loop *much* later than we should have.) C2/FF7A: A5 F6 LDA $F6 C2/FF7C: 8F 81 21 00 STA $002181 (Set lower 2 bytes of address to read/write in WRAM) C2/FF80: E2 20 SEP #$20 (Set 8-bit A) C2/FF82: A5 F8 LDA $F8 C2/FF84: 29 01 AND #$01 C2/FF86: 8F 83 21 00 STA $002183 (Set Bit 17 of address to read/write in WRAM [so it's bottom bit of Bank; add to 7Eh]) C2/FF8A: A9 01 LDA #$01 C2/FF8C: 85 FE STA $FE (setting to 1 will force us to read control byte from input data first time we hit C2/FFA2.) C2/FF8E: A0 02 00 LDY #$0002 (move input data pointer to first actual data byte) C2/FF91: A9 7F LDA #$7F C2/FF93: 48 PHA C2/FF94: AB PLB (Set data bank register to #$7F) C2/FF95: A2 00 F8 LDX #$F800 C2/FF98: 7B TDC C2/FF99: 9D 00 00 STA $0000,X (Sets memory from $F800 to $FFFF to 0) C2/FF9C: E8 INX C2/FF9D: D0 FA BNE $FF99 C2/FF9F: A2 DE FF LDX #$FFDE (start pointing near end of temporary output buffer) C2/FFA2: C6 FE DEC $FE (decrement # of bits left to read from control byte) C2/FFA4: D0 09 BNE $FFAF (if we haven't exhausted all of them, branch) C2/FFA6: A9 08 LDA #$08 C2/FFA8: 85 FE STA $FE (or if we have, reset # of bits left to read to 8, as we're about to load a brand new control byte.) C2/FFAA: B7 F3 LDA [$F3],Y (read control byte from input block?) C2/FFAC: 85 FF STA $FF (save it) C2/FFAE: C8 INY (point to next byte of input block) C2/FFAF: 46 FF LSR $FF (get currently bottom bit of control byte) (if it's 1, read next byte from input block, and copy to output blocks. it it's 0, read next 2 bytes from input block, to get a pointer earlier into our output block, and a number of bytes to copy.) C2/FFB1: 90 11 BCC $FFC4 (branch if it's not set) C2/FFB3: B7 F3 LDA [$F3],Y (read byte from input block) C2/FFB5: 8F 80 21 00 STA $002180 (Store value in WRAM) C2/FFB9: 9D 00 00 STA $0000,X (also copy byte to temporary output buffer, which has the last 800h bytes output, and they can be referenced for decompression.) C2/FFBC: E8 INX (increment output block pointer) C2/FFBD: D0 37 BNE $FFF6 (branch if it hasn't wrapped past FFFFh to 0 yet.) C2/FFBF: A2 00 F8 LDX #$F800 (if it has wrapped, set it to F800h) C2/FFC2: 80 32 BRA $FFF6 (and branch) C2/FFC4: B7 F3 LDA [$F3],Y (read byte from input block. it will give us Bits 0-7 of a pointer that's directed earlier in our output block.) C2/FFC6: EB XBA (preserve in top half of A) C2/FFC7: C8 INY (increment input block pointer) C2/FFC8: 84 F9 STY $F9 (save it) C2/FFCA: B7 F3 LDA [$F3],Y (read next byte from input block) C2/FFCC: 4A LSR C2/FFCD: 4A LSR C2/FFCE: 4A LSR (Divide A by 8) C2/FFCF: 18 CLC C2/FFD0: 69 03 ADC #$03 C2/FFD2: 85 FB STA $FB ($FB = ([$F3],Y / 8) + 3) (this is our quantity of bytes to copy within our output block) C2/FFD4: B7 F3 LDA [$F3],Y (read second byte from input block again) C2/FFD6: 09 F8 ORA #$F8 (always set Bits 3-7. Bits 0-2 will give us Bits 8-10 of our output block pointer.) C2/FFD8: EB XBA (put in top half of A, and get previously read byte back into bottom.) C2/FFD9: A8 TAY (Y = F800h + [ (second read byte AND 07h) * 256] + first read byte.) C2/FFDA: B9 00 00 LDA $0000,Y (read byte from somewhere earlier in our temporary output buffer) C2/FFDD: 8F 80 21 00 STA $002180 (Store value in WRAM) C2/FFE1: 9D 00 00 STA $0000,X (also copy it to temporary output buffer at current position) C2/FFE4: E8 INX (increment output block pointer) C2/FFE5: D0 03 BNE $FFEA (branch if it hasn't wrapped past FFFFh to 0 yet.) C2/FFE7: A2 00 F8 LDX #$F800 (if it has wrapped, set it to F800h) C2/FFEA: C8 INY (increment pointer for earlier in output block) C2/FFEB: D0 03 BNE $FFF0 (branch if it hasn't wrapped past FFFFh to 0 yet.) C2/FFED: A0 00 F8 LDY #$F800 (if it has wrapped, set it to F800h) C2/FFF0: C6 FB DEC $FB (decrement remaining quantity of bytes to copy within output block) C2/FFF2: D0 E6 BNE $FFDA (loop if it's not 0, as we haven't copied them all yet) C2/FFF4: A4 F9 LDY $F9 (restore input block pointer) C2/FFF6: C8 INY (increment input block pointer) C2/FFF7: C4 FC CPY $FC (has it reached number of bytes to read yet?) C2/FFF9: D0 A7 BNE $FFA2 (loop if not) C2/FFFB: 7B TDC C2/FFFC: EB XBA C2/FFFD: 2B PLD C2/FFFE: AB PLB C2/FFFF: 6B RTL