home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PASCAL / FIBMCM.ZIP / FIBMCOM.DOC < prev    next >
Encoding:
Text File  |  1989-05-15  |  2.6 KB  |  51 lines

  1.   COM_MGR.PAS is a asynchronous I/O routine, in the spirit of Wayne E.
  2. Conrad's IBMCOM.  In fact, construction of COM_MGR.PAS was impossible before
  3. some of the necessary tricks had been worked out by Conrad for IBMCOM.
  4.   
  5.   Apart from minor differences in calling sequences (Conrad allows modal
  6. calls after initialization of a port, I favor collection of all of the
  7. configuration beforehand; and so forth), the major differences are in
  8. flow-control protocols and in dependencies on other units.
  9.  
  10.   Conrad's IBMCOM is optimized for modems and similarly compliant devices,
  11. free of buffering problems.  On top of IBMCOM's infrastructure, COM_MGR.PAS
  12. includes code to allow flow control by various combinations of DSR/DTR and
  13. XON/XOFF protocols.  COM_MGR.PAS's implementation of these protocols has been
  14. tested with an Apple 410 plotter (pure DTR/DSR), a QMS PS 800 printer (DSR as
  15. power-on signal, XON/XOFF for everything else), and an Apple LaserWriter (DSR
  16. never raised, XON/XOFF for everything).
  17.   
  18.   Local changes in COM_MGR could make it send multiple XON and/or XOFF
  19. characters in an environment where characters are frequently lost.
  20.  
  21.   Conrad's IBMCOM is entirely self-contained.  COM_MGR is _nearly_
  22. self-contained, but it was written to work within a library of other
  23. units, and it freely uses a few services provided by two other units.
  24. Those units, SCRN_MGR.PAS & IOERROR.PAS, are included here.  I could have
  25. eliminated them, but all of COM_MGR's testing was done with the code as
  26. it is here.
  27.  
  28.   SCRN_MGR.PAS & IOERROR.PAS provide a variety of services irrelevant to
  29. COM_MGR.  Some of these will be self-explanatory, but all may be ignored.
  30.  
  31.   When SCRN_MGR is initialized, it looks for a HUES_TO.USE file in the same
  32. directory as itself.  This file tells SCRN_MGR what colors to use on the
  33. monitor, and what tone to use as a beep.  If the file is not found, then
  34. SCRN_MGR.PAS forces the user into a one-time negotiation which results in
  35. the creation of the file.
  36.  
  37.   Wayne Conrad provided IBMCOMT.PAS, a trivial demonstration program to
  38. exercise IBMCOM.PAS.  Similarly, FIBMCOMT.PAS is here provided to give the
  39. same exercise to COM_MGR.PAS.
  40.  
  41.   Most of these files end with 4 lines of which the first is `END' and the
  42. others are (more or less) gibberish.  These are debris from the editor that
  43. I use.  Ignore these lines.
  44.                                                 Robert R. Fenichel
  45.                                                 15 May 89  22:45:20
  46. END
  47. T-------T-------T-------T-------T-------T-------T-------T-------T-------T-------T
  48. $cursor=2598,20;$last=2491,24;
  49. FTL0R79P5.F0B7
  50.  
  51.