Skip to navigation

Elite on the BBC Micro and NES

Dashboard: ECBLB

[6502 Second Processor version]

Name: ECBLB [Show more] Type: Subroutine Category: Dashboard Summary: Light up the E.C.M. indicator bulb ("E") on the dashboard by sending a #DOBULB 255 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: * ECMOF calls ECBLB

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