File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ waitScreenLoad:
12
12
lda #$02
13
13
jsr changeCHRBank1
14
14
.elseif INES_MAPPER = 3
15
+ CNROM_CHR_LEGAL:
16
+ lda #0
17
+ sta CNROM_CHR_LEGAL+1
15
18
lda #%10000000
16
19
sta PPUCTRL
17
20
sta currentPpuCtrl
Original file line number Diff line number Diff line change 1
1
; incremented to reset MMC1 reg
2
- reset: cld
2
+ reset:
3
+ .if INES_MAPPER = 4
4
+ ldy #$00
5
+ ldx #$06
6
+ stx MMC3_BANK_SELECT
7
+ sty MMC3_BANK_DATA
8
+ inx
9
+ iny
10
+ stx MMC3_BANK_SELECT
11
+ sty MMC3_BANK_DATA
12
+ lda #$00
13
+ stx MMC3_BANK_SELECT
14
+ .endif
15
+ cld
3
16
sei
4
17
ldx #$00
5
18
stx PPUCTRL
@@ -12,7 +25,9 @@ reset: cld
12
25
bpl @vsyncWait2
13
26
dex
14
27
txs
28
+ .if INES_MAPPER <> 4
15
29
inc reset
30
+ .endif
16
31
lda #$10
17
32
jsr setMMC1Control
18
33
lda #$00
You can’t perform that action at this time.
0 commit comments