APPENDIX F OS/2 CONFIGURATION Under OS/2 2.x and OS/2 Warp
operating system, the PCCOM RS422
device driver provides total 96 ports and baud rate up to 115200. PCCOM
also supports device driver for high speed card, and the baud rate can
be up to 460800. The device driver works for 8250, 16450, 16550
(FIFO), 16650 etc.
F.1 Installation The installation procedures are shown in the following.
DEVICE=C:\PCCOM2.SYS/Axxx,yyy/Imm,nn/Czz/4
If
"/C" is not use, the first port is COM3.
If option /C1 or /C2 is use, the port COM1 or COM2 is a logical port but not compatible to COM1 or COM2 on a PC machine.
The PCCOM.EXE can be used to
set COM1 to COM96. The syntax of PCCOM.EXE
is the same as MODE.COM.
DEVICE=C:\PCCOM2.SYS /A2A0,2A8 /I5,7
/C3
DEVICE=C:\PCCOM2.SYS /A1A0,1A8 /I10,15 /C7
C:\PCCOM
COMx:38400,N,8,1,TO=OFF,XON=OFF,
IDSR=ON, ODSR=ON, OCTS=ON, RTS=OFF,DTR=OFF C:\PCCOM COMx:115200,N,1 ¡@ F.2 Utilities COMTEST.EXE is a general
testing program for COM port. It will create
the threads associated with each communication port that will be test.
The testing function includes Open / Close / Read / Writerite /
Non-Destructive Read / Non-Destructive WRITE/Get Status/Device IOCTL.
Due to lack of OS/2 API, Non-Destructive I/O is not support for OS/2
even this device driver has implemented this feature.
In the COMTEST program, you can
use up-right arrow to choice the
option, and use enter/escape to start/stop the program.
The ComSent/ComRecv are a pair
of communication programs for testing
the performance of communication port. You have to connect the test
ports with a null modem before you test communication port. You can use
PCCOM.EXE to change the parameters of communication port. Then use this
program to test heavy (transmission) duty on communication port.¡@
F.3 API Communication Functions In the following, there are API
communication functions, for more
detail information, please refer to Control Program Programming Ref. of
OS/2, and programming Guide Vol. I-III of OS/2.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||