Specifications

CARROLL TOUCH Appendix C - TAPI Function Reference
Touch System Programmer’s Guide C-11
SetCommunicationParameters (5)
Description
This function is used to set the communication parameters that the
driver uses to communicate with the touch system. The application
program should set register BH to the appropriate driver type for the
driver loaded.
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 = 5 (function number).
BH = Driver type.
0 = SBC driver.
1 = HBC driver.
2 = RS-232 driver.
If BH = 0 (SBC) or 1 (HBC), the additional calls 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 calls are:
CH = Parity.
0 = None.
1 = Odd.
2 = Even.
CL = Baud rate.
0 = 300.
1 = 600.
2 = 1200.
3 = 2400.
4 = 4800.
5 = 9600.