Mute commands in ASM

Raftronaut

Member
I understand that GGsound has a mute function that has the ability to mute/unmute either of the square channels. Is this correct? And if so, is there a simple set of ASM commands that can be used to edit scripts in order to mute certain channels for specific events?
 

Raftronaut

Member
Code:
ldx #1;Square 2
    lda stream_flags,x
    ora #STREAM_SILENCE_SET
    sta stream_flags,x

    lda stream_channel_register_1,x
    and #%11110000
    sta stream_channel_register_1,x

dropping this here as it may hold the key
 
Top Bottom