Download Print this page

HP Vectra Technical Reference Manual page 97

Hide thumbs Also See for Vectra:

Advertisement

EVENT
PROC FAR
CMP
AH, F_ISR
,. only support function F_ISR
JE
PROCESS_EVENT
MOV
AH, RS_UNSUPPORTEO
IRET
PROCESS_EVENT:
,. code
to
process data (see
,. tablet event record)
MOV
AH, RS_SUCCESSFUL
IRET
EVENT
ENOP
,. return successful completion
MOV
AH, F-'O_CONTROL
MOV
AL, SF_CREATE_EVENT
MOV
BP, V_LTABLET
MOV
OX, OS
,. want
to
use the current data
,. segment for event
OS
PUSH
CS
POP
ES
,. current
CS is also segment
,. of event routine
LEA
51, CS:EVENT
,. get the
IP of the event
,. routine
PUSH
OS
,. save current
OS
INT
HP_ENTRY
,. call extended
BIOS driver
POP
OS
SF_EVENT
_ON
(AX = 040AH)
This subfunction enables the event (parent) call to the tablet event routine (V_EVENT_TABLED.
The link to the tablet event routine must have already been established using
SF_CREATE_EVENT.
On Entry:
AH
=
F_IO_CONTROL (04H)
AL
=
SF_EVENT_ON (OAH)
BP
=
V_LTABLET (OOBAH)
On Exit:
AH
=
Return Status Code
Registers Altered:
AX, BP, DS
Related Functions:
SF_CREATE_EVENT, SF_EVENT_OFF
88
Input System and HP-HIL

Advertisement

loading
Need help?

Need help?

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