Skip to navigation

BBC Micro Elite

List of all variables (Disc version)

This index contains every variable that appears in the source code for the disc version of BBC Micro Elite, grouped by category. A variable is defined as a labelled memory location that is used for storing data, and this list includes both variables that are defined in workspaces, and variables that are declared within the body of the source code.

Copy protection
---------------

BLOCK (Loader 1)These bytes are copied and decrypted by the loader routine (not used in this version as disc protection is disabled)
PARAMS1 (Loader 1)OSWORD parameter block for accessing a specific track on the disc (not used in this version as disc protection is disabled)
PARAMS2 (Loader 1)OSWORD parameter block for accessing a specific track on the disc (not used in this version as disc protection is disabled)
PARAMS3 (Loader 1)OSWORD parameter block for loading the ELITE3 loader file (not used in this version as disc protection is disabled)

Dashboard
---------

ECBT (Flight)The character bitmap for the E.C.M. indicator bulb
SPBT (Docked)The bitmap definition for the space station indicator bulb
SPBT (Flight)The bitmap definition for the space station indicator bulb

Drawing lines
-------------

TWFL (Docked)Ready-made character rows for the left end of a horizontal line in mode 4
TWFL (Flight)Ready-made character rows for the left end of a horizontal line in mode 4
TWFR (Docked)Ready-made character rows for the right end of a horizontal line in mode 4
TWFR (Flight)Ready-made character rows for the right end of a horizontal line in mode 4

Drawing pixels
--------------

CTWOS (Docked)Ready-made single-pixel character row bytes for mode 5
CTWOS (Flight)Ready-made single-pixel character row bytes for mode 5
TWOS (Docked)Ready-made single-pixel character row bytes for mode 4
TWOS (Flight)Ready-made single-pixel character row bytes for mode 4
TWOS (Loader 3)Ready-made single-pixel character row bytes for mode 4
TWOS2 (Docked)Ready-made double-pixel character row bytes for mode 4
TWOS2 (Flight)Ready-made double-pixel character row bytes for mode 4

Drawing planets
---------------

CNT (Loader 3)A counter for use in drawing Saturn's planetary body
CNT2 (Loader 3)A counter for use in drawing Saturn's background stars
CNT3 (Loader 3)A counter for use in drawing Saturn's rings
RAND (Loader 3)The random number seed used for drawing Saturn

Drawing ships
-------------

