.BELL LDA #7 \ Control code 7 makes a beep, so load this into AName: BELL Type: Subroutine Category: Sound Summary: Make a standard system beep
This is the standard system beep as made by the VDU 7 statement in BBC BASIC.
If speech is enabled in the Executive version, only the BELL routine makes a standard system beep (the CHPR routine no longer does).
Tap on a version to expand it, and tap it again to show to all variations.
Cassette, Flight, Docked, Electron
6502SP\ Fall through into the TT26 print routine to \ actually make the soundJMP CHPR \ Call the CHPR print routine to actually make the sound\ Fall through into the CHPR print routine to \ actually make the sound IF _EXECUTIVE BNE CHPRD \ Jump down to CHPRD to actually make the sound, \ skipping the code that prevents CHPR from beeping if \ speech is enabled, so the beep gets made even if \ speech is enabled (this BNE is effectively a JMP as \ A is never 0) ENDIF