In a message dated 02-25-97, Bob Seaborn said to Jonathan de Boyne Pollard
about Dpmi Parameters
Hi Bob,
>DN> I suggested
>DN> this value because all DOS/4GW programs that will run under real mode
>DN> DOS [switched to DPMI] will also run in a VDM provided DPMI_DOS_API
>DN> is ENABLED and DPMI_MEMORY_LIMIT is 32 or more -- unless they do
BS> Are you suggesting that when I run a program on Warp 4 in a DOS
BS>box, that normally requires the use of DOS4GW.EXE, I can
BS>configure things so that DOS4GW is neither needed nor used?
This is correct. The DOS4GW.EXE program establishes a DPMI server and the
application is a DPMI client. In a VDM the DPMI server is built-in so you
don't need to run your application via DOS4GW.EXE.
BS> If so, I'd sure appreciate an example and how to set it up, please.
The quote of one of my earlier messages, above, tells you how to set up your
VDM object to run DOS/4GW programs. These parameters are in the settings
notebook opened when you single-click the VDM object's icon with the right
mouse button. They are on the "session" page behind the "DOS Settings"
pushbutton.
This method has another advantage, to which Jonathan alluded. Using
DOS4GW.EXE imposes a limit of 32MB of DPMI memory. The VDM-supplied server
offers a theoretical maximum of 512MB. In practice, the maximum is usually
around 450MB, due to shared memory pages occupying some of the tiled area of
the VDM's virtual address space. Of course, if you push this limit you had
better have half a gigabyte or so of space for SWAPPER.DAT.
Regards
Dave
___
* MR/2 2.25 #353 * Scratch and Sniff-> XXXXXXXXXXXXXX Smells like glass,
?
--- Maximus/2 3.01
---------------
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
|