VOGONS


Programs only using conventional memory

Topic actions

First post, by dosquest

User metadata
Rank Oldbie
Rank
Oldbie

Hey, I'm running into a problem. I'm trying to run corn cob flight 3D and it complains that it needs 560kb of free memory, but its only seeing my 640kb conventional memory and not touching my 30megs of extended mem. Is there a way to make a game see all system memory?

Doom isn't just a game, it's an apocalypse survival simulator.

Reply 2 of 21, by shamino

User metadata
Rank l33t
Rank
l33t

Extended memory can't be accessed the same as conventional, so really the only solution is to free up more conventional memory. Getting to 560K shouldn't be very hard, really you should try to get it higher than that because some games will want more.

I suggest posting a copy of the output of
mem /c
and also the contents of these files:
autoexec.bat
config.sys

This should provide all the info needed to make some specific suggestions.

Reply 3 of 21, by smeezekitty

User metadata
Rank Oldbie
Rank
Oldbie

Yeah you have 60k conventional unaccounted for.
That is a LOT. 600K free should be fairly easy to achieve.

What drivers and stuff are loaded at startup?

Reply 4 of 21, by dosquest

User metadata
Rank Oldbie
Rank
Oldbie

Smart drive, oak cdrom driver, mouse, sound blaster pro 2

Doom isn't just a game, it's an apocalypse survival simulator.

Reply 5 of 21, by dosquest

User metadata
Rank Oldbie
Rank
Oldbie

Why is DOS only allocating 640k? I can play doom I and II fine, what are the ram requirements for guide games?

Doom isn't just a game, it's an apocalypse survival simulator.

Reply 6 of 21, by smeezekitty

User metadata
Rank Oldbie
Rank
Oldbie
dosquest wrote:

Why is DOS only allocating 640k? I can play doom I and II fine, what are the ram requirements for guide games?

Because in real mode only 1 MB is addressable
And with memory mapped devices and the RAM usage of DOS itself 640k is the maximum that can accessed through normal means in real mode

Doom runs in protected mode so it can use all you RAM

What mouse driver are you using? I suggest you try cutemouse because it's tiny memory footprint
I don't know the memory consumption of the oak driver or SBP driver. Maybe it can be loaded high?

Reply 7 of 21, by Harekiet

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Should be easy to to get more than 600K free nowadays, especially with some of the newer memory drivers from freedos but good old himem and emm386 should manage it as well.
You should also make a dos boot menu where you can setup different configurations if you don't need a cdrom driver loaded or no ems/xms whatever.

Reply 8 of 21, by dosquest

User metadata
Rank Oldbie
Rank
Oldbie

How do I selectively start in protected mode? Or is it to do with dos4gw?

Doom isn't just a game, it's an apocalypse survival simulator.

Reply 9 of 21, by dosquest

User metadata
Rank Oldbie
Rank
Oldbie

I'll try using dos4gw extender.

Doom isn't just a game, it's an apocalypse survival simulator.

Reply 10 of 21, by smeezekitty

User metadata
Rank Oldbie
Rank
Oldbie

You can only run in protected mode if the software/game supports it.
Why are you so opposed to trying to minimize real mode memory usage?

Post the output of mem please

Reply 11 of 21, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
dosquest wrote:

Why is DOS only allocating 640k? I can play doom I and II fine, what are the ram requirements for guide games?

This is the way DOS games have worked forever, or at least before people started using DOS extenders as in Doom 1 and 2. It is surprising that this is the first time you have encountered this issue. Back in the day, freeing up enough of the 640k of base memory was a constant struggle; you sure as heck can't magically wave DOS4GW at everything and make the problem go away. Sometimes you can get away with running things from an MS-DOS prompt in Win9x, but usually that just brings in new, different problems. And you could, of course, just use DOSBox. See http://en.wikipedia.org/wiki/Conventional_memory .

As has been stated twice now, post the output of mem /c as well as your autoexec.bat and config.sys. You may also have a "memory hole" option enabled in your BIOS. See for example Conventional memory problem .

Reply 12 of 21, by dosquest

User metadata
Rank Oldbie
Rank
Oldbie

Sorry to leave you hanging. So I rebooted the system and miraculously it works. Evwn though there is still LESS free ram than it claims to need. Honestly don't know why its working now.

Doom isn't just a game, it's an apocalypse survival simulator.

Reply 13 of 21, by Mau1wurf1977

User metadata
Rank l33t++
Rank
l33t++

Dosquest you might find my new MS-DOS tutorials useful.

Especially the second one. It has a start-up menu and drivers ready to download:

