EasyManua.ls Logo

NEC CP/M-86 - Page 70

NEC CP/M-86
280 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Basic Disk Operating System (BDOS) Functions
4-36
GET
ABSOLUTE
MAXIMUM
MEMORY
ENTRY.
CL: 36H
DX:
Offset
ofMCB
FUNCTION
54
GET
ABS
MAX
RETURN
AL:
Return
Code
The
Get
Absolute
Maximum
Memory
function finds
the
largest possible region
at
the
absolute
paragraph
boundary
given
by
M-Base,
for
a
maximum
of
M-Length
paragraphs.
If
successful,
M-Length
is
set
to
the
actual
length.
If
no
memory
is
available
at
the
absolute address,
AL
returns the value OFFH.
ALLOCATE
MEMORY
ENTRY
CL: 37H
DX:
Offset
ofMCB
RETURN
FUNCTION
55
AL:
Return
Code
ALLOC
MEM
The
Allocate
Memory
function allocates a
memory
area
according
to
the
MCB
addressed
by
DX.
The
allocation request size
is
obtained
from
M-Length.
Function
55
returns
the
base
paragraph
address
of
the
allocated
region
in
the user's MCB.
Register
AL
contains
OOH
if
the
request was successful
and
OFFH
if
the
memory
could
not
be allocated.
ALLOCATE
ABSOLUTE
MEMORY
ENTRY
CL: 38H
DX:
Offset
ofMCB
FUNCTION
56
ALLOC
ABS
MEM
RETURN
AL:
Return
Code
The
Allocate Absolute
Memory
function allocates a
memory
area
according
to
the
MCB
addressed by
DX.
The
allocation request size is
obtained
from M-Length,
and
the
absolute base address
from
M-Base. Register
AL
contains
OOH
if
the request was
successful
and
OFFH
if
the
memory
could
not
be allocated.

Table of Contents

Related product manuals