Skip to navigation

Elite on the BBC Micro

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

Name: SPBLB [Show more] Type: Subroutine Category: Dashboard Summary: Light up the space station indicator ("S") on the dashboard
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * tube_table calls SPBLB

This routine is run when the parasite sends a draw_S command. It lights up the space station indicator ("S") on the dashboard.
.SPBLB LDA #24*8 \ The space station bulb is in character block number 24 \ 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(SPBT) \ Set (Y X) to point to the character definition in SPBT LDY #HI(SPBT) \ Fall through into BULB to draw the space station bulb