http://www.philscomputerlab.com/ms-dos-tutorials.html

I have not run into a game that doesn't work with one of the menu options. Ultima VII works fine with menu option 3 with mouse and CD-ROM driver.

My website with reviews, demos, drivers, tutorials and more...
My YouTube channel

Reply 14 of 21, by dosquest

User metadata
Rank Oldbie
Rank
Oldbie

Thanks! That worked. Now I'm working on getting duse (usb) working.

Doom isn't just a game, it's an apocalypse survival simulator.

Reply 15 of 21, by dosquest

User metadata
Rank Oldbie
Rank
Oldbie

Here are my config and autoexec files. Any suggestions on further optimizing and performance boosts? I think its pretty good so far.

AUTOEXEC.BAT

SET SOUND=C:\SB16
SET BLASTER=A220 I5 D1 H5 P330 T6
C:\SB16\SB16SET /M:220 /VOC:220 /CD:220 /MIDI:220 /LINE:220 /TREBLE:0
C:\SB16\SBCONFIG.EXE /S
@ECHO OFF
PROMPT $p$g
PATH C:\DOS
SET TEMP=C:\DOS
LH C:\DRIVERS\CTMOUSE.EXE /R2
GoTo %config%
:EMCUSB
:XMCUSB
:CMCUSB
:EMC
:XMC
:CMC
LH C:\DOS\MSCDEX.EXE /D:OPTICAL
:EM
:XM
:CM

CONFIG.SYS

[COMMON]
DOS=HIGH,UMB
FILES=30
BUFFERS=30
LASTDRIVE=Z

[menu]
menuitem=EMCUSB, Expanded memory + Mouse + CD-ROM + USB
menuitem=XMCUSB, Extended memory + Mouse + CD-ROM + USB
menuitem=CMCUSB, Conventional Memory + Mouse + CD-ROM + USB
menuitem=EMC, Expanded memory + Mouse + CD-ROM
menuitem=XMC, Extended memory + Mouse + CD-ROM
menuitem=CMC, Conventional Memory + Mouse + CD-ROM
menuitem=EM, Expanded memory + Mouse
menuitem=XM, Extended memory + Mouse
menuitem=CM, Conventional memory + Mouse


menudefault=EMCUSB,30

[EMCUSB]
DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF
DEVICE=C:\DOS\EMM386.EXE RAM
DEVICEHIGH=C:\DRIVERS\VIDE-CDD.SYS /D:OPTICAL
DEVICE=C:\DRIVERS\USBASPI.SYS /w /v
DEVICE=C:\DRIVERS\DI1000DD.SYS

[XMCUSB]
DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF
DEVICEHIGH=C:\DRIVERS\VIDE-CDD.SYS /D:OPTICAL
DEVICE=C:\DRIVERS\USBASPI.SYS /w /v
DEVICE=C:\DRIVERS\DI1000DD.SYS

[CMCUSB]
DEVICEHIGH=C:\DRIVERS\VIDE-CDD.SYS /D:OPTICAL
DEVICE=C:\DRIVERS\USBASPI.SYS /w /v
DEVICE=C:\DRIVERS\DI1000DD.SYS


[EMC]
DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF
DEVICE=C:\DOS\EMM386.EXE RAM
DEVICEHIGH=C:\DRIVERS\VIDE-CDD.SYS /D:OPTICAL

[XMC]
DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF
DEVICEHIGH=C:\DRIVERS\VIDE-CDD.SYS /D:OPTICAL

[CMC]
DEVICEHIGH=C:\DRIVERS\VIDE-CDD.SYS /D:OPTICAL

[EM]
DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF
DEVICE=C:\DOS\EMM386.EXE RAM

[XM]
DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF


[CM]
Show last 2 lines

Doom isn't just a game, it's an apocalypse survival simulator.

Reply 17 of 21, by dosquest

User metadata
Rank Oldbie
Rank
Oldbie

Holy fast replies! 😁 Thanks for the tutorial, gonna look through your videos later. 😀 You seem to have some cool stuff.

Doom isn't just a game, it's an apocalypse survival simulator.

Reply 18 of 21, by adslh8yp

User metadata
Rank Newbie
Rank
Newbie

You can save a little more by setting the LASTDRIVE a little lower.
Unless you are using all the way to Z that is.

Reply 19 of 21, by dosquest

User metadata
Rank Oldbie
Rank
Oldbie

nah, it only goes up to E (if usb is plugged in, so I will make last drive G)

Doom isn't just a game, it's an apocalypse survival simulator.