E% (Docked)Ship blueprints default NEWB flags for the ship hanger
E% (Ship blueprints A)Ship blueprints default NEWB flags for the D.MOA file
E% (Ship blueprints B)Ship blueprints default NEWB flags for the D.MOB file
E% (Ship blueprints C)Ship blueprints default NEWB flags for the D.MOC file
E% (Ship blueprints D)Ship blueprints default NEWB flags for the D.MOD file
E% (Ship blueprints E)Ship blueprints default NEWB flags for the D.MOE file
E% (Ship blueprints F)Ship blueprints default NEWB flags for the D.MOF file
E% (Ship blueprints G)Ship blueprints default NEWB flags for the D.MOG file
E% (Ship blueprints H)Ship blueprints default NEWB flags for the D.MOH file
E% (Ship blueprints I)Ship blueprints default NEWB flags for the D.MOI file
E% (Ship blueprints J)Ship blueprints default NEWB flags for the D.MOJ file
E% (Ship blueprints K)Ship blueprints default NEWB flags for the D.MOK file
E% (Ship blueprints L)Ship blueprints default NEWB flags for the D.MOL file
E% (Ship blueprints M)Ship blueprints default NEWB flags for the D.MOM file
E% (Ship blueprints N)Ship blueprints default NEWB flags for the D.MON file
E% (Ship blueprints O)Ship blueprints default NEWB flags for the D.MOO file
E% (Ship blueprints P)Ship blueprints default NEWB flags for the D.MOP file
SHIP_ADDER (Ship blueprints B)Ship blueprint for an Adder
SHIP_ADDER (Ship blueprints G)Ship blueprint for an Adder
SHIP_ADDER (Ship blueprints I)Ship blueprint for an Adder
SHIP_ADDER (Ship blueprints M)Ship blueprint for an Adder
SHIP_ANACONDA (Ship blueprints L)Ship blueprint for an Anaconda
SHIP_ASP_MK_2 (Ship blueprints N)Ship blueprint for an Asp Mk II
SHIP_ASP_MK_2 (Ship blueprints P)Ship blueprint for an Asp Mk II
SHIP_ASTEROID (Ship blueprints C)Ship blueprint for an asteroid
SHIP_ASTEROID (Ship blueprints D)Ship blueprint for an asteroid
SHIP_ASTEROID (Ship blueprints H)Ship blueprint for an asteroid
SHIP_ASTEROID (Ship blueprints K)Ship blueprint for an asteroid
SHIP_ASTEROID (Ship blueprints N)Ship blueprint for an asteroid
SHIP_ASTEROID (Ship blueprints O)Ship blueprint for an asteroid
SHIP_ASTEROID (Ship blueprints P)Ship blueprint for an asteroid
SHIP_BOA (Ship blueprints C)Ship blueprint for a Boa
SHIP_BOA (Ship blueprints F)Ship blueprint for a Boa
SHIP_BOULDER (Ship blueprints B)Ship blueprint for a boulder
SHIP_BOULDER (Ship blueprints E)Ship blueprint for a boulder
SHIP_BOULDER (Ship blueprints F)Ship blueprint for a boulder
SHIP_BOULDER (Ship blueprints G)Ship blueprint for a boulder
SHIP_BOULDER (Ship blueprints P)Ship blueprint for a boulder
SHIP_CANISTER (Docked)Ship blueprint for a cargo canister
SHIP_CANISTER (Ship blueprints A)Ship blueprint for a cargo canister
SHIP_CANISTER (Ship blueprints B)Ship blueprint for a cargo canister
SHIP_CANISTER (Ship blueprints C)Ship blueprint for a cargo canister
SHIP_CANISTER (Ship blueprints D)Ship blueprint for a cargo canister
SHIP_CANISTER (Ship blueprints E)Ship blueprint for a cargo canister
SHIP_CANISTER (Ship blueprints F)Ship blueprint for a cargo canister
SHIP_CANISTER (Ship blueprints G)Ship blueprint for a cargo canister
SHIP_CANISTER (Ship blueprints H)Ship blueprint for a cargo canister
SHIP_CANISTER (Ship blueprints I)Ship blueprint for a cargo canister
SHIP_CANISTER (Ship blueprints J)Ship blueprint for a cargo canister
SHIP_CANISTER (Ship blueprints K)Ship blueprint for a cargo canister
SHIP_CANISTER (Ship blueprints L)Ship blueprint for a cargo canister
SHIP_CANISTER (Ship blueprints M)Ship blueprint for a cargo canister
SHIP_CANISTER (Ship blueprints N)Ship blueprint for a cargo canister
SHIP_CANISTER (Ship blueprints O)Ship blueprint for a cargo canister
SHIP_CANISTER (Ship blueprints P)Ship blueprint for a cargo canister
SHIP_COBRA_MK1 (Ship blueprints D)Ship blueprint for a Cobra Mk I
SHIP_COBRA_MK1 (Ship blueprints E)Ship blueprint for a Cobra Mk I
SHIP_COBRA_MK1 (Ship blueprints J)Ship blueprint for a Cobra Mk I
SHIP_COBRA_MK1 (Ship blueprints K)Ship blueprint for a Cobra Mk I
SHIP_COBRA_MK1 (Ship blueprints M)Ship blueprint for a Cobra Mk I
SHIP_COBRA_MK1 (Ship blueprints O)Ship blueprint for a Cobra Mk I
SHIP_COBRA_MK_3 (Docked)Ship blueprint for a Cobra Mk III
SHIP_COBRA_MK_3 (Ship blueprints B)Ship blueprint for a Cobra Mk III
SHIP_COBRA_MK_3 (Ship blueprints C)Ship blueprint for a Cobra Mk III
SHIP_COBRA_MK_3 (Ship blueprints D)Ship blueprint for a Cobra Mk III
SHIP_COBRA_MK_3 (Ship blueprints E)Ship blueprint for a Cobra Mk III
SHIP_COBRA_MK_3 (Ship blueprints F)Ship blueprint for a Cobra Mk III
SHIP_COBRA_MK_3 (Ship blueprints G)Ship blueprint for a Cobra Mk III
SHIP_COBRA_MK_3 (Ship blueprints K)Ship blueprint for a Cobra Mk III
SHIP_COBRA_MK_3 (Ship blueprints L)Ship blueprint for a Cobra Mk III
SHIP_COBRA_MK_3 (Ship blueprints N)Ship blueprint for a Cobra Mk III
SHIP_COBRA_MK_3 (Ship blueprints O)Ship blueprint for a Cobra Mk III
SHIP_COBRA_MK_3 (Ship blueprints P)Ship blueprint for a Cobra Mk III
SHIP_COBRA_MK_3_P (Ship blueprints A)Ship blueprint for a Cobra Mk III (pirate)
SHIP_COBRA_MK_3_P (Ship blueprints H)Ship blueprint for a Cobra Mk III (pirate)
SHIP_COBRA_MK_3_P (Ship blueprints I)Ship blueprint for a Cobra Mk III (pirate)
SHIP_COBRA_MK_3_P (Ship blueprints J)Ship blueprint for a Cobra Mk III (pirate)
SHIP_COBRA_MK_3_P (Ship blueprints M)Ship blueprint for a Cobra Mk III (pirate)
SHIP_CONSTRICTOR (Docked)Ship blueprint for a Constrictor
SHIP_CONSTRICTOR (Ship blueprints G)Ship blueprint for a Constrictor
SHIP_CORIOLIS (Ship blueprints A)Ship blueprint for a Coriolis space station
SHIP_CORIOLIS (Ship blueprints C)Ship blueprint for a Coriolis space station
SHIP_CORIOLIS (Ship blueprints E)Ship blueprint for a Coriolis space station
SHIP_CORIOLIS (Ship blueprints G)Ship blueprint for a Coriolis space station
SHIP_CORIOLIS (Ship blueprints I)Ship blueprint for a Coriolis space station
SHIP_CORIOLIS (Ship blueprints K)Ship blueprint for a Coriolis space station
SHIP_CORIOLIS (Ship blueprints M)Ship blueprint for a Coriolis space station
SHIP_CORIOLIS (Ship blueprints O)Ship blueprint for a Coriolis space station
SHIP_DODO (Ship blueprints B)Ship blueprint for a Dodecahedron ("Dodo") space station
SHIP_DODO (Ship blueprints D)Ship blueprint for a Dodecahedron ("Dodo") space station
SHIP_DODO (Ship blueprints F)Ship blueprint for a Dodecahedron ("Dodo") space station
SHIP_DODO (Ship blueprints H)Ship blueprint for a Dodecahedron ("Dodo") space station
SHIP_DODO (Ship blueprints J)Ship blueprint for a Dodecahedron ("Dodo") space station
SHIP_DODO (Ship blueprints L)Ship blueprint for a Dodecahedron ("Dodo") space station
SHIP_DODO (Ship blueprints N)Ship blueprint for a Dodecahedron ("Dodo") space station
SHIP_DODO (Ship blueprints P)Ship blueprint for a Dodecahedron ("Dodo") space station
SHIP_ESCAPE_POD (Ship blueprints A)Ship blueprint for an escape pod
SHIP_ESCAPE_POD (Ship blueprints B)Ship blueprint for an escape pod
SHIP_ESCAPE_POD (Ship blueprints C)Ship blueprint for an escape pod
SHIP_ESCAPE_POD (Ship blueprints D)Ship blueprint for an escape pod
SHIP_ESCAPE_POD (Ship blueprints E)Ship blueprint for an escape pod
SHIP_ESCAPE_POD (Ship blueprints F)Ship blueprint for an escape pod
SHIP_ESCAPE_POD (Ship blueprints G)Ship blueprint for an escape pod
SHIP_ESCAPE_POD (Ship blueprints H)Ship blueprint for an escape pod
SHIP_ESCAPE_POD (Ship blueprints I)Ship blueprint for an escape pod
SHIP_ESCAPE_POD (Ship blueprints J)Ship blueprint for an escape pod
SHIP_ESCAPE_POD (Ship blueprints K)Ship blueprint for an escape pod
SHIP_ESCAPE_POD (Ship blueprints L)Ship blueprint for an escape pod
SHIP_ESCAPE_POD (Ship blueprints N)Ship blueprint for an escape pod
SHIP_ESCAPE_POD (Ship blueprints O)Ship blueprint for an escape pod
SHIP_ESCAPE_POD (Ship blueprints P)Ship blueprint for an escape pod
SHIP_FER_DE_LANCE (Ship blueprints A)Ship blueprint for a Fer-de-Lance
SHIP_FER_DE_LANCE (Ship blueprints L)Ship blueprint for a Fer-de-Lance
SHIP_GECKO (Ship blueprints D)Ship blueprint for a Gecko
SHIP_GECKO (Ship blueprints E)Ship blueprint for a Gecko
SHIP_GECKO (Ship blueprints F)Ship blueprint for a Gecko
SHIP_GECKO (Ship blueprints J)Ship blueprint for a Gecko
SHIP_GECKO (Ship blueprints K)Ship blueprint for a Gecko
SHIP_GECKO (Ship blueprints M)Ship blueprint for a Gecko
SHIP_GECKO (Ship blueprints N)Ship blueprint for a Gecko
SHIP_KRAIT (Docked)Ship blueprint for a Krait
SHIP_KRAIT (Ship blueprints A)Ship blueprint for a Krait
SHIP_KRAIT (Ship blueprints B)Ship blueprint for a Krait
SHIP_KRAIT (Ship blueprints C)Ship blueprint for a Krait
SHIP_KRAIT (Ship blueprints E)Ship blueprint for a Krait
SHIP_KRAIT (Ship blueprints G)Ship blueprint for a Krait
SHIP_KRAIT (Ship blueprints H)Ship blueprint for a Krait
SHIP_KRAIT (Ship blueprints I)Ship blueprint for a Krait
SHIP_KRAIT (Ship blueprints J)Ship blueprint for a Krait
SHIP_KRAIT (Ship blueprints M)Ship blueprint for a Krait
SHIP_KRAIT (Ship blueprints N)Ship blueprint for a Krait
SHIP_KRAIT (Ship blueprints O)Ship blueprint for a Krait
SHIP_KRAIT (Ship blueprints P)Ship blueprint for a Krait
SHIP_MAMBA (Ship blueprints A)Ship blueprint for a Mamba
SHIP_MAMBA (Ship blueprints B)Ship blueprint for a Mamba
SHIP_MAMBA (Ship blueprints E)Ship blueprint for a Mamba
SHIP_MAMBA (Ship blueprints G)Ship blueprint for a Mamba
SHIP_MAMBA (Ship blueprints I)Ship blueprint for a Mamba
SHIP_MAMBA (Ship blueprints J)Ship blueprint for a Mamba
SHIP_MAMBA (Ship blueprints L)Ship blueprint for a Mamba
SHIP_MAMBA (Ship blueprints M)Ship blueprint for a Mamba
SHIP_MAMBA (Ship blueprints O)Ship blueprint for a Mamba
SHIP_MISSILE (Missile ship blueprint)Ship blueprint for a missile
SHIP_MORAY (Ship blueprints K)Ship blueprint for a Moray
SHIP_PLATE (Ship blueprints A)Ship blueprint for an alloy plate
SHIP_PLATE (Ship blueprints B)Ship blueprint for an alloy plate
SHIP_PLATE (Ship blueprints E)Ship blueprint for an alloy plate
SHIP_PLATE (Ship blueprints G)Ship blueprint for an alloy plate
SHIP_PLATE (Ship blueprints I)Ship blueprint for an alloy plate
SHIP_PLATE (Ship blueprints J)Ship blueprint for an alloy plate
SHIP_PLATE (Ship blueprints O)Ship blueprint for an alloy plate
SHIP_PLATE (Ship blueprints P)Ship blueprint for an alloy plate
SHIP_PYTHON (Docked)Ship blueprint for a Python
SHIP_PYTHON (Ship blueprints A)Ship blueprint for a Python
SHIP_PYTHON (Ship blueprints H)Ship blueprint for a Python
SHIP_PYTHON (Ship blueprints K)Ship blueprint for a Python
SHIP_PYTHON_P (Ship blueprints I)Ship blueprint for a Python (pirate)
SHIP_PYTHON_P (Ship blueprints O)Ship blueprint for a Python (pirate)
SHIP_SHUTTLE (Docked)Ship blueprint for a shuttle
SHIP_SHUTTLE (Ship blueprints H)Ship blueprint for a shuttle
SHIP_SIDEWINDER (Ship blueprints A)Ship blueprint for a Sidewinder
SHIP_SIDEWINDER (Ship blueprints C)Ship blueprint for a Sidewinder
SHIP_SIDEWINDER (Ship blueprints D)Ship blueprint for a Sidewinder
SHIP_SIDEWINDER (Ship blueprints E)Ship blueprint for a Sidewinder
SHIP_SIDEWINDER (Ship blueprints F)Ship blueprint for a Sidewinder
SHIP_SIDEWINDER (Ship blueprints H)Ship blueprint for a Sidewinder
SHIP_SIDEWINDER (Ship blueprints I)Ship blueprint for a Sidewinder
SHIP_SIDEWINDER (Ship blueprints J)Ship blueprint for a Sidewinder
SHIP_SIDEWINDER (Ship blueprints K)Ship blueprint for a Sidewinder
SHIP_SIDEWINDER (Ship blueprints L)Ship blueprint for a Sidewinder
SHIP_SIDEWINDER (Ship blueprints M)Ship blueprint for a Sidewinder
SHIP_SIDEWINDER (Ship blueprints N)Ship blueprint for a Sidewinder
SHIP_SIDEWINDER (Ship blueprints P)Ship blueprint for a Sidewinder
SHIP_SPLINTER (Ship blueprints C)Ship blueprint for a splinter
SHIP_SPLINTER (Ship blueprints D)Ship blueprint for a splinter
SHIP_SPLINTER (Ship blueprints H)Ship blueprint for a splinter
SHIP_SPLINTER (Ship blueprints K)Ship blueprint for a splinter
SHIP_SPLINTER (Ship blueprints N)Ship blueprint for a splinter
SHIP_SPLINTER (Ship blueprints O)Ship blueprint for a splinter
SHIP_SPLINTER (Ship blueprints P)Ship blueprint for a splinter
SHIP_THARGOID (Ship blueprints C)Ship blueprint for a Thargoid mothership
SHIP_THARGOID (Ship blueprints D)Ship blueprint for a Thargoid mothership
SHIP_THARGON (Ship blueprints C)Ship blueprint for a Thargon
SHIP_THARGON (Ship blueprints D)Ship blueprint for a Thargon
SHIP_TRANSPORTER (Docked)Ship blueprint for a transporter
SHIP_TRANSPORTER (Ship blueprints F)Ship blueprint for a transporter
SHIP_VIPER (Docked)Ship blueprint for a Viper
SHIP_VIPER (Ship blueprints A)Ship blueprint for a Viper
SHIP_VIPER (Ship blueprints B)Ship blueprint for a Viper
SHIP_VIPER (Ship blueprints C)Ship blueprint for a Viper
SHIP_VIPER (Ship blueprints D)Ship blueprint for a Viper
SHIP_VIPER (Ship blueprints E)Ship blueprint for a Viper
SHIP_VIPER (Ship blueprints F)Ship blueprint for a Viper
SHIP_VIPER (Ship blueprints G)Ship blueprint for a Viper
SHIP_VIPER (Ship blueprints H)Ship blueprint for a Viper
SHIP_VIPER (Ship blueprints I)Ship blueprint for a Viper
SHIP_VIPER (Ship blueprints J)Ship blueprint for a Viper
SHIP_VIPER (Ship blueprints K)Ship blueprint for a Viper
SHIP_VIPER (Ship blueprints L)Ship blueprint for a Viper
SHIP_VIPER (Ship blueprints M)Ship blueprint for a Viper
SHIP_VIPER (Ship blueprints N)Ship blueprint for a Viper
SHIP_VIPER (Ship blueprints O)Ship blueprint for a Viper
SHIP_VIPER (Ship blueprints P)Ship blueprint for a Viper
SHIP_WORM (Ship blueprints B)Ship blueprint for a Worm
SHIP_WORM (Ship blueprints L)Ship blueprint for a Worm
XX21 (Docked)Ship blueprints lookup table for the ship hanger
XX21 (Ship blueprints A)Ship blueprints lookup table for the D.MOA file
XX21 (Ship blueprints B)Ship blueprints lookup table for the D.MOB file
XX21 (Ship blueprints C)Ship blueprints lookup table for the D.MOC file
XX21 (Ship blueprints D)Ship blueprints lookup table for the D.MOD file
XX21 (Ship blueprints E)Ship blueprints lookup table for the D.MOE file
XX21 (Ship blueprints F)Ship blueprints lookup table for the D.MOF file
XX21 (Ship blueprints G)Ship blueprints lookup table for the D.MOG file
XX21 (Ship blueprints H)Ship blueprints lookup table for the D.MOH file
XX21 (Ship blueprints I)Ship blueprints lookup table for the D.MOI file
XX21 (Ship blueprints J)Ship blueprints lookup table for the D.MOJ file
XX21 (Ship blueprints K)Ship blueprints lookup table for the D.MOK file
XX21 (Ship blueprints L)Ship blueprints lookup table for the D.MOL file
XX21 (Ship blueprints M)Ship blueprints lookup table for the D.MOM file
XX21 (Ship blueprints N)Ship blueprints lookup table for the D.MON file
XX21 (Ship blueprints O)Ship blueprints lookup table for the D.MOO file
XX21 (Ship blueprints P)Ship blueprints lookup table for the D.MOP file

