ValidateChecksum()

Last Modified: 10/20/2026

Returns True if the checksum in the header matches the checksum of the ROM, otherwise returns False.

Example

Syntax: ValidateChecksum()
    If ValidateChecksum() = True Then
        Print "Checksum is good!"
    End If

Remarks

The checksum validation uses the ROM Address Range for its calculation, so it will disregard ROM padding. Some programs may raise a false alarm on an incorrect checksum. GenRomSuite will say the checksum is wrong, and if you fix it, the validator will return false. If you use Sega Genesis Mega Drive ROM Analyzer / Header Editor / Checksum Fixer, it will flag the checksum and ROM End as incorrect, but the checksum will be identical. Fixing the header this way will delay the validator, but will still return true. This is because the padding of the ROM is the last step of the compilation, so the ROM End will be the original ROM size.