blog:pushbx:2025:0824_cleanup_indos_trampoline_ldos_kernel_work_in_august

Cleanup, InDOS, trampoline, INSTALLFIRST= lDOS kernel work in August

2025-08-24

wwwecm scripts

tlsfiles

This repo collects all build dl wwwecm .tls files and logs them into hg for public read access using hgweb.

patchini

The idea with the combined tool is to decrease the total size of the three tools, as each executable file needs more than 20 kB when compiling them with gcc-ia16.

lDOS (lMS-DOS) kernel

The idea with the CDS changes is to allow a redirector (like dosemu2's emufs.sys) to redirect drives early during the DEVICE= or INSTALLFIRST= pass and not re-init these CDS entries but rather preserve them up to the final placement of the CDS.

This is still incomplete; ideally, a redirector application that creates drives (like shsucdx) should also be able to run in INSTALLFIRST= and its drives should not be overwritten by any subsequent block devices. This is not yet supported.

The INSTALLFIRST= support is based on the fact that DR-DOS apparently processes INSTALL= in the same pass as DEVICE=, as I learned recently. Aside from data structure questions like the CDS and other relocations, the main hurdle for INSTALLFIRST= was MS-DOS's use of free memory, or in other words a not fully initialised MCB chain, which we already fixed a while ago to always utilise MCBs starting as soon as NEARDOSINIT completes.

You could leave a comment if you were logged in.
blog/pushbx/2025/0824_cleanup_indos_trampoline_ldos_kernel_work_in_august.txt · Last modified: by ecm