What information does BIOS load into RAM?

前端 未结 3 729
夕颜
夕颜 2021-02-07 21:36

I know that, on booting, BIOS loads the first sector (512 bytes) of a pre-defined device drive on memory 0x7c00 and then jump to that address.

So, memory from 0x7c00 to

3条回答
  •  一生所求
    2021-02-07 22:05

    With any remotely recent BIOS, you can obtain memory map information by using the BIOS Int 15/AX=E820h call. This will tell you what memory you can use for your OS.

    A more detailed explanation on how to detect available memory, and the contents of the BIOS memory map can be found at OSDev.

提交回复
热议问题