Computing.Net > Forums > Windows 95/98 > Another conventional memory snag

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Another conventional memory snag

Reply to Message Icon

Name: Luna M
Date: February 21, 2006 at 21:32:43 Pacific
OS: Win98 FE
CPU/Ram: P166/80MB
Product: Packard Bell 2010
Comment:

I've browsed the forums for answers to my issue, and so far have found nothing helpful.

I'm attempting to run a program in DOS mode, and trying to avoid having to use a boot disk if possible. The program requires at least 520K of free conventional memory. I can achieve the necessary memory from _within_ Windows, but not within DOS mode, and I need to run this program in DOS. It is a game, so I need my sound card and mouse drivers.

My autoexec.bat, config.sys and (not sure if it's useful or not) msdos.sys for your perusal. They're a tad compicated, with a number of lines remarked.

AUTOEXEC.BAT
LOADHIGH D:\PROGRA~1\GRISOFT\AVGFRE~1\BOOTUP.exe
SET BLASTER=A220 I5 D1 T4

@ECHO OFF
PROMPT $P$G
PATH c:\windows;c:\windows\COMMAND;C:\;c:\pkzip
SET DIRCMD=/O
SET TEMP=C:\PBTOOLS\WINTEMP
SET WINPMT=[WINDOWS] $P$G

SET CTCM=C:\AWE64
SET SOUND=C:\AWE64
SET MIDI=SYNTH:1 MAP:E MODE:0
C:\AWE64\MIXERSET /P /Q
C:\AWE64\AWEUTIL.COM /S

rem - By Windows Setup - LH C:\WINDOWS\COMMAND\MSCDEX.exe /D:MSCD0001 /M:20 /S /L:Q
rem - By Windows Setup - C:\WINDOWS\AZTPNP.exe /A

LOADHIGH c:\logochan.exe

CONFIG.SYS
DEVICE=C:\WINDOWS\HIMEM.SYS
DOS=HIGH,UMB
DEVICE=C:\WINDOWS\EMM386.exe I=B000-B7FF
FILESHIGH=50
BUFFERSHIGH=20
STACKSHIGH=0,0
FCBSHIGH=1

DEVICEHIGH=C:\WINDOWS\MOUSE.SYS
rem DEVICEHIGH=C:\WINDOWS\COMMAND\DRVSPACE.SYS /MOVE
DEVICEHIGH=C:\AWE64\CTCM.exe

REM the next two lines are not required for all games
DEVICEHIGH=C:\AWE64\CTSB16.SYS /UNIT=0 /WIN95 /BLASTER=A220 I:5 D:1 H:5
DEVICEHIGH=C:\AWE64\CTMMSYS.SYS

MSDOS.SYS
[Paths]
WinDir=c:\windows
WinBootDir=c:\windows
HostWinBootDrv=C

[Options]
Logo=1
BootMulti=0
BootGUI=1
;
;The following lines are required for compatibility with other programs.
;Do not remove them (MSDOS.SYS needs to be >1024 bytes).
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxa
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxb
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxc
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxd
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxe
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxf
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxg
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxh
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxi
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxj
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxk
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxl
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxm
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxn
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxo
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxp
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxq
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxr
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxs
DoubleBuffer=1
AutoScan=1
WinVer=4.10.1998

The only thing I can think of to do is to mess with the FILESHIGH and BUFFERSHIGH lines, but the amount of memory I could save would be marginal, and those lines are there for compatability purposes with other DOS applications.

I'm not sure what is taking up 172K of conventional memory, considering, as far as I can see, I've loaded all my device drivers and programs into high memory. Still, the grand total of free conventional memory comes out to 462K, far below the needed 520K.

Once again, I can run this program from within Windows (where it does not work properly), but not from within DOS mode. Windows reports a full 536K of free conventional memory. Once again, DOS-mode only reports 462K (less if I don't do a cold boot).

Obligatory closing statement: Any suggestions are greatly appreciated.




Response Number 1
Name: jboy
Date: February 21, 2006 at 21:39:20 Pacific
+1
Reply:

"I'm not sure what is taking up 172K of conventional memory"

You should be able to find out

mem/c/p

'DEVICEHIGH' doesn't always work if you run out of UMBs - if DOS gets 'too big', it won't load itself into the HMA, either


MSDOS.SYS has no real bearing on DOS memory management (since Win95)

Science is built up with facts, as a house is with stones. But a collection of facts is not more a science than a heap of stones is a home



Response Number 2
Name: Luna M
Date: February 21, 2006 at 22:36:56 Pacific
+1
Reply:

Thanks. This has helped a great deal. The processes taking up conventional memory are as follows:

MSDOS (26,000)
HIMEM (1,168)
EMM386 (9,856) [necessary, as the game also makes substantial use of expanded memory)
DBLBUFF (2,976)
MOUSE (17,296)
CTMMSYS (8,080)
IFSHLP (2,864)
DBLSPACE (110,032) - there's the culprit? I thought this was supposed to free memory, not hog it.
COMMAND (7,344)

Is there anything I can do about DBLSPACE?



Response Number 3
Name: T-R-A
Date: February 21, 2006 at 22:49:45 Pacific
+1
Reply:

DBLSPACE is a utility to compress drives, it does nothing with memory.



Response Number 4
Name: T-R-A
Date: February 21, 2006 at 22:51:32 Pacific
+1
Reply:

Just out of curiosity, was this a Win95 upgrade from Win3.1; and what game is it you're trying to load anyway?



Response Number 5
Name: DAVEINCAPS
Date: February 21, 2006 at 23:03:06 Pacific
+1
Reply:

Jboy previously provided this link to download olddos.exe which contains the win95 memmaker files.

Download and run that file. Make sure it extracts in your windows folder. Run msconfig, click 'advanced' and check 'enable starup menu. Then 'apply', OK and reboot. From the menu choose 'command prompt only'. At the c:\> prompt type memmaker and enter.

It'll do it's thing and reboot a couple of times. Each time choose 'command prompt only'. When it's done I usually EDIT config.sys and remove the buffers=, files=, FCBS=, stacks= and lastdrive= lines as windows has defaults that are usually adequate. Once you're done, reboot, and choose 'normal' from the menu. When it gets to the desktop, run msconfig again and uncheck 'enable startup menu'.

You might not get much improvement with all the stuff you've got loading. I don't recognize logochan.exe. Do you need that? Also you've got a mouse.sys file loading in config.sys. It's usually better to have an .exe mouse driver in autoexec.bat instead. I'll run msconfig with the mouse driver in autoexec.bat and then afterwards move the line to dosstart.bat in the windows directory. Dosstart runs when you exit windows to dos. On a cold dos boot just run dosstart by itself if you need dos mouse support.



Related Posts

See More



Response Number 6
Name: Luna M
Date: February 21, 2006 at 23:06:46 Pacific
+1
Reply:

Ah, okay. It's been a while since I messed with pre-Win2k, so I'd forgotten.

It's Win98 (not second edition), not 95. This computer came with Win95, but has long since been updated to 98.

The game is question is World Of Xeen (Might & Magic 4 & 5). It has sound problems with the AWE64 when run from within Windows. A few weeks ago I posted here about that problem--I thought it was having the same problem from within DOS mode, but that assertion is N/A because, as I found upon further inspection, the game did not, in fact, work in DOS mode, for lack of available conventional memory. I need to get it working in DOS again to see if _my_ memory is in fact correct.



Response Number 7
Name: DAVEINCAPS
Date: February 21, 2006 at 23:10:43 Pacific
+1
Reply:

I think DBLSPACE will run if it's in the root directory--usually as a hidden file--even though it's not being called. The only way I could keep it from running is to delete it. It doesn't look like you have a compressed drive so that's what I'd do. From the c:\> prompt type
attrib dblspace.* to see if it's there. If so use attrib -h -s (or whatever it's attributes are) to make it accessible and then delete it.



Response Number 8
Name: Luna M
Date: February 21, 2006 at 23:15:23 Pacific
+1
Reply:

Thank you very much, Dave and jboy. I will try your suggestions tomorrow and let you know if it works (or if it doesn't).

Logochan is not a critical program, it's a Win9x startup logo randomizer for fun. But it doesn't appear to be taking up conventional memory. Do you think I should get rid of it anyway?



Response Number 9
Name: jboy
Date: February 21, 2006 at 23:19:05 Pacific
+1
Reply:

Yeah - it's not totally clear why that hoggy drive compression (dblspace) is loading - possibly removing any dblspace or drvspace files from the root or command folder would stop that (assuming you don't actually have a compressed drive)

OR

add under the [options] section of MSDOS.SYS

DBLSpace=0

(Default: 1
Purpose: A setting of 1 allows the automatic loading of the DBLSPACE.BIN file. A setting of 0 prevents the automatic loading of this file.)

DRVSpace=0


(Default: 1
Purpose: A setting of 1 allows the automatic loading of the DRVSPACE.BIN file. A setting of 0 prevents the automatic loading of this file.)

...I may have been a bit premature in my dismissal of the importance of MSDOS.SYS


Probably that'll free up enough UMBs to allow your mouse etc to actually load high - also a setting of 50 for 'files' is kind of high - as DAVE suggests, the defaults are probably adequate
.

See how you stand once you dump dblspace - most of my 9x machines have around 600K free conventional, without too much effort

Science is built up with facts, as a house is with stones. But a collection of facts is not more a science than a heap of stones is a home



Response Number 10
Name: DAVEINCAPS
Date: February 21, 2006 at 23:21:54 Pacific
+1
Reply:

I suppose you could try our suggestions and if you get adequate memory while leaving it in then there wouldn't be any problem with keeping it.



Response Number 11
Name: jboy
Date: February 21, 2006 at 23:33:09 Pacific
+1
Reply:

Busy thread - but sure, once you're rid of the drive compression, and reduce some of the extraneous DOS settings you should have considerably more conventional mem and hopefully more upper mem available as well

Science is built up with facts, as a house is with stones. But a collection of facts is not more a science than a heap of stones is a home



Response Number 12
Name: Luna M
Date: February 22, 2006 at 11:05:45 Pacific
+1
Reply:

Thanks jboy and DAVE, turning DBLSPACE and DRVSPACE off in msdos.sys seems to have worked. Now I can get back to actually troubleshooting the game. :)



