The /DYNAMIC Option

Option

/DY[[NAMIC]]:number

The /DYNAMIC option changes the limit on the number of interoverlay calls in an overlaid DOS program. (For more information on overlays, see Chapter 15.) The default limit is 256. The number is a decimal integer from 1 to 10,922. Specify a higher number to raise the limit if LINK issues the error too many interoverlay calls. Lower the limit to create a smaller table of interoverlay calls, saving space in your program.

To determine the most efficient number, run LINK using the /INFO option. The displayed information contains the line

NUMBER OF INTEROVERLAY CALLS: requested number; generated calls

The number of interoverlay calls requested is the number set by /DYNAMIC or the default of 256. The calls number reports the number of interoverlay calls actually generated. For maximum efficiency, run LINK using /INFO, then relink using /DYNAMIC:calls.