Skip to navigation

Elite on the BBC Micro

Dashboard: ECBLB [Elite-A, I/O processor]

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: * tube_table calls ECBLB

This routine is run when the parasite sends a draw_E command. It lights up the E.C.M. indicator bulb ("E") on the dashboard.
.ECBLB LDA #7*8 \ The E.C.M. bulb is in character block number 7 \ with each character taking 8 bytes, so this sets the \ low byte of the screen address of the character block \ we want to draw to LDX #LO(ECBT) \ Set (Y X) to point to the character definition in LDY #HI(ECBT) \ ECBT JMP BULB \ Jump down to BULB