Download Print this page

HP Vectra Technical Reference Manual page 315

Hide thumbs Also See for Vectra:

Advertisement

On Exit:
AH
=
RS_SUCCESSFUL if header found and deleted
RS_FAIL if header not found.
Registers Altered:
AH, DS, BP.
Takes a header and its corresponding pointers and adds them to the front of the list.
On Entry:
BP
=
V_SYSTEM (12H)
AH
=
F_STLPUT_BUCKET (44H)
DI
=
Offset address of header
ES
=
Segment address of header
On Exit:
AH
=
RS_SUCCESSFUL
Registers Altered:
AH, BP, DS.
Example: Adds a set of strings and its associated data structures for the ACME_INT driver.
,
,. String data structures (see figure 9.2)
,
STR~EAOER
STRUC
STR-NXT_HOR
DO
(?)
STR_UPPERJOUNO OW
(?)
STR-LOWERJOUNO OW
(?)
STR_LISTJTR
DO
(?)
STR_SEGMENT
OW
(?)
STR_HEAOER
ENDS
,
,. Now build
a
bucket (set
of
strings) for the ACME_INT:
,
,. First list ACME_INT's strings:
size_acme--f)ame
db
f_acme--f)ame
=
acme--f)ame
db
I_acme--f)ame
=
'_acme--f)ame -
f_acme--f)ame - 1
$
'Acme Co. ',DH
$
size-item_l
f-item_l
item_l
l-item_l
306
System Drivers
db
=
db
=
I_item_l - f-item_l - 1
$
'Hello World',DH
$

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