ramdrive
- Posted by Norm Goundry <bonk1000 at HOTMAIL.COM> Jan 04, 1999
- 429 views
As I promised, here is the code to fire up a RAMDRIVE. I have one running on win95 and also on win98. As for NT'ers, since you do not have DOS as an option for start-up there is no hope. (But then again, maybe there is! Read the bit at the end of all of this for your some undocumented facts about your OS). The RAMDRIVE operates on my two systems without any prior overlay of DOS (that is, the WIN install was done on a cleanly formatted drive, not an upgrade). This does not seem to have any effect on the RAMDRIVE, because I have also made it run on upgraded systems. The stories that you have heard about how how difficult it is to make this thing work are just that: stories. I have never had one single problem caused by its being there, it has never brought on a case of the Blue Screens. It just does its job. 1. Edit your CONFIG.SYS file with a Text Editor such as NOTEPAD (don't worry if you don't have one, just make one up and name it as such and it will work any way), so that there are three lines at the end: DEVICE=C:\WINDOWS\HIMEM.SYS DEVICE=C:\WINDOWS\RAMDRIVE.SYS 15360 /E LASTDRIVE=Z 2. Make certain that the lines are in this order, and that there are spaces before and after the drive size (in this case, 15360). Note the use of both back and forward slashes. Important!!! The drive must be set up as 'E' or this will not work very well. All of your other drives will be set up by the system to work around this, so make certain that this is done properly. 3. The size of the drive is limited by the amount of ram that you have available, of course. I have 64 megs, and the above amount, 15360, gives me 15 megs of glorious read-write. The easiest way to calculate what you want to use for your own requirements is to multiply 1024 by the amount of megs you want, for example: 8192 (8 megs) is 1024 times 8. 4. After your system has booted in, open WINFILE, or WINDOWS EXPLORER, whatever, and you will notice that if you have done this successfully, there will be a new designation labelled E:, with a strange new icon. This drive can be treated exactly the same as any other drive on you system. ***Now, for you NT people. There is an undocumented executionable file in your main Windows directory, which starts with 'RD' and ends with .EXE; guess what this is! The trick is to figure out how to fire it up, it would need a preload configuration setting during boot-up that can persist into the DEVICE stage of things so that it will remain in place to trick NT into thinking it is a piece of hardware. Other than that, you are on your own. Hope that this is can be of use to the people that have shown interest in it. It sure works good for me. Norm