Equipment
---------

PRXS (Docked)Equipment prices

Keyboard
--------

KYTB (Flight)Lookup table for in-flight keyboard controls

Loader
------

ECHAR (Loader 2)Character definitions for the Acorn Electron to mimic the graphics characters of the BBC Micro's mode 7 teletext screen
LOGO (Loader 2)Tables containing the Acornsoft logo for the BBC Micro and Acorn Electron
LTLI (Flight)The OS command string for loading the docked code file T.CODE
MESS1 (Loader 1)The OS command string for switching to the disc filing system
MESS1 (Loader 2)The OS command string for loading the ELITE4 loader
MESS1 (Loader 3)The OS command string for changing the disc directory to E
MESS2 (Loader 1)The OS command string for loading the the ELITE3 binary
RDLI (Docked)The OS command string for loading the flight code file D.CODE
SHIPI (Flight)The OS command string for loading a ship blueprints file

Market
------

QQ23 (Docked)Market prices table
QQ23 (Flight)Market prices table

Maths (Geometry)
----------------

ACT (Text tokens)Arctan table
SNE (Text tokens)Sine/cosine table

Save and load
-------------

CHK (Loader 3)First checksum byte for the saved commander data file
CHK2 (Loader 3)Second checksum byte for the saved commander data file
CTLI (Docked)The OS command string for cataloguing a disc
DELI (Docked)The OS command string for deleting a file
NA% (Loader 3)The data block for the last saved commander
S1% (Loader 3)The drive and directory number used when saving or loading a commander file

