Chapter 8 - Using MS-DOS
8-8
PL-5910 Series User Manual
:
Left side X coordinate of nth area (X1)
Top side X coordinate of nth area (Y1)
Right side X coordinate of nth area (X2)
Bottom side X coordinate of nth area (Y2)
Coordinate code of nth area (code)
Number (n) of registered coordinate codes
Display coordinate designation mode
Left side X coordinate of 1st area (X1)
Top side X coordinate of 1st area (Y1)
Right side X coordinate of 1st area (X2)
Bottom side X coordinate of 1st area (Y2)
Coordinate code of 1st area (code)
∗∗∗∗∗
Coordinate Code List Design
The coordinate code list determines which code is returned when the touch panel
is pressed in a specific area. These coordinates specify the display coordinates.
0400h
Coordinate code input (unrestricted wait)
Returns coordinates of the area/position touched and coordinate code. Waits until
data is entered.
Input
AX = 0400h
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
DX = Coordinate code
To use function 0400h, it is necessary to first register the coordinate codes.
0401h
Coordinate code input (immediate restore)
Returns coordinates of the area/position touched and coordinate code. Immedi-
ately restored after data is entered.
Input
AX = 0401h
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
DX = Coordinate code
To use function 0401h, it is necessary to first register the coordinate codes.
~~
~~