Specifications
CARROLL TOUCH Chapter 7 - CTKERN
Touch System Programmer’s Guide 7-3
Figure 7-1. Touch System to Application Communication
are not calibrated. If fixed calibration is selected, the default calibration
is always used, regardless of the BIOS video mode being used. If
automatic calibration is selected, CTKERN intercepts BIOS Int 10H
and watches for SetVideoMode (0). When a SetVideoMode function
occurs, CTKERN switches to the calibration parameters for that video
mode if they exist. If no calibration exists for that video mode,
CTKERN switches to the default calibration parameters.
SetCalibrationParameters (4) may also be used to set the calibration
parameters to arbitrary values that are not related to any calibration
table entry.
CTKERN attempts to read a file of calibration parameters (stored, by
default, in CALIB.DAT) when it is loaded. This file is created by
CALIB.EXE, the CTKERN calibration program, described later in this
chapter. If no calibration file is present or if the calibration file contains
multiple default calibrations, CTKERN does not load, but instead prints
an appropriate error message.
The CTKERN internal table of calibration parameters may be read or
modified while CTKERN is loaded by calling
GetCalibrationTableEntry (7) or SetCalibrationTableEntry (6),
respectively.
Application Software
CTKERN Driver
TAPI Driver
(SBC, HBC, RS-232)
Touch Hardware
(SBC, HBC, RS-232)
(CTKERN function calls)
(TAPI function calls)
(Serial Xmit or I/O Ports)
(CTKERN User Event Handler)
(TAPI User Event Handler)
(Hardware Interrupt)










