https://github.com/anachrocomputer/stagsum
Read hex file and generate checksum that will match that shown by various Stag EPROM programmers.
https://github.com/anachrocomputer/stagsum
checksum eprom-programmers hex-format stag-pp39 stag-pp42 stag-ppz
Last synced: 3 months ago
JSON representation
Read hex file and generate checksum that will match that shown by various Stag EPROM programmers.
- Host: GitHub
- URL: https://github.com/anachrocomputer/stagsum
- Owner: anachrocomputer
- License: gpl-3.0
- Created: 2017-03-11T17:28:47.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2021-11-21T12:05:01.000Z (over 3 years ago)
- Last Synced: 2025-01-16T10:49:17.963Z (5 months ago)
- Topics: checksum, eprom-programmers, hex-format, stag-pp39, stag-pp42, stag-ppz
- Language: C
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StagSum #
'ppzsum' is a
program to convert between various hex formats used by EPROM programmers
and related embedded-systems software tools.
As a side-effect, it also generates a checksum which will match that
reported by a Stag PPZ, PP39, or PP42 EPROM programmer.The Stag PPZ EPROM programmer was a 6809-based system with built-in
CRT display and pluggable programming modules.
The PP39 was a smaller unit with a 14-segment VFD.
The PP42 is slightly bigger and newer than the PP39,
but has the same VFD and membrane keyboard.## Formats supported ##
The default input format to 'ppzsum' is binary.
This is a popular format for ROM images on the Internet,
but is rarely used by EPROM programmers because
it is difficult to transfer reliably over a serial (RS-232)
connection.EPROM programmers generally use either Intel hex format, Motorola S-Records,
or MOS Technology hex format.
'ppzsum' can generate all of these.## The Checksum ##
The checksum is simply the 16-bit sum of all the bytes contained in the
hex file (after decoding), expressed in hex.
It is a very weak checksum, suitable only for detection of transmission
or programming errors.
It is not in any way secure against malicious alteration.## The Stag PPZ ##
## The Stag PP39 ##
## The Stag PP42 ##