delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/04/12:28:04

Message-ID: <19991004153356.8405.rocketmail@web1406.mail.yahoo.com>
Date: Mon, 4 Oct 1999 08:33:56 -0700 (PDT)
From: Prashant TR <prashant_news AT yahoo DOT com>
Subject: Finding physical memory size
To: djgpp AT delorie DOT com
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Hi everyone,

  Is there any means by which I can find out my total
physical memory size other than through DPMI ? I find
that some DPMI hosts like WINDPMI lie when I ask for
this information ? Ok. At least, how do I know that
I'm running CWSDPMI (from my program) ?

 I mapped the entire extended memory (my RAM size -
1M) to some variable "x". I'm using nearptr. But I get
a SIGSEGV when I try to access the address
x[__djgpp_base_address]. I know it's in use by the
program code, but is there a work around to this ?

Please help.

---
Prashant TR

=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

- Raw text -


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