The trouble is that most SYSes don't bother to set this value - they just copy the whole data area from the old boot sector and replace only the code and OEM ID. So the FF remains there. Verified.
_And_ their boot code reuse this field?
Yes. No DOS boot sector trusts BIOS DL value like us... (Because as I wrote it just can't be trusted very much)
Well, right now I look at boot code of MS-SYS6, and found, that it not uses 24h offset itself
Wrong. The read sector subroutine does use it. See http://www.kzin.com/bootsec/dos5pbra.txt
but pass value from there to kernel.
So the kernel uses it too, thus it's even more important.
I not check what SYS does with original 24h field, but image inside SYS contains 80h value, so I doubt that MS-SYS preserves this field.
That the image in SYS contains 80 doesn't prove nothing. Again, it hurts to be smart when eveyone else is dumb :)
-------------------------------------------------------
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