Skip to navigation

Elite on the BBC Micro and NES

Copy protection: checksum0

[Acorn Electron version]

Name: checksum0 [Show more] Type: Variable Category: Copy protection Summary: Checksum for the entire main game code
Context: See this variable in context in the source code Variations: See code variations for this variable in the different versions References: No direct references to this variable in this source file

This byte contains a checksum for the entire main game code. It is populated by elite-checksum.py and is used by the encryption checks in elite-loader.asm (see the CHK routine in the loader for more details).
.checksum0 SKIP 1 \ This value is checked against the calculated checksum \ in part 5 of the loader in elite-loader.asm (or it \ would be if this weren't an unprotected version)