.ECBLB2 LDA #32 ; Set the E.C.M. countdown timer in ECMA to 32 STA ECMA LDY #sfxecm ; Call the NOISE routine with Y = sfxecm to make the JSR NOISE ; sound of the E.C.M., returning from the subroutine ; using a tail call ; Fall through into ECBLB to light up the E.C.M. bulbName: ECBLB2 [Show more] Type: Subroutine Category: Dashboard Summary: Start up the E.C.M. (light up the indicator, start the countdown and make the E.C.M. sound)Context: See this subroutine in context in the source code References: This subroutine is called as follows: * Main flight loop (Part 3 of 16) calls ECBLB2 * TACTICS (Part 1 of 7) calls ECBLB2
[X]
Subroutine NOISE (category: Sound)
Make the sound whose number is in Y
[X]
Configuration variable sfxecm = 9
Sound 9 = E.C.M. on