Skip to navigation

Elite on the BBC Micro

Save and load: CHK (6502SP version)

Name: CHK [View in context] Type: Variable [Compare versions] Category: Save and load Summary: First checksum byte for the saved commander data file Deep dive: Commander save files The competition code
Commander checksum byte. If the default commander is changed, a new checksum will be calculated and inserted by the script. The offset of this byte within a saved commander file is also shown (it's at byte #75).
.CHK IF _SNG45 OR _SOURCE_DISC EQUB &03 \ The checksum value for the default commander, #75 ELIF _EXECUTIVE EQUB &3F \ The checksum value for the maxed-out default \ commander, #75 ENDIF