Specifications

CARROLL TOUCH Appendix D - CTKERN Function Reference
Touch System Programmer’s Guide D-9
GetCurrentCalibrationModeAndParameters
(5)
Description
This function gets the current calibration mode and the current
calibration parameters. The calibration mode determines how the touch
coordinates reported by CTKERN are calibrated.
If the calibration mode is set to disabled, the contents of the calibration
data structure returned are undefined.
Call with
AL = 5 (function number).
CX = Segment of four-word buffer to hold the calibration data
structure.
DX = Offset of four-word buffer to hold the calibration data
structure.
Returns
BL = Calibration mode.
00 = Calibration disabled.
01 = Fixed calibration.
02 = Automatic calibration.
The calibration data structure that contains the calibration data for the
calibration that is in effect at the time that this function is called is
placed in the buffer that was pointed to by CX and DX. The calibration
data structure is:
WORD Xoff
WORD Yoff
WORD Xspan
WORD Yspan