Response Number 13
Name: DAVEINCAPS
Date: February 22, 2006 at 12:50:28 Pacific
+1
Reply:

We're glad you got it fixed.

When I'd mentioned my prior experiences about it loading I didn't consider it was msdos.sys that was doing it. I noticed you're using a packard bell. The PC's I had those problems with were also PB's. That must be PB's default setup.



Response Number 14
Name: Luna M
Date: February 22, 2006 at 18:47:22 Pacific
+1
Reply:

This PB came with tons of very strange settings, and over the years I have ended up disabling them one by one. I'm amazed the OS hasn't fallen apart on me yet; I would have wiped and reloaded the system already if it weren't for the fact many PBs have problems with reloads (in my experience).

I was able to compare the DOS performance of the game to Windows, and have since found the problem that was keeping the sound from working properly. Thanks again for all your help. I will remember this for future reference.



Response Number 15
Name: jboy
Date: February 22, 2006 at 21:49:32 Pacific
+1
Reply:

Glad you were successful

Science is built up with facts, as a house is with stones. But a collection of facts is not more a science than a heap of stones is a home



Reply to Message Icon

trying to install win98 Printer goes offline



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 95/98 Forum Home


Google Ads



Results for: Another conventional memory snag

Freing up conventional memory under win98 www.computing.net/answers/windows-95/freing-up-conventional-memory-under-win98/8104.html

638k Conventional Memory, NO VIRUS? www.computing.net/answers/windows-95/638k-conventional-memory-no-virus/131657.html

Conventional Memory www.computing.net/answers/windows-95/conventional-memory/29700.html