User Tools

Site Tools


blog:pushbx:2026:0403_late_march_work_on_the_debugger_and_kernel

Late March work on the debugger and kernel

2026-03-29

This week I also finished my stackoverflow.com Q&A and companion blog post on NASM label delta arithmetic. I have espoused the use of this for years, but there wasn't a canonical explanation to refer to yet.

BTTR Software bootmgr

After seeing it listed in the "50 boot managers" collection (via RC.SE), I got interested in the old bootmgr. (Last release was in 2008.) I'm interested in adopting bootmgr because lDOS is still missing a way to configure and install its MBR loaders.

I asked Robert (rr) for older versions and we collected 12 revisions in total, spanning from 2005-01-31 to 2008-03-18.

Apart from that I added a few updates already:

wwwecm scripts

  • No longer run hg clean for ldebug, lddebug, and lcdebug builds. This allows these builds to re-use help files and object files and ELD files whose dependencies didn't change since the last build. (A few files need to be rebuilt for any build, due to including revision IDs or the version string.)

patchini

  • patldos.c: Fix, if ALL LIST is specified with a kernel file that doesn't have an lCFGMULT block, do not list everything twice.
  • patldos.asm: Same fix, the port was true to the original in this aspect and thus reproduced the bug.
  • Improve interface from patldos.c to included patchqry.c, passing the already opened file. Also, no arguments are passed if patchqry is called at the end of a LIST run. This fixes the bugs around ALL or a specific block number being specified.
  • patldos.asm: Fix parsing of PRO progress type. Has to reject empty argument list, not the reverse.
  • Implement patldos.asm LIST tail call to patchqry.asm, branching either to patchqryhelp or gotunit (with some setup).
    • (Bug if not LIST and file is not opened?)
  • Update mak.sh script to build the assembler ports of patldos and patchqry rather than the C programs.
    • (Default patldos.asm doesn't include patchqry? mak.sh passes the option explicitly.)

lDebug

webecm

tractest/listvars.pl

Avoid an error that an expected assume doesn't match (details in the changeset message). Update the expected assumes if expect or expect2 variable already matches the segreg being written to.

lDOS kernel

You could leave a comment if you were logged in.
blog/pushbx/2026/0403_late_march_work_on_the_debugger_and_kernel.txt · Last modified: by ecm