www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/18/21:03:59

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Creating PIFs (WAS Re: Allegro problems)
Date: Sun, 18 May 1997 17:29:44 -0400
Organization: Cornell University http://www.cornell.edu
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <337F74C8.409B@cornell.edu>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970518174002 DOT 16797J-100000 AT is>
Reply-To: asu1 AT cornell DOT edu
NNTP-Posting-Host: cu-dialup-0007.cit.cornell.edu
Mime-Version: 1.0
Lines: 30
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii wrote:
> 
> Btw, Windows 3.x doesn't have any DPMI settings on the PIF, you need 
> to set the XMS limit to -1 instead.  As for Windows 95, I don't know 
> what's in its PIF and whether DPMI is there.  Anybody?

in win 95, right-clicking on the msdos program's filename brings up a
menu from which you can choose properties to edit the pif for that
program. the property sheet has, among others, a page named "Memory"
where you can set the dpmi option. the max amount in the pulldown list
is 16 Mb. ignore that and set it to 64 Mb (65536 Kb) manually to get the
max possible virtual memory for dos programs.

some time ago there was an article in dr dobbs on how to
programmatically set pif info in win 95. if (generic) you are
interested, you can search their web site at http://www.ddj.com for
source code. if anyone is really desperate, i can go through the issues
i have to see if i can find a reference to the article.

-- 
   Sinan
 
*******************************************************************
 A. Sinan Unur                                WWWWWW
                                              |--O+O
 mailto:sinan DOT unur AT cornell DOT edu                C   ^ 
 http://www.people.cornell.edu/pages/asu1/     \  ~/ 

Unsolicited e-mail is _not_ welcome, and will be billed for.
*******************************************************************

- Raw text -


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