SECTION 6
Conversions and Interfaces
6-120 PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide
INT 33h, Function AX = 0004h: Set Cursor Position
MOUSE
Sets the position of the mouse cursor.
On Entry:
AH = 00h
AL = 04h
CX = X" coordinate of mouse cursor
DX = Y" coordinate of mouse cursor
On Return:
None
INT 33h, Function AX = 0005h: Get Button Press Information
MOUSE
Gets the current status information relating to pressing of the pen or button.
On Entry:
AH = 00h
AL = 05h
BX = 0 For pen status information
1 For button status information
On Return:
AX = Pen or button status
BX = Number of presses since last call
CX = X" coordinate at last press
DX = Y" coordinate at last press
INT 33h, Function AX = 0006h: Get Button Release Information
MOUSE
Gets the current status information relating to releasing of the pen or button.
On Entry:
AH = 00h
AL = 06h
BX = 0 For pen status information
1 For button status information
On Return:
AX = Pen or button status
BX = Number of releases since last call
CX = X" coordinate at last release
DX = Y" coordinate at last release
INT 33h, Function AX = 0007h: Set Minimum and Maximum x Cursor Position
MOUSE
Sets both the minimum and the maximum x coordinate of the cursor position.
On Entry:
AH =00h
AL = 07h
CX = Minimum cursor position
DX = Maximum cursor position
On Return:
None
6. Conversions and
Interfaces