home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / cpm / 1073 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  1.8 KB

  1. Xref: sparky comp.os.cpm:1073 comp.os.msdos.programmer:8879 comp.sys.ibm.pc.programmer:358
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!att!linac!uwm.edu!ogicse!orstcs!leela!atlantis.CS.ORST.EDU!youngqd
  3. From: youngqd@atlantis.CS.ORST.EDU (Dean Youngquist)
  4. Newsgroups: comp.os.cpm,comp.os.msdos.programmer,comp.sys.ibm.pc.programmer
  5. Subject: WANTED: Bit shift method for XMODEM packet check sum.
  6. Message-ID: <1992Aug30.195744.2256@leela.cs.orst.edu>
  7. Date: 30 Aug 92 19:57:44 GMT
  8. Article-I.D.: leela.1992Aug30.195744.2256
  9. Sender: usenet@leela.cs.orst.edu (Usenet programs owner)
  10. Organization: Computer Science Outreach Services - Oregon State University
  11. Lines: 23
  12. Nntp-Posting-Host: atlantis.cs.orst.edu
  13.  
  14. I'm looking for the bit shift method of obtaining the checksum used in the
  15. XMODEM file transfer protocol.  I don't need any C or other high level
  16. language code, and I already have the mathematical formula for obtaining
  17. this sum but what I need is the fast way using registers in the 8088 CPU.
  18.  
  19.  
  20. The reason I need this is that I'm trying to help out a friend with his BBS
  21. system.  He does his own programming and since he is using an old XT for 
  22. a server and it handles multiple calls simultaneously, the poor machine
  23. gets bogged down computing the checksum in a high level language (I don't
  24. recall what language he is using, but it was something really obscure which
  25. had excellent string handling capabilities.  Anyway he says the ting to do
  26. is to put some numbers into the CPU reginsters directly, do some quick
  27. shifting of something, and then out pops the checksum.  This would speed up
  28. the system quite a bit I understand.
  29.  
  30. So if you have the CPU register method of getting the XMODEM checksum please
  31. email it to me.
  32.  
  33. Thank you very much,
  34.  
  35. Dean Youngquist
  36. FAX & Voice (503) 758-6230
  37.