Home > other >  How to don't use the BIOS disk to read and write
How to don't use the BIOS disk to read and write

Time:09-17

I ask, how in 32-bit or 64 - bit mode does not use BIOS directly read disk (do-it-yourself system use),

CodePudding user response:

Bare-metal access can disk I/O directly, ATAPI, SCSI, NVMe etc.

CodePudding user response:

Reference: https://wiki.osdev.org/ATAPI, this osdev is a very important hardware information website

CodePudding user response:

32 - or 64 - bit processors, when the CPU power up CS xf000 initial value is 0, IP xfff0 initial value is 0, this address points to is the address of the BIOS, so skip the BIOS also don't know how make,
Do you want to or reboot the system? If I really know what to do,
When the BIOS after processor will boot sector is loaded into the physical memory address 0 x7c00, boot sector is hard the first 512 bytes,
You write the first 512 bytes of hard drive you want to do with respect to OK,
Note: the content of the last two bytes must be 0 x55 and 0 xaa, otherwise is invalid,
  • Related