.SPBLB LDA SCELL ; EOR the colour byte at SCELL with the colour of the EOR #BULBCOL ; space station indicator bulb, so this either zeroes STA SCELL ; the character block for the top part of the space ; station bulb, which will hide it, or it sets it to ; BULBCOL, which will show it (so this toggles the top ; part of the space station bulb) LDA SCELL+40 ; Do the same for the bottom part of the space station EOR #BULBCOL ; bulb STA SCELL+40 RTS ; Return from the subroutine
[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 SCELL = SCBASE+$2400+23*40+28
The address in screen RAM of the colour byte for the space station indicator bulb ("S")