Mail Archives: djgpp/1998/05/06/06:56:56
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 -