Skip to navigation

Elite on the BBC Micro

Version analysis of FRIN

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

Code variations between these versions are shown below.

.FRIN

 SKIP NOSH + 1          \ Slots for the ships in the local bubble of universe
                        \
                        \ There are #NOSH + 1 slots, but the ship-spawning
                        \ routine at NWSHP only populates #NOSH of them, so

Code variation 1 of 1A variation in the comments only

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, Electron

6502SP

\ there are 13 slots but only 12 are used for ships
\ there are 21 slots but only 20 are used for ships
                        \ (the last slot is effectively used as a null
                        \ terminator when shuffling the slots down in the
                        \ KILLSHP routine)
                        \
                        \ See the deep dive on "The local bubble of universe"
                        \ for details of how Elite stores the local universe in
                        \ FRIN, UNIV and K%

RSS Feed