Hi! 12-Сен-2004 16:55 [EMAIL PROTECTED] (Luchezar Georgiev) wrote to [EMAIL PROTECTED]:
LG> Hallo Tom, >>>> "D:"==second disk? Second disk is a 81h value. >>> Only 0 and 80 are used by MS-DOS. All other values are "FreeDOS >>> extensions" ;-) >> are you SURE ? Strange, I not seen letters with these discussions (after I send my letter with sentence from top). B-\ LG> Just checked that, and now I'm even more sure. (Rhetoric question) How you checked this? Anyway, you may store into boot record fixed value for boot drive or even precompute partition properties, but sure: later, with advanced tools, you will have the troubles (like there was troubles with Partition Magic, which resizes partition, when our boot code was contains some precomputed by SYS values). So, again: why not use BIOS information which it passes to us (and, thus, make less flexible/rocksolid solution)?! >> I remember a BIOS that had the option to boot from 2'nd drive. >> this only makes sense if DOS then boots from 0x81. LG> My AwardBIOS here for example does have such a feature. However, when I LG> look at the boot record of my second hard drive, I see again boot drive = LG> 80. Do you try to boot from second drive with this boot record (which contains 80h)? And it boots fine (without accessing first disk)? LG> So, BIOS probably swaps "Probably"?! In this case it not need to pass to boot code information about boot drive! LG> the hard drives in this case, much the same LG> way it can swap the floppy drives A: and B:, if that feature is enabled. See the difference: _swap_ A/B and _boot_ C or D. LG> And if so, our "extensions" will be in conflict with the BIOS. "Will"? Do you mean, that currend FD boot record (with FFh mask) doesn't work when loading FD from second disk?! LG> Therefore, LG> I propose to set the default boot drive to 0 for A/B (as it is now), 80 LG> for C/D and FF in all other cases, unless /B specified. ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel