Chapter 8 - Using MS-DOS
8-4
PL-5910 Series User Manual
Functions
ATPH59.EXE calls up functions using a software interrupt (default: INT 59h).
INT 59h Function List
8000h
Touch panel initialization
This initializes the touch panel and clears the touch panel's input buffer.
Input
AX = 8000h
Output
AH = 0: Successfully completed
After the application starts up, this function is issued.
Touch panel cannot be used for 0.5s after the function is issued.
8100h
Touch panel input (unrestricted wait)
Returns coordinates of the area/position touched. Waits until data is input.
Input
AX = 8100h
Output
AH = 0: Successfully completed
BX = Y coordinate in 640 x 480 mode (-40 - 519)
DX = X coordinate in 640 x 480 mode (0 - 639)
CX
=
Number of valid input buffers on touch panel
8101h
Touch panel input (immediate restore)
Returns coordinates of the area/position touched. Immediately restored if nothing
is entered.
Input
AX = 8101h
Output
AH = 0: Input ON
1: Input OFF
BX = Y coordinate in 640 x 480 mode (-40 - 519)
DX = X coordinate in 640 x 480 mode (0 - 639)
CX = Number of valid input buffers on analog touch panel
Function code
Description
8000h
Touch panel initialization
8100h
Touch panel input (unrestricted wait)
8101h
Touch panel input (immediate restore)
8102h
Touch panel non-destructive input
8200h
Input buffer clear
8500h
Touch panel status detection
FE00h
Resident check