Skip to navigation

Elite on the BBC Micro and NES

Dashboard: SPBLB

[6502 Second Processor version]

Name: SPBLB [Show more] Type: Subroutine Category: Dashboard Summary: Light up the space station indicator ("S") on the dashboard by sending a #DOBULB 0 command to the I/O processor
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: * KS4 calls SPBLB * NWSPS calls SPBLB * RES2 calls SPBLB

This draws (or erases) the space station indicator bulb ("S") on the dashboard.
.SPBLB LDA #DOBULB \ Send a #DOBULB 0 command to the I/O processor to JSR OSWRCH \ tell it to draw the E.C.M. indicator bulb on the LDA #0 \ dashboard, and return from the subroutine using a tail JMP OSWRCH \ call