EasyManua.ls Logo

Commodore PC 20 - Page 339

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...
r
r
MASM
does
not
have an overlay manager. Therefore,
you
can
use
this option only
if
you are linking
with
a run-time
module
from a
language compiler that supports overlays.
Check
your
compiler
documentation, since you may
not
be
able
to
use
this
option
with
some
compilers.
Minimum abbreviation:
/0
Note You should
not
use
interrupt
numbers that conflict
with
the
standard
MS-DOS
interrupts.
Examples:
The
first example sets
the
overlay
interrupt
number
to
255:
link
file/o:255",87+5Iibfp
The
second
example sets
the
overlay interrupt
number
to 255
(FFH):
link
moda+modb,
run/overlay:Oxff,ab_map,em+mlibfp
C
The
final example sets
the
overlay interrupt
number
to
255
(377
octal):
[~
link
5tartup+file,/o:0377"em+mlibfp
Setting the Maximum Number of Segments
L Syntax:
Unk: A Unker
201
I
/segDlents:number
The /segments option
The
Isegments
option directs
the
linker
to
process
no
more
than
number
segments
per
program.
If
it encounters
more
than
the
given limit,
the
linker displays an
error
message, and stops linking.
You use this option
to
override
the
default limit
of
128
segments.
If
you
do
not
use /segDlents,
the
linker allocates enough memory
space
to
process
up
to
128
segments. If
your
program has
more
than
128
segments, you will
need
to
set
the
segment limit higher
to
increase
the
number
of
segments that
link
can process.
If
you
get
the
following
link
error
message, you should
set
the
segment
limit lower:
Segment
limit
5et
too
high

Table of Contents

Related product manuals