EasyManua.ls Logo

Commodore PC 20 - Page 336

Commodore PC 20
494 pages
Print Icon
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...
1198
MS-DOS User's Reference
The /cparmaxalloc
option
Examples:
The
first example sets
the
stack size
to
512
bytes:
link
file/stack:512,,;
The
second
example sets
the
stack size
to
255 (FFH) bytes:
link
moda+modb,run/st:OxFF,ab,\lib\start;
The
final example sets
the
stack size
to
24
(30
octal)
bytes:
link
startup+file/st:030,,;
Setting the Maximum Allocation Space
Syntax:
/eparmaxalloe:number
The
/cparmaxalloe
option
sets
the
maximum
number
of
16-byte
paragraphs
needed
by
a
program
when
it is
loaded
into
memory.
The
operating
system uses this
number
when
allocating space for
a program
prior
to
loading it.
Link normally sets
the
maximum
number
of
paragraphs
to
65535.
Since this represents all addressable memory,
the
operating
sys-
tem
always denies
the
default settings
and
allocates
the
largest
contiguous block
of
memory
it
can
find.
If
you
use
the
/epannaxalloe
option,
the
operating
system allocates
no
more
space than is given
by
this option. This means any additional
space in
memory
is free for
other
programs.
The
number
can
be
any integer in
the
range from 1
to
65535. It
must
be
a decimal, octal,
or
hexadecimal
number.
Octal
numbers
must
begin
with
a zero, and hexadecimal values
must
begin
with
a leading zero followed by a lowercase x. For example,
Ox2B.
If
number
is less than
the
minimum
number
of
paragraphs
needed
by
the
program,
link
ignores
your
request
and
sets
the
maximum
value equal
to
the minimum needed.
The
minimum
number
of
C
paragraphs
needed
by a program is
never
less
than
the
number
of
paragraphs
of
code
and data in
the
program.
Minimum abbreviation:
Ie
[

Table of Contents

Related product manuals