Skip to navigation

Elite on the BBC Micro and NES

Version-specific code

The following subroutines, variables, workspaces and macros appear in just one version of Elite. Click on the version name to see the relevant code as it appears in that version. "Cassette" refers to the BBC Micro cassette version, while "Docked" and "Flight" refer to the BBC Micro disc version.

NameVersions that contain this routine
acorn
Variable
Demo
---6502SP--
add_duplicate
Subroutine
Maths (Arithmetic)
----Master-
ADDBYT
Subroutine
Drawing lines
---6502SP--
ADPARAMS
Subroutine
Dashboard
---6502SP--
ALP2
Variable
---6502SP--
antilog
Variable
Maths (Arithmetic)
---6502SP--
antilogODD
Variable
Maths (Arithmetic)
---6502SP--
antilogODD
Variable
Maths (Arithmetic)
---6502SP--
B%
Variable
Drawing the screen
--Flight---
backtonormal
Subroutine
Utility routines
---6502SP--
BALI
Variable
---6502SP--
BALI
Variable
----Master-
BEGIN
Subroutine
Copy protection
--Flight---
BEGIN%
Subroutine
Copy protection
Cassette-----
BEGIN%
Subroutine
Copy protection
-----Electron
BEGINLIN
Subroutine
Drawing lines
---6502SP--
BLOCK
Variable
Copy protection
Cassette-----
BLOCK
Variable
Copy protection
--Flight---
block1
Variable
Drawing the screen
Cassette-----
block2
Variable
Drawing the screen
Cassette-----
BOMBEFF2
Subroutine
Drawing lines
----Master-
BOMBOFF
Subroutine
Drawing lines
----Master-
BOMBON
Subroutine
Drawing lines
----Master-
BOMBPOS
Variable
Drawing lines
----Master-
BOMBTBX
Variable
Drawing lines
----Master-
BOMBTBY
Variable
Drawing lines
----Master-
BOOP
Subroutine
Sound
----Master-
boxsize
Variable
----Master-
BRBR1
Subroutine
Loader
--Flight---
byian
Variable
Demo
---6502SP--
CATD
Subroutine
Save and load
--Flight---
CATDcode
Subroutine
Save and load
--Flight---
CATF
Variable
---6502SP--
CHECK
Subroutine
Copy protection
--Flight---
CHECKbyt
Variable
Copy protection
Cassette-----
CHECKER
Subroutine
Copy protection
Cassette-----
Checksum
Variable
Copy protection
-Docked----
Checksum
Subroutine
Copy protection
---6502SP--
CHECKV
Variable
Copy protection
Cassette-----
CHKSM
Variable
--Flight---
CHPR
Subroutine
Text
---6502SP--
CLDELAY
Subroutine
Utility routines
---6502SP--
CLYNS
Subroutine
Drawing the screen
---6502SP--
COLD
Subroutine
Loader
---6502SP--
coltabl
Variable
Drawing ships
----Master-
command
Subroutine
Utility routines
Cassette-----
copyMatch
Variable
Loader
--Flight---
copyright
Variable
Copy protection
---6502SP--
coriolisStation
Variable
Loader
--Flight---
crunchit
Subroutine
Copy protection
-----Electron
CTRLmc
Subroutine
Keyboard
----Master-
Dashboard image
Variable
Loader
----Master-
DEEOR
Subroutine
Copy protection
---6502SP--
DEEOR
Subroutine
Utility routines
----Master-
DEEORS
Subroutine
Utility routines
----Master-
DEMON
Subroutine
Demo
---6502SP--
DET1
Subroutine
Drawing the screen
---6502SP--
DIALS
Subroutine
Dashboard
---6502SP--
DIRI
Variable
Save and load
----Master-
DISK
Variable
----Master-
distaway
Variable
----Master-
DJOY
Subroutine
Keyboard
----Master-
DKS4
Subroutine
Keyboard
---6502SP--
DKS4mc
Subroutine
Keyboard
----Master-
do65C02
Subroutine
Copy protection
---6502SP--
DOBEGIN
Subroutine
Loader
-Docked----
DOBRK
Subroutine
Utility routines
---6502SP--
DOCATF
Subroutine
Save and load
---6502SP--
DOCOL
Subroutine
Text
---6502SP--
DOCOL
Subroutine
Text
---6502SP--
DODKS4
Subroutine
Keyboard
---6502SP--
DODOSVN
Subroutine
Save and load
---6502SP--
DOENTRY
Subroutine
Loader
--Flight---
DOFE21
Subroutine
Flight
---6502SP--
DOHFX
Subroutine
Drawing circles
---6502SP--
DOMOVE
Subroutine
Copy protection
Cassette-----
dontclip
Variable
----Master-
DOSVN
Subroutine
Save and load
---6502SP--
DOT
Subroutine
Drawing pixels
---6502SP--
DOVDU19
Subroutine
Drawing the screen
---6502SP--
DOVIAE
Subroutine
Keyboard
---6502SP--
DOXC
Subroutine
Text
---6502SP--
DOYC
Subroutine
Text
---6502SP--
dupl%
Variable
Loader
--Flight---
DVLOIN
Subroutine
Drawing lines
----Master-
E%
Variable
Drawing ships
-Docked----
ECBLB
Subroutine
Dashboard
---6502SP--
ECHAR
Variable
Loader
--Flight---
ELASNO
Subroutine
Sound
----Master-
Elite loader
Subroutine
Loader
--Flight---
Elite loader
Subroutine
Loader
---6502SP--
Elite loader
Subroutine
Loader
----Master-
Elite loader (Part 1 of 2)
Subroutine
Loader
--Flight---
Elite loader (Part 2 of 2)
Subroutine
Loader
--Flight---
Elite loader (Part 1 of 2)
Subroutine
Loader
---6502SP--
Elite loader (Part 2 of 2)
Subroutine
Loader
---6502SP--
Elite loader (Part 1 of 3)
Subroutine
Loader
--Flight---
Elite loader (Part 2 of 3)
Subroutine
Loader
--Flight---
Elite loader (Part 3 of 3)
Subroutine
Loader
--Flight---
Elite loader (Part 1 of 5)
Subroutine
Loader
-----Electron
Elite loader (Part 2 of 5)
Subroutine
Loader
-----Electron
Elite loader (Part 3 of 5)
Subroutine
Loader
-----Electron
Elite loader (Part 4 of 5)
Subroutine
Loader
-----Electron
Elite loader (Part 5 of 5)
Subroutine
Loader
-----Electron
Elite loader (Part 1 of 6)
Subroutine
Loader
Cassette-----
Elite loader (Part 2 of 6)
Subroutine
Loader
Cassette-----
Elite loader (Part 3 of 6)
Subroutine
Loader
Cassette-----
Elite loader (Part 4 of 6)
Subroutine
Loader
Cassette-----
Elite loader (Part 5 of 6)
Subroutine
Loader
Cassette-----
Elite loader (Part 6 of 6)
Subroutine
Loader
Cassette-----
eliterom%
Variable
Loader
--Flight---
eliteRomHeader
Variable
Loader
--Flight---
executive
Variable
Demo
---6502SP--
exlook
Variable
Drawing ships
----Master-
FileHandler
Subroutine
Loader
--Flight---
filenamePattern
Variable
Loader
--Flight---
FILEPR
Subroutine
Save and load
----Master-
FILLKL
Subroutine
Keyboard
----Master-
Firebird
Variable
Copy protection
---6502SP--
FOOLV
Variable
Copy protection
Cassette-----
frump
Variable
----Master-
getzp
Subroutine
Utility routines
----Master-
GRIDSET
Subroutine
Demo
---6502SP--
GRS1
Subroutine
Demo
---6502SP--
GTDIR
Subroutine
Save and load
----Master-
GTNMES
Subroutine
Utility routines
-Docked----
HANGFLAG
Variable
Ship hangar
----Master-
HBFL
Subroutine
Drawing lines
---6502SP--
HBUF
Variable
Drawing lines
---6502SP--
HBUP
Variable
---6502SP--
HBZE
Subroutine
Drawing lines
---6502SP--
HIMCNT
Variable
Demo
---6502SP--
HLOIN
Subroutine
Drawing lines
---6502SP--
HLOIN2
Subroutine
Drawing lines
---6502SP--
I/O variables
Workspace
Workspaces
---6502SP--
INBAY
Subroutine
Loader
--Flight---
INBAY
Subroutine
Loader
-Docked----
IRQ1
Subroutine
Drawing the screen
Cassette-----
IRQ1
Subroutine
Utility routines
-----Electron
JAMESON
Subroutine
Save and load
----Master-
JMPTAB
Variable
Tube
---6502SP--
JOPOS
Variable
----Master-
JUMP
Variable
---6502SP--
KEY1
Subroutine
Keyboard
-----Electron
KEYBOARD
Subroutine
Keyboard
---6502SP--
KWH%
Variable
Status
----Master-
KWL%
Variable
Status
----Master-
KYTB
Variable
Keyboard
---6502SP--
label
Subroutine
Text
---6502SP--
LASNO
Subroutine
Sound
----Master-
LATCH
Variable
----Master-
LBFL
Subroutine
Drawing lines
---6502SP--
LBL
Subroutine
Copy protection
Cassette-----
LBUF
Variable
Drawing lines
---6502SP--
LBUP
Variable
---6502SP--
LINMAX
Variable
---6502SP--
LINTAB
Variable
---6502SP--
LOAD
Subroutine
Copy protection
--Flight---
LOAD
Subroutine
Copy protection
--Flight---
LOAD
Subroutine
Loader
--Flight---
LOADcode
Subroutine
Copy protection
--Flight---
LOADcode
Subroutine
Loader
--Flight---
LoadRom
Subroutine
Loader
--Flight---
loadrom%
Subroutine
Loader
--Flight---
LOADSCR
Subroutine
Loader
--Flight---
LoadShipFiles
Subroutine
Loader
--Flight---
lodosc
Variable
Save and load
----Master-
log
Variable
Maths (Arithmetic)
---6502SP--
logL
Variable
Maths (Arithmetic)
---6502SP--
LOGO
Variable
Loader
--Flight---
LOGOS
Subroutine
Loader
--Flight---
LOIN
Subroutine
Drawing lines
---6502SP--
LOMOD
Subroutine
Loader
--Flight---
LP
Workspace
Workspaces
---6502SP--
LS2FL
Subroutine
Drawing circles
---6502SP--
LSNUM
Variable
----Master-
LSNUM2
Variable
----Master-
LSPUT
Subroutine
Drawing lines
----Master-
LTDEF
Variable
Demo
---6502SP--
LTLI
Variable
Loader
--Flight---
M2
Variable
Utility routines
Cassette-----
MAINSUM
Variable
Copy protection
Cassette-----
MakeRom
Subroutine
Loader
--Flight---
makerom%
Subroutine
Loader
--Flight---
MDIALS
Variable
Dashboard
-----Electron
MESS1
Variable
Utility routines
Cassette-----
MESS1
Variable
Loader
--Flight---
MESS1
Variable
Loader
--Flight---
MESS1
Variable
Loader
--Flight---
MESS1
Variable
Loader
---6502SP--
MESS1
Variable
Loader
----Master-
MESS1
Variable
Utility routines
-----Electron
MESS2
Variable
Loader
--Flight---
MESS2
Variable
Loader
---6502SP--
MESS2
Variable
Loader
---6502SP--
MESS2
Variable
Loader
----Master-
MESS3
Variable
Loader
---6502SP--
MESS3
Variable
Loader
----Master-
MOS
Variable
---6502SP--
MOS
Variable
----Master-
MPL
Subroutine
Utility routines
--Flight---
MSBAR
Subroutine
Dashboard
---6502SP--
MVBL
Subroutine
Utility routines
--Flight---
MVBL
Subroutine
Utility routines
---6502SP--
MVE
Macro
Utility routines
---6502SP--
MVPG
Subroutine
Utility routines
--Flight---
NA%
Variable
Save and load
----Master-
NEEDKEY
Variable
---6502SP--
newosrdch
Subroutine
Tube
---6502SP--
newzp
Variable
----Master-
NEXTR
Subroutine
Drawing the screen
-----Electron
NMI
Variable
----Master-
NMICLAIM
Subroutine
Utility routines
----Master-
NMIRELEASE
Subroutine
Utility routines
----Master-
NOFX
Variable
Demo
---6502SP--
NOFY
Variable
Demo
---6502SP--
NUMBOR
Subroutine
Text
----Master-
NWOSWD
Subroutine
Tube
---6502SP--
oldlong
Variable
Save and load
----Master-
OSBmod
Subroutine
Copy protection
--Flight---
oscobl
Variable
Save and load
---6502SP--
oscobl2
Variable
Save and load
---6502SP--
osfileBlock
Variable
Loader
--Flight---
osprint
Subroutine
Utility routines
Cassette-----
OSSC
Variable
---6502SP--
OSWVECS
Variable
Tube
---6502SP--
OTHERFILEPR
Subroutine
Save and load
----Master-
OUTX
Subroutine
Text
----Master-
P
Variable
--Flight---
PARAMS
Variable
---6502SP--
PARAMS1
Variable
Copy protection
--Flight---
PARAMS2
Variable
Copy protection
--Flight---
PARAMS3
Variable
Copy protection
--Flight---
PARANO
Variable
---6502SP--
Parasite variables
Workspace
Workspaces
---6502SP--
PBFL
Subroutine
Drawing pixels
---6502SP--
PBUF
Variable
Drawing pixels
---6502SP--
PBUP
Variable
---6502SP--
PBZE
Subroutine
Drawing pixels
---6502SP--
PIXEL
Subroutine
Drawing pixels
---6502SP--
PIXEL3
Subroutine
Drawing pixels
---6502SP--
POSWRCH
Subroutine
Text
---6502SP--
prilf
Subroutine
Text
---6502SP--
printer
Subroutine
Text
---6502SP--
printflag
Variable
Text
---6502SP--
ProcessBlueprint
Subroutine
Loader
--Flight---
proflag%
Variable
Loader
--Flight---
PROT1
Subroutine
Loader
--Flight---
PROT1
Subroutine
Copy protection
--Flight---
PROT2
Subroutine
Copy protection
--Flight---
PROT3
Subroutine
Copy protection
--Flight---
PROT4
Subroutine
Loader
--Flight---
prstr
Subroutine
Loader
--Flight---
PUTBACK
Subroutine
Tube
---6502SP--
RDFIRE
Subroutine
Keyboard
----Master-
RDJOY
Subroutine
Keyboard
----Master-
RDPARAMS
Subroutine
Dashboard
---6502SP--
RETURN
Subroutine
Keyboard
----Master-
rfile
Subroutine
Save and load
----Master-
ROM
Variable
Loader
--Flight---
RSHIPS
Subroutine
Loader
--Flight---
S%
Workspace
Workspaces
Cassette-----
S%
Workspace
Workspaces
--Flight---
S%
Workspace
Workspaces
-Docked----
S%
Subroutine
Loader
---6502SP--
S%
Subroutine
Loader
----Master-
S% (Part 1 of 2)
Workspace
Workspaces
-----Electron
S% (Part 2 of 2)
Workspace
Workspaces
-----Electron
savosc
Variable
Save and load
----Master-
savscr
Subroutine
Save and load
---6502SP--
SC48
Subroutine
Dashboard
---6502SP--
SCALEX
Subroutine
Maths (Geometry)
----Master-
SCALEY
Subroutine
Maths (Geometry)
----Master-
SCALEY2
Subroutine
Maths (Geometry)
----Master-
SCANCOL
Subroutine
Dashboard
--Flight---
SCANpars
Variable
Dashboard
---6502SP--
SCLI2
Subroutine
Utility routines
---6502SP--
scname
Variable
Save and load
---6502SP--
SCRAM
Subroutine
Loader
-Docked----
SetEdgesOffset
Subroutine
Loader
--Flight---
setzp
Subroutine
Utility routines
----Master-
SFXBT
Variable
Sound
----Master-
SFXDU
Variable
-----Electron
SFXFQ
Variable
Sound
----Master-
SFXPR
Variable
Sound
----Master-
SFXPR
Variable
-----Electron
SFXVC
Variable
Sound
----Master-
SHIFT
Subroutine
Keyboard
----Master-
SHIP_LOGO
Variable
Drawing ships
---6502SP--
shipFilename
Variable
Loader
--Flight---
SHIPI
Variable
Loader
--Flight---
SIGHTCOL
Variable
Drawing lines
----Master-
SLIDE
Subroutine
Demo
---6502SP--
SOFH
Variable
Sound
----Master-
SOFLG
Variable
Sound
----Master-
SOFLUSH
Subroutine
Sound
----Master-
SOINT
Subroutine
Sound
----Master-
SOMEPROT
Subroutine
Copy protection
---6502SP--
SOOFF
Variable
Sound
----Master-
SOUS1
Subroutine
Sound
----Master-
SPBLB
Subroutine
Dashboard
---6502SP--
SPEAK
Variable
---6502SP--
SPEECH
Variable
Sound
---6502SP--
sram%
Variable
Loader
--Flight---
STORE
Subroutine
Universe
---6502SP--
SWAPPZERO
Subroutine
Utility routines
----Master-
T2
Variable
----Master-
T3
Variable
----Master-
T4
Variable
----Master-
TABLE
Variable
Drawing lines
---6502SP--
TALK
Subroutine
Sound
---6502SP--
TALLYL
Variable
----Master-
TBRIEF
Subroutine
Missions
----Master-
TestBBC
Subroutine
Loader
--Flight---
testbbc%
Subroutine
Loader
--Flight---
TestPro
Subroutine
Loader
--Flight---
testpro%
Subroutine
Loader
--Flight---
TGINT
Variable
Keyboard
----Master-
thislong
Variable
Save and load
----Master-
TINA
Workspace
Workspaces
---6502SP--
titleMatch
Variable
Loader
--Flight---
tosend
Subroutine
Text
---6502SP--
TRIBBLE
Variable
----Master-
true3
Variable
Demo
---6502SP--
TT17X
Subroutine
Keyboard
----Master-
TT26
Subroutine
Text
Cassette-----
TVT1code
Subroutine
Loader
--Flight---
TWIST
Subroutine
Demo
---6502SP--
Unused copy protection routine
Subroutine
Copy protection
--Flight---
UPO
Variable
---6502SP--
UPO
Variable
----Master-
UPTOG
Variable
----Master-
used%
Variable
Loader
--Flight---
USOSWRCH
Subroutine
Tube
---6502SP--
UU%
Workspace
Workspaces
Cassette-----
UU%
Workspace
Workspaces
-----Electron
VOL
Variable
----Master-
VSCAN
Variable
Drawing the screen
----Master-
W
Variable
----Master-
wfile
Subroutine
Save and load
----Master-
WHITETEXT
Subroutine
Text
---6502SP--
WSCAN
Subroutine
Drawing the screen
---6502SP--
X1TB
Variable
---6502SP--
X1UB
Variable
---6502SP--
X1VB
Variable
---6502SP--
X2TB
Variable
---6502SP--
X2UB
Variable
---6502SP--
X2VB
Variable
---6502SP--
XC
Variable
Text
Cassette-----
XC
Variable
---6502SP--
XP
Variable
---6502SP--
XP
Variable
----Master-
XX21
Variable
Drawing ships
-Docked----
Y1TB
Variable
---6502SP--
Y1UB
Variable
---6502SP--
Y1VB
Variable
---6502SP--
Y2TB
Variable
---6502SP--
Y2UB
Variable
---6502SP--
Y2VB
Variable
---6502SP--
YC
Variable
Text
Cassette-----
YC
Variable
---6502SP--
YESNO
Subroutine
Keyboard
----Master-
yetanotherrts
Subroutine
Tactics
----Master-
YP
Variable
---6502SP--
YP
Variable
----Master-
YS
Variable
---6502SP--
YS
Variable
----Master-
Yx2M1
Variable
----Master-
Z1
Variable
---6502SP--
Z2
Variable
---6502SP--
ZEKTRAN
Subroutine
Keyboard
---6502SP--
ZEVB
Subroutine
Utility routines
---6502SP--
ZINF2
Subroutine
Universe
---6502SP--
ZIP
Variable
---6502SP--
ZP
Workspace
Workspaces
Cassette-----
ZP
Workspace
Workspaces
--Flight---
ZP
Workspace
Workspaces
--Flight---
ZP
Workspace
Workspaces
--Flight---
ZP
Workspace
Workspaces
--Flight---
ZP
Workspace
Workspaces
---6502SP--
ZP
Workspace
Workspaces
---6502SP--
ZP
Workspace
Workspaces
---6502SP--
ZP
Workspace
Workspaces
----Master-
ZZAAP
Subroutine
Demo
---6502SP--