Skip to navigation

Elite on the BBC Micro and NES

Sound: BOOP

[NES version, Bank 7]

Name: BOOP [Show more] Type: Subroutine Category: Sound Summary: Make a long, low beep
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * eq calls BOOP * EQSHP calls BOOP * HME2 calls BOOP * TT102 calls BOOP
.BOOP LDY #4 ; Call the NOISE routine with Y = 4 to make a long, low BNE NOISE ; beep, returning from the subroutine using a tail call ; (this BNE is effectively a JMP as Y will never be ; zero)