Skip to navigation

Elite on the BBC Micro

Dashboard: ECBLB2 (6502SP version)

Name: ECBLB2 [View in context] Type: Subroutine [Compare versions] Category: Dashboard Summary: Start up the E.C.M. (indicator, start countdown and make sound)
Light up the E.C.M. indicator bulb on the dashboard, set the E.C.M. countdown timer to 32, and start making the E.C.M. sound.
.ECBLB2 LDA #32 \ Set the E.C.M. countdown timer in ECMA to 32 STA ECMA ASL A \ Call the NOISE routine with A = 64 to make the sound JSR NOISE \ of the E.C.M. being switched on \ Fall through into ECBLB to light up the E.C.M. bulb