Date: Wed, 6 May 1998 13:55:20 +0300 (IDT) From: Eli Zaretskii To: Simon Chen cc: djgpp AT delorie DOT com Subject: Re: physical memory In-Reply-To: <354FE052.855CB808@project.com.tw> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.