Skip to navigation

Elite on the BBC Micro and NES

Sound: BEEP

[6502 Second Processor 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 Variations: See code variations for this subroutine in the different versions References: This subroutine is called as follows: * dn2 calls BEEP * Main flight loop (Part 11 of 16) calls BEEP
.BEEP LDA #32 \ Call the NOISE routine with A = 32 to make a short, BNE NOISE \ high beep, returning from the subroutine using a tail \ call (this BNE is effectively a JMP as A will never be \ zero)