.CLICK BIT DNOIZ ; If bit 7 of DNOIZ is non-zero, then sound is disabled, BMI SOUR2 ; so jump to SOUR2 to return from the subroutine LDA $C030 ; Toggle the state of the speaker (i.e. move it in or ; out) by reading the SPEAKER soft switch .SOUR2 RTS ; Return from the subroutineName: CLICK [Show more] Type: Subroutine Category: Sound Summary: Toggle the state of the speaker (i.e. move it in or out) to make a single clickContext: See this subroutine in context in the source code References: This subroutine is called as follows: * BOMBOFF calls CLICK
[X]
Variable DNOIZ in workspace Option variables
Sound on/off configuration setting
[X]
Label SOUR2 is local to this routine