Skip to navigation

Elite on the BBC Micro

Dashboard: SPBLB (Cassette version)

Name: SPBLB [View in context] Type: Subroutine [Compare versions] Category: Dashboard Summary: Draw (or erase) the space station indicator ("S") on the dashboard
Other entry points: BULB-2 Set the Y screen address
.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