X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: BUGs in DJGPP documentation & CWSDPMI please fix Date: Thu, 06 Jul 2006 22:25:24 CDT Organization: Rice University, Houston, TX Lines: 14 Message-ID: <44add424.sandmann@clio.rice.edu> References: <1152191575 DOT 331362 DOT 184600 AT m73g2000cwd DOT googlegroups DOT com> NNTP-Posting-Host: clio.rice.edu X-Trace: joe.rice.edu 1152243320 29253 128.42.105.3 (7 Jul 2006 03:35:20 GMT) X-Complaints-To: abuse AT rice DOT edu NNTP-Posting-Date: Fri, 7 Jul 2006 03:35:20 +0000 (UTC) X-NewsEditor: ED-1.5.9 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > Further, there seems to be a minor bug in CWSDPMI: > > The "__dpmi_get_version", oficially present in DPMI 0.9, > reports "Virtual memory supported" flag always 1, even > if I disable SWAP using CWSPARAM. Would it be possible > to fix this ? Thanks. Yes, it would be possible, but not high on my priority list. In exphdlr.c - around line 1126 - instead of a hard coded 5, setting or clearing the mask "4" in the value based on if dalloc_max_size() is zero would theoretically fix this. You can see in the comment in the code another minor bug - it always claims to use V86 mode for interrupts, when this isn't always true.