small musique fixum-dyrdum
This commit is contained in:
@@ -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
Binary file not shown.
+1
-5
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user