VOGONS


Memory error in DOS

Topic actions

Reply 40 of 73, by Cursed Derp

User metadata
Rank Oldbie
Rank
Oldbie
The attachment 20240704_175829.jpg is no longer available
The attachment 20240704_175825.jpg is no longer available

I removed the contents of autoexec and config.sys for a basic boot. The game ran when I rebooted after deleting it all. I made backups though.

I am as smooth as a gravy train with flaming biscuit wheels.

Reply 41 of 73, by Cursed Derp

User metadata
Rank Oldbie
Rank
Oldbie

Thanks yall for the help so far. So the game plan is to decrease the number of loaded drivers on bootup?

I am as smooth as a gravy train with flaming biscuit wheels.

Reply 42 of 73, by feda

User metadata
Rank Member
Rank
Member

Precisely. Now try it with just
SET BLASTER=A220 I7 D1 H7 P330 T6
LH C:\DRIVERS\CTMOUSE.EXE /R2

Reply 43 of 73, by Harry Potter

User metadata
Rank Oldbie
Rank
Oldbie

Uhh...I don't know why you're not getting UMBs at all. 🙁 Try adding "I=B000-B7FF," "HIGHSCAN" and "RAM" to EMM386.EXE's command line. If you get something, maybe there's still hope. Then, you can try QSETUP to install QEMM then OPTIMIZE to optimize your configuration. If you choose a manual optimize and there's not enough memory, it will offer to try Stealth mode. Tell it to do so. You can choose either Frame mode or Mapping mode. Frame is more likely to be compatible, while Mapping frees up more memory. If you chose Mapping, QEMM also has to try more configurations. After these, come back with the report.

Joseph Rose, a.k.a. Harry Potter
Working magic in the computer community

Reply 44 of 73, by Cursed Derp

User metadata
Rank Oldbie
Rank
Oldbie
Harry Potter wrote on 2024-07-04, 22:33:

Uhh...I don't know why you're not getting UMBs at all. 🙁 Try adding "I=B000-B7FF," "HIGHSCAN" and "RAM" to EMM386.EXE's command line. If you get something, maybe there's still hope. Then, you can try QSETUP to install QEMM then OPTIMIZE to optimize your configuration. If you choose a manual optimize and there's not enough memory, it will offer to try Stealth mode. Tell it to do so. You can choose either Frame mode or Mapping mode. Frame is more likely to be compatible, while Mapping frees up more memory. If you chose Mapping, QEMM also has to try more configurations. After these, come back with the report.

I'll try this tomorrow.
Bit burned out on memory management today...
I learned hella about how dos drivers work though. I never knew this stuff before!
We shall get Blake Stone working yet!

I am as smooth as a gravy train with flaming biscuit wheels.

Reply 45 of 73, by Cursed Derp

User metadata
Rank Oldbie
Rank
Oldbie
feda wrote on 2024-07-04, 22:17:

Precisely. Now try it with just
SET BLASTER=A220 I7 D1 H7 P330 T6
LH C:\DRIVERS\CTMOUSE.EXE /R2

I'll try this too

I am as smooth as a gravy train with flaming biscuit wheels.

Reply 47 of 73, by dr_st

User metadata
Rank l33t
Rank
l33t
Harry Potter wrote on 2024-07-04, 22:33:

Uhh...I don't know why you're not getting UMBs at all. 🙁 Try adding "I=B000-B7FF," "HIGHSCAN" and "RAM" to EMM386.EXE's command line. If you get something, maybe there's still hope.

Seconded. It's strange to see no UMBs at all when EMM386.EXE RAM is used in Config.sys.

https://cloakedthargoid.wordpress.com/ - Random content on hardware, software, games and toys

Reply 49 of 73, by Harry Potter

User metadata
Rank Oldbie
Rank
Oldbie

dr_st: The same happened to the Win98SE tower I got several months ago: I specified every useful switch to EMM386 except "I=B000-B7FF" and got no UMBs. 🙁 After applying the switch, I got 32k UMBs. NOEMS helped but at the cost of EMS. I looked into QEMM's MANIFEST and found 64k that EMM386 didn't detect, but only the first 32k worked: the upper 32k locked the system. 🙁 QEMM helped. Unfortunately, I can't get UMBs or EMS from Windows. 🙁

Joseph Rose, a.k.a. Harry Potter
Working magic in the computer community

Reply 50 of 73, by Cursed Derp

User metadata
Rank Oldbie
Rank
Oldbie
The attachment 20240705_081617.jpg is no longer available
The attachment 20240705_081614.jpg is no longer available

I added the extra commands to the emm386 line in the config.sys but it doesn't seem to have helped.

I am as smooth as a gravy train with flaming biscuit wheels.

Reply 51 of 73, by Cursed Derp

User metadata
Rank Oldbie
Rank
Oldbie
feda wrote on 2024-07-04, 22:17:

Precisely. Now try it with just
SET BLASTER=A220 I7 D1 H7 P330 T6
LH C:\DRIVERS\CTMOUSE.EXE /R2

I'll probably try this now.

I am as smooth as a gravy train with flaming biscuit wheels.

Reply 52 of 73, by Harry Potter

User metadata
Rank Oldbie
Rank
Oldbie

Well...as a last resort, somebody online told me that the DOSBox emulator can work under Win98SE. DOSBox is a DOS emulator for Windows and other platforms. I don't remember the URL, but you should find it by Googling "dosbox emulator." I hope this helps. BTW, what are your current configs?

Joseph Rose, a.k.a. Harry Potter
Working magic in the computer community

Reply 53 of 73, by feda

User metadata
Rank Member
Rank
Member
badmojo wrote on 2024-07-04, 22:58:

