home *** CD-ROM | disk | FTP | other *** search
- C-128 and C-64 Error Checking program
-
- This is a program that I use often to check if I was able to move a file from
- one place to another correctly. On a C-128 or C-64, LOAD and RUN the "crc32"
- program (the same binary program works on both machines; it probably even
- works on a VIC-20). At the prompt, enter the name of the file to check. The
- program will then scan the file and report the CCITT CRC-32 of it. The file
- will be read from the last device number that was accessed.
-
- The same binary file will always have the same CRC, so the number reported
- will be different if a binary file was corrupted in transit from one place to
- another.
-
- The crc of the "crc32.prg" program itself is: 2305911873
-
- I have also included the CRC program in C code ("crc32.c") such that you can
- compile it on a Unix system. Get the CRC of a binary file on your Unix system
- before downloading it to your 128/64 and then take the CRC on your 128/64 if
- you want to be (almost completely) sure that you received it properly.
-
- The Buddy format source file ("crc32.s") is also included for the technically
- curious.
-
- Keep the Faith!
-
- -Craig Bruce
- f2rx@jupiter.sun.csd.unb.ca
- "Never underestimate the power of a simple tool."
-