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 C3C
< Final Fantasy VI | ROM map
Jump to navigation
Jump to search
This is a sub-page of Final Fantasy VI/ROM map.
C3/C00C pointers: shop strings
C3/C00C: 0000 C3/C00E: FCC2 ("Weapon") C3/C010: 05C3 ("Armor") C3/C012: 0DC3 ("Item") C3/C014: 14C3 ("Relics") C3/C016: 1DC3 ("Vendor")
C3/C018 unknow
C3/C018: A902 LDA #$02 (from C3/B48D) C3/C01A: 8D5043 STA $4350 C3/C01D: A912 LDA #$12 C3/C01F: 8D5143 STA $4351 (register address becomes $2112) C3/C022: A037C0 LDY #$C037 C3/C025: 8C5243 STY $4352 (set address) C3/C028: A9C3 LDA #$C3 C3/C02A: 8D5443 STA $4354 (set bank, C3/C037) C3/C02D: A9C3 LDA #$C3 C3/C02F: 8D5743 STA $4357 C3/C032: A920 LDA #$20 C3/C034: 0443 TSB $43 (eventually enable channel 5 of HDMA) C3/C036: 60 RTS
C3/C037 hdma table
HDMA transfer table C3/C037: 2F0400 (47 scanlines, 4 pixel shift) C3/C03A: 9C0400 (156 scanlines, 4 pixel shift) C3/C03D: 0C0800 (12 scanlines, 8 pixel shift) C3/C040: 0C0C00 (12 scanlines, 12 pixel shift) C3/C043: 0C1000 (12 scanlines, 16 pixel shift) C3/C046: 0C1400 (12 scanlines, 20 pixel shift) C3/C049: 0C1800 (12 scanlines, 24 pixel shift) C3/C04C: 0C1C00 (12 scanlines, 28 pixel shift) C3/C04F: 0C2000 (12 scanlines, 32 pixel shift) C3/C052: 0C2400 (12 scanlines, 36 pixel shift) C3/C055: 0C2800 (12 scanlines, 40 pixel shift) C3/C058: 0C2C00 (12 scanlines, 44 pixel shift) C3/C05B: 0C3000 (12 scanlines, 48 pixel shift) C3/C05E: 0C3400 (12 scanlines, 52 pixel shift) C3/C061: 0C3800 (12 scanlines, 56 pixel shift) C3/C064: 0C3C00 (12 scanlines, 60 pixel shift, 371 scanlines total...) C3/C067: 00 (end)
C3/C068 unknow
C3/C068: 48 PHA C3/C069: A28B9E LDX #$9E8B C3/C06C: 8E8121 STX $2181 C3/C06F: AD1242 LDA $4212 C3/C072: 2940 AND #$40 (are we in H-blank?) C3/C074: F0F9 BEQ $C06F (branch if not) C3/C076: 68 PLA C3/C077: 8D1B21 STA $211B C3/C07A: 9C1B21 STZ $211B C3/C07D: A90D LDA #$0D C3/C07F: 8D1C21 STA $211C C3/C082: 8D1C21 STA $211C C3/C085: AE3421 LDX $2134 C3/C088: A00D00 LDY #$000D (item name length in shops) C3/C08B: BF00B3D2 LDA $D2B300,X (item name) C3/C08F: 8D8021 STA $2180 C3/C092: E8 INX C3/C093: 88 DEY C3/C094: D0F5 BNE $C08B C3/C096: 9C8021 STZ $2180 (end this string) C3/C099: 60 RTS
C3/C09A unknow
C3/C09A: 2009C1 JSR $C109 C3/C09D: 20CCC1 JSR $C1CC C3/C0A0: 7B TDC C3/C0A1: AA TAX C3/C0A2: BF099E7E LDA $7E9E09,X C3/C0A6: 3044 BMI $C0EC C3/C0A8: DA PHX C3/C0A9: 48 PHA C3/C0AA: A902 LDA #$02 C3/C0AC: A041C1 LDY #$C141 C3/C0AF: 207311 JSR $1173 (put C3/C141 in the queue) C3/C0B2: 9B TXY C3/C0B3: 7B TDC C3/C0B4: 68 PLA C3/C0B5: 9FC9357E STA $7E35C9,X C3/C0B9: 0A ASL A C3/C0BA: AA TAX C3/C0BB: A97E LDA #$7E C3/C0BD: 48 PHA C3/C0BE: AB PLB C3/C0BF: C220 REP #$20 (16 bit memory/accum.) C3/C0C1: BF17E9D8 LDA $D8E917,X C3/C0C5: 99C932 STA $32C9,Y (save as pointer to OAM data) C3/C0C8: E220 SEP #$20 (8 bit memory/accum.) C3/C0CA: FA PLX C3/C0CB: BFEDC0C3 LDA $C3C0ED,X C3/C0CF: 99CA33 STA $33CA,Y C3/C0D2: BFFBC0C3 LDA $C3C0FB,X C3/C0D6: 994A34 STA $344A,Y C3/C0D9: 7B TDC C3/C0DA: 99CB33 STA $33CB,Y C3/C0DD: 994B34 STA $344B,Y C3/C0E0: A9D8 LDA #$D8 C3/C0E2: 99CA35 STA $35CA,Y (save bank pointer to OAM data) C3/C0E5: A900 LDA #$00 C3/C0E7: 48 PHA C3/C0E8: AB PLB C3/C0E9: E8 INX C3/C0EA: 80B6 BRA $C0A2 C3/C0EC: 60 RTS
C3/C0ED data
C3/C0ED: 18 C3/C0EE: 38 C3/C0EF: 58 C3/C0F0: 78 C3/C0F1: 98 C3/C0F2: B8 C3/C0F3: D8 C3/C0F4: 18 C3/C0F5: 38 C3/C0F6: 58 C3/C0F7: 78 C3/C0F8: 98 C3/C0F9: B8 C3/C0FA: D8
C3/C0FB data
C3/C0FB: 9C C3/C0FC: 9C C3/C0FD: 9C C3/C0FE: 9C C3/C0FF: 9C C3/C100: 9C C3/C101: 9C C3/C102: B8 C3/C103: B8 C3/C104: B8 C3/C105: B8 C3/C106: B8 C3/C107: B8 C3/C108: B8
C3/C109 unknow
C3/C109: A2099E LDX #$9E09 C3/C10C: 8E8121 STX $2181 C3/C10F: A600 LDX $00 C3/C111: DA PHX C3/C112: C220 REP #$20 (16 bit memory/accum.) C3/C114: 8A TXA C3/C115: 0A ASL A C3/C116: AA TAX C3/C117: ADDC1E LDA $1EDC (This is the "Characters encountered" word) C3/C11A: 3F679CC3 AND $C39C67,X C3/C11E: F012 BEQ $C132 C3/C120: BF6969C3 LDA $C36969,X (Xth character's working RAM offset) C3/C124: A8 TAY C3/C125: 7B TDC C3/C126: E220 SEP #$20 (8 bit memory/accum.) C3/C128: B90000 LDA $0000,Y C3/C12B: C90E CMP #$0E (Is it Leo or higher??) C3/C12D: B003 BCS $C132 C3/C12F: 8D8021 STA $2180 C3/C132: E220 SEP #$20 (8 bit memory/accum.) C3/C134: FA PLX C3/C135: E8 INX C3/C136: E01000 CPX #$0010 C3/C139: D0D6 BNE $C111 C3/C13B: A9FF LDA #$FF C3/C13D: 8D8021 STA $2180 C3/C140: 60 RTS
C3/C141 code and jump table
C3/C141: AA TAX C3/C142: 7C45C1 JMP ($C145,X) C3/C145: 49C1 C3/C147: 6AC1
C3/C149 unknow
C3/C149: A901 LDA #$01 C3/C14B: 0447 TSB $47 C3/C14D: A62D LDX $2D C3/C14F: FE4936 INC $3649,X (execute the next entry in this queue's jump table) C3/C152: C220 REP #$20 C3/C154: BDC932 LDA $32DC,X C3/C157: 9DCA34 STA $34CA,X C3/C15A: E220 SEP #$20 C3/C15C: 200612 JSR $1206 C3/C15F: A547 LDA $47 C3/C161: 2908 AND #$08 C3/C163: D003 BNE $C168 C3/C165: 20F0C1 JSR $C1F0 C3/C168: 8000 BRA $C16A C3/C16A: A547 LDA $47 C3/C16C: 2901 AND #$01 C3/C16E: F02A BEQ $C19A C3/C170: A62D LDX $2D C3/C172: A547 LDA $47 C3/C174: 2908 AND #$08 C3/C176: D011 BNE $C189 C3/C178: 209CC1 JSR $C19C C3/C17B: 900C BCC $C189 C3/C17D: A62D LDX $2D C3/C17F: C221 REP #$21 C3/C181: BDCA34 LDA $34CA,X C3/C184: 690900 ADC #$0009 C3/C187: 8007 BRA $C190 C3/C189: A62D LDX $2D C3/C18B: C220 REP #$20 (16 bit memory/accum.) C3/C18D: BDCA34 LDA $34CA,X C3/C190: 9DC932 STA $32C9,X (save as pointer to OAM data) C3/C193: E220 SEP #$20 (8 bit memory/accum.) C3/C195: 202112 JSR $1221 (draw the sprites!) C3/C198: 38 SEC (not done with this queue yet) C3/C199: 60 RTS C3/C19A: 18 CLC (this queue can be removed) C3/C19B: 60 RTS
C3/C19C unknow
C3/C19C: 8B PHB C3/C19D: A900 LDA #$00 C3/C19F: 48 PHA C3/C1A0: AB PLB C3/C1A1: 7B TDC C3/C1A2: 8DD811 STA $11D8 C3/C1A5: BFC9357E LDA $7E35C9,X C3/C1A9: 20489C JSR $9C48 C3/C1AC: 7B TDC C3/C1AD: A54B LDA $4B C3/C1AF: AA TAX C3/C1B0: BF899D7E LDA $7E9D89,X (Copy of inventory list) C3/C1B4: 202183 JSR $8321 (Multiply A by 30) C3/C1B7: AE3421 LDX $2134 (Load X with the result) C3/C1BA: C220 REP #$20 (16 bit memory/accum.) C3/C1BC: BF0150D8 LDA $D85001,X (Load equippable chars for item X) C3/C1C0: 25E7 AND $E7 C3/C1C2: E220 SEP #$20 (8 bit memory/accum.) C3/C1C4: F003 BEQ $C1C9 C3/C1C6: AB PLB C3/C1C7: 38 SEC (not done with this queue yet) C3/C1C8: 60 RTS C3/C1C9: AB PLB C3/C1CA: 18 CLC (this queue can be removed) C3/C1CB: 60 RTS
C3/C1CC unknow
C3/C1CC: A2019E LDX #$9E01 C3/C1CF: 8E8121 STX $2181 C3/C1D2: A600 LDX $00 C3/C1D4: C220 REP #$20 (16 bit memory/accum.) C3/C1D6: BD6D00 LDA $006D,X C3/C1D9: E220 SEP #$20 (8 bit memory/accum.) C3/C1DB: F006 BEQ $C1E3 C3/C1DD: A8 TAY C3/C1DE: B90000 LDA $0000,Y C3/C1E1: 8002 BRA $C1E5 C3/C1E3: A9FF LDA #$FF C3/C1E5: 8D8021 STA $2180 C3/C1E8: E8 INX C3/C1E9: E8 INX C3/C1EA: E00800 CPX #$0008 C3/C1ED: D0E5 BNE $C1D4 C3/C1EF: 60 RTS
C3/C1F0 unknow
C3/C1F0: A400 LDY $00 C3/C1F2: A62D LDX $2D C3/C1F4: BDC935 LDA $35C9,X C3/C1F7: D9019E CMP $9E01,Y C3/C1FA: D038 BNE $C234 C3/C1FC: DA PHX C3/C1FD: 5A PHY C3/C1FE: A900 LDA #$00 C3/C200: 48 PHA C3/C201: AB PLB C3/C202: A900 LDA #$00 C3/C204: A0427B LDY #$7B42 C3/C207: 207311 JSR $1173 (put C3/7B42 in the queue) C3/C20A: A97E LDA #$7E C3/C20C: 48 PHA C3/C20D: AB PLB C3/C20E: 7B TDC C3/C20F: 9DC935 STA $35C9,X C3/C212: BC4A37 LDY $374A,X C3/C215: C220 REP #$20 (16 bit memory/accum.) C3/C217: B9CA33 LDA $33CA,Y C3/C21A: 9DCA33 STA $33CA,X C3/C21D: B94A34 LDA $344A,Y C3/C220: 3A DEC A C3/C221: 3A DEC A C3/C222: 9D4A34 STA $344A,X C3/C225: A9A9EB LDA #$EBA9 C3/C228: 9DC932 STA $32C9,X (save as pointer to OAM data) C3/C22B: E220 SEP #$20 (8 bit memory/accum.) C3/C22D: A9D8 LDA #$D8 C3/C22F: 9DCA35 STA $35CA,X (save bank pointer to OAM data) C3/C232: 7A PLY C3/C233: FA PLX C3/C234: C8 INY C3/C235: C00400 CPY #$0004 C3/C238: D0BA BNE $C1F4 C3/C23A: 60 RTS
C3/C23B unknow
C3/C23B: 7B TDC C3/C23C: A8 TAY C3/C23D: 5A PHY C3/C23E: A904 LDA #$04 C3/C240: A053C2 LDY #$C253 C3/C243: 207311 JSR $1173 C3/C246: 7A PLY C3/C247: 98 TYA C3/C248: 9FC9357E STA $7E35C9,X C3/C24C: C8 INY C3/C24D: C00E00 CPY #$000E C3/C250: D0EB BNE $C23D C3/C252: 60 RTS
C3/C253 code and jump table
C3/C253: AA TAX C3/C254: 7C57C2 JMP ($C257,X) C3/C257: 5BC2 C3/C258: 8BC2
C3/C25A unknow
C3/C25A: A62D LDX $2D C3/C25C: C220 REP #$20 C3/C25F: A9CDEB LDA #$EBCD C3/C262: 9DC932 STA $32C9,X (save as pointer to OAM data) C3/C265: 9DCA34 STA $34CA,X C3/C268: E220 SEP #$20 (8 bit memory/accum.) C3/C26A: FE4936 INC $3649,X (execute the next entry in this queue's jump table) C3/C26D: A9D8 LDA #$D8 C3/C26F: 9DCA35 STA $35CA,X (save bank pointer to OAM data) C3/C272: 7B TDC C3/C273: BDC935 LDA $35C9,X C3/C276: 9B TXY C3/C277: AA TAX C3/C278: BFB1EBD8 LDA $D8EBB1,X C3/C27C: 99CA33 STA $33CA,Y C3/C27F: BFBFEBD8 LDA $D8EBBF,X C3/C283: 994A34 STA $344A,Y C3/C286: A62D LDX $2D C3/C288: 200612 JSR $1206 C3/C28B: A547 LDA $47 C3/C28D: 2901 AND #$01 C3/C28F: F04E BEQ $C2DF C3/C291: A62D LDX $2D C3/C293: 7B TDC C3/C294: BDC935 LDA $35C9,X C3/C297: 85E0 STA $E0 C3/C299: 20AEBC JSR $BCAE C3/C29C: F03F BEQ $C2DD C3/C29E: C901 CMP #$01 C3/C2A0: F014 BEQ $C2B6 C3/C2A2: C902 CMP #$02 C3/C2A4: F025 BEQ $C2CB C3/C2A6: C904 CMP #$04 C3/C2A8: F015 BEQ $C2BF C3/C2AA: A62D LDX $2D C3/C2AC: C221 REP #$21 C3/C2AE: BDCA34 LDA $34CA,X C3/C2B1: 691800 ADC #$0018 C3/C2B4: 801F BRA $C2D5 C3/C2B6: A62D LDX $2D C3/C2B8: C220 REP #$20 (16 bit memory/accum.) C3/C2BA: BDCA34 LDA $34CA,X C3/C2BD: 8016 BRA $C2D5 C3/C2BF: A62D LDX $2D C3/C2C1: C221 REP #$21 C3/C2C3: BDCA34 LDA $34CA,X C3/C2C6: 692400 ADC #$0024 C3/C2C9: 800A BRA $C2D5 C3/C2CB: A62D LDX $2D C3/C2CD: C221 REP #$21 C3/C2CF: BDCA34 LDA $34CA,X C3/C2D2: 690C00 ADC #$000C C3/C2D5: 9DC932 STA $32C9,X (save as pointer to OAM data) C3/C2D8: E220 SEP #$20 (8 bit memory/accum.) C3/C2DA: 202112 JSR $1221 (draw the sprites!) C3/C2DD: 38 SEC (not done with this queue yet) C3/C2DE: 60 RTS C3/C2DF: 18 CLC (this queue can be removed) C3/C2E0: 60 RTS
C3/C2E1 unknow
C3/C2E1: 20F7C2 JSR $C2F7 C3/C2E4: A042C3 LDY #$C342 C3/C2E7: 20F902 JSR $02F9 (display "Owned:") C3/C2EA: A04BC3 LDY #$C34B C3/C2ED: 20F902 JSR $02F9 (display "Equipped:") C3/C2F0: 8000 BRA $C2F2 C3/C2F2: A920 LDA #$20 C3/C2F4: 8529 STA $29 (set text color to white) C3/C2F6: 60 RTS
C3/C2F7 unknow
C3/C2F7: A92C LDA #$2C C3/C2F9: 8529 STA $29 (set text color to blue) C3/C2FB: 60 RTS
C3/C2FC data: strings
C3/C2FC: 0D79969E9AA9A8A700 ("Weapon") C3/C305: 0F7980ABA6A8AB00 ("Armor") C3/C30D: 0F7988AD9EA600 ("Item") C3/C314: 0D79919EA5A29CAC00 ("Relics") C3/C31D: 0D79959EA79DA8AB00 ("Vendor") C3/C326: 0F7A819498FFFF92848B8BFFFF8497889300 ("BUY SELL EXIT") C3/C338: 417A868F00 ("GP") C3/C33D: 2B7B868F00 ("GP") C3/C342: B37A8EB0A79E9DC100 ("Owned:") C3/C34B: B37B84AAAEA2A9A99E9DC100 ("Equipped:") C3/C357: 8F7B819AADFF8FB0AB00 ("Bat Pwr") C3/C361: 8F7B839E9F9EA7AC9E00 ("Defense") C3/C36B: A57BC700 (" ") C3/C36F: 1F7987A2BEFF829AA7FF88FFA19EA5A9FFB2A8AEBF00 ("Hi! Can I help you?") C3/C385: 1F79879EA5A9FFB2A8AEABAC9EA59FBE00 ("Help yourself!") C3/C396: 1F7987A8B0FFA69AA7B2BF00 ("How many?") C3/C3A2: 1F7996A19AAD9CA19AFFA0A8ADBF00 ("Watcha got?") C3/C3B1: 1F7987A8B0FFA69AA7B2BF00 ("How many?") C3/C3BF: 1F7981B29EBEFFFFFFFFFFFFFFFFFFFF00 ("Bye! ") C3/C3CE: 1F7998A8AEFFA79E9E9DFFA6A8AB9EFF868FBE00 ("You need more GP!") C3/C3E2: 1F7993A8A8FFA69AA7B2BEFFFFFFFFFFFFFF00 ("Too many! ") C3/C3F5: 1F798EA79EC3ACFFA9A59EA7ADB2BEFF00 ("One's plenty! ")
C3/C406 jump table
Here we go again, another massive jump table C3/C406: BEC5 (#$00, C3/C408: D4C5 (#$01, C3/C40A: 69C8 (#$02, C3/C40C: A6C8 (#$03, C3/C40E: ADC8 (#$04, C3/C410: E1C5 (#$05, C3/C412: 81C6 (#$06, C3/C414: DCC6 (#$07, C3/C416: DCC6 (#$08, C3/C418: 94C7 (#$09, C3/C41A: D2C7 (#$0A, C3/C41C: E1C7 (#$0B, C3/C41E: D1C8 (#$0C, C3/C420: 17C9 (#$0D, C3/C422: CDC9 (#$0E, C3/C424: CDC9 (#$0F, C3/C426: CDC9 (#$10, C3/C428: 8CCA (#$11, C3/C42A: BECA (#$12, C3/C42C: BECA (#$13, C3/C42E: 17CD (#$14, C3/C430: A0CD (#$15, C3/C432: EACD (#$16, C3/C434: EACD (#$17, C3/C436: A6CE (#$18, C3/C438: ECCE (#$19, C3/C43A: ECCE (#$1A, C3/C43C: ECCE (#$1B, C3/C43E: ECCE (#$1C, C3/C440: 18D0 (#$1D, C3/C442: 18D0 (#$1E, C3/C444: 18D0 (#$1F, C3/C446: 2FD0 (#$20, C3/C448: 96D0 (#$21, C3/C44A: 22D1 (#$22, C3/C44C: 22D1 (#$23, C3/C44E: 22D1 (#$24, C3/C450: 94C7 (#$25, C3/C452: 94C7 (#$26, C3/C454: 94C7 (#$27, C3/C456: 6EE2 (#$28, C3/C458: B2E2 (#$29, C3/C45A: C1E2 (#$2A, C3/C45C: D0E2 (#$2B, C3/C45E: 94C7 (#$2C, C3/C460: CEE6 (#$2D, C3/C462: DFE6 (#$2E, C3/C464: EEE6 (#$2F, C3/C466: FAE6 (#$30, C3/C468: 94C7 (#$31, C3/C46A: F8E2 (#$32, C3/C46C: 19E3 (#$33, C3/C46E: 28E3 (#$34, C3/C470: 37E3 (#$35, C3/C472: 94C7 (#$36, C3/C474: 94C7 (#$37, C3/C476: E7E2 (#$38, C3/C478: 94C7 (#$39, C3/C47A: 94C7 (#$3A, C3/C47C: 94C7 (#$3B, C3/C47E: E1E3 (#$3C, C3/C480: FDE3 (#$3D, C3/C482: 0CE4 (#$3E, C3/C484: 1BE4 (#$3F, C3/C486: 4BE3 (#$40, C3/C488: 64E3 (#$41, C3/C48A: 73E3 (#$42, C3/C48C: 82E3 (#$43, C3/C48E: A2E3 (#$44, C3/C490: B2E3 (#$45, C3/C492: 32E4 (#$46, C3/C494: 59E4 (#$47, C3/C496: 7CE4 (#$48, C3/C498: 8BE4 (#$49, C3/C49A: 11E7 (#$4A, C3/C49C: 2AE7 (#$4B, C3/C49E: 36E7 (#$4C, C3/C4A0: 49E7 (#$4D, C3/C4A2: 94C7 (#$4E, C3/C4A4: CDE3 (#$4F, C3/C4A6: FAE4 (#$50, C3/C4A8: 13E5 (#$51, C3/C4AA: 22E5 (#$52, C3/C4AC: 34E5 (#$53, C3/C4AE: 94C7 (#$54, C3/C4B0: 94C7 (#$55, C3/C4B2: 94C7 (#$56, C3/C4B4: 94C7 (#$57, C3/C4B6: 94C7 (#$58, C3/C4B8: 94C7 (#$59, C3/C4BA: 4BE5 (#$5A, C3/C4BC: 64E5 (#$5B, C3/C4BE: 73E5 (#$5C, C3/C4C0: 85E5 (#$5D, C3/C4C2: 94C7 (#$5E, C3/C4C4: 94C7 (#$5F, C3/C4C6: 94C7 (#$60, C3/C4C8: 94C7 (#$61, C3/C4CA: 94C7 (#$62, C3/C4CC: 94C7 (#$63, C3/C4CE: 9CE5 (#$64, C3/C4D0: B7E5 (#$65, C3/C4D2: C6E5 (#$66, C3/C4D4: D5E5 (#$67, C3/C4D6: F5E5 (#$68, C3/C4D8: 05E6 (#$69, C3/C4DA: 1EE6 (#$6A, C3/C4DC: 94C7 (#$6B, C3/C4DE: 94C7 (#$6C, C3/C4E0: 94C7 (#$6D, C3/C4E2: 35E6 (#$6E, C3/C4E4: 51E6 (#$6F, C3/C4E6: 60E6 (#$70, C3/C4E8: 6FE6 (#$71, C3/C4EA: 94C7 (#$72, C3/C4EC: 94C7 (#$73, C3/C4EE: 94C7 (#$74, C3/C4F0: 94C7 (#$75, C3/C4F2: 94C7 (#$76, C3/C4F4: 94C7 (#$77, C3/C4F6: 86E6 (#$78, C3/C4F8: 9CE6 (#$79, C3/C4FA: ABE6 (#$7A, C3/C4FC: BAE6 (#$7B, C3/C4FE: 94C7 (#$7C, C3/C500: 94C7 (#$7D, C3/C502: 94C7 (#$7E, C3/C504: 94C7 (#$7F, C3/C506: 94C7 (#$80, C3/C508: 94C7 (#$81, C3/C50A: 5DE7 (#$82, C3/C50C: 94E7 (#$83, C3/C50E: A3E7 (#$84, C3/C510: B2E7 (#$85, C3/C512: C1E7 (#$86, C3/C514: E5E7 (#$87, C3/C516: 04E8 (#$88, C3/C518: 13E8 (#$89, C3/C51A: 22E8 (#$8A,
C3/C51C unknow
C3/C51C: 08 PHP (from C0/BA3C->C3/0012) C3/C51D: C230 REP #$30 C3/C51F: 48 PHA C3/C520: DA PHX C3/C521: 5A PHY C3/C522: 8B PHB C3/C523: 0B PHD C3/C524: E220 SEP #$20 (8 bit memory/accum.) C3/C526: A900 LDA #$00 C3/C528: 48 PHA C3/C529: AB PLB C3/C52A: A20000 LDX #$0000 (LDX $00...) C3/C52D: DA PHX C3/C52E: 2B PLD (set DP register to #$0000, which again should not have changed, unless we're coming from C5...) C3/C52F: A20000 LDX #$0000 (LDX $00... X still holds #$0000) C3/C532: 8600 STX $00 (this shouldn't have ever changed o_O) C3/C534: A97E LDA $#7E C3/C536: 8D8321 STA $2183 C3/C539: 20C000 JSR $00C0 (set NMI and IRQ locations) C3/C53C: 20FA68 JSR $68FA C3/C53F: A02C01 LDY #$012C C3/C542: 8485 STY $85 C3/C544: 64B4 STZ $B4 C3/C546: 2086C5 JSR $C586 C3/C549: 2076C5 JSR $C576 (turn off H/DMA, screen, auto joypad read, etc etc) C3/C54C: 2248CDD4 JSL $D4CD48 C3/C550: 2224A4C3 JSL $C3A424 (timer resetting for input decoding) C3/C554: 201411 JSR $1114 (erase all onscreen sprites) C3/C557: 2073DD JSR $DD73 C3/C55A: 223BCFD4 JSL $D4CF3B C3/C55E: AD0102 LDA $0201 (this is set at C0/BA33) C3/C561: 8526 STA $26 (for the jump table above) C3/C563: 20A5C5 JSR $C5A5 (let's use the jump table) C3/C566: 224BCFD4 JSL $D4CF4B C3/C56A: 2076C5 JSR $C576 (turn off H/DMA, screen, auto joypad read, etc etc) C3/C56D: C230 REP #$30 C3/C56F: 2B PLD C3/C570: AB PLB C3/C571: 7A PLY C3/C572: FA PLX C3/C573: 68 PLA C3/C574: 28 PLP C3/C575: 6B RTL
C3/C576 unknow
C3/C576: A98F LDA #$8F C3/C578: 8D0021 STA $2100 C3/C57B: 7B TDC C3/C57C: 8D0042 STA $4200 (STZ $4200...turn off NMI, auto joypad read, etc) C3/C57F: 8D0B42 STA $420B (STZ $420B...turn off DMA) C3/C582: 8D0C42 STA $420C (STZ $420C...turn off HDMA) C3/C585: 60 RTS
C3/C586 unknow
C3/C586: 7B TDC C3/C587: A8 TAY C3/C588: 841B STY $1B C3/C58A: 841D STY $1D C3/C58C: 851F STA $1F C3/C58E: 8416 STY $16 C3/C590: 8518 STA $18 C3/C592: A00100 LDY #$0001 C3/C595: 8419 STY $19 C3/C597: 8412 STY $12 C3/C599: A0FF7F LDY #$7FFF C3/C59C: 8414 STY $14 C3/C59E: 60 RTS
C3/C59F unknow
C3/C59F: A901 LDA #$01 C3/C5A2: 8D3121 STA $2131 C3/C5A4: 60 RTS
C3/C5A5 unknow
C3/C5A5: 7B TDC C3/C5A6: A526 LDA $26 C3/C5A8: C9FF CMP #$FF C3/C5AA: F011 BEQ $C5BD C3/C5AC: C220 REP #$20 C3/C5AE: 0A ASL C3/C5AF: AA TAX C3/C5B0: E220 SEP #$20 (8 bit memory/accum.) C3/C5B2: FC06C4 JSR ($C406,X) C3/C5B5: 20B011 JSR $11B0 (execute everything in OAM queue) C3/C5B8: 206813 JSR $1368 (get NMI triggered) C3/C5BB: 80E8 BRA $C5A5 C3/C5BD: 60 RTS
C3/C5BE unknow
DP $26 is 00 C3/C5BE: A420 LDY $20 C3/C5C0: D011 BNE $C5D3 C3/C5C2: A901 LDA #$01 C3/C5C4: 8526 STA $26 C3/C5C6: A00F00 LDY #$000F C3/C5C9: 8420 STY $20 C3/C5CB: A900 LDA #$00 C3/C5CD: A0FDD1 LDY #$D1FD C3/C5D0: 207311 JSR $1173 (put C3/D1FD in the queue, also JMP!) C3/C5D3: 60 RTS
C3/C5D4 unknow
DP $26 is 01 C3/C5D4: A420 LDY $20 C3/C5D6: D003 BNE $C5DB (branch backwards!) C3/C5D8: 4C69E2 JMP $E269 C3/C5DB: 60 RTS
C3/C5DC unknow
C3/C5DC: A901 LDA #$01 C3/C5DE: 85B4 STA $B4 C3/C5E0: 60 RTS
C3/C5E1 unknow
DP $26 is 05 C3/C5E1: 20DCC5 JSR $C5DC C3/C5E4: 22D7CED4 JSL $D4CED7 C3/C5E8: 200CD4 JSR $D40C C3/C5EB: 20E6D3 JSR $D3E6 C3/C5EE: 22FCCBD4 JSL $D4CBFC C3/C5F2: A01000 LDY #$0010 C3/C5F5: 848E STY $8E C3/C5F7: C220 REP #$20 (16 bit memory/accum.) C3/C5F9: A9F1FF LDA #$FFF1 C3/C5FC: 8F8DB67E STA $7EB68D C3/C600: A92E00 LDA #$002E C3/C603: 8F8FB67E STA $7EB68F C3/C607: A97100 LDA #$0071 C3/C60A: 8F95B67E STA $7EB695 C3/C60E: A98D00 LDA #$008D C3/C611: 8F97B67E STA $7EB697 C3/C615: E220 SEP #$20 (8 bit memory/accum.) C3/C617: A05E00 LDY #$005E C3/C61A: 84C7 STY $C7 C3/C61C: A0002F LDY #$2F00 C3/C61F: 84C5 STY $C5 C3/C621: A00001 LDY #$0100 C3/C624: 84B7 STY $B7 C3/C626: A01103 LDY #$0311 C3/C629: 84B9 STY $B9 C3/C62B: A08000 LDY #$0080 C3/C62E: 8435 STY $35 C3/C630: A09102 LDY #$0291 C3/C633: 8437 STY $37 C3/C635: 20D2DD JSR $DDD2 C3/C638: A400 LDY $00 C3/C63A: 84CF STY $CF C3/C63C: 206DD9 JSR $D96D C3/C63F: A902 LDA #$02 C3/C641: A0B9D7 LDY #$D7B9 C3/C644: 207311 JSR $1173 (put C3/D7B9 in the queue) C3/C647: A902 LDA #$02 C3/C649: A081C6 LDY #$C681 C3/C64C: 207311 JSR $1173 (put C3/C681 in the queue) C3/C64F: A900 LDA #$00 C3/C651: A0F2D0 LDY #$D0F2 C3/C654: 207311 JSR $1173 (put C3/D0F2 in the queue) C3/C657: 205CD1 JSR $D15C C3/C65A: 2073D1 JSR $D173 C3/C65D: 2018D0 JSR $D018 C3/C660: A903 LDA #$03 C3/C662: 8526 STA $26 (execute at C3/C8A6) C3/C664: A01C02 LDY #$021C C3/C667: 8420 STY $20 C3/C669: 4C6CC6 JMP $C66C (...) C3/C66C: A900 LDA #$00 (from C3/C669, C3/C7CF, C3/C87B, C3/C8CE, C3/C914, C3/CA6E, C3/CD94, C3/CEE9, C3/CF97, and C3/D093) C3/C66E: A0CCD1 LDY #$D1CC C3/C671: 207311 JSR $1173 (put C3/D1CC in the queue) C3/C674: 60 RTS
C3/C675 unknow
C3/C675: A901 LDA #$01 C3/C677: 8544 STA $44 C3/C679: 206813 JSR $1368 (get NMI triggered) C3/C67C: A90F LDA #$0F C3/C67E: 8544 STA $44 C3/C680: 60 RTS
C3/C681 code and jump table
DP $26 is 06 C3/C681: AA TAX C3/C682: 7C85C6 JMP ($C685,X) C3/C685: 8BC6 C3/C687: 9AC6 C3/C689: BAC6
C3/C68B unknow
C3/C68B: A62D LDX $2D C3/C68D: FE4936 INC $3649,X (execute the next entry in this queue's jump table) C3/C690: C220 REP #$20 C3/C692: A94E02 LDA #$024E C3/C695: 9D4933 STA $3349,X C3/C698: E220 SEP #$20 (8 bit memory/accum.) C3/C69A: A62D LDX $2D C3/C69C: A523 LDA $23 C3/C69E: 2901 AND #$01 C3/C6A0: D004 BNE $C6A6 C3/C6A2: C220 REP #$20 (16 bit memory/accum.) C3/C6A4: E68E INC $8E C3/C6A6: C220 REP #$20 (16 bit memory/accum.) C3/C6A8: A58E LDA $8E C3/C6AA: 8D0006 STA $0600 C3/C6AD: 9CC207 STZ $07C2 C3/C6B0: 9C8409 STZ $0984 C3/C6B3: 20BFC6 JSR $C6BF C3/C6B6: E220 SEP #$20 (8 bit memory/accum.) C3/C6B8: 38 SEC (not done with this queue yet) C3/C6B9: 60 RTS C3/C6BA: 20BFC6 JSR $C6BF C3/C6BD: 38 SEC (not done with this queue yet) C3/C6BE: 60 RTS
C3/C6BF unknow
C3/C6BF: C220 REP #$20 (16 bit memory/accum.) C3/C6C1: C635 DEC $35 C3/C6C3: C6B7 DEC $B7 C3/C6C5: A535 LDA $35 C3/C6C7: 8D91B6 STA $B691 C3/C6CA: A537 LDA $37 C3/C6CC: 8D93B6 STA $B693 C3/C6CF: A5B7 LDA $B7 C3/C6D1: 8D99B6 STA $B699 C3/C6D4: A5B9 LDA $B9 C3/C6D6: 8D9BB6 STA $B69B C3/C6D9: E220 SEP #$20 (8 bit memory/accum.) C3/C6DB: 60 RTS
C3/C6DC unknow
DP $26 is 07 or 08 C3/C6DC: A9C3 LDA #$C3 C3/C6DE: 85ED STA $ED C3/C6E0: A904 LDA #$04 C3/C6E2: A0C931 LDY #$31C9 C3/C6E5: 84E7 STY $E7 C3/C6E7: A2F410 LDX #$10F4 C3/C6EA: 86EB STX $EB C3/C6EC: 20AA0F JSR $0FAA C3/C6EF: A9C3 LDA #$C3 C3/C6F1: 85ED STA $ED C3/C6F3: A904 LDA #$04 C3/C6F5: A0E931 LDY #$31E9 C3/C6F8: 84E7 STY $E7 C3/C6FA: A2F410 LDX #$10F4 C3/C6FD: 86EB STX $EB C3/C6FF: 20AA0F JSR $0FAA (JMP fool!) C3/C702: 60 RTS
C3/C703 unknow
C3/C703: A9C2 LDA #$C2 C3/C705: 85ED STA $ED C3/C707: A904 LDA #$04 C3/C709: A0C931 LDY #$31C9 C3/C70C: 84E7 STY $E7 C3/C70E: A25497 LDX #$9754 C3/C711: 86EB STX $EB C3/C713: 20AA0F JSR $0FAA C3/C716: A9C2 LDA #$C2 C3/C718: 85ED STA $ED C3/C71A: A904 LDA #$04 C3/C71C: A0E931 LDY #$31E9 C3/C71F: 84E7 STY $E7 C3/C721: A24C97 LDX #$974C C3/C724: 86EB STX $EB C3/C726: 20AA0F JSR $0FAA (JMP fool!) C3/C729: 60 RTS
C3/C72A unknow
C3/C72A: A9C2 LDA #$C2 C3/C72C: 85ED STA $ED C3/C72E: A904 LDA #$04 C3/C730: A0C931 LDY #$31C9 C3/C733: 84E7 STY $E7 C3/C735: A24497 LDX #$9744 C3/C738: 86EB STX $EB C3/C73A: 20AA0F JSR $0FAA C3/C73D: A9C2 LDA #$C2 C3/C73F: 85ED STA $ED C3/C741: A904 LDA #$04 C3/C743: A0E931 LDY #$31E9 C3/C746: 84E7 STY $E7 C3/C748: A23C97 LDX #$973C C3/C74B: 86EB STX $EB C3/C74D: 20AA0F JSR $0FAA (JMP fool!) C3/C750: 60 RTS
C3/C751 unknow
C3/C751: A9C2 LDA #$C2 C3/C753: A04931 LDY #$3149 C3/C756: A2F497 LDX #$97F4 C3/C759: 208E0F JSR $0F8E (copy stuff from C2/97F4 to 7E/3149) C3/C75C: A9C2 LDA #$C2 C3/C75E: A06931 LDY #$3169 C3/C761: A29497 LDX #$9794 C3/C764: 208E0F JSR $0F8E (copy stuff from C2/9794 to 7E/3169) C3/C767: A9C2 LDA #$C2 C3/C769: A08931 LDY #$3189 C3/C76C: A2B497 LDX #$97B4 C3/C76F: 208E0F JSR $0F8E (copy stuff from C2/97B4 to 7E/3189) C3/C772: A9C2 LDA #$C2 C3/C774: A0A931 LDY #$31A9 C3/C777: A2D497 LDX #$97D4 C3/C77A: 208E0F JSR $0F8E (copy stuff from C2/97D4 to 7E/31A9) C3/C77D: A9C2 LDA #$C2 C3/C77F: A00932 LDY #$3209 C3/C782: A23498 LDX #$9834 C3/C785: 208E0F JSR $0F8E (copy stuff from C2/9834 to 7E/3209) C3/C788: A9C2 LDA #$C2 C3/C78A: A02932 LDY #$3229 C3/C78D: A21498 LDX #$9814 C3/C790: 208E0F JSR $0F8E (copy stuff from C2/9814 to 7E/3229, also JMP!) C3/C793: 60 RTS
C3/C794 unknow
DP $26 is 09, 25, 26, 27, 2C, 31, 36, 37, 39, 3A, 3B, 54, 55, 56, 57, 58, 59, 5E, 5F, 60, 61, 62, 63, 6B, 6C, 6D, 72, 73, 74, 75, 76, 77, 7C, 7D, 7E, 7F, 80, or 81 C3/C794: 20DCC5 JSR $C5DC C3/C797: 22D7CED4 JSL $D4CED7 C3/C79B: 2022D5 JSR $D522 C3/C79E: 20E6D3 JSR $D3E6 C3/C7A1: 228FCBD4 JSL $D4CB8F C3/C7A5: 2051C7 JSR $C751 C3/C7A8: 205CD1 JSR $D15C C3/C7AB: 2073D1 JSR $D173 C3/C7AE: A0708A LDY #$8A70 C3/C7B1: A9C2 LDA #$C2 C3/C7B3: 2025D2 JSR $D225 C3/C7B6: 2083D9 JSR $D983 C3/C7B9: A400 LDY $00 C3/C7BB: 84CF STY $CF C3/C7BD: A902 LDA #$02 C3/C7BF: A0CBD7 LDY #$D7CB C3/C7C2: 207311 JSR $1173 (put C3/D7CB in the queue) C3/C7C5: 20A0D2 JSR $D2A0 C3/C7C8: E626 INC $26 C3/C7CA: A0C003 LDY #$03C0 C3/C7CD: 8420 STY $20 C3/C7CF: 4C6CC6 JMP $C66C
C3/C7D2 unknow
DP $26 is 0A C3/C7D2: A420 LDY $20 C3/C7D4: D00A BNE $C7E0 C3/C7D6: E626 INC $26 C3/C7D8: A07008 LDY #$0870 C3/C7DB: 8420 STY $20 C3/C7DD: 2002C8 JSR $C802 C3/C7E0: 60 RTS
C3/C7E1 unknow
DP $26 is 0B C3/C7E1: A420 LDY $20 C3/C7E3: D01C BNE $C801 C3/C7E5: A903 LDA #$03 C3/C7E7: 8526 STA $26 C3/C7E9: A07800 LDY #$0078 C3/C7EC: 8420 STY $20 C3/C7EE: A9C3 LDA #$C3 C3/C7F0: 85ED STA $ED C3/C7F2: A902 LDA #$02 C3/C7F4: A0A930 LDY #$30A9 C3/C7F7: 84E7 STY $E7 C3/C7F9: A2D410 LDX #$10D4 C3/C7FC: 86EB STX $EB C3/C7FE: 20AA0F JSR $0FAA (JMP fool!) C3/C801: 60 RTS
C3/C802 unknow
C3/C802: 2046C8 JSR $C846 C3/C805: C220 REP #$20 (16 bit memory/accum.) C3/C807: A9DC8C LDA #$8CDC C3/C80A: 204FC8 JSR $C84F C3/C80D: E220 SEP #$20 (8 bit memory/accum.) C3/C80F: A9C2 LDA #$C2 C3/C811: 9FCA357E STA $7E35CA,X C3/C815: A9F8 LDA #$F8 C3/C817: 9FCA337E STA $7E33CA,X C3/C81B: A9A0 LDA #$A0 C3/C81D: 9F4A347E STA $7E344A,X C3/C821: A903 LDA #$03 C3/C823: A084DE LDY #$DE84 C3/C826: 207311 JSR $1173 (put C3/DE84 in the queue) C3/C829: C220 REP #$20 (16 bit memory/accum.) C3/C82B: A9F08C LDA #$8CF0 C3/C82E: 204FC8 JSR $C84F C3/C831: E220 SEP #$20 (8 bit memory/accum.) C3/C833: A9C2 LDA #$C2 C3/C835: 9FCA357E STA $7E35CA,X C3/C839: A9F8 LDA #$F8 C3/C83B: 9FCA337E STA $7E33CA,X C3/C83F: A9B0 LDA #$B0 C3/C841: 9F4A347E STA $7E344A,X C3/C845: 60 RTS
C3/C846 unknow
C3/C846: A901 LDA #$01 C3/C848: A084DE LDY #$DE84 C3/C84B: 207311 JSR $1173 (put C3/DE84 in the queue) C3/C84E: 60 RTS
C3/C84F unknow
C3/C84F: 9FC9327E STA $7E32C9,X C3/C853: A9C0FF LDA #$FFC0 C3/C856: 9FC9347E STA $7E34C9,X C3/C85A: A9E0FF LDA #$FFE0 C3/C85D: 9F49357E STA $7E3549,X C3/C861: A90004 LDA #$0400 C3/C864: 9F49337E STA $7E3349,X C3/C868: 60 RTS
C3/C869 unknow
DP $26 is 02 C3/C869: 207EC8 JSR $C87E C3/C86C: A0F000 LDY #$00F0 C3/C86F: 8420 STY $20 C3/C871: A03C8B LDY #$8B3C C3/C874: A9C2 LDA #$C2 C3/C876: 2025D2 JSR $D225 C3/C879: E626 INC $26 (execute at C3/C8A6) C3/C87B: 4C6CC6 JMP $C66C
C3/C87E unknow
C3/C87E: 22D7CED4 JSL $D4CED7 C3/C882: 2022D5 JSR $D522 C3/C885: 20E6D3 JSR $D3E6 C3/C888: 228FCBD4 JSL $D4CB8F C3/C88C: 2051C7 JSR $C751 C3/C88F: 205CD1 JSR $D15C C3/C892: A00002 LDY #$0200 C3/C895: 84C7 STY $C7 C3/C897: A000F0 LDY #$F000 C3/C89A: 84C5 STY $C5 C3/C89C: 20D2DD JSR $DDD2 C3/C89F: 2073D1 JSR $D173 C3/C8A2: 20A0D2 JSR $D2A0 (JMP fool!) C3/C8A5: 60 RTS
C3/C8A6 unknow
DP $26 is 03 C3/C8A6: A420 LDY $20 C3/C8A8: D002 BNE $C8AC C3/C8AA: 6426 STZ $26 (execute at C3/C5BE) C3/C8AC: 60 RTS
C3/C8AD unknow
DP $26 is 04 C3/C8AD: 207EC8 JSR $C87E C3/C8B0: A00080 LDY #$8000 C3/C8B3: 84C7 STY $C7 C3/C8B5: A00080 LDY #$8000 C3/C8B8: 84C5 STY $C5 C3/C8BA: 20D2DD JSR $DDD2 C3/C8BD: A07800 LDY #$0078 C3/C8C0: 8420 STY $20 C3/C8C2: A0428B LDY #$8B42 C3/C8C5: A9C2 LDA #$C2 C3/C8C7: 2025D2 JSR $D225 C3/C8CA: A903 LDA #$03 C3/C8CC: 8526 STA $26 (execute at C3/C8A6) C3/C8CE: 4C6CC6 JMP $C66C
C3/C8D1 unknow
DP $26 is 0C C3/C8D1: 22D7CED4 JSL $D4CED7 C3/C8D5: 209FC5 JSR $C59F C3/C8D8: 20AAD5 JSR $D5AA C3/C8DB: 20E6D3 JSR $D3E6 C3/C8DE: 228FCBD4 JSL $D4CB8F C3/C8E2: A00010 LDY #$1000 C3/C8E5: 84C5 STY $C5 C3/C8E7: 205CD1 JSR $D15C C3/C8EA: 2073D1 JSR $D173 C3/C8ED: 2051C7 JSR $C751 C3/C8F0: A0D98A LDY #$8AD9 C3/C8F3: A9C2 LDA #$C2 C3/C8F5: 2025D2 JSR $D225 C3/C8F8: 20C7CA JSR $CAC7 C3/C8FB: 2099D9 JSR $D999 C3/C8FE: A400 LDY $00 C3/C900: 84CF STY $CF C3/C902: A902 LDA #$02 C3/C904: A019D8 LDY #$D819 C3/C907: 207311 JSR $1173 (put C3/D819 in the queue) C3/C90A: 20A0D2 JSR $D2A0 C3/C90D: A03804 LDY #$0438 C3/C910: 8420 STY $20 C3/C912: E626 INC $26 C3/C914: 4C6CC6 JMP $C66C
C3/C917 unknow
DP $26 is 0D C3/C917: A420 LDY $20 C3/C919: D00A BNE $C925 C3/C91B: 204EC9 JSR $C94E C3/C91E: 6426 STZ $26 (execute at C3/C5BE) C3/C920: A0D002 LDY #$02D0 C3/C923: 8420 STY $20 C3/C925: 60 RTS
C3/C926 unknow
C3/C926: 20D2E9 JSR $E9D2 C3/C929: C220 REP #$20 (16 bit memory/accum.) C3/C92B: A9FDF7 LDA #$F7FD C3/C92E: 9FC9327E STA $7E32C9,X (save as pointer to OAM data) C3/C932: A9C0FF LDA #$FFC0 C3/C935: 9FC9347E STA $7E34C9,X C3/C939: E220 SEP #$20 (8 bit memory/accum.) C3/C93B: A9CF LDA #$CF C3/C93D: 9FCA357E STA $7E35CA,X (save bank pointer to OAM data) C3/C941: A9F8 LDA #$F8 C3/C943: 9FCA337E STA $7E33CA,X C3/C947: A970 LDA #$70 C3/C949: 9F4A347E STA $7E344A,X C3/C94D: 60 RTS
C3/C94E unknow
C3/C94E: 20D2E9 JSR $E9D2 C3/C951: C220 REP #$20 (16 bit memory/accum.) C3/C953: A909F8 LDA #$F809 C3/C956: 9FC9327E STA $7E32C9,X (save as pointer to OAM data) C3/C95A: A9C0FF LDA #$FFC0 C3/C95D: 9FC9347E STA $7E34C9,X C3/C961: E220 SEP #$20 (8 bit memory/accum.) C3/C963: A9CF LDA #$CF C3/C965: 9FCA357E STA $7E35CA,X (save bank pointer to OAM data) C3/C969: A9F8 LDA #$F8 C3/C96B: 9FCA337E STA $7E33CA,X C3/C96F: A950 LDA #$50 C3/C971: 9F4A347E STA $7E344A,X C3/C975: A901 LDA #$01 C3/C977: A0A2C9 LDY #$C9A2 C3/C97A: 207311 JSR $1173 (put C3/C9A2 in the queue) C3/C97D: C220 REP #$20 (16 bit memory/accum.) C3/C97F: A9FDF7 LDA #$F7FD C3/C982: 9FC9327E STA $7E32C9,X (save as pointer to OAM data) C3/C986: A9C0FF LDA #$FFC0 C3/C989: 9FC9347E STA $7E34C9,X C3/C98D: E220 SEP #$20 (8 bit memory/accum.) C3/C98F: A9CF LDA #$CF C3/C991: 9FCA357E STA $7E35CA,X (save bank pointer to OAM data) C3/C995: A9F8 LDA #$F8 C3/C997: 9FCA337E STA $7E33CA,X C3/C99B: A950 LDA #$50 C3/C99D: 9F4A347E STA $7E344A,X C3/C9A1: 60 RTS
C3/C9A2 code and jump table
C3/C9A2: AA TAX C3/C9A3: 7CA6C9 JMP ($C9A6,X) C3/C9A6: AAC9 C3/C9A8: BCC9
C3/C9AA unknow
C3/C9AA: A62D LDX $2D C3/C9AB: FE4936 INC $3649,X (execute the next entry in this queue's jump table) C3/C9AE: C220 REP #$20 C3/C9B0: A94000 LDA #$0040 C3/C9B3: 9D4933 STA $3349,X C3/C9B7: E220 SEP #$20 (8 bit memory/accum.) C3/C9B9: 200612 JSR $1206 C3/C9BC: A62D LDX $2D C3/C9BE: BC4933 LDY $3349,X C3/C9C1: D005 BNE $C9C8 C3/C9C3: 20C0DE JSR $DEC0 C3/C9C6: 38 SEC (not done with this queue yet) C3/C9C7: 60 RTS C3/C9C8: 20E5CF JSR $CFE5 C3/C9CB: 38 SEC (not done with this queue yet) C3/C9CC: 60 RTS
C3/C9CD unknow
DP $26 is 0E, 0F, or 10 C3/C9CD: 22D7CED4 JSL $D4CED7 C3/C9D1: 209FC5 JSR $C59F C3/C9D4: 20DAD5 JSR $D5DA C3/C9D7: 2071CA JSR $CA71 C3/C9DA: 208CD3 JSR $D38C C3/C9DD: 206FD3 JSR $D36F C3/C9E0: 2051C7 JSR $C751 C3/C9E3: A02800 LDY #$0028 C3/C9E6: 843B STY $3B C3/C9E8: A06DFF LDY #$FF6D C3/C9EB: 84C3 STY $C3 C3/C9ED: A04C03 LDY #$034C C3/C9F0: 84C7 STY $C7 C3/C9F2: A000FD LDY #$FD00 C3/C9F5: 84C5 STY $C5 C3/C9F7: 20D2DD JSR $DDD2 C3/C9FA: 20FDCA JSR $CAFD C3/C9FD: A902 LDA #$02 C3/C9FF: A0C6CB LDY #$CBC6 C3/CA02: 207311 JSR $1173 (put C3/CDC6 in the queue) C3/CA05: C220 REP #$20 (16 bit memory/accum.) C3/CA07: A9B18B LDA #$8BB1 C3/CA0A: 9FC9327E STA $7E32C9,X (save as pointer to OAM data) C3/CA0E: E220 SEP #$20 (8 bit memory/accum.) C3/CA10: A9C2 LDA #$C2 C3/CA12: 9FCA357E STA $7E35CA,X (save bank pointer to OAM data) C3/CA16: A978 LDA #$78 C3/CA18: 9FCA337E STA $7E33CA,X C3/CA1C: A958 LDA #$58 C3/CA1E: 9F4A347E STA $7E344A,X C3/CA22: 20D2E9 JSR $E9D2 C3/CA25: C220 REP #$20 (16 bit memory/accum.) C3/CA27: A9EC8B LDA #$8BEC C3/CA2A: 9FC9327E STA $7E32C9,X (save as pointer to OAM data) C3/CA2E: E220 SEP #$20 (8 bit memory/accum.) C3/CA30: A9C2 LDA #$C2 C3/CA32: 9FCA357E STA $7E35CA,X (save bank pointer to OAM data) C3/CA36: A980 LDA #$80 C3/CA38: 9FCA337E STA $7E33CA,X C3/CA3C: A980 LDA #$80 C3/CA3E: 9F4A347E STA $7E344A,X C3/CA42: 2073D1 JSR $D173 C3/CA45: 20AFD9 JSR $D9AF C3/CA48: A400 LDY $00 C3/CA4A: 84CF STY $CF C3/CA4C: A902 LDA #$02 C3/CA4E: A049D8 LDY #$D849 C3/CA51: 207311 JSR $1173 (put C3/D849 in the queue) C3/CA54: A0368B LDY #$8B36 C3/CA57: A9C2 LDA #$C2 C3/CA59: 2025D2 JSR $D225 C3/CA5C: A903 LDA #$03 C3/CA5E: A0A2CA LDY #$CAA2 C3/CA61: 207311 JSR $1173 (put C3/CAA2 in the queue) C3/CA64: 20A0D2 JSR $D2A0 C3/CA67: E626 INC $26 C3/CA69: A0B004 LDY #$04B0 C3/CA6C: 8420 STY $20 C3/CA6E: 4C6CC6 JMP $C66C
C3/CA71 unknow
C3/CA71: 20E6D3 JSR $D3E6 C3/CA74: 20D3D4 JSR $D4D3 C3/CA77: 204BD3 JSR $D34B C3/CA7A: 205CD1 JSR $D15C C3/CA7D: 4C80CA JMP $CA80
C3/CA80 unknow
C3/CA80: A9C2 LDA #$C2 C3/CA82: A04930 LDY #$3049 C3/CA85: A23C95 LDX #$953C C3/CA88: 208E0F JSR $0F8E (copy stuff from C2/953C to 7E/3049) C3/CA8B: 60 RTS
C3/CA8C unknow
DP $26 is 11 C3/CA8C: A420 LDY $20 C3/CA8E: D011 BNE $CAA1 C3/CA90: A903 LDA #$03 C3/CA92: 8526 STA $26 (execute at C3/C8A6) C3/CA94: A00807 LDY #$0708 C3/CA97: 8420 STY $20 C3/CA99: A901 LDA #$01 C3/CA9B: A079CC LDY #$CC79 C3/CA9E: 207311 JSR $1173 (put C3/CC79 in the queue) C3/CAA1: 60 RTS
C3/CAA2 unknow
C3/CAA2: A523 LDA $23 C3/CAA4: 2901 AND #$01 C3/CAA6: D006 BNE $CAAE C3/CAA8: C220 REP #$20 (16 bit memory/accum.) C3/CAAA: C639 DEC $39 C3/CAAC: E220 SEP #$20 (8 bit memory/accum.) C3/CAAE: 38 SEC C3/CAAF: 60 RTS
C3/CAB0 unknow
C3/CAB0: A523 LDA $23 C3/CAB2: 2901 AND #$01 C3/CAB4: D006 BNE $CABC C3/CAB6: C220 REP #$20 (16 bit memory/accum.) C3/CAB8: E639 INC $39 C3/CABA: E220 SEP #$20 (8 bit memory/accum.) C3/CABC: 38 SEC C3/CABD: 60 RTS
C3/CABE unknow
DP $26 is 12 or 13 C3/CABE: A420 LDY $20 C3/CAC0: D004 BNE $CAC6 C3/CAC2: A9FF LDA #$FF C3/CAC4: 8526 STA $26 (exit this process) C3/CAC6: 60 RTS
C3/CAC7 unknow
C3/CAC7: A600 LDX $00 C3/CAC9: DA PHX C3/CACA: 205FCB JSR $CB5F C3/CACD: 9B TXY C3/CACE: FA PLX C3/CACF: 8B PHB C3/CAD0: A97E LDA #$7E C3/CAD2: 48 PHA C3/CAD3: AB PLB C3/CAD4: C220 REP #$20 (16 bit memory/accum.) C3/CAD6: BFB5F7CF LDA $CFF7B5,X C3/CADA: E8 INX C3/CADB: E8 INX C3/CADC: 99C932 STA $32C9,Y (save as pointer to OAM data) C3/CADF: E220 SEP #$20 (8 bit memory/accum.) C3/CAE1: BFB5F7CF LDA $CFF7B5,X C3/CAE5: E8 INX C3/CAE6: 99CA34 STA $34CA,Y C3/CAE9: BFB5F7CF LDA $CFF7B5,X C3/CAED: E8 INX C3/CAEE: 994A34 STA $344A,Y C3/CAF1: A901 LDA #$01 C3/CAF3: 994A36 STA $364A,Y C3/CAF6: AB PLB C3/CAF7: E01800 CPX #$0018 C3/CAFA: D0CD BNE $CAC9 C3/CAFC: 60 RTS
C3/CAFD unknow
C3/CAFD: A600 LDX $00 C3/CAFF: DA PHX C3/CB00: 205FCB JSR $CB5F C3/CB03: 9B TXY C3/CB04: FA PLX C3/CB05: 8B PHB C3/CB06: A97E LDA #$7E C3/CB08: 48 PHA C3/CB09: AB PLB C3/CB0A: C220 REP #$20 (16 bit memory/accum.) C3/CB0C: BFCDF7CF LDA $CFF7CD,X C3/CB10: E8 INX C3/CB11: E8 INX C3/CB12: 99C932 STA $32C9,Y (save as pointer to OAM data) C3/CB15: E220 SEP #$20 (8 bit memory/accum.) C3/CB17: BFCDF7CF LDA $CFF7CD,X C3/CB1B: E8 INX C3/CB1C: 99CA34 STA $34CA,Y C3/CB1F: BFCDF7CF LDA $CFF7CD,X C3/CB23: E8 INX C3/CB24: 994A34 STA $344A,Y C3/CB27: AB PLB C3/CB28: E01800 CPX #$0018 C3/CB2B: D0D2 BNE $CAFF C3/CB2D: 60 RTS
C3/CB2E unknow
C3/CB2E: A600 LDX $00 C3/CB30: DA PHX C3/CB31: 205FCB JSR $CB5F C3/CB34: 9B TXY C3/CB35: FA PLX C3/CB36: 8B PHB C3/CB37: A97E LDA #$7E C3/CB39: 48 PHA C3/CB3A: AB PLB C3/CB3B: C220 REP #$20 (16 bit memory/accum.) C3/CB3D: BFE5F7CF LDA $CFF7E5,X C3/CB41: E8 INX C3/CB42: E8 INX C3/CB43: 99C932 STA $32C9,Y (save as pointer to OAM data) C3/CB46: E220 SEP #$20 (8 bit memory/accum.) C3/CB48: BFE5F7CF LDA $CFF7E5,X C3/CB4C: E8 INX C3/CB4D: 99CA34 STA $34CA,Y C3/CB50: BFE5F7CF LDA $CFF7E5,X C3/CB54: E8 INX C3/CB55: 994A34 STA $344A,Y C3/CB58: AB PLB C3/CB59: E01800 CPX #$0018 C3/CB5C: D0D2 BNE $CB30 C3/CB5E: 60 RTS ==C3/CB5F unknow== C3/CB5F: A902 LDA #$02 C3/CB61: A068CB LDY #$CB68 C3/CB64: 207311 JSR $1173 C3/CB67: 60 RTS
C3/CB68 code and jump table
C3/CB68: AA TAX C3/CB69: 7C6CCB JMP ($CB6C,X) C3/CB6C: 70CB C3/CB6E: 87CB
C3/CB70 unknow
C3/CB70: A62D LDX $2D C3/CB72: FE4936 INC $3649,X (execute the next entry in this queue's jump table) C3/CB75: 9E4A33 STZ $334A,X C3/CB78: BF68CBC3 LDA $C3CB68,X C3/CB7C: 9D4933 STA $3349,X C3/CB7F: A9CF LDA #$CF C3/CB81: 9DCA35 STA $35CA,X (save bank pointer to OAM data) C3/CB84: 200612 JSR $1206 C3/CB87: A62D LDX $2D C3/CB89: 2094CB JSR $CB94 C3/CB8C: FE4933 INC $3349,X C3/CB8F: 20C0DE JSR $DEC0 C3/CB92: 38 SEC (not done with this queue yet) C3/CB93: 60 RTS
C3/CB94 unknow
C3/CB94: C220 REP #$20 (16 bit memory/accum.) C3/CB96: BD4933 LDA $3349,X C3/CB99: 2076DE JSR $DE76 C3/CB9C: 85EB STA $EB C3/CB9E: 85E0 STA $E0 C3/CBA0: A5E0 LDA $E0 C3/CBA2: 1004 BPL $CBA8 C3/CBA4: 49FFFF EOR #$FFFF C3/CBA7: 1A INC A C3/CBA8: 85E0 STA $E0 C3/CBAA: A5EB LDA $EB C3/CBAC: 1009 BPL $CBB7 C3/CBAE: 2031CC JSR $CC31 C3/CBB1: 49FFFF EOR #$FFFF C3/CBB4: 1A INC A C3/CBB5: 8003 BRA $CBBA C3/CBB7: 2031CC JSR $CC31 C3/CBBA: A62D LDX $2D C3/CBBC: 18 CLC C3/CBBD: 7DC934 ADC $34C9,X C3/CBC0: 9DC933 STA $33C9,X C3/CBC3: E220 SEP #$20 (8 bit memory/accum.) C3/CBC5: 60 RTS
C3/CBC6 code and jump table
C3/CBC6: AA TAX C3/CBC7: 7CCACB JMP ($CBCA,X) C3/CBCA: CECB C3/CBCC: E6CB
C3/CBCE unknow
C3/CBCE: A62D LDX $2D C3/CBD0: FE4936 INC $3649,X (execute the next entry in this queue's jump table) C3/CBD3: 9E4A33 STZ $334A,X C3/CBD6: 9E4933 STZ $3349,X C3/CBD9: A978 LDA #$78 C3/CBDB: 9DCA33 STA $33CA,X C3/CBDE: A920 LDA #$20 C3/CBE0: 9D4A35 STA $354A,X C3/CBE3: 200612 JSR $1206 C3/CBE6: A62D LDX $2D C3/CBE8: 20FFCB JSR $CBFF C3/CBEB: A62D LDX $2D C3/CBED: FE4933 INC $3349,X C3/CBF0: BD4933 LDA $3349,X C3/CBF3: C938 CMP #$38 C3/CBF5: B003 BCS $CBFA C3/CBF7: 2038CC JSR $CC38 C3/CBFA: 20C0DE JSR $DEC0 C3/CBFD: 38 SEC (not done with this queue yet) C3/CBFE: 60 RTS
C3/CBFF unknow
C3/CBFF: C220 REP #$20 (16 bit memory/accum.) C3/CC01: BD4933 LDA $3349,X C3/CC04: 207ADE JSR $DE7A C3/CC07: 85EB STA $EB C3/CC09: 85E0 STA $E0 C3/CC0B: A5E0 LDA $E0 C3/CC0D: 1004 BPL $CC13 C3/CC0F: 49FFFF EOR #$FFFF C3/CC12: 1A INC A C3/CC13: 85E0 STA $E0 C3/CC15: A5EB LDA $EB C3/CC17: 1009 BPL $CC22 C3/CC19: 2031CC JSR $CC31 C3/CC1C: 49FFFF EOR #$FFFF C3/CC1F: 1A INC A C3/CC20: 8003 BRA $CC25 C3/CC22: 2031CC JSR $CC31 C3/CC25: A62D LDX $2D C3/CC27: 18 CLC C3/CC28: 7D4935 ADC $3549,X C3/CC2B: 9D4934 STA $3449,X C3/CC2E: E220 SEP #$20 (8 bit memory/accum.) C3/CC30: 60 RTS
C3/CC31 unknow
C3/CC31: A5E0 LDA $E0 C3/CC33: 4A LSR A C3/CC34: 4A LSR A C3/CC35: 4A LSR A C3/CC36: 4A LSR A C3/CC37: 60 RTS
C3/CC38 unknow
C3/CC38: A523 LDA $23 C3/CC3A: 2903 AND #$03 C3/CC3C: D03A BNE $CC78 C3/CC3E: 8B PHB C3/CC3F: A900 LDA #$00 C3/CC41: 48 PHA C3/CC42: AB PLB C3/CC43: 2046C8 JSR $C846 C3/CC46: C220 REP #$20 (16 bit memory/accum.) C3/CC48: A90B8D LDA #$8D0B C3/CC4B: 9FC9327E STA $7E32C9,X (save as pointer to OAM data) C3/CC4F: A90001 LDA #$0100 C3/CC52: 9FC9347E STA $7E34C9,X C3/CC56: A980FF LDA #$FF80 C3/CC59: 9F49357E STA $7E3549,X C3/CC5D: E220 SEP #$20 (8 bit memory/accum.) C3/CC5F: A918 LDA #$18 C3/CC61: 9F49337E STA $7E3349,X C3/CC65: A9C2 LDA #$C2 C3/CC67: 9FCA357E STA $7E35CA,X (save bank pointer to OAM data) C3/CC6B: A97E LDA #$7E C3/CC6D: 9FCA337E STA $7E33CA,X C3/CC71: A97C LDA #$7C C3/CC73: 9F4A347E STA $7E344A,X C3/CC77: AB PLB C3/CC78: 60 RTS
C3/CC79 code and jump table
C3/CC79: AA TAX C3/CC7A: 7C7DCC JMP ($CC7D,X) C3/CC7D: 81CC C3/CC7F: A8CC
C3/CC81 unknow
C3/CC81: A62D LDX $2D C3/CC83: FE4936 INC $3649,X (execute the next entry in this queue's jump table) C3/CC86: A9CF LDA #$CF C3/CC88: 9DCA35 STA $35CA,X (save bank pointer to OAM data) C3/CC8B: C220 REP #$20 (16 bit memory/accum.) C3/CC8D: A972F7 LDA #$F772 C3/CC90: 9DC932 STA $32C9,X (save as pointer to OAM data) C3/CC93: A91000 LDA #$0010 C3/CC96: 9D4933 STA $3349,X C3/CC99: E220 SEP #$20 (8 bit memory/accum.) C3/CC9B: A900 LDA #$00 C3/CC9D: 9DCA34 STA $34CA,X C3/CCA0: A900 LDA #$00 C3/CCA2: 9D4A35 STA $354A,X C3/CCA5: 200612 JSR $1206 C3/CCA8: A62D LDX $2D C3/CCAA: BDCA33 LDA $33CA,X C3/CCAD: C908 CMP #$08 C3/CCAF: B002 BCS $CCB3 C3/CCB1: 18 CLC (this queue can be removed) C3/CCB2: 60 RTS
C3/CCB3 unknow
C3/CCB3: C220 REP #$20 (16 bit memory/accum.) C3/CCB5: BD4933 LDA $3349,X C3/CCB8: 2076DE JSR $DE76 C3/CCBB: 85EB STA $EB C3/CCBD: 85E0 STA $E0 C3/CCBF: A5E0 LDA $E0 C3/CCC1: 1004 BPL $CCC7 C3/CCC3: 49FFFF EOR #$FFFF C3/CCC6: 1A INC A C3/CCC7: 85E0 STA $E0 C3/CCC9: A5EB LDA $EB C3/CCCB: 1009 BPL $CCD6 C3/CCCD: A5E0 LDA $E0 C3/CCCF: 0A ASL A C3/CCD0: 49FFFF EOR #$FFFF C3/CCD3: 1A INC A C3/CCD4: 8003 BRA $CCD9 C3/CCD6: A5E0 LDA $E0 C3/CCD8: 0A ASL A C3/CCD9: A62D LDX $2D C3/CCDB: 18 CLC C3/CCDC: 7DC934 ADC $34C9,X C3/CCDF: 9DC933 STA $33C9,X C3/CCE2: BD4933 LDA $3349,X C3/CCE5: 207ADE JSR $DE7A C3/CCE8: 85EB STA $EB C3/CCEA: 85E0 STA $E0 C3/CCEC: A5E0 LDA $E0 C3/CCEE: 1004 BPL $CCF4 C3/CCF0: 49FFFF EOR #$FFFF C3/CCF3: 1A INC A C3/CCF4: 85E0 STA $E0 C3/CCF6: A5EB LDA $EB C3/CCF8: 1008 BPL $CD02 C3/CCFA: A5E0 LDA $E0 C3/CCFC: 49FFFF EOR #$FFFF C3/CCFF: 1A INC A C3/CD00: 8002 BRA $CD04 C3/CD02: A5E0 LDA $E0 C3/CD04: A62D LDX $2D C3/CD06: 18 CLC C3/CD07: 7D4935 ADC $3549,X C3/CD0A: 9D4934 STA $3449,X C3/CD0D: FE4933 INC $3349,X C3/CD10: E220 SEP #$20 (8 bit memory/accum.) C3/CD12: 202112 JSR $1221 (draw the sprites!) C3/CD15: 38 SEC (not done with this queue yet) C3/CD16: 60 RTS
C3/CD17 unknow
DP $26 is 14 C3/CD17: 22D7CED4 JSL $D4CED7 C3/CD1B: 209FC5 JSR $C59F C3/CD1E: 2273D5C3 JSL $C3D573 C3/CD22: 2071CA JSR $CA71 C3/CD25: 208CD3 JSR $D38C C3/CD28: 206FD3 JSR $D36F C3/CD2B: 2051C7 JSR $C751 C3/CD2E: A02800 LDY #$0028 C3/CD31: 843B STY $3B C3/CD33: A0CDFF LDY #$FFCD C3/CD36: 84C3 STY $C3 C3/CD38: A00B03 LDY #$030B C3/CD3B: 84C7 STY $C7 C3/CD3D: A000F0 LDY #$F000 C3/CD40: 84C5 STY $C5 C3/CD42: 20D2DD JSR $DDD2 C3/CD45: 2073D1 JSR $D173 C3/CD48: 202ECB JSR $CB2E C3/CD4B: 20DCCF JSR $CFDC C3/CD4E: C220 REP #$20 (16 bit memory/accum.) C3/CD50: A9258C LDA #$8C25 C3/CD53: 9FC9327E STA $7E32C9,X (save as pointer to OAM data) C3/CD57: E220 SEP #$20 (8 bit memory/accum.) C3/CD59: A9C2 LDA #$C2 C3/CD5B: 9FCA357E STA $7E35CA,X (save bank pointer to OAM data) C3/CD5F: A978 LDA #$78 C3/CD61: 9FCA337E STA $7E33CA,X C3/CD65: A958 LDA #$58 C3/CD67: 9F4A357E STA $7E354A,X C3/CD6B: A0398B LDY #$8B39 C3/CD6E: A9C2 LDA #$C2 C3/CD70: 2025D2 JSR $D225 C3/CD73: 20C5D9 JSR $D9C5 C3/CD76: A400 LDY $00 C3/CD78: 84CF STY $CF C3/CD7A: A902 LDA #$02 C3/CD7C: A097D8 LDY #$D897 C3/CD7F: 207311 JSR $1173 (put C2/D897 in the queue) C3/CD82: A903 LDA #$03 C3/CD84: A0B0CA LDY #$CAB0 C3/CD87: 207311 JSR $1173 (put C3/CAB0 in the queue) C3/CD8A: 20A0D2 JSR $D2A0 C3/CD8D: E626 INC $26 (execute at C3/CDA0) C3/CD8F: A0B004 LDY #$04B0 C3/CD92: 8420 STY $20 C3/CD94: 4C6CC6 JMP $C66C
C3/CD97 unknow
C3/CD97: A902 LDA #$02 C3/CD99: A0EACD LDY #$CDEA C3/CD9C: 207311 JSR $1173 (put C3/CDEA in the queue) C3/CD9F: 60 RTS
C3/CDA0 unknow
DP $26 is 15 C3/CDA0: A420 LDY $20 C3/CDA2: D045 BNE $CDE9 C3/CDA4: A903 LDA #$03 C3/CDA6: 8526 STA $26 (execute at C3/C8A6) C3/CDA8: A00807 LDY #$0708 C3/CDAB: 8420 STY $20 C3/CDAD: 2097CD JSR $CD97 C3/CDB0: A900 LDA #$00 C3/CDB2: 9FCA337E STA $7E33CA,X C3/CDB6: A950 LDA #$50 C3/CDB8: 9F4A347E STA $7E344A,X C3/CDBC: 2097CD JSR $CD97 C3/CDBF: A918 LDA #$18 C3/CDC1: 9FCA337E STA $7E33CA,X C3/CDC5: A940 LDA #$40 C3/CDC7: 9F4A347E STA $7E344A,X C3/CDCB: 2097CD JSR $CD97 C3/CDCE: A940 LDA #$40 C3/CDD0: 9FCA337E STA $7E33CA,X C3/CDD4: A968 LDA #$68 C3/CDD6: 9F4A347E STA $7E344A,X C3/CDDA: 2097CD JSR $CD97 C3/CDDD: A910 LDA #$10 C3/CDDF: 9FCA337E STA $7E33CA,X C3/CDE3: A948 LDA #$48 C3/CDE5: 9F4A347E STA $7E344A,X C3/CDE9: 60 RTS
C3/CDEA code and jump table
DP $26 is 16 or 17 C3/CDEA: AA TAX C3/CDEB: 7CEECD JMP ($CDEE,X) C3/CDEE: 00CE C3/CDF0: 1FCE C3/CDF2: 1FCE C3/CDF4: 1FCE C3/CDF6: 1FCE C3/CDF8: 1FCE C3/CDFA: 1FCE C3/CDFC: 1FCE C3/CDFE: 33CE
C3/CE00 unknow
C3/CE00: A62D LDX $2D C3/CE02: FE4936 INC $3649,X (execute the next entry in this queue's jump table) C3/CE05: C220 REP #$20 (16 bit memory/accum.) C3/CE07: A94FF7 LDA #$F74F C3/CE0A: 9DC932 STA $32C9,X (save as pointer to OAM data) C3/CE0D: E220 SEP #$20 (8 bit memory/accum.) C3/CE0F: A9CF LDA #$CF C3/CE11: 9DCA35 STA $35CA,X (save bank pointer to OAM data) C3/CE14: 9EC935 STZ $35C9,X C3/CE17: 2043CE JSR $CE43 C3/CE1A: A62D LDX $2D C3/CE1C: 200612 JSR $1206 C3/CE1F: A62D LDX $2D C3/CE21: BC4933 LDY $3349,X C3/CE24: D005 BNE $CE2B C3/CE26: 2043CE JSR $CE43 C3/CE29: A62D LDX $2D C3/CE2B: 20E5CF JSR $CFE5 C3/CE2E: 20C0DE JSR $DEC0 C3/CE31: 38 SEC (not done with this queue yet) C3/CE32: 60 RTS
C3/CE33 unknow
C3/CE33: 20C0DE JSR $DEC0 C3/CE36: A62D LDX $2D C3/CE38: BDCA33 LDA $33CA,X C3/CE3B: C901 CMP #$01 C3/CE3D: B002 BCS $CE41 C3/CE3F: 18 CLC (this queue can be removed) C3/CE40: 60 RTS C3/CE41: 38 SEC (not done with this queue yet) C3/CE42: 60 RTS
C3/CE43 unknow
C3/CE43: A42D LDY $2D C3/CE45: BB TYX C3/CE46: 7B TDC C3/CE47: B9C935 LDA $35C9,Y C3/CE4A: FEC935 INC $35C9,X C3/CE4D: FE4936 INC $3649,X (execute the next entry in this queue's jump table) C3/CE50: 0A ASL A C3/CE51: 0A ASL A C3/CE52: 0A ASL A C3/CE53: C220 REP #$20 (16 bit memory/accum.) C3/CE55: AA TAX C3/CE56: BF6ECEC3 LDA $C3CE6E,X C3/CE5A: 99C934 STA $34C9,Y C3/CE5D: BF70CEC3 LDA $C3CE70,X C3/CE61: 994935 STA $3549,Y C3/CE64: BF72CEC3 LDA $C3CE72,X C3/CE68: 994933 STA $3349,Y C3/CE6B: E220 SEP #$20 (8 bit memory/accum.) C3/CE6D: 60 RTS
C3/CE6E unknow
C3/CE6E: 2000F0 JSR $F000 C3/CE71: FF840300 SBC $000384,X C3/CE75: 0020 BRK #$20 C3/CE77: 0000 BRK #$00 C3/CE79: 003C BRK #$3C C3/CE7B: 0000 BRK #$00 C3/CE7D: 0020 BRK #$20 C3/CE7F: 0020 BRK #$20 C3/CE81: 003C BRK #$3C C3/CE83: 0000 BRK #$00 C3/CE85: 0010 BRK #$10 C3/CE87: 0040 BRK #$40 C3/CE89: 003C BRK #$3C C3/CE8B: 0000 BRK #$00 C3/CE8D: 00E0 BRK #$E0 C3/CE8F: FF40003C SBC $3C0040,X C3/CE93: 0000 BRK #$00 C3/CE95: 00C0 BRK #$C0 C3/CE97: FF4000B4 SBC $B40040,X C3/CE9B: 0000 BRK #$00 C3/CE9D: 0080 BRK #$80 C3/CE9F: FF8000B4 SBC $B40080,X C3/CEA3: 0000 BRK #$00 C3/CEA5: 00
C3/CEA6 unknow
DP $26 is 18 C3/CEA6: 22D7CED4 JSL $D4CED7 C3/CEAA: 209FC5 JSR $C59F C3/CEAD: 2273D5C3 JSL $C3D573 C3/CEB1: 20E6D3 JSR $D3E6 C3/CEB4: 228FCBD4 JSL $D4CB8F C3/CEB8: A00018 LDY #$1800 C3/CEBB: 84C5 STY $C5 C3/CEBD: 20D2DD JSR $DDD2 C3/CEC0: 205CD1 JSR $D15C C3/CEC3: 2073D1 JSR $D173 C3/CEC6: A0FA8A LDY #$8AFA C3/CEC9: A9C2 LDA #$C2 C3/CECB: 2025D2 JSR $D225 C3/CECE: 20DBD9 JSR $D9DB C3/CED1: A400 LDY $00 C3/CED3: 84CF STY $CF C3/CED5: A902 LDA #$02 C3/CED7: A0E5D8 LDY #$D8E5 C3/CEDA: 207311 JSR $1173 (put C3/D8E5 in the queue) C3/CEDD: 20A0D2 JSR $D2A0 C3/CEE0: A903 LDA #$03 C3/CEE2: 8526 STA $26 (execute at C3/C8A6) C3/CEE4: A0100E LDY #$0E10 C3/CEE7: 8420 STY $20 C3/CEE9: 4C6CC6 JMP $C66C
C3/CEEC unknow
DP $26 is 19, 1A, 1B, or 1C C3/CEEC: 22D7CED4 JSL $D4CED7 C3/CEF0: 2273D5C3 JSL $C3D573 C3/CEF4: 2044D1 JSR $D144 C3/CEF7: 2071CA JSR $CA71 C3/CEFA: 208CD3 JSR $D38C C3/CEFD: 206FD3 JSR $D36F C3/CF00: A00001 LDY #$0100 C3/CF03: 84C5 STY $C5 C3/CF05: A0DC02 LDY #$02DC C3/CF08: 84C7 STY $C7 C3/CF0A: 20D2DD JSR $DDD2 C3/CF0D: A01000 LDY #$0010 C3/CF10: 843B STY $3B C3/CF12: 205CD1 JSR $D15C C3/CF15: 2051C7 JSR $C751 C3/CF18: 2073D1 JSR $D173 C3/CF1B: 20E6D9 JSR $D9E6 C3/CF1E: A400 LDY $00 C3/CF20: 84CF STY $CF C3/CF22: A902 LDA #$02 C3/CF24: A033D9 LDY #$D933 C3/CF27: 207311 JSR $1173 (put C3/D933 in the queue) C3/CF2A: A900 LDA #$00 C3/CF2C: A09ACF LDY #$CF9A C3/CF2F: 207311 JSR $1173 (put C3/CF9A in the queue) C3/CF32: 20B2CF JSR $CFB2 C3/CF35: A914 LDA #$14 C3/CF37: 9F4A357E STA $7E354A,X C3/CF3B: A944 LDA #$44 C3/CF3D: 9FCA337E STA $7E33CA,X C3/CF41: 20C7CF JSR $CFC7 C3/CF44: A914 LDA #$14 C3/CF46: 9F4A357E STA $7E354A,X C3/CF4A: A9AC LDA #$AC C3/CF4C: 9FCA337E STA $7E33CA,X C3/CF50: 20B2CF JSR $CFB2 C3/CF53: A9E8 LDA #$E8 C3/CF55: 9F4A357E STA $7E354A,X C3/CF59: A960 LDA #$60 C3/CF5B: 9FCA337E STA $7E33CA,X C3/CF5F: 20C7CF JSR $CFC7 C3/CF62: A9E8 LDA #$E8 C3/CF64: 9F4A357E STA $7E354A,X C3/CF68: A990 LDA #$90 C3/CF6A: 9FCA337E STA $7E33CA,X C3/CF6E: 20DCCF JSR $CFDC C3/CF71: C220 REP #$20 (16 bit memory/accum.) C3/CF73: A9608C LDA #$8C60 C3/CF76: 9FC9327E STA $7E32C9,X (save as pointer to OAM data) C3/CF7A: E220 SEP #$20 (8 bit memory/accum.) C3/CF7C: A9C2 LDA #$C2 C3/CF7E: 9FCA357E STA $7E35CA,X (save bank pointer to OAM data) C3/CF82: A948 LDA #$48 C3/CF84: 9FCA337E STA $7E33CA,X C3/CF88: A9F8 LDA #$F8 C3/CF8A: 9F4A357E STA $7E354A,X C3/CF8E: A903 LDA #$03 C3/CF90: 8526 STA $26 (execute at C3/C8A6) C3/CF92: A0AC08 LDY #$08AC C3/CF95: 8420 STY $20 C3/CF97: 4C6CC6 JMP $C66C
C3/CF9A unknow
C3/CF9A: A523 LDA $23 C3/CF9C: 297F AND #$7F C3/CF9E: D002 BNE $CFA2 C3/CFA0: E63B INC $3B C3/CFA2: A523 LDA $23 C3/CFA4: 2901 AND #$01 C3/CFA6: D008 BNE $CFB0 C3/CFA8: C220 REP #$20 (16 bit memory/accum.) C3/CFAA: C6B9 DEC $B9 C3/CFAC: C637 DEC $37 C3/CFAE: E220 SEP #$20 (8 bit memory/accum.) C3/CFB0: 38 SEC C3/CFB1: 60 RTS
C3/CFB2 unknow
C3/CFB2: 20DCCF JSR $CFDC C3/CFB5: A9C2 LDA #$C2 C3/CFB7: 9FCA357E STA $7E35CA,X (save bank pointer to OAM data) C3/CFBB: C220 REP #$20 (16 bit memory/accum.) C3/CFBD: A93E8D LDA #$8D3E C3/CFC0: 9FC9327E STA $7E32C9,X (save as pointer of OAM data) C3/CFC4: E220 SEP #$20 (8 bit memory/accum.) C3/CFC6: 60 RTS
C3/CFC7 unknow
C3/CFC7: 20DCCF JSR $CFDC C3/CFCA: A9C2 LDA #$C2 C3/CFCC: 9FCA357E STA $7E35CA,X (save bank pointer to OAM data) C3/CFD0: C220 REP #$20 (16 bit memory/accum.) C3/CFD2: A9918D LDA #$8D91 C3/CFD5: 9FC9327E STA $7E32C9,X (save as pointer of OAM data) C3/CFD9: E220 SEP #$20 (8 bit memory/accum.) C3/CFDB: 60 RTS
C3/CFDC unknow
C3/CFDC: A902 LDA #$02 C3/CFDE: A0F8CF LDY #$CFF8 C3/CFE1: 207311 JSR $1173 (put C3/CFF8 in the queue) C3/CFE4: 60 RTS
C3/CFE5 unknow
C3/CFE5: A62D LDX $2D C3/CFE7: C220 REP #$20 (16 bit memory/accum.) C3/CFE9: DE4933 DEC $3349,X C3/CFEC: E220 SEP #$20 (8 bit memory/accum.) C3/CFEE: 60 RTS
C3/CFEF unknow
C3/CFEF: C220 REP #$20 (16 bit memory/accum.) C3/CFF1: 98 TYA C3/CFF2: 9D4933 STA $3349,X C3/CFF5: E220 SEP #$20 (8 bit memory/accum.) C3/CFF7: 60 RTS
C3/CFF8 code and jump table
C3/CFF8: AA TAX C3/CFF9: 7CFCCF JMP ($CFFC,X) C3/CFFC: 00D0 C3/CFFE: 0BD0