-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update FreeDOS FAT16 boot record? #2161
Comments
I'm going to defer this issue for now as it doesn't look like there's much of an impact and I'd like to know what the actual differences are. Most of the FreeDOS updates I've seen for bootloaders in the past had to do with elements that had little to do with USB boot on modern machines, so I don't think it's worth rushing into updating something that, as far as I know, works just fine for our use. Thanks for reporting on this though. |
I opened FDOS/kernel#99 btw. |
With
It changes two bytes at offsets 0x178 and 0x179: -00000170 bb aa 55 8a 56 24 84 d2 74 19 cd 13 72 15 d1 e9 |..U.V$..t...r...|
+00000170 bb aa 55 8a 56 24 84 d2 90 90 cd 13 72 15 d1 e9 |..U.V$......r...| https://github.com/FDOS/kernel/blob/ke2043/sys/sys.c#L1576-L1582 This "fat16lba" boot record I suppose is better for Rufus? |
From what I can see, the version of The differences to ;
; Note: some BIOS implementations may not correctly pass drive number
; in DL, however we work around this in SYS.COM by NOP'ing out the use of DL
; (formerly we checked for [drive]==0xff; update sys.c if code moves)
;
mov [drive], dl ; rely on BIOS drive number in DL There have been a few more changes since, and a few more after the project moved to GitHub in 2012. For good measure I looked at the changes for I'm still not super convinced that updating the FAT16 code is worth the trouble, since most people are expected to use drives that are large enough for FAT16 to be more or less irrelevant, but I'll see what I can do. |
For me is always cool have latest versions of everything: FAT16 BR updated to |
I get you, but this creates 2 issues:
Again, that's not to say I won't update the FAT16 boot record, but, in the absence of a clear "we need this latest version because otherwise, there is this scenario where X doesn't work") it's going to be a very low priority for me. |
Well, Rufus has
Understood. I can give it some testing if you need. |
Well, I got to chose my battles (meaning I have to choose what I spend my limited time on) and submitting a patch to ms-sys and then following up on it just to update on something that has not yet been demonstrated to be the source of any issue doesn't seem like a good time investment. Therefore, if someone really cares about this, I will expect them to work with the ms-sys folks to update the bootloaders, so that I ultimately pick them up in Rufus. But I have now decided that I will not be the one leading that effort. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query. |
Using FreeDOS 1.3 live CD and running
format c: /q /s
on a 1 GB FAT16 partition (type0x06
, created by FreeDOS'fdisk
answering "No" for "large disk" support) produces this boot record:The executable code (0x03e through 0x200) is different from current br_fat16fd_0x3e.h.
On the other hand, the FAT32 one is still the same.
The text was updated successfully, but these errors were encountered: