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 websiteCodePudding 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,