DUX COMPUTER DIGEST

 

Site Search

Site Info

Home » Forums » Forum Archives » Operating Systems » Topic # 778

Loading High Win98 SE
Kazmierzak Jul-01-02 11:35 PM
I have had a problem with a DOS based program that requires 580k of base memory to run some of its features. I see that unlike Win95, Win98 does not load COMMAND, MSDOS, or VMM32 into high memory. It also adds in a bunch of other programs, DBLBUFF, IFSHLP, HIMEM, AND, EMM386 which of these are needed. None of them are loaded in Win95.
Is there any way to load these programs into the high memory? Then if that is possible will they work? I now I can use MSDos mode, it works OK but forever rebooting is a big time drain.

1. RE: Loading High Win98 SE
Zeno Jul-02-02 04:51 AM
In response to message 0
Part 1: (Assuming you've already muddied up your config.sys and autoexec.bat files.)

1) WIN9X *must* load himem.sys in order to access high memory, the first 64K beyond 1024K, and all extended memory beyond that.

2) During 9X boot, with a single OS, the next file loaded after the MBR is io.sys, the 9X boot loader. By default, io.sys loads himem.sys and the DOS=HIGH, AUTO command, plus a slew of additional default settings. Otherwise you'd be limited to 1024K of RAM, and WIN9X couldn't load.

3) The way you normally over ride these defaults is to edit the config.sys file. If the config.sys file is empty, then io.sys will load the standard 9X defaults. If your 9X DOS isn't loading high, then you may have some cobwebs in config.sys that are changing the defaults. Check out your config.sys file and see if there's anything in it. Device drivers loaded through config.sys are normally used for old DOS programs and often contain settings for legacy hardware, like Sound Blaster emulators. These legacy devices/drivers may hog some conventional memory below 640K.

4) The emm386.exe file is a legacy handler that was once used to emulate expanded memory cards. Nowdays, it's mostly used with the NOEMS setting to manage available upper memory, between 640K and 1024K. There are specific settings for reserving certain upper memory blocks that are too detailed to go into here, and are best left to WIN9X memory manager anyway.

5) If you look in your autoexec.bat and don't see anything, that's probably GOOD! However, you may need to edit your autoexec.bat file to free up more memory. See if there's anything in it that could be eliminated, or used with a LOADHIGH command. Editing autoexec.bat in WIN9X can be hazardous to your OS if you don't know what you're doing!

5a) If you have a PATH command, then you probably want to leave it alone. At least write it down before you mess with it so you can recreate it if you have problems. (b) Make sure only ONE version of DOS/WINDOWS is in the path. (c) DO NOT add disk caches or SmartDrive for legacy DOS programs. (d) DO NOT load real mode driver paths unless you're CERTAIN the drivers don't exist in WIN9X. (e) DO NOT load mouse or joystick driver paths of any sort through autoexec.bat.

6) You can launch WIN9X from autoexec.bat (if you want to) by using the win.com command. The (possible) advantage to this method is that you can pass DOS switches to win.com. To see what the options are, go to a DOS command prompt and type: WIN.COM / ? These switches can be used in a variety of ways to manipulate upper memory settings and free up conventional memory. This method of launching WIN9X is recommended only for the insanely curious (like me).

7) If you are running legacy WIN3X/DOS6X programs, you may need to check or edit the WIN.INI and/or the SYSTEM.INI files. In SYSTEM.INI you may need to look at the <386Enh> settings and the settings. Again, it's better to "let sleeping dogs lie" unless you know what you're doing. Make sure you back up these files before you mess with them. Even if you tweak these settings, you're probably not going to squeeze out any more memory than the WIN9X memory manager.


2. RE: Loading High Win98 SE
Zeno Jul-02-02 04:55 AM
In response to message 1
Part II: (Assuming all of the above is boring and irrelevant.)

Probably the easiest and most reliable way to run an old DOS program under WIN9X is to use a DOS VIRTUAL MACHINE (DVM) instead of using a specially configured floppy boot disk.

1) Install the DOS software by running the appropriate installation program, usually "install.exe" or "setup.exe" or something similar. This can be done in a variety ways: (a) START>PROGRAMS>MSDOS PROMPT, then enter the correct path to the setup.exe file. (b) START>RUN...then type in the path to setup.exe or START>RUN...>BROWSE to setup.exe (c) use Windoze Explorer to browse to the correct folder and double click on setup.exe.

2) Once the DOS software is installed on your HD, use Windoze Explorer to find the command line launcher file --it virtually always has a file extension of .exe or (very rarely) .com

3) Right click on the program launcher file and choose "properties". Click in the GENERAL tab and the MEMORY tab to manipulate the DVM environment to your heart's content. About 95% of the time the DOS program will run with the default settings before you even lift a finger. I've found it's usually best to try the default settings first, and only tweak if you need to.

4) Even if you do EVERYTHING EXACTLY RIGHT, some DOS programs won't run on FAT32 partitions greater than 2GB, EVER! It's one of the great mysteries of the universe...


3. RE: Loading High Win98 SE
Kazmierzak Jul-02-02 10:39 PM
In response to message 2
What I found was that the commands that where in the config.sys file
the following.
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE
DOS=HIGH,UMB

These where not needed and they just muddied up the works. By eliminating them from the config.sys file, now blank, I gain enough memory to run the program, with the default settings in the DOS window. I believe that some loaded soft ware altered the config.sys in the past I found an old on stored with an odd extension.

I would like to know why when you run the "MEM /C/P" command from the DOS prompt I do not see any thing loaded in high memory. In win95 there are clearly programs split with large portions in high memory. This frees up much more Base memory.

Also would an up-grade to WIN2000Pro help?


4. RE: Loading High Win98 SE
lbyard Jul-03-02 04:18 PM
In response to message 3
Because you are running it from the dos prompt. DOS doesn't use high memory unless you load something in high memory. Win 98 does not need the autoexec.bat or config.sys files at all. You can rename (C:\>ren /?) them. You may have an old board or program that does. Larry

| Home | Guides | How to | Reviews | Online Store | FAQ | Forums | Forum Archives |
| Links | News | Newsletter | About Dux | Advertising | Contact Info | Privacy |