
				  XMSDSK.EXE
				      &
				  EMSDSK.EXE

			   Franck UBERTO - 96/02/25
			  38000 Grenoble - FRANCE
				   email : uberto@esrf.fr


  These utilities are 2 RAMdisks. For some people they surely will lack of
some "bells and whistles", but I made them efficient and simple to use.
  There are 2 programs because I wanted to optimize size and speed, so one is 
for XMS and the other one is for EMS.
  To get help for running them, just type: XMSDSK (or EMSDSK) /?.

 You can use them on 286 and upper (use EMSDSK86 for 8086 CPU). Once installed
they will occupy about 400 bytes.

  You can resize the disk (down to zero, or up to 32 Mb if available) at any 
time and so regain memory for another usage. This is possible on DOS command 
line but *NOT* under WINDOWS because of virtualization. The transient part of 
EXE will calculate all parameters for the new disk (I use the same ones as
MS-DOS for hard disk, so they should be convenient for all cases).

  Take care, if you shell out of a DOS program and modify the size of the disk:
in the case you have set TEMP (or TMP) environment variable on the ramdisk or
you have told this program to use the ramdisk, then some (hidden) files may 
have been created and some (not) pleasant things can happen.

  You can use and distribute these files: it's freeware.

  So ENJOY ...


  * Examples of use
  ------------------

  device[high]='path'\XMSDSK.EXE [size] (or EMSDSK.EXE)
     Install ramdisk in config.sys.
     If size is not specified then disk has a null size.

  XMSDSK (or EMSDSK)
     On DOS command line, tells you the size and drive used by the ramdisk.

  XMSDSK size (or EMSDSK)
     Modify the size of the ramdisk.

  echo y | XMSDSK size (or EMSDSK)
     In a batch file this prevents being prompted when modyfing size.
     XMSDSK (and EMSDSK) returns a value wich can be used with "errorlevel"
     to tell where it is installed: 0 if not installed or in case of error,
     1 for drive A (huh ?), 2 for B (huh huh ?), 3 for C (hmmm ?), etc ...

  * History
  ----------

     v1.0 (May 92)   Initial version.
     v1.1 (Jun 92)   Adds some optimization in resident part.
     v1.2 (Oct 93)   Adds some tests in size redefinition part.
     v1.3 (Apr 94)   Corrects a bug when requested size was around 4000 Kb
	             and another one which limited size to 16 Mb.
	             Adds more accurate error messages instead of "error
	             during installation".
     v1.4 (Feb 96)   Some cosmetic cleaning.

PS: this last version (1.4) has been used during almost 2 years for my own use
    (and also in my neighbourhood); one reason it has been let to "rust and
    dust" is I thought that new (graphical ;-) ) OS was lowering interest for
    pure DOS apps. It seems that DOS is far from being dead.
    Thanks to Bernard Marone, Jim Oliver and all other people who comfort me
    in this idea by sending Emails since a couple of weeks.
    
PS2: these utilities (at least XMSDSK) have been used with Linux + Dosemu and
     work well.


  * Disclaimer
  -------------

 Copyright (C) 1992 - 1996  Franck UBERTO

 This package is offered to you "AS IS" without any warranty. This software has
been thoroughly tested but no guarantee is given that it will work on every
computer. The copyright owner may not be held liable for any damages, direct
or consequential, which may result from the the use of this program.

 This archive is freely distributable. You may use the software and share it
with all your friends (or others) as long as the program is supplied in its
original, unmodified form, which includes this documentation. This program
must not be distributed for profit.
