From: JP Morris Newsgroups: comp.os.msdos.djgpp Subject: Re: PMode Newbie question Date: Mon, 20 Jul 1998 17:35:43 +0100 Message-ID: <35B371DF.217FF079@calderauk.com> References: Reply-To: b52g AT usa DOT net NNTP-Posting-Host: no-dns-yet.demon.co.uk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 28 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Eli Zaretskii wrote: > > On Mon, 20 Jul 1998, JP Morris wrote: > > > > If you care about the free physical memory, use the function > > > _go32_dpmi_remaining_physical_memory. It returns only one number ;-). > > > > Does this function work in all cases, or does it rely on information > > that is not necessarily provided by all DPMI servers? > > Physical memory is supported by all servers, AFAIK. > > (It's so much easier to try than to ask that I don't even understand why > are you asking.) There are three reasons for asking: Firstly because it's not documented in INFO or in the version of the FAQ, I have, (and I have those to hand). Secondly because querying the DPMI using the alternative call -doesn't- work on all DPMI servers that I've tried it on, I think it may use some 1.0 extensions which are not univerally supported. Thirdly because I don't have a DPMI server that fails on this close to hand, and finally because you seem to know everything there is to know about the DJGPP memory systems, so I was considering you the definitive authority :-)