Date: Thu, 27 Aug 1998 14:33:43 +0300 (IDT) From: Eli Zaretskii To: sl AT psycode DOT com cc: djgpp AT delorie DOT com Subject: Re: Remaining memory under OS/2 question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 26 Aug 1998 sl AT psycode DOT com DOT REMOVE_THIS wrote: > > I'm using _go32_dpmi_remaining_physical_memory() function to find the > > remaining memory and I fing it very useful. But I can't use this > > function if I'm running my program under OS/2 dos box., it just shows > > some very big value and doesn't change in the course of the program. > > Anyone knows how to check available memory under OS/2? > > I'd appreciate a pointer to a place where I can find out more about > > memory management in the dos box of OS/2 (if there is one). > > I have the same problem =) HELP! I don't have access to OS/2, so I cannot help you without some effort on your part. First, I'd like to see what do other DPMI functions which report memory return. And second, please tell what ``very big value'' is returned by `_go32_dpmi_remaining_physical_memory'.