[comp.os.msdos.programmer] Dynamic Cache?

jm9t+@andrew.cmu.edu (Josh Brian Mastronarde) (12/14/90)

Does anyone know of a good cache program that will automatically give up
space?  I have a system with 4 megs of memory, and use QEMM-386 to
convert it to expanded memory.  Since I am usually using less than 2
megs, I would like a cache that takes up almost all of the memory, yet
releases it when expanded memory is needed.  The Smartdrive program that
comes with Windows only works with Windows programs.  It doesn't seem
that this should be too difficult to do (I've done a lot of programming
on the PC).  Are there any reasons not to simply take over the int 67h
vector?  (Of course, putting the right driver code in my own interrupt
handler)  I would then trap all calls.  This driver would return 4 megs
available (or some maximum amount).  Basically, whatever ems isn't being
used would become cache memory.  Now all I need is the source code for a
good pd cache.
    Does anyone know if there is a product that does what I want
(preferably pd or shareware, but I would consider commercial).  I am
using PC-Cache 6.0 right now.  If there is some reason why such a
program hasn't been written, let me know.  Also, if you have any other
ideas for productive (temporary) uses of a couple of megs(other than a
Ramdisk; I have PC-Magazine's resizable Ramdisk loaded, and have never
used it), let me know.
                  Thanks,
                   \\\ Josh ///

- Josh Mastronarde
- jm9t+@andrew.cmu.edu

jrv@sdimax2.mitre.org (VanZandt) (12/15/90)

In article <sbNyRbu00WBMM2ilU1@andrew.cmu.edu> jm9t+@andrew.cmu.edu (Josh Brian Mastronarde) writes:
>Does anyone know of a good cache program that will automatically give up
>space?  

PC-Kwik will share extended or expanded memory among a cache, a printer
buffer, and other applications.

                           - Jim Van Zandt

mlord@bwdls58.bnr.ca (Mark Lord) (12/16/90)

In article <sbNyRbu00WBMM2ilU1@andrew.cmu.edu> jm9t+@andrew.cmu.edu (Josh Brian Mastronarde) writes:
<Does anyone know of a good cache program that will automatically give up
<space?  I have a system with 4 megs of memory, and use QEMM-386 to
<convert it to expanded memory.  Since I am usually using less than 2

Two products come immediately to mind:

	1. HYPER DISK (HYPERDSK) -- shareware disk cache with incredible
	features and performance.  It works just like the SMARTDRV.SYS,
	in that it can give memory back to WINDOWS3, AS WELL AS DESQVIEW!
	However, for other programs this is not truly automatic (yet).

	2. The brand new Super PC-Kwik disk cache.  This is an excellent
	commercial product, and consistantly is chosen as the BEST cache
	by nearly anyone who does product reviews.  It is pretty quick,
	and the NEW version (just being released NOW) has the feature you
	want:  When it starts up, it allocates ALL memory for itself, and
	then dishes it back out anytime *any* application wants to "borrow"
	some for a while (or permanently).  Compatible with QEMM, 386MAX,
	WINDOWS, and DESQVIEW.. and lots of other applications that use
	EMS (XMS also?? I dunno.. haven't got it yet).
-- 
 ___Mark S. Lord__________________________________________
| ..uunet!bnrgate!mlord%bmerh724 | Climb Free Or Die (NH) |
| MLORD@BNR.CA   Ottawa, Ontario | Personal views only.   |
|________________________________|________________________|