🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.nsc.32k
Article #128

Re: A better CRC routine

#128
From: Bruce Culbertson
Date: Fri, 04 May 1990 16:59
17 lines
1288 bytes
When I implemented the monitor download command, I considered the
various popular CRC codes.  I chose the one I did because I thought
it was compatible with both Minix and CCITT.  CCITT is definitely
the wave of the future -- the organizations behind it have far more
clout than the people using CRC16.

I am disappointed to hear that the Minix people blew it when they
implemented their CRC -- that it is not really CCITT.  My preference,
however, is to try to convince them to fix their code and bring
it into conformance.  By the way, does anyone know what POSIX
specifies for the "sum" command?  Is there a POSIX "crc" command?

I used a bit serial algorithm to save ROM space (no table required)
and because download time was dominated by the serial port throughput.
I like the small table size used by the posted CRC16 routine.

Bruce Culbertson
Technical Details
Message-ID: <9005041659.AA01106@hplwbc.HPL.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!bionet!ames!vsi1!daver!bungi.com!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!bionet!ames!vsi1!daver!bungi.com!news
From: culberts@hplwbc.hpl.hp.com (Bruce Culbertson)
Newsgroups: comp.sys.nsc.32k,alt.sys.pc532
Subject: Re:  A better CRC routine
Message-ID: <9005041659.AA01106@hplwbc.HPL.HP.COM>
Date: 4 May 90 16:59:01 GMT
Sender: news@daver.bungi.com
Distribution: comp
Lines: 17
Approved: news@daver.bungi.com