Download Print this page

HP Vectra Technical Reference Manual page 79

Hide thumbs Also See for Vectra:

Advertisement

This example shows how to use the SF_CREATE_EVENT function. The routine EVENT will be
the event procedure that is called when events are enabled.
EVENT
PROC FAR
CMP AH, F -,SR
JE
PROCESS_EVENT
MOV AH, RS_UNSUPPORTEO
IRET
PROCESSJVENT:
MOV AH, RS-3UCCESSFUL
IRET
EVENT
ENOP
MOV AH, F -'O_CONTROL
MOV AL, SF_CREATEJVENT
MOV BP, V--'-TOUCH
MOV OX, OS
PUSH CS
POP
ES
LEA
51, CS:EVENT
PUSH OS
INT
HPJNTRY
POP
OS
,. only support function F -,SR
,. code
to
process data
,. (see touch screen
,. 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 touch screen event routine
(V_EVENT_TOUCH). The link to the touch screen 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_LTOUCH (OOC6H)
70
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?

Subscribe to Our Youtube Channel