2025-09-14
Correct a typo in the manual's ldebug-ad section.
Work on the amitsrs Extension for lDebug:
FROM value TO value
or FROM value LENGTH value
). Only the specified multiplex numbers are listed.Add a new ELD, devices.eld, to dump the DOS device chain. Code largely lifted from the updated amitsrs.eld
$1
to cut prefix and suffix of a line. This turned out to be too fragile as the $1 of a prior search could be defined here.-ag
switch.Six months ago I first worked on SRDisk, needing a test case of a block device driver for lDOS kernel reworks. This week I returned to it and took some significant steps.
I went with a simple way to implement srdmulti.sys: Just incbin all the single device drivers and copy the selected one into place. The more difficult choice would have been to really integrate all the drivers into one and only patch the necessarily different parts. This would allow to share more of the setup and such. We may revisit this eventually, but the simple choice was much easier to do.
Unlike the lDOS comloader, this one is assembled into an object file and linked using WarpLink for now. The lDOS sumspace utility was adapted as getspace to tell how much of a gap (nobits) section needs to be allocated. (This appears to overcount a little but I'm not motivated to figure out why.)
retf 000Ch
at the end of a segment. (This instruction was the last within an on-stack stub to transfer control from the comloader to the payload srdiskc.exe process.) (There's a relevant dosemu2 issue.)I originally started to work on DEVLOAD in 2022 May, as I wanted a way to test loading of the lDebug executable as a device driver. (Swapping the fdconfig.sys for testing would have been more work than using DEVLOAD.) I quickly learned that DEVLOAD limited the amount of space available it reported to the driver to slightly less than 64 KiB, which wouldn't do for lDebug at all.
Several patches followed, but I wasn't happy with the main size patch. So I left it outside the repo until yesterday, when I finally cleaned it up and committed it. There still is a comment reading "ecm 2022 May" on the crucial part.
Two more patches followed: