Smol fixes

This commit is contained in:
Pecusx
2025-05-11 17:37:29 +02:00
parent 24dca6ea2f
commit 457042ea0c
2 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -41,7 +41,7 @@ display = $a000
.zpvar LowCharsetBase .byte
.zpvar displayposition .word
.zpvar LastKey .byte ; $ff if no key pressed or last key released
.zpvar RMT_blocked noSfx SFX_EFFECT .byte
.zpvar RMT_blocked sfx_effect .byte
.zpvar AutoPlay .byte ; Auto Play flag ($80 - auto)
.zpvar birdsHpos .byte ; 0 - no birds on screen (from $13 to $de)
.zpvar birdsOffset .byte
@@ -346,8 +346,8 @@ wait_for_timer
bmi lab2
asl @ ; * 2
tay ;Y = 2,4,..,16 instrument number * 2 (0,2,4,..,126)
ldx #1 ;X = 0 channel (0..3 or 0..7 for stereo module)
lda #10 ;A = 0 note (0..60)
ldx #0 ;X = 0 channel (0..3 or 0..7 for stereo module)
lda #0 ;A = 0 note (0..60)
jsr RASTERMUSICTRACKER+15 ;RMT_SFX start tone (It works only if FEAT_SFX is enabled !!!)
lda #$ff
sta sfx_effect ;reinit value
BIN
View File
Binary file not shown.