Xref: utzoo comp.sys.ibm.pc.misc:4693 comp.os.msdos.programmer:2388 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!jm9t+ From: jm9t+@andrew.cmu.edu (Josh Brian Mastronarde) Newsgroups: comp.sys.ibm.pc.misc,comp.os.msdos.programmer Subject: Dynamic Cache? Message-ID: Date: 13 Dec 90 20:41:11 GMT Organization: Carnegie Mellon, Pittsburgh, PA Lines: 25 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