From: "A. Sinan Unur" 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: Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0007.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 30 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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. *******************************************************************