Re: [cc65] CRC-32

Date view Thread view Subject view

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


On Fri, Sep 19, 2003 at 05:28:39PM +0200, MagerValp wrote:
> In the rom I have a corre-
> sponding routine that I grabbed from 6502.org, and this is where the
> trouble starts. Perl, 6502.org, zip, and cksum all give me different
> values for the same data:

Calculating a CRC checksum is a division by a number represented by a
polynomial. Different algorithms use different polynomials, AND use different
starting values. This is the possible reason why you get 3 different checksums
using 3 different tools.

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:45:42 CEST