APPENDIX D MS-WINDOWS CONFIGURATION for version 3.x The PCCOM 4 port device driver
for MS/WINDOWS works for 8250, 16450, 16550 (FIFO), 16650 etc. User can
set up any address to PCCOM 4 port card, and the address must be set to
consecutive.
D.1 Installation
D.2 Uninstall
¡@ D.3 Utilities
Since window manager can
recognize only COM1 to COM9, however, to install PCCOM 4 port card, it
may occupy COM3 to COM10. In the distribution CD, we provide DLL
library and include file, all functions are similar to USER.EXE
functions.
Files:
COMMX.DLL (Dynamic linked library for aux COMs)
COMMX.LIB (Static library for aux COMs API) COMMX.H (The include file for C/C++) COMMX.DOC (Document) PCCOM library functions are similar to API Comm function API functions
are ???COMM???()
PCCOM functions are ???COMMX???() For example, OpenComm() become OpenCommX() , parameters are the same.
int FAR PASCAL
_export BuildCommXDCB(LPCSTR, DCB FAR*);
int FAR PASCAL _export OpenCommX(LPSTR, UINT, UINT); int FAR PASCAL _export CloseCommX(int); int FAR PASCAL _export ReadCommX(int, LPSTR , int); int FAR PASCAL _export WriteCommX(int,LPSTR , int); int FAR PASCAL _export UngetCommXChar(int, char); int FAR PASCAL _export FlushCommX(int, int); int FAR PASCAL _export TransmitCommXChar(int, char); int FAR PASCAL _export SetCommXState(const DCB FAR*); int FAR PASCAL _export GetCommXState(int, DCB FAR*); int FAR PASCAL _export GetCommXError(int, COMSTAT FAR* ); int FAR PASCAL _export SetCommXBreak(int); int FAR PASCAL _export ClearCommXBreak(int); UINT FAR* FAR PASCAL _export SetCommXEventMask(int, UINT); UINT FAR PASCAL _export GetCommXEventMask(int, int); LONG FAR PASCAL _export EscapeCommXFunction(int, int); BOOL FAR PASCAL _export EnableCommXNotification(int, HWND, int, int);
[TERMINAL]
port=COMx in
WIN.INI, then modify port=COMx to port=COM6.
¡@ D.4 Testing
|
||||||||||||||||||||||||||||||||||||||||||