Table of Contents

Late November work

2026-11-29

lDebug (experimental)

Symbolic support snippets

The symsnip repo again doesn't show up as updated in the hgweb overview repo list. It is unknown why this happens.

lDOS

tractest/convlist.pl

Symbolic support scripts

Bump script

This script, bump.pl, is written specifically for the DOSCODE section/group of the lDOS kernel build. The section starts with a vstart of zero, like any usual OMF group, but its first 50h bytes are discarded early. Relocation starts at offset 50h.

This is needed because DOSCODE may be relocated into the HMA. If the DOSCODE program section started at linear 10_0000h and was addressed using segment FFFFh, then it would start at offset 10h (last paragraph of the ROM-BIOS is below this offset). However, it actually is addressed using segment FFFEh, adding 10h to the offset. Further, the VDISK header/BPB is at linear 10_0000h, and takes 20h bytes, so add 20h to the offset. Finally, the first HMCB is behind the VDISK header, adding another 10h bytes. This gives a total offset of 50h to address the actual start of the DOSCODE section.

The eventual symbolic lDebug base relocation support will kick in when relocation of a byte corresponding to a section start symbol is detected. This would never activate for DOSCODE as is because the relocation starts at offset 50h rather than offset 0. So with bump.pl, which is used like ./bump.pl msbio.sym --adjust 0x50 --section DOSCODETABLE > msbio2.sym, the DOSCODE section start is bumped to vstart 50h and all linear addresses based on it are lowered by 50h. This will allow the relocation to be detected.

IntList

All of these changes are on addlinks.pl, a companion program to The List's current revision of makehtml. It processes the makehtml output to add hyperlinks to all the supported references in the HTML files.