DosMem: Keeps Low-Memory Free 
=============================

     Version 1.0, May 22. 1995

     Copyright (c) 1995
     
     Thomas Gloor
     Eichenweg 4
     CH-5036 Oberentfelden
     SWITZERLAND

     CompuServe 72461,3375
     FidoNet    2:301/520.51

     All Rights Reserved




Thank you for trying DosMem! Before you start please read the following sections carefully.


1. Overview
***********

Like other tools DosMem keeps free parts of your first megabyte of Windows-Memory. This 
prevents Windows from displaying the faboulous "Out of Memory"-Message with lots 
of free memory and resources.

Like other tools DosMem fragments the first MB of Windows-Memory into small pieces. So other applications
can't get a block of the first MB when they do a "GlobalAlloc".

Unlike other tools Dosmem defragments the first MB of Windows-Memory when an application does an
"GlobalDosAlloc". So the application can get a large block of the first MB when realy needed.

Unlike other tools DosMem is not loaded as a Windows-Application in win.ini (load=....). DosMem
is loaded as the first "installable driver". So it prevents other device-drivers from allocating
rare Dos-Memory too.

Unlike other tools DosMem has no Setup-Programm. Because it is a real device-driver it will be installed
like a device-driver using the Control-Panel.


2. Shareware
************

This program is Shareware! You may try this copy of the program for a period of 21 days to
determine whether or not it is suitable for your needs. After that time, the program stops to run.
If you like to use the program for more then 21 days you need a registration-key from the author 
(see the section "Registration" for details).


3. Waranity
***********

DosMem is provided as is, without warranty of any kind, either expressed or implied. The Author only 
guarantees that DosMem will occupy disk space.

In no event shall the Autor be liable to you or anyone else for any damages, including any lost profits, 
lost savings or other incidental or consequential damages arising out of the use or inability
to use this program.

4. Installation
***************

- Unpack the archive into an empty directory on your harddisk (e.g. c:\dosmem). 
- Start the Control-Panel from Frogman or any other tool that allows you to run a programm.
- Doubble-Click the icon named "Driver". Click "Add...".
- Select "Unlisted Driver" from the displayed list
- Replace "A:\" displayed in the edit-field with the path to dosmem (e.g. c:\dosmem) and press "OK"
- Select "DosMem: Keeps Low-Memory Free" from the list
- The DosMem-Configuration-Dialog appears. Press "OK" or change some parameters (see section "Configuration"
  for details) and press "OK" after that.
- After a restart of Windows, DosMem keeps active in memory.


5. Configuration
****************

Normaly there's no need to configure DosMem. But if you like to play with some parameters
there are three ways to configure DosMem:
- You may edit the file "dosmem.ini" in your Windows-Directory. The file contains four parameters with the 
  following default values in the section [DOSMEM]:

    [DOSMEM]
    FRAGMENT_BLOCKSIZE=10000
    NUMBLOCKS=500
    RESBLOCKSIZE=0
    DRIVER_ENABLED=1

  FRAGMENT_BLOCKSIZE specifies the size of the memory blocks used for memory fragmetation. Blocks of this
                     size are allocated. After the allocation they are resized to 32 Bytes. So we get a
                     fragmented memory.
  NUMBLOCKS          specifies the maximum number of blocks that will be allocated while fragmenting the
                     memory.
  RESBLOCKSIZE       Not used in this version of DosMem
  DRIVER_ENABLED     1 = Driver is loaded and enabled
                     0 = Driver is loaded and disabled
 
 Changes in "dosmem.ini" became active after a restart of Windows.


- You may use the Control-Panel for the configuration of DosMem:
  + Run the Control-Panel
  + Double-Click the "Driver"-Icon
  + Select "DosMem: Keeps Low-Memory Free"
  + Click "Configure"
  + The DosMem Configuration Dialog appears (see below for details)

- You may run the programm "dmcfg.exe" in your "windows\system"-Directory from Frogman oder whatever:
  + The DosMem Configuration Dialog appears
  + Enter a new value for "Allocation Block Size" and / or for "Max No. of Blocks"
  + If you click "Set" the new parameters became active imediatly and the dialog remains open
  + If you click "OK" the new parameters became active imediatly and the dialog closes
  + If you click "Cancel" the dialog closes without changes (unless you clicked "Set")
  + If you check "Disable Driver" the Driver is disabled (but still in memory) imediatly.
  + If you click "UnInstall" all enteries from DosMem in "system.ini" are removed
  + If you like to register see section "Registration"


6. Registration
***************

If you like DosMem you should register because it stops to run after the evaluation period of 21 days.
At this time there is only one way for registering: Send me the registration form below and enclose a check
with the registration fee. For later releases (if there any) I plan registration via SWREG of CompuServe.
After I got your money I'll send you a registration key. If you have a CompuServe-, FidoNet- or an 
InterNet-address I mail the key ASAP. If you do not have an E-Mail-Address. The code will be sendt by Air Mail.

If you got your key follow the steps descriebed in the section "Configuration" for running "dmcfg.exe".
  + Click "Registration" for the registration dialog.
  + Enter your name and your organisation and your key (exactly as spelled on my mail) and press "OK"


7. Registration Form
********************

Please send this form together with a cheque to the following address:

Mr.
Thomas Gloor
Eichenweg 4
CH-5036 Oberentfelden
Switzerland



I order: (price valid through December 1995, all prices Swiss Franks!)

DosMem personal licence                     SFr 50.- ______

Additional licences to the same name
   Additional licence        02-10,  ____ x SFr 40.- ______
   Additional licence        11-25,  ____ x SFr 30.- ______
   Additional licence       26-100,  ____ x SFr 15.- ______
   Additional licence     101-1000,  ____ x SFr 10.- ______

Cheque drawn on a foreign (US) bank         SFr 20.- ______
If you send an Eurocheque do not add this fee!
Do not send cash.  
Make the check payable to Thomas Gloor

Total (multiply with 0.8 to get amount in $US):       ______

[   ] Name     _____________________________________________

[   ] Company  _____________________________________________

Organisation   _____________________________________________

Address        _____________________________________________

ZIP Code       _____  City  ________________________________

State/Country  _____________________________________________

Phone/FAX       _______________  /  ________________________

E-mail-address _____________________________________________

Payment:  (  ) Check  (  ) Cash  (  ) other: _______________

Which version do you own (see Help - About) ? ______________

Where did you get DosMem (which mailbox, ...) ______________


Date ________  Signature _________________________________




