Chapter 8 - Using MS-DOS
PL-5910 Series User Manual
8-9
0402h
Coordinate code non-destructive input
Returns coordinates of the area/position touched. Does not update the touch panel
input buffer.
Input
AX = 0402h
Output
AH = 0: Input on (“1” when input is off)
BH = Y coordinate range in PL-386 family compatibility mode (0 - 26)
BL
= X coordinate range in PL-386 family compatibility mode (0 - 30)
CX = Number of valid data sets in input buffers on touch panel
DX = Coordinate code
To use function 0402h, it is necessary to first register the coordinate codes.
0500h
Touch panel status detection
Returns the touch panel’s current status
Input
AX = 0500h
Output
AH = Status in PL-386 compatibility mode
How to use function 0500h
Start
Function 0100h
Processing until touch
panel area is released
Touch panel
area
held down
Function 0500h
Bit 0
Bit 1
To next touch panel input
Coordinates
changed while
touch panel area
is pressed.
or
Function 0101h
Input?
Processing until touch
panel area is pressed
No
Yes
0
0
1
1
Bit 1
Bit 0
Description
0
0
Area pressed
0
1
Unchanged
1
0
Not available
1
1
Area released