Skip to navigation

Elite on the BBC Micro and NES

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

Code variation 1 of 27Specific to an individual platform

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 2 of 27Specific to an individual platform

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

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

Code variation 3 of 27Specific to an individual platform

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

.TRTB%
.T1

Code variation 4 of 27Specific to an individual platform

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

.T2 .T3 .T4
.SC
.SCH

Code variation 5 of 27Specific to an individual platform

Tap on a block to expand it, and tap it again to revert.

.XX16 .P
.P .XC .COL .YC .QQ17 .K3 .XX2 .K4 .XX16

Code variation 6 of 27Specific to an individual platform

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

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

Code variation 7 of 27Specific to an individual platform

Tap on a block to expand it, and tap it again to revert.

.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 8 of 27Specific to an individual platform

This variation is blank in the Master version.

.XC .YC
.QQ22
.ECMA

Code variation 9 of 27Specific to an individual platform

This variation is blank in the Cassette and Electron versions.

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

 SKIP 2                 \ The last two bytes of the XX15 block

.XX12
.K

Code variation 10 of 27Specific to an individual platform

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

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

Code variation 11 of 27Specific to an individual platform

This variation is blank in the Master version.

.XX1 .INWK .XX19

Code variation 12 of 27Specific to an individual platform

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

.NEWB

Code variation 13 of 27Specific to an individual platform

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

.DL
.LSP
.QQ15
.K5
.XX18

Code variation 14 of 27Specific to an individual platform

This variation is blank in the Master version.

.QQ17 .QQ19 .K6

Code variation 15 of 27Specific to an individual platform

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

.ALP1 .ALP2

Code variation 16 of 27Specific to an individual platform

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

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

Code variation 17 of 27Specific to an individual platform

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

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

Code variation 18 of 27Specific to an individual platform

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

.T
.XSAV
.YSAV
.XX17

Code variation 19 of 27Specific to an individual platform

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

.W
.QQ11

.ZZ
.XX13
.MCNT

Code variation 20 of 27Specific to an individual platform

This variation is blank in the Master version.

Tap on a block to expand it, and tap it again to revert.

.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 21 of 27Specific to an individual platform

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

.JSTX .JSTY
.ALPHA

Code variation 22 of 27Specific to an individual platform

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

.PBUP .HBUP .LBUP
.QQ12
.TGT

Code variation 23 of 27Specific to an individual platform

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

.SWAP

Code variation 24 of 27Specific to an individual platform

This variation is blank in the Master version.

Tap on a block to expand it, and tap it again to revert.

.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

Code variation 25 of 27Specific to an individual platform

Tap on a block to expand it, and tap it again to revert.

.XX14
.LSNUM .LSNUM2
.RAT
.RAT2
.K2

Code variation 26 of 27Specific 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.

.widget .dontclip .Yx2M1 .messXC .newzp .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 27 of 27Specific to an individual platform

This variation is blank in the Master version.

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