Skip to navigation


Dashboard: ECBLB

[Commodore 64 version]

Name: ECBLB [Show more] Type: Subroutine Category: Dashboard Summary: Light up the E.C.M. indicator bulb ("E") on the dashboard
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * ECMOF calls ECBLB
.ECBLB LDA ECELL ; EOR the colour byte at ECELL with the colour of the EOR #BULBCOL ; E.C.M. indicator bulb, so this either zeroes the STA ECELL ; character block for the top part of the E.C.M. bulb, ; which will hide it, or it sets it to BULBCOL, which ; will show it (so this toggles the top part of the ; E.C.M. bulb) LDA ECELL+40 ; Do the same for the bottom part of the E.C.M. bulb EOR #BULBCOL STA ECELL+40 RTS ; Return from the subroutine