In the piece of memory between 0x0 and 0x3FF, there is the IVT right?
The IVT is a 4-byte entry table. Each entry points to the code of an interrupt...
If I parse that zone of memory, I can find the code of the ints, can't I?
Then I can create some IDT descriptors (0x30 = int 0, 0x31 = int 1, ...) with as base, the value I found in the table (adapted for protected mode)
Can I do all this wonderful things? Or when switching to pmode, the IVT goes lost?
IVT and Protected mode
- AlfaOmega08
- Member
- Posts: 226
- Joined: Wed Nov 07, 2007 12:15 pm
- Location: Italy
-
- Posts: 12
- Joined: Sat Feb 02, 2008 5:49 pm
The IVT is not lost when you switch to protected mode. It may be possible to do as you suggest using the right call gates; as I recall they could be set to transfer execution between 32 and 16-bit code.
Check out chapter 16 of the Intel Software Developer's Manual Volume 3A
- TJ
Check out chapter 16 of the Intel Software Developer's Manual Volume 3A
- TJ