User Tools

Site Tools


blog:pushbx:2025:1026_hgweb_sign-in_requirement_and_ldos_boot_updates

hgweb sign-in requirement, and lDOS boot updates

webecm

Add a news item and a blurb in the links list that the hgweb server at hg.pushbx.org now requires signing in. The password can be any nonempty string, while the user must be "anonymous".

lDOS boot (experimental)

Plans

The current interface between iniload and its payload is clearly not satisfying. The test writer expects both a valid buffer address in lsvFATSeg and, for FAT12, that the entire FAT be loaded already into that buffer, either 6 KiB worth of data or the entire FAT as specified in bpbSectorsPerFAT (whichever is smaller).

Now for the test writer, walking a cluster chain is actually only needed for a FAT32 file system so that allows disabling the FAT12 path in clust_next entirely. However, other users may want a better interface.

I'm considering reusing 1 or 2 bits of the ldHasLBA flag. It's an octet, but only the lowest bit is defined yet in the passthrough protocol. The second lowest bit is used by the multi-sector loader but cleared unconditionally before passing control flow to the payload. So that leaves 6 bits to easily re-use.

The flags I want are:

  • lsvFATSeg and ldSectorSeg are valid and point above ldLoadTop. (Only testwrit.asm makes use of these yet.)
  • Indicator that the FAT12 is loaded in full, 6 KiB or all sectors (whichever is smaller).

For now the implied protocol is that fat seg and sector seg are always allocated, fat sector is -1 on FAT16/FAT32 if nothing is loaded, and FAT12 is always fully loaded.

But recently I added a mode where the FAT12 isn't loaded, which is communicated by zeroing the fat seg. But that's not super helpful if the next stage wants to re-use the fat seg without re-allocating it, even if the FAT12 isn't loaded yet.

You could leave a comment if you were logged in.
blog/pushbx/2025/1026_hgweb_sign-in_requirement_and_ldos_boot_updates.txt · Last modified: 2025-10-26 18:07:21 +0100 Oct Sun by ecm