User Tools

Site Tools


blog:pushbx:2026:0428_late_april_work

Late April work

2026-04-26

lDebug

tractest/convlist.pl

lDOS kernel

  • Fix large write or truncate that wants to allocate 64 Ki or more clusters. The calculation would truncate to 16 bits the amount of clusters to allocate, resulting in file corruption. (This bug is present in MS-DOS v5 as well.) The example test case in the changeset message tries to allocate more than 256 MiB on a 512 BpC, 1440 KiB image (>512 Ki clusters).
  • Update lDOS version to 2026 April.
  • Drop unused labels in file.nas
  • Replace LocalVar macros by lframe. This is identicalised except for using lea sp, [bp - 0Ah] where the original uses sub sp, 0Ah.
  • Optimise the lframe initialisation by pushing into lvar slots instead of allocating space with lea then writing the variables using mov.
  • Reject extended error 5 in the 21.5A loop on dosemu2 mfs. This error is returned if the specified dirname is actually a file, eg when running 21.5A repeatedly with the same buffer. While that is a user error it shouldn't cause an infinite loop. This changeset detects whether the redirector was called, and doesn't loop on extended error 5 then (only on extended error 50h).

IntList

The capital-P L command is fairly slow. It may be better to collect the hyperlinked entries' unique IDs and summary base lines then search for all of them using a single Path::Iterator::Rule run.

The List

  • ecm 2026-04z: CMOS typos, update termination functions 21.4C and 2F.111D, detail on 2F.1121 being called only when EOF can have changed, add dosemu2 redirector extensions 2F.1142, .11A3, .11A6, .11C2
  • ecm 2026-04aa: Move an 21.40 line from BUGS to Notes, update 21.31, .3F, .40 (FreeDOS and MS-DOS v5 bugs), .50 and .51 (FD/Enhanced/lDebug use direct SDA access, emu2 bug), .56 (shell limitation and wording mistake), .58 (first UMCB position), .59 (error 0Bh and 11h functions), .5D0B (disk full byte is marked with a ">32mb" comment, which means it was added for the MS-DOS v3.40 development branch rather than stating that it only applies to large partitions).
  • ecm 2026-04ab: Fix a spelling mistake in glossary entry for IBM, list more functions that may generate errors in 21.59, 21.5A updates and hyperlinking between it and 2F.1118, add sort-as IDs to 21.4402, .4403, .4404, .4405, add sort-as IDs to COMTROL interrupts, update INT 22, add INT 21 entry for DOS functions generally.
You could leave a comment if you were logged in.
blog/pushbx/2026/0428_late_april_work.txt · Last modified: 2026-04-28 18:56:23 +0200 Apr Tue by ecm