Skip to navigation

Elite on the BBC Micro and NES

Version analysis of S1%

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

Code variations between these versions are shown below.

Name: S1% Type: Variable Category: Save and load Summary: The drive and directory number used when saving or loading a commander file Deep dive: Commander save files

Code variation 1 of 1A variation in the comments only

This variation is blank in the Master version.

The drive part of this string (the "0") is updated with the chosen drive in the GTNMEW routine, but the directory part (the "E") is fixed. The variable is followed directly by the commander file at NA%, which starts with the commander name, so the full string at S1% is in the format ":0.E.JAMESON", which gives the full filename of the commander file.
.S1% EQUS ":0.E."