File tree Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ reset: cld
31
31
32
32
dex ; $FF for stack pointer
33
33
txs
34
- jsr changePRGBank ; 0 in accumulator
35
34
jsr mapperInit
36
35
jsr setVerticalMirroring
37
36
lda #CHRBankSet0
@@ -51,6 +50,16 @@ not_mmc1:
51
50
; MMC1
52
51
.elseif INES_MAPPER = 1
53
52
RESET_MMC1
53
+ lda #$00
54
+ sta MMC1_PRG
55
+ lsr a
56
+ sta MMC1_PRG
57
+ lsr a
58
+ sta MMC1_PRG
59
+ lsr a
60
+ sta MMC1_PRG
61
+ lsr a
62
+ sta MMC1_PRG
54
63
55
64
; CNROM (no init)
56
65
.elseif INES_MAPPER = 3
Original file line number Diff line number Diff line change @@ -107,20 +107,6 @@ changeCHRBanks:
107
107
.endif
108
108
rts
109
109
110
- changePRGBank:
111
- .if INES_MAPPER = 0 . or INES_MAPPER = 1
112
- RESET_MMC1
113
- sta MMC1_PRG
114
- lsr a
115
- sta MMC1_PRG
116
- lsr a
117
- sta MMC1_PRG
118
- lsr a
119
- sta MMC1_PRG
120
- lsr a
121
- sta MMC1_PRG
122
- .endif
123
- rts
124
110
125
111
setHorizontalMirroring:
126
112
; autodetect
You can’t perform that action at this time.
0 commit comments