Hallo Eric,

I think there should be a command line option for SYS, yes.

Jeremy already implemented an option to choose the exact value of stored boot drive if the target SYS drive is not a floppy. The default value is FF, as it was before. I'd use 80, for example.


For floppy, I vote for default 00.

Of course.

For harddisk, I am undecided. Only very few boot managers fail to pass the correct drive number to the boot sector. Some even need the boot sector to follow the value (e.g. you should be able to boot FreeDOS from drive 0x81 with help of the LILO "table" option).

I remember that Bart or someone else pointed out to a buggy Toshiba BIOS which had inspired the FF kludge. But I doubt that there are other such buggy BIOSes to justify keeping that kludge further.


My suggestion - maybe kludgy - would be to STORE a value of 80 but to USE the value passed by the MBR / boot manager!

Good suggestion! I agree with you, however patching the boot sector isn't something I like :-/


Recently we had a boot sector which used "shift register by 4 bits" opcode. Oops.

Jeremy already fixed that. Rejoyce, 8088-ers ;-)

I don't like very much having to patch one more value in the boot sector... The latest SYS now has the option, so the issue is now somewhat solved. Jeremy will decide whether to follow your advice.

Thanks,
Lucho


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

Reply via email to