Real Mode
In the 8086 processor, the IDT resides at a fixed location in memory from address 0x0000
to 0x03ff
, and consists of 256 four-byte real mode pointers (256 × 4 = 1024 bytes of memory). In the 80286 and later, the size and locations of the IDT can be changed in the same way as it is done in protected mode, though it does not change the format of it. A real mode pointer is defined as a 16-bit segment address and a 16-bit offset into that segment. A segment address is expanded internally by the processor to 20 bits thus limiting real mode interrupt handlers to the first 1 megabyte of addressable memory. The first 32 vectors are reserved for the processor's internal exceptions, and hardware interrupts may be mapped to any of the vectors by way of a programmable interrupt controller.
A commonly used x86 real mode interrupt is INT 10
, the Video BIOS code to handle primitive screen drawing functions such as pixel drawing and changing the screen resolution.
Read more about this topic: Interrupt Descriptor Table
Famous quotes containing the words real and/or mode:
“The image cannot be dispossessed of a primordial freshness, which idea can never claim. An idea is derivative and tamed. The image is in the natural or wild state, and it has to be discovered there, not put there, obeying its own law and none of ours. We think we can lay hold of image and take it captive, but the docile captive is not the real image but only the idea, which is the image with its character beaten out of it.”
—John Crowe Ransom (18881974)
“The love of their country is with them only a mode of flattering its master; as soon as they think that master can no longer hear, they speak of everything with a frankness which is the more startling because those who listen to it become responsible.”
—Marquis De Custine (17901857)