Skip to navigation

Elite on the BBC Micro and NES

Sound: EXNO

[BBC Master version]

Name: EXNO [Show more] Type: Subroutine Category: Sound Summary: Make the sound of a laser strike or ship explosion
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: * Main flight loop (Part 11 of 16) calls EXNO

Make the two-part explosion sound of us making a laser strike, or of another ship exploding.
.EXNO LDY #sohit \ Call the NOISE routine with Y = 6 to make the sound of JMP NOISE \ us making a hit or kill and return from the subroutine \ using a tail call