-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Booting the correct fdppkrnl.sys #41
Comments
I don't think you need to package fdpp dosemu2 always prefers any user-supplied DOS |
I can make the case that fdppkrnl.sys is never installed onto a DOS filesystem, either by file or symbolic link? It seems to me that if it's so unnecessary to be visible, it shouldn't even be a file at all, so why is it? Can't Dosemu2 call a libfdpp.so function that provides the fdppkrnl.sys data for fatfs.c to load. That's pretty much the premise of the 'dosemu2 fatfs boot' above, except for the empty file bit which is a crude switch between failing to boot anything in the case of missing DOS files and booting fdpp. If you are happy to always have a system boot fdpp in the case of missing startup files that's fine no need for empty file switch. The result is no version checking required, no installation required and no stale files hanging around? You've dealt with the hdimage section, it's not required then, so disregard it.
Nope, I have no interest in Dosbox. |
Of course.
This will mean a fatfs, boot-sector and linker hack.
It mainly is already so, if you don't make it
Having it in a hdimage will also mean an |
Mapping specific drives to boot is what I'd like to avoid. Regarding linker tricks etc how about during the build doing:
I didn't want to include the fdppkrnl.sys in the hdimage, only a boot sector that knows how to ask libfdpp.so for it. The only versioning problem would occur if you changed the well known interrupt it used to ask. Anyway I was convinced that it's not a good idea, so just forget about it. |
Mapping the drive and linker trick - are 2 orthogonal In any case, I already have an idea of how to make
It doesn't work this way. FDPP has a standard boot-sector |
So are you saying that
Not sure I do anything with that, except set it in dosemu.conf, do you have an example of bad practice with it? |
... that there is a standard fatfs loader procedure,
If course not. How about the standard protocol
No.
Any changes. |
I guess I'm just expecting FDPP to be unconstrained by usual DOS booting methods and just a whole lot easier. |
If it wouldn't be converted from freedos and rather |
I'm wondering if a method of getting the current fdppkrnl.sys from FDPP itself might be possible? I know that you put some effort into getting install etc to install the current version if it's missing and that you check versions on startup etc, which is great.
Is this possible?
Native hdimage
Normal dosemu FATFS startup
fdppkrnl.sys
file exists(could be empty) in the current directory only its presence is used to select an fdpp boot.If it is I think it could alleviate a lot of the potential for
fdppkrnl.sys
to become out of sync with the installed FDPP, could allow portable hdimages between FDPP aware systems (dosemu2, nightkernel? etc), and remove the need to install any meaningful fdppkrnl.sys on a new install.The text was updated successfully, but these errors were encountered: