Skip to navigation

Elite on the BBC Micro and NES

Save and load: CHK

[BBC Master version]

Name: CHK [Show more] Type: Variable Category: Save and load Summary: First checksum byte for the saved commander data file Deep dive: Commander save files The competition code
Context: See this variable in context in the source code Variations: See code variations for this variable in the different versions References: This variable is used as follows: * DFAULT uses CHK * SVE uses CHK

Commander checksum byte. If the default commander is changed, a new checksum will be calculated and inserted by the elite-checksum.py script. The offset of this byte within a saved commander file is also shown (it's at byte #75).
.CHK EQUB 0 \.CHK3 \ These instructions are commented out in the original \EQUB 0 \ source SKIP 12 \ These bytes appear to be unused, though the first byte \ in this block is included in the commander file (it \ has no effect, as it's the third checksum byte from \ the Commodore 64 version, which isn't used in the \ Master version)