mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +02:00
small musique fixum-dyrdum
This commit is contained in:
@@ -1321,6 +1321,8 @@ getkeyend
|
||||
.proc RmtSongSelect
|
||||
;--------------------------------------------------
|
||||
; starting song line 0-255 to A reg
|
||||
bit noMusic
|
||||
spl:lda #song_silencio
|
||||
ldx #<MODUL ;low byte of RMT module to X reg
|
||||
ldy #>MODUL ;hi byte of RMT module to Y reg
|
||||
jmp RASTERMUSICTRACKER ;Init, :RTS
|
||||
@@ -1346,6 +1348,7 @@ TankFont
|
||||
;----------------------------------------------
|
||||
icl 'variables.asm'
|
||||
;----------------------------------------------
|
||||
|
||||
; reserved space for RMT player
|
||||
.ds $0320
|
||||
.align $100
|
||||
|
||||
BIN
Binary file not shown.
+1
-5
@@ -1243,12 +1243,8 @@ pressedM
|
||||
; have you tried turning the music off and on again?
|
||||
lda #$ff
|
||||
eor:sta noMusic
|
||||
bmi silencioMusico
|
||||
lda #song_ingame
|
||||
bne @+
|
||||
silencioMusico
|
||||
lda #song_silencio
|
||||
@ jsr RmtSongSelect
|
||||
jsr RmtSongSelect
|
||||
jsr WaitForKeyRelease
|
||||
jmp BeforeFire
|
||||
|
||||
|
||||
Reference in New Issue
Block a user