Skip to navigation

Elite on the BBC Micro

Version analysis of ZP

This code appears in the following versions (click to see it in the source code):

Code variations between these versions are shown below.

Name: ZP Type: Workspace Address: &0000 to &00B0 Category: Workspaces Summary: Lots of important variables are stored in the zero page workspace as it is quicker and more space-efficient to access memory here
ORG &0000 .ZP SKIP 0 \ The start of the zero page workspace

Code variation 1 of 25Specific to an individual platform

This variation is blank in the Cassette, Disc (flight), Disc (docked), 6502 Second Processor and Electron versions.

Master

SKIP 2 \ These bytes appear to be unused .MOS
.RAND

Code variation 2 of 25Specific to an individual platform

This variation is blank in the 6502 Second Processor and Master versions.

Cassette, Flight, Docked, Electron

.TRTB%
.T1

Code variation 3 of 25Specific to an individual platform

This variation is blank in the Cassette, Disc (flight), Disc (docked), 6502 Second Processor and Electron versions.

Master

SKIP 3 \ These bytes appear to be unused
.SC
.SCH

Code variation 4 of 25Specific to an individual platform

Tap on a version to expand it, and tap it again to show to all variations.

Cassette, Flight, Docked, 6502SP, Electron

Master

.XX16 .P
.P SKIP 1 \ This byte appears to be unused .XC .COL .YC .QQ17 .K3 .XX2 .K4 .XX16

Code variation 5 of 25Specific to an individual platform

This variation is blank in the Cassette, Disc (flight), Disc (docked), Master and Electron versions.

6502SP

.NEEDKEY
.XX0
.INF
.V
.XX
.YY

Code variation 6 of 25Specific to an individual platform

Tap on a version to expand it, and tap it again to show to all variations.

Cassette, Flight, Docked, 6502SP, Master

Electron

.SUNX
SKIP 2 \ These bytes are unused in this version of Elite (they \ are used to store the centre axis of the sun in the \ other versions)
.BETA
.BET1

Code variation 7 of 25Specific to an individual platform

This variation is blank in the Master version.

Cassette, Flight, Docked, 6502SP, Electron

.XC .YC
.QQ22
.ECMA

Code variation 8 of 25Specific to an individual platform

This variation is blank in the Cassette and Electron versions.

Flight, Docked, 6502SP, Master

.ALP1 .ALP2
.XX15
.X1
.Y1
.X2
.Y2

 SKIP 2                 \ The last two bytes of the XX15 block

.XX12
.K

Code variation 9 of 25Specific to an individual platform

This variation is blank in the Disc (flight), Disc (docked), 6502 Second Processor and Master versions.

Cassette, Electron

.KL .KY1 .KY2 .KY3 .KY4 .KY5 .KY6 .KY7 .KY12 .KY13 .KY14 .KY15 .KY16 .KY17 .KY18 .KY19
.LAS
.MSTG

Code variation 10 of 25Specific to an individual platform

This variation is blank in the Master version.

Cassette, Flight, Docked, 6502SP, Electron

.XX1 .INWK .XX19

Code variation 11 of 25Specific to an individual platform

This variation is blank in the Cassette, Master and Electron versions.

Flight, Docked, 6502SP

.NEWB

Code variation 12 of 25Specific to an individual platform

This variation is blank in the Cassette, Disc (flight), Disc (docked), 6502 Second Processor and Electron versions.

Master

.DL
.LSP
.QQ15
.K5
.XX18

Code variation 13 of 25Specific to an individual platform

This variation is blank in the Master version.

Cassette, Flight, Docked, 6502SP, Electron

.QQ17 .QQ19 .K6

Code variation 14 of 25Specific to an individual platform

This variation is blank in the Disc (flight), Disc (docked), 6502 Second Processor and Master versions.

Cassette, Electron

.ALP1 .ALP2

Code variation 15 of 25Specific to an individual platform

This variation is blank in the Cassette, Disc (flight), Disc (docked), 6502 Second Processor and Electron versions.

Master

.K6 .QQ19
.BET2
.DELTA
.DELT4
.U

Code variation 16 of 25Specific to an individual platform

This variation is blank in the Cassette, Disc (flight), Disc (docked), 6502 Second Processor and Master versions.

Electron

SKIP 16 \ These bytes appear to be unused
.Q
.R
.S

Code variation 17 of 25Specific to an individual platform

This variation is blank in the Cassette, Disc (flight), Disc (docked), 6502 Second Processor and Electron versions.

Master

.T
.XSAV
.YSAV
.XX17

Code variation 18 of 25Specific to an individual platform

This variation is blank in the Cassette, Disc (flight), Disc (docked), 6502 Second Processor and Electron versions.

Master

.W
.QQ11
.ZZ
.XX13
.MCNT

Code variation 19 of 25Specific to an individual platform

This variation is blank in the Master version.

Tap on a version to expand it, and tap it again to show to all variations.

Cassette, Flight, Docked, 6502SP

Electron

.DL
SKIP 1 \ This byte is unused in this version of Elite (it \ is used to store the delay counter in the other \ versions)
.TYPE

Code variation 20 of 25Specific to an individual platform

This variation is blank in the Disc (flight), Disc (docked), 6502 Second Processor and Master versions.

Cassette, Electron

.JSTX .JSTY
.ALPHA

Code variation 21 of 25Specific to an individual platform

This variation is blank in the Cassette, Disc (flight), Disc (docked), Master and Electron versions.

6502SP

.PBUP .HBUP .LBUP
.QQ12
.TGT

Code variation 22 of 25Specific to an individual platform

This variation is blank in the 6502 Second Processor and Master versions.

Cassette, Flight, Docked, Electron

.SWAP

Code variation 23 of 25Specific to an individual platform

This variation is blank in the Master version.

Tap on a version to expand it, and tap it again to show to all variations.

Cassette, Flight, Docked, 6502SP

Electron

.COL
SKIP 1 \ This byte is unused in this version of Elite (it \ is used to store colour information when drawing \ pixels in the dashboard, and the Electron's dashboard \ is monochrome)
.FLAG
.CNT
.CNT2
.STP
.XX4
.XX20
.XX14
.RAT
.RAT2
.K2

Code variation 24 of 25Specific to an individual platform

This variation is blank in the Cassette, Disc (flight), Disc (docked) and Electron versions.

Tap on a version to expand it, and tap it again to show to all variations.

Master

6502SP

.widget .XMAX .YMAX .messXC .deltX .XX1 .INWK .XX19 .NEWB .JSTX .JSTY .KL .KY17 .KY14 .KY15 .KY20 .KY7 .KY5 .KY18 .KY6 .KY19 .KY12 .KY2 .KY16 .KY3 .KY4 .KY1 .KY13 .LSX .FSH .ASH .ENERGY .QQ3 .QQ4 .QQ5 .QQ6 .QQ7 .QQ8 .QQ9 .QQ10 .NOSTM
.widget .safehouse .messXC

Code variation 25 of 25Specific to an individual platform

This variation is blank in the Master version.

Cassette, Flight, Docked, 6502SP, Electron

ORG &00D1 .T .K3 .XX2 .K4
PRINT "Zero page variables from ", ~ZP, " to ", ~P%

RSS Feed