CARROLL TOUCH
Appendix C - TAPI Function Reference
Touch System Programmer’s Guide
C-15
The Touch Coordinate Report (report header = FEH),
Add Exit Point Coordinate Report (report header =
FDH), Non-Contiguous Coordinate Report (report
header = FCH), and Scan Report (report header = FBH)
are all classified as coordinate reports, and are enabled
by setting bit 0 of the event mask. All other reports are
classified as non-coordinate reports, and are enabled by
setting bit 1 of the event mask. To enable the user event
handler for all reports, set both event mask bits.
BL
= Enable Bits
Bit 0= If 1, enable calls to event handler.
If 0, disable calls to event handler.
Bit 7= If 1, set user event handler address from
CX
:
DX.
If 0, do not set user event handler address.
CX
= Segment address of user event handler.
DX
= Offset address of user event handler.
Returns
AX
= 7 (function number).
Notes
Hardware interrupts are disabled during the user event handler. The
interrupt enable flag is cleared with a
CLI
instruction.
Use of reentrant function calls such as BIOS calls in the user event
handler is acceptable, as is the use of TAPI function calls in the user
event handler. However, use of non reentrant function calls such as
DOS function calls is not acceptable.
The UEH should execute as quickly as possible to let the TAPI driver
continue to process hardware interrupts from the touch system. If the
UEH takes too long to return, the TAPI driver may miss hardware
interrupts from the touch system.
The UEH is called once and only once for each report. If reports were
pending when the UEH was installed, multiple reports could be in the
buffer the first time the UEH is called. If this condition is undesirable,
BL:
X
X
7
6
5
4
3
2
1
0
Содержание TouchSystems CarrollTouch Prog
Страница 1: ...CARROLL TOUCH TOUCH PRODUCTS an company AMP Touch System Programmer s Guide ...
Страница 11: ...Table of Contents CARROLL TOUCH viii ...
Страница 13: ...Table of Contents CARROLL TOUCH x ...
Страница 17: ...Welcome CARROLL TOUCH xiv Touch System Programmer s Guide ...
Страница 25: ...Chapter 1 Introduction to Infrared Touch Systems CARROLL TOUCH 1 8 Touch System Programmer s Guide ...
Страница 29: ...Chapter 2 Introduction to Guided Wave Touch Systems CARROLL TOUCH 2 4 Touch System Programmer s Guide ...
Страница 41: ...Chapter 3 General Programming Issues CARROLL TOUCH 3 12 Touch System Programmer s Guide ...
Страница 57: ...Chapter 4 Smart Frame Protocol CARROLL TOUCH 4 16 Touch System Programmer s Guide ...
Страница 87: ...Chapter 6 Touch Application Program Interface TAPI CARROLL TOUCH 6 10 Touch System Programmer s Guide ...
Страница 149: ...Appendix A Smart Frame Protocol Command Reference CARROLL TOUCH A 40 Touch System Programmer s Guide ...
Страница 179: ...Appendix B Smart Frame Protocol II Function Reference CARROLL TOUCH B 30 Touch System Programmer s Guide ...
Страница 237: ...Appendix D CTKERN Function Reference CARROLL TOUCH D 42 Touch System Programmer s Guide ...