Skip to navigation
This code appears in the following versions (click to see it in the source code):
Code variations between these versions are shown below.
Code variation 1 of 6A variation in the comments only
Tap on a block to expand it, and tap it again to revert.
Code variation 2 of 6A variation in the comments only
Tap on a block to expand it, and tap it again to revert.
Code variation 3 of 6A variation in the comments only
This variation is blank in the Cassette, Disc (flight), Disc (docked) and Electron versions.
Tap on a block to expand it, and tap it again to revert.
Code variation 4 of 6Related to Elite's use of the Tube
Tap on a block to expand it, and tap it again to revert.
.SPBLB
LDA #24*8
LDX #LO(SPBT)
LDY #HI(SPBT)
.SPBLB
LDA #%00001111
STA VIA+&34
.SPBLB
LDA #&20
LDX #LO(SPBT)
LDY #&7D
Code variation 5 of 6Related to an advanced feature
The advanced versions have wider "E" and "S" dashboard indicators than the original versions.
This variation is blank in the Cassette, Disc (flight), Disc (docked) and Electron versions.
Tap on a block to expand it, and tap it again to revert.
LDA #16*8
STA SC
LDA #&7B
STA SC+1
LDY #15
.BULL2
LDA SPBT,
Y
EOR (SC),
Y
STA (SC),
Y
DEY
BPL BULL2
LDA #16*8
STA SC
LDA #&7B
STA SC+1
LDY #15
.BULL
LDA SPBT,
Y
EOR (SC),
Y
STA (SC),
Y
DEY
BPL BULL
Code variation 6 of 6Specific to an individual platform
This variation is blank in the Cassette, Disc (flight), Disc (docked) and Electron versions.
Tap on a block to expand it, and tap it again to revert.
.away
LDA #%00001001
STA VIA+&34
RTS