Download Print this page

HP Vectra Technical Reference Manual page 217

Hide thumbs Also See for Vectra:

Advertisement

On Entry:
AX
=
F33_MOTION (OOOBH)
On Exit:
ex
=
X axis count
ox
=
Y axis count
Registers Altered:
ex, ox
F33_SET_USR
(AJ<
=
OOOCH)
This function defines the user-defined subroutine to be called at interrupt service time. The
function allows the programmer to select which events the routine is to handle. The condition
mask is defined in table 6.4. A call to F33_INSTALL disables this feature.
Table 6.4
User-defined Routine Event Definition
Bit
Value
Definition of Event
OFH-05H
-
Reserved
04H
1
Right button released
03H
1
Right button pressed
02H
1
Left button released
01H
1
Left button pressed
OOH
1
Any mouse movement
When the subroutine is invoked, the following information is in the registers:
Register
AX
BX
ex
ox
Data
Event mask which describes the event. The table 6.4 defines the events. A set bit
indicates the event.
button state (see table 6.3)
X position
Y position
On Entry:
AX
=
F33_SET_USR (OOOeH)
ex
=
condition mask
ES:OX
=
address of the user defined subroutine
208
Mouse

Advertisement

loading
Need help?

Need help?

Do you have a question about the Vectra and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel