Jump to content











Photo
- - - - -

Dos memory management, grub?


  • Please log in to reply
2 replies to this topic

#1 betrand

betrand

    Frequent Member

  • Advanced user
  • 467 posts
  •  
    France

Posted 01 February 2013 - 02:58 PM

Any old Doser remember how to keep Dos memory big enough for some games?

I don't the game here but I think it's conventional mem, too low.

I use himem.sys (rather, himemx.exe), and the image is loaded by Grub4dos.

When grub loads an image in memory, that image I assume takes some space.

Is that taken into account when the available memory is counted by  (Free)Dos?

And is there perchance a switch to tell Grub4dos to load at another memory,

some memory Dos wouldn't see as it's own?

 

Thank you.

To refresh, http://www.pcmag.com...&i=41825,00.asp



#2 bblaauw

bblaauw

    Frequent Member

  • Advanced user
  • 105 posts
  •  
    Netherlands

Posted 01 February 2013 - 05:54 PM

You'd need to paste the output generated by "MEM /C" as well as the contents of CONFIG.SYS and AUTOEXEC.BAT

 

Generally for config.sys you'd want to do the following:

1) load XMS driver

2) load UMB driver

3) DOS=HIGH

4) DOS=UMB

 

Devicehigh and LH also help loading programs in UMBs. As for GRUB, MEMDISK etc, they all load the disk image to top of memory, and make it invisible to DOS's memory management. Thus, you'll see a reduced amount of extended memory (XMS) when running MEM.


  • betrand likes this

#3 betrand

betrand

    Frequent Member

  • Advanced user
  • 467 posts
  •  
    France

Posted 06 February 2013 - 05:44 PM

Thanks Bblaauw.

It was a UMB problem.

I got a driver, now the game runs.

I also used (Freedos') mem.exe, it's helpful.

 

The problem with Umb drivers is that there are conflicts and crashes,

so the best is to do a multiboot menu, -with , -without.

If you know you are going to play a game /prog wich requires an amount conventional

memory, run with UMB driver. Otherwise if you want a "normal" Dos session, go with himem driver only.

 

Also, using LH while with UMB driver enabled, might result in crashes.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users