home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1335 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: norconnect.no!not-for-mail
  2. From: kenneth@norconnect.no (Kenneth C. Nilsen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Checksum
  5. Date: 18 Jan 1996 05:52:29 +0100
  6. Organization: NorConnect Internet Services AS
  7. Message-ID: <752.6591T340T472@norconnect.no>
  8. References: <watchman.01os@jericho.southern.co.nz>
  9. NNTP-Posting-Host: norconnect.no
  10. X-Newsreader: THOR 2.21 (Amiga;SOUP)
  11.  
  12. >Would someone please explain (or ideally provide) the alogrothim required
  13. >to create the checksum for a bootblock?  I have tried adding up the first
  14. >two sectors bytewise and longwise, however neither methods appear to be
  15. >correct and the "RKM: Devices"  "additive carry wraparound" doesn't really
  16. >mean that much to me...
  17.  
  18. You should use word sizes. I haven't done this for a long time, but I think
  19. you should add thew whole bootblock word by word (minus the header and
  20. checksum) and then neg it, someone correct me if I'm wrong. 
  21.  
  22.  
  23. ---
  24. CREATIVE LINKS                       __     Kenneth C. Nilsen
  25. http://www.norconnect.no/~kenneth   /_/\    e-mail: kenneth@norconnect.no
  26. "Everything you want"               \_\/    Software & MultiMedia developer
  27.  
  28.