Re: why LIDT needed in Real Mode?



On 12/30/2005 2:54 AM, Wendy E. McCaughrin wrote:
I note in much working Pmode code that a necessary part of the transition
back to Real Mode is: LIDT [RM_IDT], where `RM_IDT' is a descriptor for an
IDT with limit = 64K and base-address = 0, coinciding with the Real-Mode
IVT. Why is this necessary, since Real Mode does not use the IDTR? Or does
it?

As noted, RM does use the IDT.

FWIW, you can read more about the transition from PM to RM at

http://www.sudleyplace.com/pmtorm.html

--
_________________________________________
Bob Smith -- bsmith@xxxxxxxxxxxxxxxxxxxxx
a.k.a.	     bsmith@xxxxxxxxxxxxxxxxxx

To reply to me directly, delete "despam".

.



Relevant Pages