Skip to navigation


Elite on the 6502

Fully documented source code for Elite on the BBC Micro, Acorn Electron, Commodore 64 and NES

BBC Micro Elite screenshotBBC Micro Elite screenshotBBC Micro 6502 Second Processor Elite screenshot

This site contains the original 1980s source code for the classic space game Elite, with every single line documented and (for the most part) explained. It is literally the original 6502 assembly source code, just heavily commented.

As well as exploring the source, you can read over 100 deep dives into how Elite weaves its magic, play the game, or take things to a new level with the Elite hacks. There are more suggestions for your visit in the section below.

The following versions of Elite are covered:

Elite was first released in 1984, for the BBC Micro. It was written by Ian Bell and David Braben, and was published by Acornsoft (for the Acorn market), Firebird (for the Commodore 64) and Imagineer (for the NES). The original sources were released some time ago by Ian Bell on his personal website.

NES Elite screenshot

Note that the source code has not been released for the BBC Micro disc, Acorn Electron or BBC Master versions, so where they differ from the released sources, the extra code has been reconstructed by hand from a disassembly of the original game binaries. The rest is all original 1980s source code.

My hope is that this site will be useful for those who want to learn more about Elite and what makes it tick. It is provided on an educational and non-profit basis, with the aim of helping people appreciate one of the most iconic games of the 8-bit era.

Suggestions for your visit
--------------------------

To start your journey into the secrets of Elite, you might like to try the following:

If you prefer a lighter theme for your Elite explorations, you can change the site's colour scheme by clicking the icons in the top-right corner.

Commodore 64 Elite screenshot

If you want to play with the code
---------------------------------

If you are interested in building a working copy of Elite from the source, then you'll enjoy exploring the accompanying GitHub repositories, each of which contains fully commented and buildable source code for a specific version of Elite:

These repositories can be assembled on modern computers to produce working game discs that can be loaded into a BBC Micro, an Acorn Electron, a NES or an emulator. If you want to experiment with the code, this is the place to go.

Similar projects
----------------

And finally, you may also be interested in my other software archaeology projects:

Right on, Commanders!

Mark Moxon