Screen mode
-----------

B% (Loader 1)VDU commands for switching to a mode 7 screen
B% (Loader 3)VDU commands for setting the square mode 4 screen
TVT1 (Loader 3)Palette data for space and the two dashboard colour schemes
VEC (Missile ship blueprint)The original value of the IRQ1 vector

Ship hanger
-----------

HATB (Docked)Ship hanger group table

Sound
-----

E% (Loader 3)Sound envelope definitions
SFX (Docked)Sound data
SFX (Flight)Sound data

Text
----

DTW1 (Docked)A mask for applying the lower case part of Sentence Case to extended text tokens
DTW2 (Docked)A flag that indicates whether we are currently printing a word
DTW3 (Docked)A flag for switching between standard and extended text tokens
DTW4 (Docked)Flags that govern how justified extended text tokens are printed
DTW5 (Docked)The size of the justified text buffer at BUF
DTW6 (Docked)A flag to denote whether printing in lower case is enabled for extended text tokens
DTW8 (Docked)A mask for capitalising the next letter in an extended text token
JMTB (Docked)The extended token table for jump tokens 1-32 (DETOK)
MTIN (Docked)Lookup table for random tokens in the extended token table (0-37)
QQ16 (Docked)The two-letter token lookup table
QQ18 (Text tokens)The recursive token table for tokens 0-148
RLINE (Docked)The OSWORD configuration block used to fetch a line of text from the keyboard
RUGAL (Docked)The criteria for systems with special extended descriptions
RUPLA (Docked)System numbers that have special extended decriptions
RUTOK (Docked)The second extended token table for recursive tokens 0-26 (DETOK3)
TENS (Docked)A constant used when printing large numbers in BPRNT
TENS (Flight)A constant used when printing large numbers in BPRNT
TKN1 (Docked)The first extended token table for recursive tokens 0-255 (DETOK)
TKN2 (Docked)The extended two-letter token lookup table

Universe
--------

UNIV (Docked)Table of pointers to the local universe's ship data blocks
UNIV (Flight)Table of pointers to the local universe's ship data blocks

Utility routines
----------------

Unused block (Docked)This data appears to be unused (the same block appears in both the flight and docked code)
Unused block (Flight)This data appears to be unused (the same block appears in both the flight and docked code)

Workspace variables
-------------------

