Skip to navigation


Sound: CLICK

[Apple II version]

Name: 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 click
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * BOMBOFF calls CLICK
.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 subroutine