[BBC-Micro] ADFS sector checksums

Steve O'Leary navalenigma at hotmail.com
Wed Oct 25 12:19:49 BST 2006


> From: jon.welch at ntlworld.com> To: navalenigma at hotmail.com> CC: bbc-micro at cloud9.co.uk> Subject: Re: [BBC-Micro] ADFS sector checksums> Date: Wed, 25 Oct 2006 12:08:33 +0100> > > From: Steve O'Leary <navalenigma at hotmail.com>> > > Now I know I'm miss-interpreting somewhere ...> > You need to calculate the crc going backwards from byte 254 to byte 0. This will give the correct crc of 0x29.> > Regards,> > Jon.
Jon, your tops, should have looked at the code a lot more closely than I obviously did ! I saw the backwards count and it didn't register (sometimes not much does !). It was the basic premise that you sum the bytes that led me to just presume it was done in a kind of human way rather than the obvious way for the machine - which is of course to always count down as it's slightly more efficient.
 
Thanks,
Steve.
_________________________________________________________________
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cloud9.co.uk/pipermail/bbc-micro/attachments/20061025/c5bda8b1/attachment.html 


More information about the bbc-micro mailing list