Checksummer

From Just Solve the File Format Problem
Revision as of 23:53, 3 November 2024 by Parchivist (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
File Format
Name Checksummer
Ontology
Released 1985

Checksummer is a type-in program checker for Commodore used by the German magazines 64'er and Happy Computer.

To help readers by typewriting the program listings, at the begin of the year 1985 the little programming helpers MSE (Maschinenspracheeingabeeditor / Computer Code Editor / for Assembler-Listings) and Checksummer (Prüfsummenprogramm / to check the right BASIC-Codes) were published. In the next months the programming helpers were upgraded. Other German computer magazines published this helper-methods, too.

It produces a 000-255 checksum for each line.

Checksums V1 and V2 sum the bytes of the tokenized line including the line number as a 16-bit number, with the exception of all $20 (spaces), which are ignored. The low byte gives the checksum.

Checksummer V3 rolls each byte to the left by a certain number of bits before summing, starting with 0 bits at the first byte of the line, then each byte one bit more. Otherwise, the calculation corresponds to that of the older versions.


Sample Output

Checksummer.jpg


Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox