|
From: Brian P. <br...@sg...> - 2002-04-16 06:09:08
|
I am currently reworking the boot sector code for freeloader and bit and I have a question on how I should handle the boot drive. When the BIOS loads the boot sector it puts the boot drive number in the DL register. But in all the MS boot sector code I've seen they don't rely on this. They rely solely on what the boot sector says the boot drive is. This seems to me like it might mess things up in a multiboot scenario. But I am also wondering how reliable the DL register is after programs like GRUB and LILO are through with it? Does anyone have any suggestions on which method is the preferred one? Brian |