Re: [cc65] CRC-32

Date view Thread view Subject view

From: Spiro Trikaliotis (trik-news_at_gmx.de)
Date: 2003-09-22 13:33:49


Hello,

On Mon, Sep 22, 2003 at 01:16:29PM +0200, Ullrich von Bassewitz wrote:

> Well, I had the same problems as Magervalp (crc 32 functions that do not work
> together). And, checking the polynomial mentioned in the source code available
> from 6502.org doesn't match the one I've used for years in my own code.

I don't know your exact code. Normally, CRC32 are calculated with MSB first.
Anyway, to optimize the code, depending on big-/low-endianness, some
algorithms in fact need a reversed polynomial. Have you checked if this is
the case in the polynomial you used?

Just a thought,
   Spiro.
----------------------------------------------------------------------
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-22 13:36:21 CEST