delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/23/16:02:06

Date: Thu, 23 Sep 1999 11:56:46 -0700
Message-ID: <vines.Vm1E+iTburB@ptlsjlab1.phoenix.com>
X-Priority: 3 (Normal)
To: <djgpp AT delorie DOT com>
From: <johnny_chan AT phoenix DOT com> (Johnny Chan)
Subject: How to get the full address map of physcial RAM in DJGPP
X-Incognito-SN: 1587
X-Incognito-Version: 5.0.1.89
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

I am brand new in protected mode programming. Here are some questions.

Does anybody know how to find out the exact physical memory mapping in the system using DJGPP? 
As we all known, under 32bit protected mode, the system address bus can support up to 4GB of memory, but physically, only certain amount of RAM (32, 64, 128MB..etc) is existed. How can I get the full address map of the system RAM? any idea how to do that in DJGPP?

Also, how do I know if which portion of memory is used for system (ie IO.SYS) and driver (VGA.BIN)? I know BIOS, DOS and DPMI host, each of them should carry some of the information. Anyway to gather this information together? Any function I can use to do this job?
please help.

--jC

- Raw text -


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