-
Notifications
You must be signed in to change notification settings - Fork 4
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
DOSEMU2 support? #42
Comments
Add |
Slight follow up to my previous post. Looking at the boot code in dosemu2, it seems that the OpenDOS 7.01 that gets tested is following a different code path to an EDR kernel. I know I had EDR-DOS 7.01.7 working okay in the past. There were troubles with EDR-DOS 7.01.8 WIP version, but they manifested after boot. |
Also see this issue dosemu2/dosemu2#589 and try commenting out the SHELL please? |
Thank you for stopping by, Andrew!
I commented out the On a semi-related note, DOSEMU+EDRDOS makes my KDE session crash when I try to load some of the DOSEMU drivers (emufs or umb.sys, I'm not sure yet - have to make more test) |
Can you post the edr bios/dos boot files here, please? It's quite possible that I have something wrong in the dosemu boot setup that's causing memory corruption, and that the SHELL command is only triggering the problem. |
The current FreeDOS SYS allows to patch the loaders to create EDR-DOS loaders, by patching loadsegoff to 70h:0, patching the kernel name to DRBIO.SYS, and passing the load unit in DL (which the most recent FreeDOS kernel's loaders do unconditionally). The boot loaders are in https://github.com/FDOS/kernel/tree/8552d833bbca657591fa8e6f7276d307d7d0c7c6/boot and SYS's /OEM:EDR settings are in https://github.com/FDOS/kernel/blob/8552d833bbca657591fa8e6f7276d307d7d0c7c6/sys/sys.c#L438 I described both the FreeDOS and EDR-DOS load protocols in https://pushbx.org/ecm/doc/ldosboot.htm |
Oh, I may have misread what you were asking for. Shame on me. Perhaps https://github.com/SvarDOS/edrdos/releases or http://svardos.org/repo/?a=pull&p=edrdos are useful. |
My single-file load can be obtained from https://pushbx.org/ecm/download/edrdos.zip but it is missing some late January to February patches from this repo until I pick those. |
Time to setup a CI pipeline to build the EDR kernel automatically. I am wondering if DOSEMU could be used for that :-) |
@ecm-pushbx thanks, as ever both your replies are most useful! @boeckmann , yes I recently made a draft PR FDOS/kernel#137 for FreeDOS kernel CI to build under DOS using Dosemu2. The reason it's not submitted yet is because somehow I need to figure out how to be able to use the Turbo C 2.01 compiler from Github Actions, whilst not distributing the software generally. |
I seems to be a regression in Dosemu2 as I'm unable to boot EDR 7.01.07 now. Will investigate... |
From the little I can tell it seems the problem is not necessarily Dosemu2 itself, but rather the emufs driver (or the way DRDOS tries to use the redirector API) . Without emufs the boot works fine for me, it's when I try to load emufs that troubles start. |
Yes I agree. I'm trying to bisect now to find the breakage, but it seems to have been broken for a long time and it's becoming more difficult to build the further I go back. |
Hi, just a quick heads up here. I understand that this problem has now been fixed in dosemu2, though I didn't yet get a chance to test it myself. See dosemu2/dosemu2#2156 |
Is this still an issue? Cannot test it myself under Mac. |
It's actually worse now, since we moved to the KERNEL.SYS filename DOSEMU2 not only does not work, but crashes horribly - to the point it also crashes my X session. But I doubt this is something that we should keep pending here, since that's not EDR's fault. I propose to close this. |
This is not necessarily a bug report, more an "information request" :-)
Apparently DOSEMU2 is able to recognize and load the EDR-DOS kernel. I simply placed the DRDOS.SYS and DRBIO.SYS files at the root of my (functional) DOSEMU2 SvarDOS installation, and after starting DOSEMU2 I landed on such screen:
So it seems that the kernel is being loaded, and apparently it is able to access at least my CONFIG.SYS because it complains about some invalid COUNTRY code. But then it asks for a shell processor (even though COMMAND.COM is present on the root of the drive + I also have an explicit SHELL directive in CONFIG.SYS). I tried suggesting C:\COMMAND.COM, but the kernel is does not like it for some reason.
So basically the question would be: is the EDR-DOS known to work with DOSEMU2?
If it's uncharted territory, then is there anything more I could check on my side?
This is my CONFIG.SYS:
And this is how my root DOSEMU2 directory looks like (yes it is a bit messy, I know I should clean up my room, mom!):
any suggestions?
The text was updated successfully, but these errors were encountered: