Tandy 600 Programmer's Reference Manual page 67

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

Advertisement

FUNCTION DBh
-
Get
Free
Memory
Address
AX
BX
CX
DX
SP:
BP:
SI:
Dl:
IP:
FLG
CS
DS
ss
ES
XXXXXXXX
xxxxxxxx
Entry:
AH =
DBh
(function
code)
Exit;
AX
-
Free
memory
address
This
function returns
the
paragraph address
of
the
beginning
of
the
system
free
memory
pool.
Function
D5h
may
be used
to
find
the
number
of
free
paragraphs
of
memory
in
the
system.
It
is
important
to
note
that
the free
memory
reported
by
function
D5h
is
not
guaranteed
to
be
located
within
the
free
memory
pool.
HH
O/S
uses
optimization
methods
for
speeding growth
of
internal
files
which
cause excess space
to
be
allocated
to
recently
accessed
files.
This
reduces
the
number
of
times
that
portions
of
the
file
system must be
moved when
files
grow
in
size.
Applications
programs
should
not
attempt
to
use
the
free
memory
pool
as
scratch
work space
and
so,
should
not
use
this
function.
It
is
provided
to
allow other operating
systems and
system
utilities
to find
the
end
of
memory
used by
the
HH
O/S, so
that
they
can
coexist with
the
HH
O/S
internal
file
system.
62

Advertisement

Table of Contents
loading

Table of Contents