Tandy 600 Programmer's Reference Manual page 13

Bios programmers
Hide thumbs Also See for 600:
Table of Contents

Advertisement

INT46h
-
Get
File
Address
AX
BX
CX
DX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
SP:
BP:
SI:
Dl:
IP:
FLG
CS
DS
ss
ES
Entry:
BX
-
File
handle
of
opened
file
Exit:
AX
-
Status
code
or
file
segment
address
HH
O/S
is
not
reentrant.
For
this
reason, device
drivers
and
interrupt
service routines
can't
call
HH
0/S
functions.
If
a
device
driver,
or
an
interrupt
service routine
needs
to
be
able
to find
the
absolute
address
of
a
file
it
may
do so
using
this interrupt.
If
HH
O/S
is
not able
to
supply
the
file
address
at
the time
of
the
call,
the
Invalid
Access
Request
error
will
be
returned.
In
this
case, the
program
should repeatedly
call
INT 46h
until
this
error
no
longer occurs.
If
BX
contains
OFFFFh,
the
address
of
the
AMI
for
the
currently
executing
program
is
returned.
8

Advertisement

Table of Contents
loading

Table of Contents