[net.wanted.sources] CRC generation

dtynan@cadvax (Dermot Tynan) (03/15/85)

Can anyone supply me with a routine or algorithm for CRC (cyclical redundancy
checking) calculation??  I remember seeing a copy for a Z80 in public domain,
which used a combination of XORing and lookup tables, giving a high-speed
conversion.  Anything along those lines would be greatly appreciated.  The
particular CRC polynomial is for a floppy disk (X^12 + X^5 + X + 1), although
it would be preferred if the routine were general case so I could change it
for a different polynomial.  Either high-level or low-level software listing
would be acceptable, as I can convert it to what I need.  Please reply by mail
and I will post it to net.sources if there is sufficient interest.

	Thanks,
	- Der Tynan

dtynan@cadvax!megatest