www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/06/06:56:56

Date: Wed, 6 May 1998 13:55:20 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Simon Chen <simon AT project DOT com DOT tw>
cc: djgpp AT delorie DOT com
Subject: Re: physical memory
In-Reply-To: <354FE052.855CB808@project.com.tw>
Message-ID: <Pine.SUN.3.91.980506135250.1846K-100000@is>
MIME-Version: 1.0

On Wed, 6 May 1998, Simon Chen wrote:

> I'm a new hand in djgpp. Who can tell me how to calculate the physical
> memory address from memory buffer point?

Nobody can tell you that, because it's impossible in protected mode. 
Protected mode uses memory-mapping unit inside the CPU, and application
porograms cannot access the data structures where the CPU maintains the 
mapping tables.

Please explain why do you think you need the physical address.  Most such 
cases have other solutions, but you need to supply the description of 
your problem.

- Raw text -


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