Skip to navigation

Dashboard: ECMOF

[BBC Master version]

Name: ECMOF [Show more] Type: Subroutine Category: Dashboard Summary: Switch off the E.C.M. and turn off the dashboard bulb
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: * Main flight loop (Part 16 of 16) calls ECMOF * RES2 calls ECMOF
.ECMOF IF _SNG47 LDA #0 \ Set ECMA and ECMP to 0 to indicate that no E.C.M. is STA ECMA \ currently running STA ECMP ELIF _COMPACT STZ ECMA \ Set ECMA and ECMP to 0 to indicate that no E.C.M. is STZ ECMP \ currently running ENDIF JMP ECBLB \ Update the E.C.M. indicator bulb on the dashboard and \ return from the subroutine using a tail call