Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Blinker 5.10 Online Reference - <b> blinker overlay opsize</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 BLINKER OVERLAY OPSIZE
------------------------------------------------------------------------------
 Purpose:
 Request a size for the overlay pool.

 Syntax:
 BLINKER OVERLAY OPSIZE <nuSize>

 Default:
 <nuSize> is 40 Kb.

 Description:
 This command is used to set the operating size of the overlay pool at run
 time in Kb. It can be set to any value between 12 and 128. The default
 operating size is 40Kb. This may be made smaller to save memory or larger
 to reduce the number of disk accesses made by the overlay manager to
 re-load overlaid procedures.

 When overlays are specified in the link script file, Blinker will determine
 the size of the smallest possible overlay pool by adding approximately 8Kb
 to the size of the largest overlay unit (a segment for most compilers). This
 minimum value will be displayed along with the value specified in the
 BLINKER OVERLAY OPSIZE command. If the minimum value is greater than the
 value specified, the minimum value will override the value specified.

 The overlay opsize may be adjusted at runtime through the use of the BLINKER
 environment variable (see the `Environment Variable' section in Chapter 2).
 For a discussion of how the overlay pool is used at runtime, see the
 `Overlay Pool' section in Chapter 4.

 Notes for CA-Clipper Summer '87:
 When using CA-Clipper Summer '87 and the DYNAMIC overlay allocation method
 (see BLINKER OVERLAY DYNAMIC), the minimum OPSIZE is not displayed as it
 cannot be calculated at link time. The actual OPSIZE required while
 executing the program can be determined by setting it to a small value such
 as 10Kb, running through all the options of the application WITHOUT
 performing a BLIOVLCLR(), and then checking the value of the Blinker
 function BLIOVLOPS() just before quitting the program. The value returned by
 the BLIOVLOPS() function will be the minimum value for the OPSIZE.

 The reason for this is that with the DYNAMIC method all active overlays must
 remain in memory at a given time. The minimum overlay OPSIZE is therefore
 the total size of the active overlays when the program is at its deepest
 level of nesting. The method described above may be used to establish this
 value, and setting it to a smaller value will simply cause the value to be
 overridden at runtime.

 Example:
 # Increase the overlay pool size to 60 Kb
 BLINKER OVERLAY OPSIZE 60

See Also: BLINKER ENVIRONMENT NAME BLIOVLOPS()

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