.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 subroutineName: ECBLB [Show more] Type: Subroutine Category: Dashboard Summary: Light up the E.C.M. indicator bulb ("E") on the dashboardContext: See this subroutine in context in the source code References: This subroutine is called as follows: * ECMOF calls ECBLB
[X]
Configuration variable BULBCOL = $E0
A multicolour bitmap mode palette byte that is EOR'd into screen RAM to toggle the E.C.M. and space station indicator bulbs in light blue ($E), as the "E" and "S" are in colour %01, and this is initially set to black in the colour mapping in sdump
[X]
Configuration variable ECELL = SCBASE+$2400+23*40+11
The address in screen RAM of the colour byte for the E.C.M. indicator bulb ("E")