This pack is likely the cause of OP's memory issues, and the reason he was told in another thread to get rid of it and learn the commands to create his own custom config.
Re: PC apparently goes between DOS and Windows

Reply 54 of 73, by Gmlb256

User metadata
Rank l33t
Rank
l33t

The starter pack from Phil was targeted at MS-DOS 6.22. It simply comes with CuteMouse and modified configuration files for beginners as many of them aren't knowledgeable enough to make a menu which are the best way to handle multiple scenarios with DOS games.

There is also a version for Windows 9x here that can be adapted by copying the configurations found within the PIF file.

VIA C3 Nehemiah 1.2A @ 1.46 GHz | ASUS P2-99 | 256 MB PC133 SDRAM | GeForce2 GTS 32 MB | Voodoo2 12 MB | SBLive! | AWE64 | SBPro2 | GUS

Reply 55 of 73, by feda

User metadata
Rank Member
Rank
Member

This is what mem /c /p should look like when

DEVICE=C:\WINDOWS\EMM386.EXE I=B000-B7FF HIGHSCAN RAM

is correctly applied. Lots of stuff gets moved to upper memory.

Reply 56 of 73, by Cursed Derp

User metadata
Rank Oldbie
Rank
Oldbie
feda wrote on 2024-07-05, 13:17:
This is what mem /c /p should look like when […]
Show full quote

This is what mem /c /p should look like when

DEVICE=C:\WINDOWS\EMM386.EXE I=B000-B7FF HIGHSCAN RAM

is correctly applied. Lots of stuff gets moved to upper memory.

637k free... That sounds awesome.

I am as smooth as a gravy train with flaming biscuit wheels.

Reply 57 of 73, by Cursed Derp

User metadata
Rank Oldbie
Rank
Oldbie

Can I see what a proper config.sys or autoexex would look like for my situation?

I am as smooth as a gravy train with flaming biscuit wheels.

Reply 58 of 73, by Cursed Derp

User metadata
Rank Oldbie
Rank
Oldbie

I only have 517k free.

I am as smooth as a gravy train with flaming biscuit wheels.

Reply 59 of 73, by Gmlb256

User metadata
Rank l33t
Rank
l33t
Cursed Derp wrote on 2024-07-05, 13:26:

Can I see what a proper config.sys or autoexex would look like for my situation?

CONFIG.SYS:

[COMMON]
DOS=HIGH,UMB,NOAUTO
FILESHIGH=30
BUFFERSHIGH=10
STACKS=9,256
FCBSHIGH=4,0
LASTDRIVEHIGH=H

[menu]
menuitem=EMC, Expanded memory + Mouse + CD-ROM
menuitem=XMC, Extended memory + Mouse + CD-ROM
menuitem=CMC, Conventional Memory only + Mouse + CD-ROM
menuitem=EM, Expanded memory + Mouse
menuitem=XM, Extended memory + Mouse
menuitem=CM, Conventional memory only + Mouse
menuitem=WIN, Windows 98

menudefault=EMC,10

[EMC]
INCLUDE=EM
DEVICEHIGH=C:\DRIVERS\VIDECDD.SYS /D:MSCD0001

[XMC]
INCLUDE=XM
DEVICE=C:\DRIVERS\VIDECDD.SYS /D:MSCD0001

[CMC]
INCLUDE=CM
DEVICE=C:\DRIVERS\VIDECDD.SYS /D:MSCD0001

[EM]
DEVICE=C:\WINDOWS\HIMEM.SYS /TESTMEM:OFF
DEVICE=C:\WINDOWS\EMM386.EXE I=B000-B7FF HIGHSCAN RAM
DEVICEHIGH=C:\WINDOWS\SETVER.EXE

[XM]
DEVICE=C:\WINDOWS\HIMEM.SYS /TESTMEM:OFF
DEVICE=C:\WINDOWS\SETVER.EXE

[CM]
DEVICE=C:\WINDOWS\SETVER.EXE

[WIN]
DEVICE=C:\WINDOWS\HIMEM.SYS /TESTMEM:OFF
DEVICE=C:\WINDOWS\IFSHLP.SYS
DEVICE=C:\WINDOWS\SETVER.EXE

AUTOEXEC.BAT:

@ECHO OFF
SET TMP=C:\WINDOWS\TEMP
SET TEMP=C:\WINDOWS\TEMP
SET PROMPT=$p$g
SET winbootdir=C:\WINDOWS
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND
SET SBPCI=C:\PROGRA~1\CREATIVE\AUDIO\DOSDRV
SET BLASTER=A220 I7 D1 H7 P330 T6
IF "%CONFIG%"=="WIN" GOTO WIN
C:\DOSDRV\SBLOAD
C:\DOSDRV\SBINIT.COM
GOTO %CONFIG%
:EMC
LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD0001 /E
GOTO EM
:XMC
:CMC
C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD0001
:EM
:XM
IF NOT "%CONFIG%"=="CMC" C:\WINDOWS\SMARTDRV.EXE /X
:CM
REM CuteMouse doesn't need LH as it gets loaded into UMB automatically
C:\DRIVERS\CTMOUSE.EXE /R2
GOTO DONE
:WIN
C:\WINDOWS\WIN.COM
:DONE

I reduced the number of BUFFERS to make disk caching utilities more effective and added an option to start Windows 98. 😀

Note that I don't know if there are any ROM chips in regions that could be used for UMB and the EMS page frame.

VIA C3 Nehemiah 1.2A @ 1.46 GHz | ASUS P2-99 | 256 MB PC133 SDRAM | GeForce2 GTS 32 MB | Voodoo2 12 MB | SBLive! | AWE64 | SBPro2 | GUS