Re: [cc65] CRC-32

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-09-19 17:54:40


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).

> So basically I'll have to implement a clone of the 6502.org algorithm
> in C or Perl.
>
> Why is it always the simple things that are the hardest? :P

You can use the perl module and only adjust the starting value and the
polynomial. Maybe even there's an API to change these values.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
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-19 17:54:50 CEST