From: Jim Brain (brain_at_jbrain.com)
Date: 2004-04-15 14:43:15
Ojala Pasi 'Albert' wrote:
>>I see now the algorithm, but can;t seem to grok the a001
>>
>>
>
>The a001 defines the feedback for the delay line.
>The way to represent the CRC would be something like:
> _________________________________
> | __ __ | __ __ | __
> | | | | | | | | | | | | |
>Din >--X-+->|D |--->|D |-X->|D |- .. >|D |-X->|D |->.
> | |__| |__| |__| |__| |__| |
> | 8000 4000 2000 0002 0001 |
> |____________________________________________|
>
>Where X depicts XOR and + is just a connection. The constant
>0xa001 defines the feedback connections.
>
>
>
>>CRC code must only generate a 16 bit number with the low bit of both
>>bytes off. So XXXXXXX0YYYYYYY0. Very strange.
>>
>>
>
>Should not be. Maybe you are misunderstanding something in the code?
>
>-Pasi
>
>
More investigation validates your statement. Kudos for the explanation,
clears it right up for me (flip-flips are my domain...)
Jim
Message was sent through the cbm-hackers mailing list
Archive generated by hypermail pre-2.1.8.