VOGONS

Common searches


First post, by bubba

User metadata
Rank Newbie
Rank
Newbie

I have an old DOS application which is extreamly memory hungry. In order for it to function under Dos 5.0 it requires the following setting in config.sys which allows the program to also use upper memory to run.

DEVICE = c:\dos\himem.sys
DEVICE = c:\dos\emm386.exe noems i=a000-b7ff x=e000-efff
DOS = high, umb
FILES = 30
BUFFERS = 30
BREAK = off
DEVICE = c:\dos\smartdrv.sys 4000
SHELL = c:\command.com /p /e:1024

How can I emulate the same memory set up in dosbox. What edits are required to the dosbox config file ?

Reply 2 of 6, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

uhm disable ems in the configfile
the rest should be okay
ems=false in dosbox.conf (look for ems=true)
but I think it doesn't really matter. it should just work. if it doesn;t then you are out of luck

Did you actually try it ?

Water flows down the stream
How to ask questions the smart way!

Reply 3 of 6, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author
HunterZ wrote:

Have you tried running it in DOSBox to see what happens? DOSBox reports more conventional memory free than normal DOS I think.

yes. more than possibly free in real dos actually.

Water flows down the stream
How to ask questions the smart way!

Reply 4 of 6, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

Heh, they wanted to have as much memory as possible and used smartdrive disk cache. Morons. 😁

My config would be as follows..

DEVICE = c:\dos\himem.sys
DEVICE = c:\dos\emm386.exe RAM {never liked including/excluding. EMM386 is a poor excuse for a 386 EMS mem. manager}
DOS = high, umb
FILES = 30
BUFFERS = 20,0
FCBS = 1 {not usually needed except for some very old programs}
BREAK = off
rem DEVICE = c:\dos\smartdrv.sys 4000
SHELL = c:\command.com /p {who needs more environment space than default?}

God. How I miss the good ole' ms-dos crappy memory management days. What a nightmare... 😁

Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
8 GB GeForce GTX 1070 G1 Gaming (Gigabyte)

Reply 5 of 6, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

eL_PuSHeR, it looks like bubba is including those ranges for use as UMBs, as he has NOEMS set for emm386. Also, how many bytes was the default environment for command.com?

Reply 6 of 6, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

I think the default environment space for command.com was 256 but I am not sure right now.

Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
8 GB GeForce GTX 1070 G1 Gaming (Gigabyte)