home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CBM Funet Archive
/
cbm-funet-archive-2003.iso
/
cbm
/
crossplatform
/
converters
/
unix
/
pcrc.readme
< prev
next >
Wrap
Text File
|
1992-05-11
|
984b
|
26 lines
C-128 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. cHANGE LINE #1 OF THIS basic PROGRAM TO
CONTAIN THE NAME OF THE FILE THAT YOU WANT TO GET THE pcrc OF AND THEN run.
tHE SAME BINARY FILE WILL ALWAYS HAVE THE SAME pcrc, AND THE NUMBERS REPORTED
WILL BE DIFFERENT IF A BINARY FILE WAS CORRUPTED IN TRANSIT FROM ONE PLACE TO
ANOTHER.
[note - ALTHOUGH WRITTEN FOR THE 128, PCRC ALSO RUNS ON THE c64 --r.kNOP]
tHE PCRC OF THE "PCRC" PROGRAM ITSELF IS:
PCRC = 5 253 63 58 243 255 151 181, SUM = 1209
i HAVE ALSO INCLUDED THE pcrc PROGRAM IN c CODE ("PCRC.C") SUCH THAT YOU CAN
COMPILE IT ON A uNIX SYSTEM. gET THE pcrc OF A BINARY FILE ON YOUR uNIX SYSTEM
BEFORE DOWNLOADING IT TO YOUR 128 AND THEN TAKE THE pcrc ON YOUR 128 IF YOU
WANT TO BE (ALMOST COMPLETELY) SURE THAT YOU RECEIVED IT PROPERLY.
-cRAIG bRUCE
F2RX@JUPITER.SUN.CSD.UNB.CA
"nEVER UNDERESTIMATE THE POWER OF A SIMPLE TOOL."