Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!lll-lcc!pyramid!prls!gordon From: gordon@prls.UUCP (Gordon Vickers) Newsgroups: comp.os.cpm Subject: Checksum program (was: Intel Hex Format Records) Message-ID: <19564@prls.UUCP> Date: 1 Mar 89 20:58:50 GMT Reply-To: gordon@prls.UUCP (Gordon Vickers) Distribution: usa Organization: Philips Research Labs, Sunnyvale, California Lines: 28 FYI: I have a program (written in C ) that reads a file containing Intel Hex format records, verifies the checksum of each record and produces a file checksum for the data fields only (i.e. the kind of checksum an EPROM programmer may give you if it read a chip that contained the data only). I find this useful in two situtations: 1) verify the programmer downloaded the file correctly, 2) verify that data files transferred from the programmer to the computer arrived OK. I like storing EPROM data online if it contains code that I don't maintain. If an EPROM goes bad, I don't need to buy one from the equipment manufacture, just burn a replacement. The program name is: cksum If there is a great enough respondce, I'll try posting it to the appropriate newsgroup ( sources.misc or whatever it's called) else I'll send copies to all requesters. The program is written in a very easy to understand style and contains comments. cksum.c: 85 426 2926 (lines,words,bytes) Gordon Vickers 408/991-5370 (Sunnyvale,Ca); {mips|pyramid|philabs}!prls!gordon Every extinction, whether animal, mineral, or vegetable, hastens our own demise.