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

     Version 1.0e, August 23. 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.


0. History
**********

1.0  May 22. 1995  First public release

1.0a Jul 19. 1995  Registration key now displayed in the registration dialog
                   State of the checkbox "disable driver" correctet in the configuration dialog
                   Doc updated for registration via CompuServes SWREG

1.0b Jul 25. 1995  Bug in integrity test fixed (shareware only)

1.0c Aug 04. 1995  Special Version for EniChem UK Limited

1.0d Aug 21  1995  Special Version for Kraft Jacobs Suchard

1.0e Aug 23  1995  Bug in "disable driver" fixed
                   Doc updated, new pricing scheme


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.

If you are on CompuServe you may register via SWREG. The registration ID is 6600 (Personal licence only). 
The registration key will be sent via CompuServe private mail.

If you are not on CompuServe or you like to register more then a personal licence send me the registration 
form below and enclose a check with the registration fee or send the mony to my bank. 
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 fax 
or by Air Mail.

   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !!                                                                                   !!
   !! I can not send any registration keys from September 1. 1995 to September 24. 1995 !!      
   !! There's also no support available in this time                                    !!
   !!                                                                                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


7. Pricing Scheme
*****************

(1 SFr = US$ 0.83)

  Personal licence        SFr.  50.-                (US$ 42)
  2 to 10 licences        SFr.  30.- per licence    (US$ 25   per licence)
  25 licences             SFr. 300.-                (US$ 250, US$ 10   per licence)               
 100 licences             SFr. 500.-                (US$ 416, US$ 4.16 per licence)
 unlimitet # of licences  SFr. 600.-                (US$ 500)

If you order 10 or more licences of DosMem you will get a special build of DosMem (No need to enter a
registration code on every workstation you install it, all shareware code is removed, so it shrinks to 
18kB.
If you order 10 or more licences you may get the source code of your special build of DosMem (MSVC 1.5)
for SFr 500.-


8. Payment
**********

1. Registration via CompuServe's SWREG
   Everything works automaticly

2. Cheque
   Send me a Cheque together with the registration form. Make the cheque payable to Thomas Gloor
   If the cheque is drawn to a non Swiss bank add SFr. 20.- to the amount (Do not add this amount
   if you send an Eurocheque). If possible send a cheque in Swiss Francs!

3. Remittance to

   Zurcher Kantonalbank (Swiss Interbank Clearing Number 741)
   Filiale Eglisau
   CH-8193 Eglisau, SWITZERLAND

   Account # 1141-0174.504 (Thomas Gloor, Eichenweg 4, CH-5036 Oberentfelden)
 
   Please send the ammount in Swiss Francs not in US$ if possible



9. Entering your registration key
*********************************

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"


10. Registration Form
*********************

Please send this form to the following address:

Mr.
Thomas Gloor
Eichenweg 4
CH-5036 Oberentfelden
Switzerland


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


Number of DosMem registrations             ______


Amount for licences in Swiss Francs (SFr.)            ______

Add SFr. 500.- for ordering the source code             
(10 ore more licences only)                           ______

Add SFr. 20.- if you enclose a cheque of a non
Swiss bank (Do not add this SFr. 20.- if you send
an Eurocheque)                                        ______

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

[   ] Name     _____________________________________________

[   ] Company  _____________________________________________

Organisation   _____________________________________________

Address        _____________________________________________

ZIP Code       _____  City  ________________________________

State/Country  _____________________________________________

Phone/FAX       _______________  /  ________________________

E-mail-address _____________________________________________

Payment:  (  ) Check  (  ) Bank  (  ) other: _______________

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

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


Date ________  Signature _________________________________




