Skip to navigation

Elite on the BBC Micro

Save and load: S1% [6502SP version]

Name: S1% [Show more] 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
Context: See this variable in context in the source code References: No direct references to this variable in this source file

The drive part of this string (the "0") is updated with the chosen drive in the QUS1 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."