delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/10/10:19:12

Date: Tue, 10 Jan 1995 09:30:21 +0500
From: hvb AT netrix DOT com
To: djgpp AT sun DOT soe DOT clarkson DOT edu, badcoe AT bsa DOT bris DOT ac DOT uk
Reply-To: hvb AT netrix DOT com

> 
> So how's it done ?  How do I find the real-address of a protected-mode address ?

You need to work out the entry from the GDT (Global Descriptor Table),
see the Intel manual. You have to read the Control Register (CR0-3)
then work out where every thing is.

I had some sample code, but I cannot find it right at this instance.
I will post it on this group when I find it.

==============================================================
Hung Bui                            Internet: h DOT bui AT ieee DOT org
Netrix Corporation                    Phone: +1 703 793 1016
13595 Dulles Technology Drive           Fax: +1 703 713 3805
Herndon Va 22071
==============================================================


- Raw text -


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