Created
October 11, 2015 03:55
-
-
Save blondie7575/daa6d23baafe5cee96bb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BCA8: sta $C028 ; 4 | |
| nop ; 2 - | |
| nop ; 2 - | |
| nop ; 2 - | |
| nop ; 2 - | |
| rts ; 6 - | |
| FCA8: nop ; 2 - | |
| nop ; 2 - | |
| nop ; 2 - | |
| nop ; 2 Virtual jump lands here | |
| nop ; 2 | |
| nop ; 2 | |
| nop ; 2 | |
| jsr $FCB5 ; 6 | |
| jmp $C784 ; 3 | |
| C784: sta $C028 ; 4 | |
| C787: rts ; 6 ; Also an RTS here in other bank ($8787) | |
| FCB5: ; 18 cycles to here | |
| 2020: 5A PHY ; 3 | |
| 2021: A0 9A LDY #$9A ; 2 | |
| 2023: DA PHX ; 3 | |
| 2024: 38 SEC ; 2 | |
| 2025: AA TAX ; 2 | |
| 2026: B9 00 C0 LDA $C000,Y ; 4 34 cycles @ 4MHz | |
| 2029: 8A TXA ; 2 | |
| 202A: E9 01 SBC #$1 ; 2 | |
| 202C: D0 FC BNE -4 ($202A) ; 3 (-1) | |
| 202E: CA DEX ; 2 | |
| 202F: D0 F5 BNE -11 ($2026) ; 3 (-1) | |
| 2031: FA PLX ; 4 | |
| 2032: 7A PLY ; 4 | |
| 2033: 60 RTS ; 6 25 cycles @ 1MHz (+13 for leap back chain) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment