Skip to content

ecm 2026-05a#103

Merged
shidel merged 2 commits intoLoopZ:mainfrom
ecm-pushbx:ecm-2026-05a
May 7, 2026
Merged

ecm 2026-05a#103
shidel merged 2 commits intoLoopZ:mainfrom
ecm-pushbx:ecm-2026-05a

Conversation

@ecm-pushbx
Copy link
Copy Markdown
Contributor

@ecm-pushbx ecm-pushbx marked this pull request as draft May 4, 2026 11:12
@ecm-pushbx
Copy link
Copy Markdown
Contributor Author

Don't merge yet. Need to fix the 1AAh bytes note, it is known that it isn't true for all DOS v3.00, I'll force push to this PR later in the day.

@andrewbird
Copy link
Copy Markdown
Contributor

I did figure out a little of the SDA offsets a long while back , see https://github.com/dosemu2/dosemu2/blob/a3d2ce995f240f3c5c7fa5e130244c7e771befdb/src/dosext/mfs/mfs.c#L1391. You can see that there are even differences between the DOS v3 variants that I tested, though I'm not sure that I nailed everything, just enough for the Dosemu redirector to work with old DOSes.

@ecm-pushbx
Copy link
Copy Markdown
Contributor Author

I did figure out a little of the SDA offsets a long while back , see https://github.com/dosemu2/dosemu2/blob/a3d2ce995f240f3c5c7fa5e130244c7e771befdb/src/dosext/mfs/mfs.c#L1391. You can see that there are even differences between the DOS v3 variants that I tested, though I'm not sure that I nailed everything, just enough for the Dosemu redirector to work with old DOSes.

It appears you pass in the "redirector version" as BH for a dosemu2 interrupt call: https://github.com/dosemu2/dosemu2/blob/a3d2ce995f240f3c5c7fa5e130244c7e771befdb/src/dosext/mfs/mfs.c#L1724

Where is the value to use detected then?

@andrewbird
Copy link
Copy Markdown
Contributor

Seems like a pretty rough determination here https://github.com/dosemu2/dosemu2/blob/a3d2ce995f240f3c5c7fa5e130244c7e771befdb/src/base/core/int.c#L2941 based on version and SDA size.

@andrewbird
Copy link
Copy Markdown
Contributor

I still have the binaries I used for testing this, if you'd like me to post them? At the time I found most DOS variants on WinworldPC, or perhaps here https://www.pcjs.org/software/pcx86/sys/dos/compaq/3.00/

@ecm-pushbx
Copy link
Copy Markdown
Contributor Author

I still have the binaries I used for testing this, if you'd like me to post them? At the time I found most DOS variants on WinworldPC, or perhaps here https://www.pcjs.org/software/pcx86/sys/dos/compaq/3.00/

Maybe you can upload these to the internet archive? I've used some of the files they host, so this would probably benefit the most people. (I don't want to look into these files just now.)

@andrewbird
Copy link
Copy Markdown
Contributor

Look like it's already there https://archive.org/details/msdos3vhd

@ecm-pushbx
Copy link
Copy Markdown
Contributor Author

I force pushed with a few more updates and correcting the 1AAh bytes claim, correctly attributing it to the interrupt list (RBIL 61).

@ecm-pushbx ecm-pushbx marked this pull request as ready for review May 4, 2026 17:36
@ecm-pushbx ecm-pushbx marked this pull request as draft May 4, 2026 17:37
@ecm-pushbx
Copy link
Copy Markdown
Contributor Author

Look like it's already there https://archive.org/details/msdos3vhd

Did you check that the system files are exactly the same? It seems there's several releases branded "v3.00"

@ecm-pushbx ecm-pushbx changed the title update 21.34,.5D06: DOSDATA reloc, OS/2 Museum details, debuggers ecm 2026-05a May 5, 2026
@ecm-pushbx
Copy link
Copy Markdown
Contributor Author

@andrewbird Added a commit with your SDA info. Did I get everything right?

@andrewbird
Copy link
Copy Markdown
Contributor

Did I get everything right?

Yes, it agrees with the dosemu2 source. As I'm sure you noticed there's an offset missing on the Compaq 3.00 set, I never figured out the source for rename, probably because we didn't need to use it. It's a long time since I tried booting Compaq 3.00 on Dosemu2 (git has those commits at 9 years ago), so I don't actually know if it will.

Did you check that the system files are exactly the same? It seems there's several releases branded "v3.00"

No, just eyeballed the version string in the image there. The sha1sums (they were embedded in the test script) of the files I used are:

("ibmbio.com", "04a388fee319990312e529c251d28307bb22154a"),
("ibmdos.com", "978415677aeea953f4dd463f0f8df35a7ee1365e"),
("command.com", "3c76c3ed861bf08b99b0295d0f885fce7ad2c6ac"),

And the version string was COMPAQ Personal Computer MS-DOS Version 3.00

@ecm-pushbx
Copy link
Copy Markdown
Contributor Author

Michal Necasek agreed to the current wording, so this is ready to be merged.

@ecm-pushbx ecm-pushbx marked this pull request as ready for review May 7, 2026 09:16
@shidel shidel merged commit 2a888ca into LoopZ:main May 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants