Specifications
Appendix C - TAPI Function Reference CARROLL TOUCH
C-4 Touch System Programmer’s Guide
GetCommunicationParameters (4)
Description
This function returns the communication parameters that the driver
uses to communicate with the touch system. The application program
should read the BH register to determine how to interpret the remaining
registers.
Touch applications that use these TAPI functions must use the register
that defines the driver type in order to interpret the driver-specific
parameters. If this is not done (that is, the application is hard-wired to
a specific driver type), the resulting touch application may not be
compatible with other TAPI drivers.
Call with
AX = 4 (function number).
Returns
AX = 4 (function number).
BH = Driver type.
0 = SBC driver.
1 = HBC driver.
2 = RS-232 driver.
If BH = 0 (SBC) or 1 (HBC), the additional returns are:
BL = Interrupt number. Valid values are 2, 3, 4, 5 and 7.
CX = I/O address. Valid values are from 200H through 3F0H
in 10H increments (200H, 210H, 220H, ..., 3F0H).
If BH = 2 (RS-232), the additional returns are:
BL = Comm port.
1 = COM1.
2 = COM2.
CH = Parity.
0 = None.
1 = Odd.
2 = Even.










