Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
#111530 - 12/07/17 03:30 PM DOS memory management  
Joined: Apr 2015
Posts: 357
EoceneMiacid Offline
Senior Member
EoceneMiacid  Offline
Senior Member

Joined: Apr 2015
Posts: 357
Hi,

Lately I've been having some fun setting up my ideal DOS machine in MAME, but it's been at least two decades since I've worked with autoexec.bat's and config.sys's, so I'm probably a bit rusty.

I used the preformatted 2Gb HD image and the Win98 boot disk (from the 'MESS OS installs' thread) to start with. I sys'ed c:, copied the DOS utilities to c:\dos and put c:\dos in the path. CDRom and mouse drivers are loaded.

The only problem I run into is that DOS doesn't appear to use any upper memory at all.

This is my config.sys at the moment:

Code
DEVICE=C:\DOS\HIMEM.SYS
DOS=HIGH,UMB


And this is autoexec.bat:

Code
SET PATH=C:\DOS


If I boot with this configuration and run mem I get:

[Linked Image]

So what's wrong here?

Last edited by EoceneMiacid; 12/07/17 09:28 PM.
#111532 - 12/07/17 03:35 PM Re: DOS memory management [Re: EoceneMiacid]  
Joined: Jan 2012
Posts: 711
crazyc Offline
Senior Member
crazyc  Offline
Senior Member

Joined: Jan 2012
Posts: 711
You need emm386 or some other pmode memory manager like qemm to use umbs.

#111533 - 12/07/17 03:45 PM Re: DOS memory management [Re: EoceneMiacid]  
Joined: Apr 2015
Posts: 357
EoceneMiacid Offline
Senior Member
EoceneMiacid  Offline
Senior Member

Joined: Apr 2015
Posts: 357
With this line present in config.sys:

Code
DEVICE=C:\DOS\EMM386.EXE


... and rebooting, mem returns the same values.

Whether I use DEVICE or DEVICEHIGH, LOAD or LOADHIGH doesn't make a difference, it's all loaded in conventional memory.

#111534 - 12/07/17 03:49 PM Re: DOS memory management [Re: EoceneMiacid]  
Joined: Jan 2012
Posts: 711
crazyc Offline
Senior Member
crazyc  Offline
Senior Member

Joined: Jan 2012
Posts: 711
I think use need to use the ram or noems switch for emm386 to map the umb.

#111535 - 12/07/17 03:55 PM Re: DOS memory management [Re: EoceneMiacid]  
Joined: Apr 2015
Posts: 357
EoceneMiacid Offline
Senior Member
EoceneMiacid  Offline
Senior Member

Joined: Apr 2015
Posts: 357
Oh wait a sec, found the problem. emm386.exe isn't present on the win98 boot disk. The file's simply not present ;x I foolishly assumed it was.

Last edited by EoceneMiacid; 12/07/17 09:29 PM.
#111536 - 12/07/17 04:21 PM Re: DOS memory management [Re: EoceneMiacid]  
Joined: Apr 2015
Posts: 357
EoceneMiacid Offline
Senior Member
EoceneMiacid  Offline
Senior Member

Joined: Apr 2015
Posts: 357
But copying the the latest version of emm386.exe (and the NOEMS switched added), still doesn't make a difference?

Last edited by EoceneMiacid; 12/07/17 09:30 PM.
#111537 - 12/07/17 06:37 PM Re: DOS memory management [Re: EoceneMiacid]  
Joined: Jan 2012
Posts: 711
crazyc Offline
Senior Member
crazyc  Offline
Senior Member

Joined: Jan 2012
Posts: 711
The at486 driver with device=emm386.exe ram and dos=high,usb gives me 28K of umb ram. C8000 though D8000 is the ems page frame so it could have 64K more with noems.

#111538 - 12/07/17 06:49 PM Re: DOS memory management [Re: EoceneMiacid]  
Joined: Apr 2015
Posts: 357
EoceneMiacid Offline
Senior Member
EoceneMiacid  Offline
Senior Member

Joined: Apr 2015
Posts: 357
That's it - by switching to the at486 driver (instead of the ct486 which I used) but using the same disk image, the problem is fixed now:

[Linked Image]

Last edited by EoceneMiacid; 12/07/17 09:28 PM.
#111539 - 12/07/17 06:55 PM Re: DOS memory management [Re: EoceneMiacid]  
Joined: Jan 2012
Posts: 711
crazyc Offline
Senior Member
crazyc  Offline
Senior Member

Joined: Jan 2012
Posts: 711
The cs4031 chipset in the ct486 driver permits detailed configuration of the memory layout. There might be settings in the bios that will make emm386 work.

#111540 - 12/07/17 08:24 PM Re: DOS memory management [Re: EoceneMiacid]  
Joined: Apr 2015
Posts: 357
EoceneMiacid Offline
Senior Member
EoceneMiacid  Offline
Senior Member

Joined: Apr 2015
Posts: 357
Good to know. I'll stick to at486 for now.

Page 1 of 2 1 2

Who's Online Now
5 registered members (Pernod, box, ted, F1ReB4LL, 1 invisible), 20 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,456
Posts109,747
Members4,768
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.048s Queries: 15 (0.016s) Memory: 5.0114 MB (Peak: 5.2565 MB) Zlib enabled. Server Time: 2017-12-15 21:27:36 UTC