small musique fixum-dyrdum

This commit is contained in:
2022-06-26 11:21:35 -04:00
parent 1ea62798c8
commit a0d5d22e74
3 changed files with 4 additions and 5 deletions
+3
View File
@@ -1321,6 +1321,8 @@ getkeyend
.proc RmtSongSelect .proc RmtSongSelect
;-------------------------------------------------- ;--------------------------------------------------
; starting song line 0-255 to A reg ; starting song line 0-255 to A reg
bit noMusic
spl:lda #song_silencio
ldx #<MODUL ;low byte of RMT module to X reg ldx #<MODUL ;low byte of RMT module to X reg
ldy #>MODUL ;hi byte of RMT module to Y reg ldy #>MODUL ;hi byte of RMT module to Y reg
jmp RASTERMUSICTRACKER ;Init, :RTS jmp RASTERMUSICTRACKER ;Init, :RTS
@@ -1346,6 +1348,7 @@ TankFont
;---------------------------------------------- ;----------------------------------------------
icl 'variables.asm' icl 'variables.asm'
;---------------------------------------------- ;----------------------------------------------
; reserved space for RMT player ; reserved space for RMT player
.ds $0320 .ds $0320
.align $100 .align $100
BIN
View File
Binary file not shown.
+1 -5
View File
@@ -1243,12 +1243,8 @@ pressedM
; have you tried turning the music off and on again? ; have you tried turning the music off and on again?
lda #$ff lda #$ff
eor:sta noMusic eor:sta noMusic
bmi silencioMusico
lda #song_ingame lda #song_ingame
bne @+ jsr RmtSongSelect
silencioMusico
lda #song_silencio
@ jsr RmtSongSelect
jsr WaitForKeyRelease jsr WaitForKeyRelease
jmp BeforeFire jmp BeforeFire