Hi! > > Only 0 and 80 are used by MS-DOS. ... > I remember a BIOS that had the option to boot from 2'nd drive. > this only makes sense if DOS then boots from 0x81.
Therefore I vote for a SYS option which lets you decide whether or not the 0x80 in the boot sector will be used. The DEFAULT should be, in my opinion, to accept the value from the boot manager / MBR / BIOS for harddisks. For floppy, 0 will be in the boot sector, and the DEFAULT should probably be to ignore the value from the BIOS / boot manager. So: - no more 0xff - always write 0 or 0x80 - allow control (patching, e.g. "mov variable,reg <-> mov reg,variable") of the actual source (value from caller versus value in boot sector) of the used boot drive number. Eric PS: I think in Lilo you use table=... to set the drive, and in Grub you can only set the value implicitly by selecting the to-be-booted partition. In both Lilo and Grub you can "map" drives: A small resident part stays in RAM and re-assigns drive numbers. This should only be needed for boot sectors which are too unflexible to boot from another drive than 0x80... ------------------------------------------------------- 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