Skip to navigation


Sound: BEEP

[Commodore 64 version]

Name: BEEP [Show more] Type: Subroutine Category: Sound Summary: Make a short, high beep
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * dn2 calls BEEP * Main flight loop (Part 11 of 16) calls BEEP * R5 calls BEEP
.BEEP LDY #sfxbeep ; Call the NOISE routine with Y = sfxbeep to make a BNE NOISE ; short, high beep, returning from the subroutine using ; a tail call (this BNE is effectively a JMP as Y will ; never be zero)