Skip to content

Commit 278bca1

Browse files
authored
reset sweep at init
I was asked why SuperNSF square channels can't go low in most players (except VirtuaNSF). The problem is just that the sweep unit is muting them because they are never initialized.
1 parent e35064e commit 278bca1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

driver/source/main.asm

+5-1
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ __init:
150150
lda #15
151151
sta $4015
152152

153+
lda #$08
154+
sta $4001
155+
sta $4005
156+
153157
lda #3<<4
154158
sta $400C
155159
lda #31<<3
@@ -162,4 +166,4 @@ __init:
162166
__play:
163167

164168
jmp pcm_mix_next
165-
169+

0 commit comments

Comments
 (0)