On 24/07/16 00:18, wkitt...@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
http://www.tty1.net/pycrc/
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
sector).
Regards
Tony Whyman
MWA
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal