Chapter 8 - Using MS-DOS
8-6
PL-5910 Series User Manual
Functions available in PL-386 Compatibility Mode
The following data details the functions available in the PL-386 compatibility mode
(when the user’s PL-386 application is used without further conversion, updating or
formatting).
<INT 59h Function List>
0000h
Touch panel initialization
This initializes the touch panel and clears the touch panel's input buffer.
Input
AX = 0000h
Output
AH = 0: Successfully completed
After the application starts up, this function is issued.
Touch panel cannot be used for 0.5s after this function is issued.
0100h
Touch panel input (unrestricted wait)
Returns coordinates of the area/position touched. Waits until input is made.
Input
AX = 0100h
Output
AH = 0: Successfully completed
BH = Y coordinate range in PL-386 compatibility mode (0 - 26)
BL = X coordinate range in PL-386 compatibility mode (0 - 30)
CX = Number of valid data sets in touch panel input buffers
0101h
Touch panel input (immediate restore)
Returns coordinates of the area/position touched. Immediately restored after input
is made.
Input
AX= 0101h
Output
AH = 0: Input on (“1” when input is off)
BH = Y coordinate range in PL-386 compatibility mode (0 - 26)
BL = X coordinate range in PL-386 compatibility mode (0 - 30)
CX = Number of valid data sets in touch panel input buffers
Function code
Description
0000h
T ouch panel initialization
0100h
T ouch panel input (unrestricted wait)
0101h
T ouch panel input (immediate restore)
0102h
T ouch panel non-destructive input
0200h
Input buffer clear
0300h
Coordinate code register
0400h
Coordinate code input (unrestricted wait)
0401h
Coordinate code input (immediate restore)
0402h
Coordinate code non-destructive input