Skip to navigation


Version analysis of EXNO3

This code appears in the following versions (click to see it in the source code):

Code variations between these versions are shown below.

Name: EXNO3 Type: Subroutine Category: Sound Summary: Make an explosion sound
Make the sound of death in the cold, hard vacuum of space. Apparently, in Elite space, everyone can hear you scream. This routine also makes the sound of a destroyed cargo canister if we don't get scooping right, the sound of us colliding with another ship, and the sound of us being hit with depleted shields. It is not a good sound to hear.
.EXNO3

Code variation 1 of 1Related to the Master version

The Master version has a unique explosion sound.

Tap on a block to expand it, and tap it again to revert.

LDA #16 \ Call the NOISE routine with A = 16 to make the first JSR NOISE \ death sound LDA #24 \ Call the NOISE routine with A = 24 to make the second BNE NOISE \ death sound and return from the subroutine using a \ tail call (this BNE is effectively a JMP as A will \ never be zero)
LDY #soexpl \ Call the NOISE routine with Y = 4 to make the sound of JMP NOISE \ an explosion and return from the subroutine using a \ tail call
LDA #24 \ Call the NOISE routine with A = 24 to make the BNE NOISE \ death sound and return from the subroutine using a \ tail call (this BNE is effectively a JMP as A will \ never be zero)