BIOS and real mode

They say that the bios program can only be seen in real mode, it is also known that the BIOS is stored in ROM, but what the CPU displays RAM, usually, does this mean in real mode, some memory space is mapped to ROM, so we can see bios program.

+3
source share
1 answer

Physical address space is more than just RAM. It contains ROMs and memory-mapped devices such as APIC and video memory. The main reason you cannot use the BIOS outside of real mode is because it was recorded for use in real mode. Some functions may work in 16-bit protected mode, and will work more in Virtual 8086 mode, but trying to call the wrong function may cause your system to crash. In addition, interrupts work differently in protected mode than in real mode, so you have to reassign functions.

, BIOS , - . - . , , , , , . ROM - , .

+4

All Articles