Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Vista DPMI limit fix(es) (Miscellaneous)

posted by Rugxulo Homepage, Usono, 05.06.2008, 01:45

> > EDIT: Even DOSEMU has a DPMI limit of ~ 20 MB by default, but if you
> "cp
> > dosemu/conf/dosemurc ~/.dosemurc ; sed -i '/$_dpmi.*5000)/s/5000/A000/'
> > ~/.dosemurc" it should be more comfortable.
>
> The DosEmu default setting is documented and it also hasn't been
> introduced recently, but exists since the DPMI host has been added. The MS
> "solution" - an undocumented switch in the registry, which is inaccessible
> for DOS applications - is an impudence.

Well, 20 MB is far far too low for DPMI limit, as is 32 MB. I only say 40 MB is more comfortable because at least then you can use the latest gcc -O3 without problems (well, for normal-sized projects, I haven't tried rebuilding GCC itself or anything under such restraints, almost definitely won't work, even documented NOT to work, even for old 2.953). As mentioned, even my circa 1996 P166 has 32 MB of RAM. So anything written before that date may run but not necessarily stuff from afterwards. (Some people actually think newer DOS programs haven't been written since then!! And yet, I saw C++ Without Fear [Brian Overland, 2005] in the bookstore today, which comes with DJGPP/RHIDE on CD-ROM.)

EDIT: I still say if you're worried about a spurious DPMI app allocating all memory, set the limit to 25% of free RAM, not some arbitrary amount like xx MB (which could be a measly 4% of total memory, ugh).

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 255 users online (1 registered, 254 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum