Download Print this page

HP Vectra Technical Reference Manual page 304

Hide thumbs Also See for Vectra:

Advertisement

F_INS_FREEOWNDS
(AH
=
12H)
Installs a vector in the next free entry of the HP_VECTOLTABLE and calls it with an SF_INIT
function. Upon returning from initialization, the routine returns its DS in the BX register.
Warning
If the SF_INIT function returns with an error code of RS_FAIL (OFEH) the power-on
self test sequence will be executed.
On Entry:
BP
=
V_SYSTEM (12H)
AH
=
F_INS_FREEOWNDS (12H)
BX
=
Vector address to be installed
ES:DI
=
CS:IP of the device
On Exit:
AH
=
Return Status Code
o
=
RS_SUCCESSFUL
Registers Altered:
AH, BP, DS
F_INS_FREEGETDS
(AH = 14H)
Installs a vector in the next free entry of the HP_VECTOLTABLE and calls it with an SF_INIT
function. This function is used if the driver needs EX-BIOS RAM for its data segment.
F_INS_FREEGETDS calls the routine to initialize with the "last used DS" in the BX register. The
routine's initialization code decrements the "last used DS" value and returns it to
F_INS_FREEGETDS.
Warning
If the SF_INIT function returns with an error code of RS_FAIL (OFEH) the power-on
self test sequence will be executed.
On Entry:
BP
=
V_SYSTEM (12H)
AH
=
F_INS_FREEGETDS (14H)
ES:DI
=
CS:IP of the routine
On Exit:
AH
=
Return Status Code
o
=
RS_SUCCESSFUL
Registers Altered:
AH, BP, DS
Example: Install the ACME_INT vector in the next free vector and allocate two paragraphs of
data when its initialization routine gets called.
System Drivers
295

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