<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Wed, 25 Oct 2006 01:28:49
From   : jgh@... (Jonathan Graham Harston)
Subject: Re: ADFS sector checksums

>Message-ID: <BAY124-W22456538EF9A1042365DA6B20C0@...>

Steve O'Leary <navalenigma@...> wrote:
> > From: jon.welch@...> To: navalenigma@hotmail.com> CC:
> bbc-micro@...> Subject: Re: [BBC-Micro] ADFS sector checksums>
Date: Thu,
> 19 Oct 2006 15:38:25 +0100> > > Can anyone give me a definitive answer on
> ADFS checksums> > I use the following code in my software :> > ' the
checksum
> is done by summing each byte > ' into the accumulator> ' but not bothering
> to clear the carry, > ' so each overflow adds one> ' to the total. Clear
> carry before the first add.> > Function CalcCRC(o As Long)> > Dim c As
> Integer> Dim i As Integer> Dim crc As Integer> > ' LOCAL a%, c%: a%=&FF:

Eughh! What's all that? Fix your email client.


--
J.G.Harston - jgh@...                - mdfs.net/User/JGH
RISC OS Internationalisation - http://mdfs.net/Software/RISCOS

<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>