User Tools

Site Tools


blog:pushbx:2023:0813_early_mid_august_work

Early mid August work

2023-08-13

This week some development of the debugger and of dosemu2 happened.

lDebug

dosemu2

Enhanced DR-DOS

I went and investigated some bugs around the EDR-DOS int 21h functions 42h, 7142h, and 71A6h. (1, 2, 3, 4) To test this, I also built the latest EDR-DOS revision of 2011 from source.

ldosboot

One change to the test script's dosemu2 drive letter detection. However, this change only was needed because of the dosemu2 bug with the mouse data input reset escape sequences. It is actually the wrong way to do this, and consequently has been backed out.

ldosmbr

Some changes to the oldmbr:

One change to altmbr, today:

Discussion

C. MaslochC. Masloch, 2023-08-13 22:21:04 +0200 Aug Sun

I prepared an Enhanced DR-DOS repo with all old history until 2011, as well as a few patches added by me now: https://www.bttr-software.de/forum/forum_entry.php?id=20555

I took the opportunity to create an EDR-DOS repo on our server, at https://hg.pushbx.org/ecm/edrdos (I interpret the new CP/M and derivatives license agreement as of 2022-07-07 as including EDR-DOS, so it should be fine to host it. This license agreement is in the file license.htm in the repo's root directory.)

I added one patch to COMMAND that was needed to build with OpenWatcom 1.9 (from a DOS host system, running in dosemu2) fixing a bug.

I fixed the redirector support for functions 7142h and 71A6h, both to support the dosemu2 extensions and to never crash on a redirector handle. (If the extensions are not supported, 7142h returns an error code of CY, ax=0001h and 71A6h an error code of CY, ax=7100h (like MSWindows).)

Further, I modified both the old-style function 42h and 7142h to work on device handles in the same way as MSWindows, allowing to seek as if the device was an empty file. I also changed it so function 71A6h returns CY, ax=7100h on a device handle.

You could leave a comment if you were logged in.
blog/pushbx/2023/0813_early_mid_august_work.txt · Last modified: 2023-09-03 21:09:17 +0200 Sep Sun by ecm