Tandy 600 Programmer's Reference Manual page 45

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

Advertisement

FUNCTION
4Bh
-
Execute
Program
AX
BX
CX
DX
SP:
BP:
SI:
Dl:
IP:
FLG
CS
DS
ss
ES
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
Entry:
AH
-
4Bh
(function
code)
DS:DX
-
Pointer
to
execution
parameter
block
Exit:
AX
-
Error
code
This function
is
used
to
execute an
applications
program under
the
HH
O/S.
The
value
in
DS:DX
is
the
address
of
an
execution
parameter
block.
This block consists
of
4
words,
with
the following
meanings:
HIDFLG
-
=
create
non-hidden
AMI
1
=
create hidden
AMI
APLPTR
-
Pointer
to
applications
file
name
string
AMIPTR
-
Pointer
to
AMI
file
name
string
PRMPTR
-
Pointer
to
parameter
string
1.
HIDFLG
specifies
whether a newly
created
AMI
should be created as a hidden
file
or
a
non-
hidden
file.
This only
affects
AMI's which
don't
exist
at
the
time
of
the
exec and must be
created.
2.
APLPTR
points
to
a zero terminated
string that
specifies the
name
of
an
internal
file
which
contains the
program
to
be
executed.
3.
AMIPTR
points
to
a zero terminated
string that
specifies the
name
of
the
AMI
file
to
use
while the application
is
running.
4.
PRMPTR
points
to
a zero
terminated
string that
is
passed
to
the
application
being
executed
40

Advertisement

Table of Contents
loading

Table of Contents