Created
October 11, 2015 04:44
-
-
Save blondie7575/e64e6f5304abcd18b33d 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
| BBDD: 8D 28 C0 STA $C028 ; Flip ROM page to 0 | |
| FBE0: 4C 3D FC JMP $FC3D ; ROM page 0 | |
| FC3D: A9 40 LDA #$40 | |
| 20 52 FC JSR $FC52 | |
| A0 C0 LDY #$C0 | |
| FC42: A9 0C LDA #$0C | |
| 20 52 FC JSR $FC52 | |
| AD 30 C0 LDA $C030 | |
| 88 DEY | |
| D0 F5 BNE -11 ($FC42) | |
| 4C 84 C7 JMP $C784 ; Flip ROM page back to 1 and RTS | |
| FC52: 38 SEC ; Old-style WAIT | |
| FC53: 48 PHA | |
| FC54: E9 01 SBC #$01 | |
| D0 FC BNE -4 ($FC54) | |
| 68 PLA | |
| E9 01 SBC #$01 | |
| D0 F6 BNE -11 ($FC53) | |
| 60 RTS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment