Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Warplink version 2.6 - <b>/as:<size> set maximum number of allocated paragraphs</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
/as:<size>              Set maximum number of allocated paragraphs
---------------------------------------------------------------------------------

 Syntax:

 Size is the number of paragraphs.  The /as option sets the number of
 paragraphs, or sixteen-byte blocks, of memory allocated to a program
 after it loads, the default value is 65535.  Size ranges from 0 to 65535.

 Description:

 In most situations, the default value of 65535 for the maximum number
 of allocated paragraphs is the most appropriate for your program.  This
 value will rarely need to be modified.  However size can be modified
 after linking with the WarpMod utility as described in Chapter 8,
 WarpMod Utility. If the size is too low, WarpLink will set the value to
 the minimum  required and display the following message:

 Maximum program allocation space less than minimum required,maximum adjusted.

 You may intentionally set size too low in order to automatically set the
 maximum memory used by a program to the absolute minimum needed when DOS 
 loads the program.  However, be aware that most languages require extra 
 memory after the program begins operating for variable and buffer 
 allocations.  Setting the value to the minimum in these cases will cause
 the program to return an out of memory error.  When using overlays, size
 must reflect the additional memory required for the overlay pool and 
 overlay manager internal table and stack allocations.

 Technical Note:

 This option corresponds to Microsoft Link's /CP or /CPARMAXALLOC option.


----------------------------------[ Example ]------------------------------------

 warplink  /as:4444  masmapp.obj

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson