Skip to navigation

Elite on the BBC Micro and NES

Sound: BELL

[BBC Master version]

Name: BELL [Show more] Type: Subroutine Category: Sound Summary: Make a standard system 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: * DK4 calls BELL * DKS3 calls BELL

This is the standard system beep, as made by the ASCII 7 "BELL" control code.
.BELL LDA #7 \ Control code 7 makes a beep, so load this into A JMP CHPR \ Call the CHPR print routine to actually make the sound