We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 89f0475 + bf3d4eb commit 20bd9c7Copy full SHA for 20bd9c7
src/reset.asm
@@ -1,5 +1,18 @@
1
; incremented to reset MMC1 reg
2
-reset: cld
+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
11
12
+ lda #$00
13
14
+.endif
15
+ cld
16
sei
17
ldx #$00
18
stx PPUCTRL
@@ -12,7 +25,9 @@ reset: cld
25
bpl @vsyncWait2
26
dex
27
txs
28
+.if INES_MAPPER <> 4
29
inc reset
30
31
lda #$10
32
jsr setMMC1Control
33
lda #$00
0 commit comments