Commodore PC Ms-Dos 3.2 User's Manual page 273

Table of Contents

Advertisement

Link: A Linker 201
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: /o
nNote
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+slibfp
The second example sets the overlay interrupt number to 255
link
moda+modb 7
run/over lay:Oxff,ab.map,em+mlibfp
'
'
The final example sets the overlay interrupt number to 255 (377
octal):
(~*\]
link
startup + f ile,/o:0377, , em+mlibf p
Setting the Maximum Number of Segments
O Syntax:
/segments-number
The /segments option
()
The /segments 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 /segments, the linker allocates enough memory
space to process up to 128 segments. If your program has more
f*^
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
/-■s
limit lower:
Segment
limit
5et
too
high

Advertisement

Table of Contents
loading

Table of Contents