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:
“Although a firm swat could bring a recalcitrant child swiftly into line, the changes were usually external, lasting only as long as the swatter remained in view....Permanent transformation had to be internal....The habits of self discipline, as laborious and frustrating as they were to achieve, offered the only real possibility of keeping children safe from their own excesses as well as the omnipresent dangers of society.”
—Mary Kay Blakely (20th century)
“The mode of founding a college is, commonly, to get up a subscription of dollars and cents, and then, following blindly the principles of a division of labor to its extreme,a principle which should never be followed but with circumspection,to call in a contractor who makes this a subject of speculation,... and for these oversights successive generations have to pay.”
—Henry David Thoreau (18171862)