EVENT
PROC FAR
CMP AH, F -,SR
JE
PROCESS_EVENT
MOV AH, RS_UNSUPPORTEO
IRET
PROCESS_EVENT:
MOV AH, RS_SUCCESSFUL
IRET
EVENT
ENOP
MOV AH, F_'O_CONTROL
MOV AL, SF_CREA TE_EVENT
MOV BP, V_LPOINTER
MOV OX, OS
PUSH CS
POP
ES
LEA
51, CS:EVENT
PUSH OS
INT
HP_ENTRY
POP
OS
SF_EVENT _ON
(AX
=
040AH)
" only support function F
-,SR
,. code
to
process data (see
,. pointer event record)
" return successful completion
,. want
to
use the current data
,. segment for event
OS
,. current
CS is also segment
,. of event routine
,. get the
IP of the event
" routine
,. save current
OS
,. call extended
BIOS driver
This subfunction enables the event (parent) call to the pointer event routine
(V_EVENT_POINTER). The link to the pointer event routine must have already been established
using SF_CREATE_EVENT.
On Entry:
AH
=
F_la_CONTROL (04H)
AL
=
SF_EVENT_ON (OAH)
BP
=
V_LPOINTER (OOCOH)
, .
On Exit:
AH
=
Return Status Code
Registers Altered:
AX, BP, DS
Related Functions:
SF_CREATE_EVENT, SF_EVENT_OFF
Input System and HP-HIL
79
Need help?
Do you have a question about the Vectra and is the answer not in the manual?
Questions and answers