Download Print this page

HP Vectra Technical Reference Manual page 132

Hide thumbs Also See for Vectra:

Advertisement

On Entry:
AH
=
F_IO_CONTROL (04H)
AL
=
SF_SET_LINKS (04H)
BP
=
V_SINPUT (002AH)
ES:SI
=
Pointer to table
"..
On Exit:
AH
=
Return Status Code
Registers Altered:
AX, BP, DS
The following example is how to use the SF_SET_LINKS function. It is presumed that a call to
F_INQUIRE---.ALL has been made, and that the device at address #3, is a tablet. The tablet is
going to be mapped to the V_LHPMOUSE driver. The BX register already has the offset into the
buffer of tablet mappings.
BUFFER
OW 7 OUP (?)
MOV
CX, BUFFER[BXj
,. get the current mapping of
,. the tablet
MOV
CH, V-iHPMOUSE / 6
,. change tablet
to
HP Mouse
MOV
BUFFER[BXj, CX
,. save the new mapping
MOV
AH, F -lO_CONTROL
,. load function code
".
MOV
AL, SF_SET-iINKS
,. load subfunction code
MOV
BP, V_SINPUT
,. load vector address
LEA
51, BUFFER
,. get the offset of the buffer
PUSH
OS
POP
ES
,. ES
=
OS
PUSH
OS
,. save current OS
INT
HP_ENTRY
,. call extended BIOS driver
POP
OS
F_INQUIRE
(AH
=
06H)
This function returns a pointer to the Physical Describe Record of the specified HP-HIL physical
device driver. WARNING: THE PHYSICAL DESCRIBE RECORD SHOULD NOT BE MODIFIED IN ANY
WAY.
On Entry:
AH
=
F_INQUIRE (06H)
AL
=
HP-HIL Device Number (1 - 7)
BP
=
V_SINPUT (002AH)
On Exit:
AH
=
Return Status Code
ES:SI
=
Pointer to Physical Describe Record
Registers Altered:
AX, BP, SI, DS, ES
Input System and HP-HIL
123

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