www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/11/15/17:46:08

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: FYI, possible Windows DPMI fix for XP (and Vista) by Japheth
Date: Sat, 15 Nov 2008 14:40:31 -0800 (PST)
Organization: http://groups.google.com
Lines: 39
Message-ID: <1185479c-e87b-4555-96f2-d9199c3cb35a@d36g2000prf.googlegroups.com>
References: <gfmeve$57f$1 AT aioe DOT org>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1226788831 11953 127.0.0.1 (15 Nov 2008 22:40:31 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Sat, 15 Nov 2008 22:40:31 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: d36g2000prf.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4)
Gecko/2008102920 Firefox/3.0.4,gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id mAFMj6vY017106
Reply-To: djgpp AT delorie DOT com

Hi,

On Nov 15, 6:22 am, "Rod Pemberton" <do_not_h DOT  DOT  DOT  AT nohavenot DOT cmm> wrote:
> "NTDPMIX: NTDPMIX is a DPMI TSR which improves NTVDM's DPMI implementation.
> Might be useful for native DOS-extended applications. Source is included."http://www.japheth.de/dwnload4.html
>
> It appears Rugxulo also mentioned Japheth's NTDPMIX as a solution to
> overcoming Vista's 32MB DPMI malloc limit here:http://www.trnicely.net/misc/vista.html
>

Yes, it works, but I think it has some stability issues (e.g. shelling
out from GDB seems to crash the NTVDM for me). It was mainly meant to
improve XP's DPMI host, so anything else is more of a side effect.
(BTW, it was formerly named HXNTVDM. He renamed it recently and fixed
a bug in int 31h, 503h.)

This still doesn't help apps that expect realistic values of memory
available (e.g. GO32-V2 reports bogus values on Vista).

> Modified versions of DOSBox are also mentioned since it uses the Win32 api's
> directly...

DOSBox can only handle max. 64 MB of RAM, and since it's full cpu
emulation, it's very very very slow (i.e. not recommended for
compiling). Even QEMU isn't nearly fast enough. This is why I
recommend using the Vista SP1 registry hack, if possible, since speed
is pretty good (as good as XP, which I foolishly expected since day
one).

HKLM\System\CurrentControlSet\Control\Wow\DpmiLimit     (dword, e.g.
128000000)

So, before people start jumping on my back for using DOS apps on
Windows, let me say this:   until x86-64 becomes common, V86 is our
friend and MUCH faster than emulation.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019