Re: [cc65] CRC-32

Date view Thread view Subject view

From: Piotr Fusik (P.Fusik_at_elka.pw.edu.pl)
Date: 2003-09-21 11:50:18


On Fri, 19 Sep 2003, Ullrich von Bassewitz wrote:

> On Fri, Sep 19, 2003 at 05:44:43PM +0200, MagerValp wrote:
> > Ah, OK. I thought there was an ISO standard for this?
>
> I've never heard of it. As far as I know there are several "good" polynomials
> which are commonly used, but CRC-32 is definitely not an exact specification.
> If you look into the source code on 6502.org, you will notice a few comments
> about the polynomial used. At least you should check if the perl
> implementation is using the same (I assume that it does not).
>
Take a look at crc32.s of my zlib-compatible library - this CRC-32 is ZIP
archive compatible. There's much confusion about order of the bits in the
number representing the polynomial, bitwise complements, etc. There's
a good big doc about CRCs, maybe I can find it somewhere on my CDs.

Piotr

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-09-21 11:53:25 CEST