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