home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / simtel / cpmug / cpmug084.ark / XMODEM47.DOC < prev    next >
Encoding:
Text File  |  1984-04-29  |  2.7 KB  |  66 lines

  1.         XMODEM47.DOC
  2.              (revised 10/20/81)
  3.  
  4. XMODEM47 is based on the last known reliable working 
  5. copy of xmodem, XMODEM43.  XMODEM47 incorporates John
  6. Mahr's modifications for CRC (cyclic redundancy check)
  7. verification of the transmitted data.  Versions 44 and
  8. 45 were known to have incorrect coding modifications
  9. made to them, and XMODEM46 was an experimental copy
  10. which never should have been released.  Its operation
  11. for all conditionals and options was never verified.
  12.  
  13. Below is some modification history of XMODEM.
  14.  
  15. ******************************************************
  16.  
  17.  
  18. [John Mahr's XMODMX41.ASM as modified by Keith Peter-
  19.  sen.  The modifications, according to Keith, are
  20.  relatively minor.  But the difference between this
  21.  and XMODEM41.ASM is fundamental and parallels the
  22.  difference between MODEM527 and its successor,
  23.  MODEM206 -- XMODEM42 and MODEM206 both use the new
  24.  extended version of the Christensen protocol, and
  25.  have now been worked into relatively final form.]  
  26.  
  27. This program is an extension of Keith Petersen's
  28. XMODEM program.  It adds checking for framing errors,
  29. overruns, and parity errors.  These checks will only
  30. be made if a PMMI modem is being used.  These checks
  31. were added because sometimes the checksum does not
  32. catch all transmission errors.  Hopefully, by checking
  33. for framing errors in particular, all transmission
  34. errors will be caught.  This program does not get rid
  35. of the checksum, but rather adds the framing error,
  36. overrun, and parity error check to that function.  The
  37. parity error check is only meaningful if parity is being
  38. used.  If parity is not being used, the check will still
  39. be made, but no parity errors will ever be found.
  40.  
  41. Whenever a framing error and/or overrun is detected on a
  42. file receive, the following takes place:
  43.      1. Purge the line (receive rest of sector and throw
  44.     it away).
  45.      2. If error limit has not been exceeded, send a
  46.     NAK so that the sender will resend the sector.
  47.      3. If error limit has been exceeded, abort the
  48.     transmission.
  49.  
  50. The capability to display the status of the PMMI on a front
  51. panel has also been added.  The default for the front panel
  52. is port FFh.  If you do not have a front panel, then set
  53. the FRNTPNL EQU to FALSE.  If you have a front panel at a
  54. port other than FFh, then change the PANEL EQU to your port
  55. address.  The status is only displayed when data is being
  56. by the PMMI modem.  See your PMMI manual for the meaning of
  57. the PMMI status bits.
  58.     - bit 0 is transmit buffer empty
  59.     - bit 1 is input data is available
  60.     - bit 3 is a parity error has been detected
  61.     - bit 4 is an overrun has occurred
  62.     - bit 5 is a framing error has occurred
  63.  
  64.  
  65.                     ---  END  ---
  66.