Re: MBR
Posted: Sat Jan 30, 2010 1:04 am
> For very old hard drives, and for "USB emulating hard disk" (with some new USB flash devices); you can't assume that there's 63 sectors per track.
You don't have to. The BIOS Int can load up to (SPT * Heads) sectors or 127, whichever is less. I was just picking a low number. 36 is the limiting number.
> That technique may have been Microsoft's technique before it became a "de facto" standard for PCs.
Yes, but just because everybody before you was stupid is not a good excuse to be stupid too.
> You also can't assume that the MBR is your MBR.
Maybe yes, maybe no. You can make it a prerequisite if you want. But if it saves 2 loading steps, it may be a good idea to test, to see if the previous boot stage was smart enough to load your entire program.
You don't have to. The BIOS Int can load up to (SPT * Heads) sectors or 127, whichever is less. I was just picking a low number. 36 is the limiting number.
> That technique may have been Microsoft's technique before it became a "de facto" standard for PCs.
Yes, but just because everybody before you was stupid is not a good excuse to be stupid too.
> You also can't assume that the MBR is your MBR.
Maybe yes, maybe no. You can make it a prerequisite if you want. But if it saves 2 loading steps, it may be a good idea to test, to see if the previous boot stage was smart enough to load your entire program.