sound tuning

This commit is contained in:
2024-04-25 12:12:52 +02:00
parent 1d915baf77
commit 5d7a94c3b2
11 changed files with 25 additions and 51 deletions

View File

@ -1,10 +1,6 @@
#include <msp430g2553.h>
#include "soundCodes.h"
.section ".data"
.global cmd
cmd:
.byte
.section ".text","ax",@progbits
receive_isr:
@ -34,7 +30,7 @@ spiCmdHandler_3:
spiCmdHandler_4:
bit #SOUND_GAMEOVER, &cmd
jz spiCmdHandler_5
;; insert a call here
call #stopMelodyTetris
bic #SOUND_GAMEOVER, &cmd
spiCmdHandler_5:
bit #SOUND_FANFARE, &cmd
@ -59,9 +55,6 @@ spiCmdHandler_8:
spiCmdHandler_end:
ret
.section "__interrupt_vector_8","ax",@progbits
.word receive_isr