ALP1 (Docked) Magnitude of the roll angle alpha, i.e. |alpha|, which is a positive value between 0 and 31
ALP1 (Flight) Magnitude of the roll angle alpha, i.e. |alpha|, which is a positive value between 0 and 31
ALP2 (Docked) Bit 7 of ALP2 = sign of the roll angle in ALPHA
ALP2 (Flight) Bit 7 of ALP2 = sign of the roll angle in ALPHA
ALPHA (Docked) The current roll angle alpha, which is reduced from JSTX to a sign-magnitude value between -31 and +31
ALPHA (Flight) The current roll angle alpha, which is reduced from JSTX to a sign-magnitude value between -31 and +31
ALTIT (Docked) Our altitude above the surface of the planet or sun
ALTIT (Flight) Our altitude above the surface of the planet or sun
ASH (Docked) Aft shield status
ASH (Flight) Aft shield status
auto (Docked) Docking computer activation status
auto (Flight) Docking computer activation status
AVL (Docked) Market availability in the current system
AVL (Flight) Market availability in the current system
BET1 (Docked) The magnitude of the pitch angle beta, i.e. |beta|, which is a positive value between 0 and 8
BET1 (Flight) The magnitude of the pitch angle beta, i.e. |beta|, which is a positive value between 0 and 8
BET2 (Docked) Bit 7 of BET2 = sign of the pitch angle in BETA
BET2 (Flight) Bit 7 of BET2 = sign of the pitch angle in BETA
BETA (Docked) The current pitch angle beta, which is reduced from JSTY to a sign-magnitude value between -8 and +8
BETA (Flight) The current pitch angle beta, which is reduced from JSTY to a sign-magnitude value between -8 and +8
BOMB (Docked) Energy bomb
BOMB (Flight) Energy bomb
BST (Docked) Fuel scoops (BST stands for "barrel status")
BST (Flight) Fuel scoops (BST stands for "barrel status")
BSTK (Docked) Bitstik configuration setting
BSTK (Flight) Bitstik configuration setting
CABTMP (Docked) Cabin temperature
CABTMP (Flight) Cabin temperature
CASH (Docked) Our current cash pot
CASH (Flight) Our current cash pot
CATF (Docked) This byte is unused (the CATF variable in the I/O processor code is used to store the CATF flag, not this one)
CATF (Flight) This byte is unused (the CATF variable in the I/O processor code is used to store the CATF flag, not this one)
CHKSM (Loader 3) Used in the copy protection code
CNT (Docked) Temporary storage, typically used for storing the number of iterations required when looping
CNT (Flight) Temporary storage, typically used for storing the number of iterations required when looping
CNT2 (Docked) Temporary storage, used in the planet-drawing routine to store the segment number where the arc of a partial circle should start
CNT2 (Flight) Temporary storage, used in the planet-drawing routine to store the segment number where the arc of a partial circle should start
COK (Docked) Flags used to generate the competition code
COK (Flight) Flags used to generate the competition code
COL (Docked) Temporary storage, used to store colour information when drawing pixels in the dashboard
COL (Flight) Temporary storage, used to store colour information when drawing pixels in the dashboard
COMC (Docked) The colour of the dot on the compass
COMC (Flight) The colour of the dot on the compass
COMX (Docked) The x-coordinate of the compass dot
COMX (Flight) The x-coordinate of the compass dot
COMY (Docked) The y-coordinate of the compass dot
COMY (Flight) The y-coordinate of the compass dot
CPIR (Docked) A counter used when spawning pirates, to work our way through the list of pirate ship blueprints until we find one that has been loaded
CPIR (Flight) A counter used when spawning pirates, to work our way through the list of pirate ship blueprints until we find one that has been loaded
CRGO (Docked) Our ship's cargo capacity
CRGO (Flight) Our ship's cargo capacity
DAMP (Docked) Keyboard damping configuration setting
DAMP (Flight) Keyboard damping configuration setting
de (Docked) Equipment destruction flag
de (Flight) Equipment destruction flag
DELT4 (Docked) Our current speed * 64 as a 16-bit value
DELT4 (Flight) Our current speed * 64 as a 16-bit value
DELTA (Docked) Our current speed, in the range 1-40
DELTA (Flight) Our current speed, in the range 1-40
DJD (Docked) Keyboard auto-recentre configuration setting
DJD (Flight) Keyboard auto-recentre configuration setting
DKCMP (Docked) Docking computer
DKCMP (Flight) Docking computer
DL (Docked) Vertical sync flag
DL (Flight) Vertical sync flag
DL (Loader 3) Vertical sync flag
DLY (Docked) In-flight message delay
DLY (Flight) In-flight message delay
DNOIZ (Docked) Sound on/off configuration setting
DNOIZ (Flight) Sound on/off configuration setting
ECM (Docked) E.C.M. system
ECM (Flight) E.C.M. system
ECMA (Docked) The E.C.M. countdown timer, which determines whether an E.C.M. system is currently operating:
ECMA (Flight) The E.C.M. countdown timer, which determines whether an E.C.M. system is currently operating:
ECMP (Docked) Our E.C.M. status
ECMP (Flight) Our E.C.M. status
ENERGY (Docked) Energy bank status
ENERGY (Flight) Energy bank status
ENGY (Docked) Energy unit
ENGY (Flight) Energy unit
ESCP (Docked) Escape pod
ESCP (Flight) Escape pod
EV (Docked) The "extra vessels" spawning counter
EV (Flight) The "extra vessels" spawning counter
FIST (Docked) Our legal status (FIST stands for "fugitive/innocent status"):
FIST (Flight) Our legal status (FIST stands for "fugitive/innocent status"):
FLAG (Docked) A flag that's used to define whether this is the first call to the ball line routine in BLINE, so it knows whether to wait for the second call before storing segment data in the ball line heap
FLAG (Flight) A flag that's used to define whether this is the first call to the ball line routine in BLINE, so it knows whether to wait for the second call before storing segment data in the ball line heap
FLH (Docked) Flashing console bars configuration setting
FLH (Flight) Flashing console bars configuration setting
FRIN (Docked) Slots for the ships in the local bubble of universe
FRIN (Flight) Slots for the ships in the local bubble of universe
FSH (Docked) Forward shield status
FSH (Flight) Forward shield status
GCNT (Docked) The number of the current galaxy (0-7)
GCNT (Flight) The number of the current galaxy (0-7)
GHYP (Docked) Galactic hyperdrive
GHYP (Flight) Galactic hyperdrive
GNTMP (Docked) Laser temperature (or "gun temperature")
GNTMP (Flight) Laser temperature (or "gun temperature")
gov (Docked) The current system's government type (0-7)
gov (Flight) The current system's government type (0-7)
HFX (Docked) A flag that toggles the hyperspace colour effect
HFX (Flight) A flag that toggles the hyperspace colour effect
INF (Docked) Temporary storage, typically used for storing the address of a ship's data block, so it can be copied to and from the internal workspace at INWK
INF (Flight) Temporary storage, typically used for storing the address of a ship's data block, so it can be copied to and from the internal workspace at INWK
INWK (Docked) The zero-page internal workspace for the current ship data block
INWK (Flight) The zero-page internal workspace for the current ship data block
JSTE (Docked) Reverse both joystick channels configuration setting
JSTE (Flight) Reverse both joystick channels configuration setting
JSTGY (Docked) Reverse joystick Y-channel configuration setting
JSTGY (Flight) Reverse joystick Y-channel configuration setting
JSTK (Docked) Keyboard or joystick configuration setting
JSTK (Flight) Keyboard or joystick configuration setting
JSTX (Docked) Our current roll rate
JSTX (Flight) Our current roll rate
JSTY (Docked) Our current pitch rate
JSTY (Flight) Our current pitch rate
JUNK (Docked) The amount of junk in the local bubble
JUNK (Flight) The amount of junk in the local bubble
K (Docked) Temporary storage, used in a number of places
K (Flight) Temporary storage, used in a number of places
K2 (Docked) Temporary storage, used in a number of places
K2 (Flight) Temporary storage, used in a number of places
K3 (Docked) Temporary storage, used in a number of places
K3 (Flight) Temporary storage, used in a number of places
K4 (Docked) Temporary storage, used in a number of places
K4 (Flight) Temporary storage, used in a number of places
K5 (Docked) Temporary storage used to store segment coordinates across successive calls to BLINE, the ball line routine
K5 (Flight) Temporary storage used to store segment coordinates across successive calls to BLINE, the ball line routine
K6 (Docked) Temporary storage, typically used for storing coordinates during vector calculations
K6 (Flight) Temporary storage, typically used for storing coordinates during vector calculations
KL (Docked) The following bytes implement a key logger that enables Elite to scan for concurrent key presses of the primary flight keys, plus a secondary flight key
KL (Flight) The following bytes implement a key logger that enables Elite to scan for concurrent key presses of the primary flight keys, plus a secondary flight key
KY1 (Docked) "?" is being pressed
KY1 (Flight) "?" is being pressed
KY12 (Docked) TAB is being pressed
KY12 (Flight) TAB is being pressed
KY13 (Docked) ESCAPE is being pressed
KY13 (Flight) ESCAPE is being pressed
KY14 (Docked) "T" is being pressed
KY14 (Flight) "T" is being pressed
KY15 (Docked) "U" is being pressed
KY15 (Flight) "U" is being pressed
KY16 (Docked) "M" is being pressed
KY16 (Flight) "M" is being pressed
KY17 (Docked) "E" is being pressed
KY17 (Flight) "E" is being pressed
KY18 (Docked) "J" is being pressed
KY18 (Flight) "J" is being pressed
KY19 (Docked) "C" is being pressed
KY19 (Flight) "C" is being pressed
KY2 (Docked) Space is being pressed
KY2 (Flight) Space is being pressed
KY20 (Docked) "P" is being pressed
KY20 (Flight) "P" is being pressed
KY3 (Docked) "<" is being pressed
KY3 (Flight) "<" is being pressed
KY4 (Docked) ">" is being pressed
KY4 (Flight) ">" is being pressed
KY5 (Docked) "X" is being pressed
KY5 (Flight) "X" is being pressed
KY6 (Docked) "S" is being pressed
KY6 (Flight) "S" is being pressed
KY7 (Docked) "A" is being pressed
KY7 (Flight) "A" is being pressed
LAS (Docked) Contains the laser power of the laser fitted to the current space view (or 0 if there is no laser fitted to the current view)
LAS (Flight) Contains the laser power of the laser fitted to the current space view (or 0 if there is no laser fitted to the current view)
LAS2 (Docked) Laser power for the current laser
LAS2 (Flight) Laser power for the current laser
LASCT (Docked) The laser pulse count for the current laser
LASCT (Flight) The laser pulse count for the current laser
LASER (Docked) The specifications of the lasers fitted to each of the four space views:
LASER (Flight) The specifications of the lasers fitted to each of the four space views:
LASX (Docked) The x-coordinate of the tip of the laser line
LASX (Flight) The x-coordinate of the tip of the laser line
LASY (Docked) The y-coordinate of the tip of the laser line
LASY (Flight) The y-coordinate of the tip of the laser line
LSO (Docked) This space has three uses:
LSO (Flight) This space has three uses:
LSP (Docked) The ball line heap pointer, which contains the number of the first free byte after the end of the LSX2 and LSY2 heaps (see the deep dive on "The ball line heap" for details)
LSP (Flight) The ball line heap pointer, which contains the number of the first free byte after the end of the LSX2 and LSY2 heaps (see the deep dive on "The ball line heap" for details)
LSX (Docked) LSX is an alias that points to the first byte of the sun line heap at LSO
LSX (Flight) LSX is an alias that points to the first byte of the sun line heap at LSO
LSX2 (Docked) The ball line heap for storing x-coordinates (see the deep dive on "The ball line heap" for details)
LSX2 (Flight) The ball line heap for storing x-coordinates (see the deep dive on "The ball line heap" for details)
LSY2 (Docked) The ball line heap for storing y-coordinates (see the deep dive on "The ball line heap" for details)
LSY2 (Flight) The ball line heap for storing y-coordinates (see the deep dive on "The ball line heap" for details)
MANY (Docked) The number of ships of each type in the local bubble of universe
MANY (Flight) The number of ships of each type in the local bubble of universe
MCH (Docked) The text token number of the in-flight message that is currently being shown, and which will be removed by the me2 routine when the counter in DLY reaches zero
MCH (Flight) The text token number of the in-flight message that is currently being shown, and which will be removed by the me2 routine when the counter in DLY reaches zero
MCNT (Docked) The main loop counter
MCNT (Flight) The main loop counter
MJ (Docked) Are we in witchspace (i.e. have we mis-jumped)?
MJ (Flight) Are we in witchspace (i.e. have we mis-jumped)?
MSAR (Docked) The targeting state of our leftmost missile
MSAR (Flight) The targeting state of our leftmost missile
MSTG (Docked) The current missile lock target
MSTG (Flight) The current missile lock target
NAME (Docked) The current commander name
NAME (Flight) The current commander name
NEWB (Docked) The ship's "new byte flags" (or NEWB flags)
NEWB (Flight) The ship's "new byte flags" (or NEWB flags)
NOMSL (Docked) The number of missiles we have fitted (0-4)
NOMSL (Flight) The number of missiles we have fitted (0-4)
NOSTM (Docked) The number of stardust particles shown on screen, which is 18 (#NOST) for normal space, and 3 for witchspace
NOSTM (Flight) The number of stardust particles shown on screen, which is 18 (#NOST) for normal space, and 3 for witchspace
P (Docked) Temporary storage, used in a number of places
P (Flight) Temporary storage, used in a number of places
P (Loader 2) Temporary storage, used in a number of places
P (Loader 3) Temporary storage, used in a number of places
PATG (Docked) Configuration setting to show the author names on the start-up screen and enable manual hyperspace mis-jumps
PATG (Flight) Configuration setting to show the author names on the start-up screen and enable manual hyperspace mis-jumps
Q (Docked) Temporary storage, used in a number of places
Q (Flight) Temporary storage, used in a number of places
Q (Loader 2) Temporary storage, used in a number of places
Q (Loader 3) Temporary storage, used in a number of places
QQ0 (Docked) The current system's galactic x-coordinate (0-256)
QQ0 (Flight) The current system's galactic x-coordinate (0-256)
QQ1 (Docked) The current system's galactic y-coordinate (0-256)
QQ1 (Flight) The current system's galactic y-coordinate (0-256)
QQ10 (Docked) The galactic y-coordinate of the crosshairs in the galaxy chart (and, most of the time, the selected system's galactic y-coordinate)
QQ10 (Flight) The galactic y-coordinate of the crosshairs in the galaxy chart (and, most of the time, the selected system's galactic y-coordinate)
QQ11 (Docked) The number of the current view:
QQ11 (Flight) The number of the current view:
QQ12 (Docked) Our "docked" status
QQ12 (Flight) Our "docked" status
QQ14 (Docked) Our current fuel level (0-70)
QQ14 (Flight) Our current fuel level (0-70)
QQ15 (Docked) The three 16-bit seeds for the selected system, i.e. the one in the crosshairs in the Short-range Chart
QQ15 (Flight) The three 16-bit seeds for the selected system, i.e. the one in the crosshairs in the Short-range Chart
QQ17 (Docked) Contains a number of flags that affect how text tokens are printed, particularly capitalisation:
QQ17 (Flight) Contains a number of flags that affect how text tokens are printed, particularly capitalisation:
QQ19 (Docked) Temporary storage, used in a number of places
QQ19 (Flight) Temporary storage, used in a number of places
QQ2 (Docked) The three 16-bit seeds for the current system, i.e. the one we are currently in
QQ2 (Flight) The three 16-bit seeds for the current system, i.e. the one we are currently in
QQ20 (Docked) The contents of our cargo hold
QQ20 (Flight) The contents of our cargo hold
QQ21 (Docked) The three 16-bit seeds for the current galaxy
QQ21 (Flight) The three 16-bit seeds for the current galaxy
QQ22 (Docked) The two hyperspace countdown counters
QQ22 (Flight) The two hyperspace countdown counters
QQ24 (Docked) Temporary storage, used to store the current market item's price in routine TT151
QQ24 (Flight) Temporary storage, used to store the current market item's price in routine TT151
QQ25 (Docked) Temporary storage, used to store the current market item's availability in routine TT151
QQ25 (Flight) Temporary storage, used to store the current market item's availability in routine TT151
QQ26 (Docked) A random value used to randomise market data
QQ26 (Flight) A random value used to randomise market data
QQ28 (Docked) Temporary storage, used to store the economy byte of the current system in routine var
QQ28 (Flight) Temporary storage, used to store the economy byte of the current system in routine var
QQ29 (Docked) Temporary storage, used in a number of places
QQ29 (Flight) Temporary storage, used in a number of places
QQ3 (Docked) The selected system's economy (0-7)
QQ3 (Flight) The selected system's economy (0-7)
QQ4 (Docked) The selected system's government (0-7)
QQ4 (Flight) The selected system's government (0-7)
QQ5 (Docked) The selected system's tech level (0-14)
QQ5 (Flight) The selected system's tech level (0-14)
QQ6 (Docked) The selected system's population in billions * 10 (1-71), so the maximum population is 7.1 billion
QQ6 (Flight) The selected system's population in billions * 10 (1-71), so the maximum population is 7.1 billion
QQ7 (Docked) The selected system's productivity in M CR (96-62480)
QQ7 (Flight) The selected system's productivity in M CR (96-62480)
QQ8 (Docked) The distance from the current system to the selected system in light years * 10, stored as a 16-bit number
QQ8 (Flight) The distance from the current system to the selected system in light years * 10, stored as a 16-bit number
QQ9 (Docked) The galactic x-coordinate of the crosshairs in the galaxy chart (and, most of the time, the selected system's galactic x-coordinate)
QQ9 (Flight) The galactic x-coordinate of the crosshairs in the galaxy chart (and, most of the time, the selected system's galactic x-coordinate)
R (Docked) Temporary storage, used in a number of places
R (Flight) Temporary storage, used in a number of places
R (Loader 2) Temporary storage, used in a number of places
RAND (Docked) Four 8-bit seeds for the random number generation system implemented in the DORND routine
RAND (Flight) Four 8-bit seeds for the random number generation system implemented in the DORND routine
RAT (Docked) Used to store different signs depending on the current space view, for use in calculating stardust movement
RAT (Flight) Used to store different signs depending on the current space view, for use in calculating stardust movement
RAT2 (Docked) Temporary storage, used to store the pitch and roll signs when moving objects and stardust
RAT2 (Flight) Temporary storage, used to store the pitch and roll signs when moving objects and stardust
S (Docked) Temporary storage, used in a number of places
S (Flight) Temporary storage, used in a number of places
S (Loader 2) Temporary storage, used in a number of places
SC (Docked) Screen address (low byte)
SC (Flight) Screen address (low byte)
SC (Loader 2) Screen address (low byte)
SC (Loader 3) Screen address (low byte)
SCH (Docked) Screen address (high byte)
SCH (Flight) Screen address (high byte)
SCH (Loader 2) Screen address (high byte)
SCH (Loader 3) Screen address (high byte)
SLSP (Docked) The address of the bottom of the ship line heap
SLSP (Flight) The address of the bottom of the ship line heap
SSPR (Docked) "Space station present" flag
SSPR (Flight) "Space station present" flag
STP (Docked) The step size for drawing circles
STP (Flight) The step size for drawing circles
SUNX (Docked) The 16-bit x-coordinate of the vertical centre axis of the sun (which might be off-screen)
SUNX (Flight) The 16-bit x-coordinate of the vertical centre axis of the sun (which might be off-screen)
SVC (Docked) The save count
SVC (Flight) The save count
SWAP (Docked) Temporary storage, used to store a flag that records whether or not we had to swap a line's start and end coordinates around when clipping the line in routine LL145 (the flag is used in places like BLINE to swap them back)
SWAP (Flight) Temporary storage, used to store a flag that records whether or not we had to swap a line's start and end coordinates around when clipping the line in routine LL145 (the flag is used in places like BLINE to swap them back)
SX (Docked) This is where we store the x_hi coordinates for all the stardust particles
SX (Flight) This is where we store the x_hi coordinates for all the stardust particles
SXL (Docked) This is where we store the x_lo coordinates for all the stardust particles
SXL (Flight) This is where we store the x_lo coordinates for all the stardust particles
SY (Docked) This is where we store the y_hi coordinates for all the stardust particles
SY (Flight) This is where we store the y_hi coordinates for all the stardust particles
SYL (Docked) This is where we store the y_lo coordinates for all the stardust particles
SYL (Flight) This is where we store the y_lo coordinates for all the stardust particles
SZ (Docked) This is where we store the z_hi coordinates for all the stardust particles
SZ (Flight) This is where we store the z_hi coordinates for all the stardust particles
SZL (Docked) This is where we store the z_lo coordinates for all the stardust particles
SZL (Flight) This is where we store the z_lo coordinates for all the stardust particles
T (Docked) Temporary storage, used in a number of places
T (Flight) Temporary storage, used in a number of places
T (Loader 2) Temporary storage, used in a number of places
T (Loader 3) Temporary storage, used in a number of places
T1 (Docked) Temporary storage, used in a number of places
T1 (Flight) Temporary storage, used in a number of places
TALLY (Docked) Our combat rank
TALLY (Flight) Our combat rank
tek (Docked) The current system's tech level (0-14)
tek (Flight) The current system's tech level (0-14)
TGT (Docked) Temporary storage, typically used as a target value for counters when drawing explosion clouds and partial circles
TGT (Flight) Temporary storage, typically used as a target value for counters when drawing explosion clouds and partial circles
TP (Docked) The current mission status, which is always 0 for the cassette version of Elite as there are no missions
TP (Flight) The current mission status, which is always 0 for the cassette version of Elite as there are no missions
TRTB% (Docked) This is set by elite-loader.asm to point to the MOS keyboard translation table, which is used by the TT217 routine to translate internal key values to ASCII
TRTB% (Flight) This is set by elite-loader.asm to point to the MOS keyboard translation table, which is used by the TT217 routine to translate internal key values to ASCII
TRTB% (Loader 2) TRTB%(1 0) points to the keyboard translation table
TYPE (Docked) The current ship type
TYPE (Flight) The current ship type
U (Docked) Temporary storage, used in a number of places
U (Flight) Temporary storage, used in a number of places
V (Docked) Temporary storage, typically used for storing an address pointer
V (Flight) Temporary storage, typically used for storing an address pointer
VIEW (Docked) The number of the current space view
VIEW (Flight) The number of the current space view
X1 (Docked) Temporary storage, typically used for x-coordinates in line-drawing routines
X1 (Flight) Temporary storage, typically used for x-coordinates in line-drawing routines
X2 (Docked) Temporary storage, typically used for x-coordinates in line-drawing routines
X2 (Flight) Temporary storage, typically used for x-coordinates in line-drawing routines
XC (Docked) The x-coordinate of the text cursor (i.e. the text column), which can be from 0 to 32
XC (Flight) The x-coordinate of the text cursor (i.e. the text column), which can be from 0 to 32
XSAV (Docked) Temporary storage for saving the value of the X register, used in a number of places
XSAV (Flight) Temporary storage for saving the value of the X register, used in a number of places
XSAV2 (Docked) Temporary storage, used for storing the value of the X register in the TT26 routine
XSAV2 (Flight) Temporary storage, used for storing the value of the X register in the TT26 routine
XX (Docked) Temporary storage, typically used for storing a 16-bit x-coordinate
XX (Flight) Temporary storage, typically used for storing a 16-bit x-coordinate
XX0 (Docked) Temporary storage, used to store the address of a ship blueprint. For example, it is used when we add a new ship to the local bubble in routine NWSHP, and it contains the address of the current ship's blueprint as we loop through all the nearby ships in the main flight loop
XX0 (Flight) Temporary storage, used to store the address of a ship blueprint. For example, it is used when we add a new ship to the local bubble in routine NWSHP, and it contains the address of the current ship's blueprint as we loop through all the nearby ships in the main flight loop
XX1 (Docked) This is an alias for INWK that is used in the main ship-drawing routine at LL9
XX1 (Flight) This is an alias for INWK that is used in the main ship-drawing routine at LL9
XX12 (Docked) Temporary storage for a block of values, used in a number of places
XX12 (Flight) Temporary storage for a block of values, used in a number of places
XX13 (Docked) Temporary storage, typically used in the line-drawing routines
XX13 (Flight) Temporary storage, typically used in the line-drawing routines
XX14 (Docked) This byte is unused
XX14 (Flight) This byte is unused
XX15 (Docked) Temporary storage, typically used for storing screen coordinates in line-drawing routines
XX15 (Flight) Temporary storage, typically used for storing screen coordinates in line-drawing routines
XX16 (Docked) Temporary storage for a block of values, used in a number of places
XX16 (Flight) Temporary storage for a block of values, used in a number of places
XX17 (Docked) Temporary storage, used in BPRNT to store the number of characters to print, and as the edge counter in the main ship-drawing routine
XX17 (Flight) Temporary storage, used in BPRNT to store the number of characters to print, and as the edge counter in the main ship-drawing routine
XX18 (Docked) Temporary storage used to store coordinates in the LL9 ship-drawing routine
XX18 (Flight) Temporary storage used to store coordinates in the LL9 ship-drawing routine
XX19 (Docked) XX19(1 0) shares its location with INWK(34 33), which contains the address of the ship line heap
XX19 (Flight) XX19(1 0) shares its location with INWK(34 33), which contains the address of the ship line heap
XX2 (Docked) Temporary storage, used to store the visibility of the ship's faces during the ship-drawing routine at LL9
XX2 (Flight) Temporary storage, used to store the visibility of the ship's faces during the ship-drawing routine at LL9
XX20 (Docked) Temporary storage, used in a number of places
XX20 (Flight) Temporary storage, used in a number of places
XX24 (Docked) This byte is unused
XX24 (Flight) This byte is unused
XX4 (Docked) Temporary storage, used in a number of places
XX4 (Flight) Temporary storage, used in a number of places
Y1 (Docked) Temporary storage, typically used for y-coordinates in line-drawing routines
Y1 (Flight) Temporary storage, typically used for y-coordinates in line-drawing routines
Y2 (Docked) Temporary storage, typically used for y-coordinates in line-drawing routines
Y2 (Flight) Temporary storage, typically used for y-coordinates in line-drawing routines
YC (Docked) The y-coordinate of the text cursor (i.e. the text row), which can be from 0 to 23
YC (Flight) The y-coordinate of the text cursor (i.e. the text row), which can be from 0 to 23
YSAV (Docked) Temporary storage for saving the value of the Y register, used in a number of places
YSAV (Flight) Temporary storage for saving the value of the Y register, used in a number of places
YSAV2 (Docked) Temporary storage, used for storing the value of the Y register in the TT26 routine
YSAV2 (Flight) Temporary storage, used for storing the value of the Y register in the TT26 routine
YY (Docked) Temporary storage, typically used for storing a 16-bit y-coordinate
YY (Flight) Temporary storage, typically used for storing a 16-bit y-coordinate
YY (Loader 3) Temporary storage, used in a number of places
ZZ (Docked) Temporary storage, typically used for distance values
ZZ (Flight) Temporary storage, typically used for distance values