Re: Crc16 on power failure



Francois Grieu wrote:
CBFalconer <cbfalconer@xxxxxxxxx> wrote:

Just a day or so ago I posted something somewhere about fast
CCITCRC16 generation. There are basically two ways, one of which
is highly portable, and involves a table of 256 crc values,
pregenerated. The other uses the DAA instructions on the 8080 or
Z80, and probably many other chips with equivalent instructions.
This involves executing about 20 or so instructions per byte, but
takes very little code space.

Could we get a pointer, or repost? I'm dead curious about how DAA
can help in CCIT-CRC16

The source is lost here. I just spent a couple of hours searching
some 25 year old listings. The routine wasn't originated by me, but
I used it extensively. If you can find my old release of CCITCRC
for CP/M the code will be in there. It was also included in some
Turbo Pascal units I released way back when. If you do find any of
these, please let me know.

--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>


.