home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega CD-ROM 1
/
megacd_rom_1.zip
/
megacd_rom_1
/
DESQVIEW
/
LIMITEM.ZIP
/
LIMITEM.DOC
next >
Wrap
Text File
|
1987-12-08
|
4KB
|
74 lines
Documentation for the LIMITEM.DOC program
The LIMITEM.EXE program is provided by Quarterdeck to allow DESQview users to
limit the amount of expanded memory an application can take (assuming it uses
expanded memory for its own purposes).
Generally programs that use the Intel (LIM) or AST (AQA) specifications will
take expanded memory only as they need it. This would be the case for Lotus 2
and Symphony 1.1. Other programs must be preconfigured to take a specific
amount. Framework II and SuperCalc 3 fall into this category.
Other programs, when they start up, make a call to the expanded memory manager
to see how much expanded memory is available and then proceed to take all of it
on the assumption that no other program could use it while they were running
anyway (They were wrong - weren't they!). We know that Think Tank does this,
there may be others.
If you find that after loading a program that uses expanded memory, your
available expanded memory as revealed by the DESQview Memory Status program
drops to zero, this program may be a candidate for LIMITEM.
LIMITEM.EXE is designed to be run from a batch file in window before the target
program. LIMITEM will pass a parameter of the amount of expanded memory you
wish to provide for your programs use. When the program makes the call to find
out how much expanded memory is available, it will receive the amount you
specify.
If you don't know already, the steps necessary to run a batch file in a
DESQview window are as follows:
1. Run Change a Program for your application and change the Command to Start
Program to the name of the batch you are going to invoke. You must use
name prefix for your batch file that is different from the normal command
since DOS gives lowest priority to BAT files and will run EXE or COM files
first.
2. Turn off the Option that says "Close on Exit to DOS" - this is so the
window will not close in the midst of running your batch file.
3. Write the batch file as follows:
a. The first line of the batch file should be the LIMITEM command
followed by a space and the amount of RAM in K you wish to make
available to your application. This may be any figure from 0 to
whatever. If you use 0, the application will not use any
expanded memory. If the number you use is more than the
available expanded memory, LIMITEM will allocate as much
expanded memory as possible.
b. The second line should be the Command to Start Program as it was
listed in the program information before you replaced it with
the name of the batch file.
c. The third line should contain the DOS command EXIT. This will
exit the current version of COMMAND.COM and close the window.
In this way you will avoid finding yourself sitting in an empty
DOS window after you quit out of your program.
Here is an example for Think Tank - the text in curly brackets are comments and
should not be in the batch file.
GOTANK.BAT { Not named TANK.BAT since TANK.EXE would run instead }
{Contents of batch file follows}
LIMITEM 100 { Invokes LIMITEM.EXE and provides 100K of expanded memory }
TANK.EXE { Invokes the Think Tank program }
EXIT { Exits COMMAND.COM and closes the window }
{ That's it! - Please note 100K is only an example, not necessarily what we}
{ think Think Tank needs. That depends on the size of your outlines.}
The batch file should be put in the subdirectory with the application being
run. The LIMITEM.EXE file should be put in the DESQview directory.