Tandy 600 Programmer's Reference Manual page 74

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

Advertisement

FUNCTION
E1h
-
Set
File
Size Limit
AX
BX
CX
DX
SP:
BP:
SI:
Dl:
IP:
FLG
CS
DS
SS
ES
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
Entry:
AH
= E1h
(function
code)
BX
=
File
Handle
CX:DX =
Size
limit
to
set
Exit:
AX
=
Error
code
Function
E1h
allows
an upper
limit
to
be
placed
on
the
size of
a
file.
The
file
handle
of
an
opened
file is
specified
in
BX.
The
size
limit
to
be
set
is
specified
in
CX:DX
with the high
order
word
in
CX.
After
this
call,
any system
call
which would
cause
the
file
to
expand Peyond
the
specified
limit
will
result
in
a
'File
Too
Big
1
error to
be
returned.
If
the size
limit
specified
in
CX:DX
is
smaller than the current
size
of
the
file,
the
function
call
will
fail
and
a
'File
Too
Big'
will
be
returned.
This function
may
only
be
applied
to internal
files,
and
the
file
size
limit
may
not
be
set
larger
than
FFFFh.
CX
must
always
be
when
calling this function.
69

Advertisement

Table of Contents
loading

Table of Contents