[fpc-pascal] old school crc32

Tony Whyman tony.whyman at mccallumwhyman.com
Sun Jul 24 12:41:35 CEST 2016

On 24/07/16 00:18, wkitty42 at windstream.net wrote:
> i've already checked the polynomial ($edb88320) is the same in both, 
> the original implementation (converted to TP4 in 1988) and this 
> implementation...

Are you sure that you are dealing with a CRC algorithm? ISO 8073 TP4 
uses an arithmetic checksum (Fletcher).

If you are using genuine CRC32 then


is a good reference for all the different variations. It will generate 
'C' code for you but still a good baseline reference. I've used it 
successfully for CRC implementations (some quite oddball in the aviation 


Tony Whyman

More information about the fpc-pascal mailing list