Skip to navigation

Elite on the BBC Micro and NES

Sound: BEEP

[Elite-A, Encyclopedia]

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: * CHPR calls BEEP * dn2 calls BEEP
.BEEP \ --- Mod: Code removed for Elite-A: ------------------> \ 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) \ --- And replaced by: --------------------------------> LDA #32 \ Set A = 32 to denote a short, high beep, and fall \ through into the NOISE routine to make the sound \ --- End of replacement ------------------------------>