Tandy 600 Programmer's Reference Manual page 84

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

Advertisement

Function
01
h
-
Open
Database
File
Parameter
Block:
00:
01:
FILE_NAME
ACCESS-TYPE
Pointer
to
file
name
= Read
1
=
Write
2
=
Read/Write
Return Value:
File
handle
or
error
code
AX:
STATUS
The
FILENAME
parameter
contains the
offset
from
the
segment
in
DS
of
a
string
specifying
the
name
of
the
database
file
to
be opened.
The
database
file
name
string
is
an ASCIIZ
string
of
up
to
13
characters
(including
terminating
0).
The
file
name
string
should
not contain
a
disk
drive specification
as database
files
must be
resident
in
memory
to
be
accessed.
The
ACCESSTYPE
parameter
specifies
the kind
of
access
desired
for
the
file.
An
attempt
to
open
a
file
with the
Read
Only
attribute
for
Write or
Read/Write
will
fail.
On
return,
if
the
open
was
successful,
AX
will
contain
a
file
handle which should
be used
for
future
accesses
to
the
file.
Error
Returns:
79

Advertisement

Table of Contents
loading

Table of Contents