Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper/ExoSpace 1.0g - <b>setting the application program environment</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Setting the Application Program Environment
------------------------------------------------------------------------------

     Four parameters--listed below--have been added to the CLIPPER
     environment variable to control the protected-mode VM system.  Each of
     these parameters can be set in the DOS environment, burned into the
     .EXE, or specified at runtime when preceded by "//" on the command line.

     For example, the parameters can be set in the DOS environment as
     follows:

     SET CLIPPER=//VMSIZE:16384 //MAXMEM:2048

     To burn settings into the application from within the
     CA-Clipper/ExoSpace link script, include the following command in the
     script file:

     EXOSPACE EXECUTABLE CLIPPER //VMSIZE:16384

     Assuming you have a CA-Clipper/ExoSpace-linked application named MYAPP,
     you can execute it at runtime as follows:

     MYAPP //VMSIZE:16384 //MAXMEM:2048 //MINMEM:1536

 VMSIZE:nnnn

     Sets the amount of virtual memory the VM system should provide.  The
     default is 8096 KB, which is more than sufficient for the vast majority
     of CA-Clipper applications.  For example, to change the VM size to 16384
     KB (16 MB), use VMSIZE:16384.

 MAXMEM:nnnn

     Sets the maximum amount of physical memory to use before swapping to
     disk.  The default is 8096 KB, which is more than sufficient for the
     vast majority of CA-Clipper applications.

     In a task switching environment, you may want to lower this value.  For
     example, to change the maximum amount of memory to 2048 KB (2 MB), use
     MAXMEM:2048.

 MINMEM:nnnn

     Sets the minimum amount of physical memory that must be available to run
     the program.  If there is not enough memory available, an error message
     is generated and the application returns to DOS.  The default is 1024
     KB, which is the recommended minimum.  For example, to change the
     minimum amount of memory to 1536 KB (1.5 MB), use MINMEM:1536.

 LOWMEM:nnnn

     Sets the amount of low DOS memory to reserve for allocation by third-
     party libraries for interrupt routines.  The default is 0.  Ignore this
     unless your third-party library documentation specifically recommends
     that you set it.


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