Title [lDOS boot] Need to check LBA flag clear if end2 is loaded but end3 may not be
AuthorE. C. Masloch
Created2026-06-11 19:54:17 +0200 Jun Thu
State closed

The ldHasLBA flag must be tested below end2 if end3 isn't available. With the preparation before this, we just so have the space needed for this.

E. C. Masloch on 2026-06-11 20:01:51 +0200 Jun Thu

Fixed in hg 4af292e767e9 on 2025-10-04.

E. C. Masloch on 2026-06-11 20:22:30 +0200 Jun Thu

Eventually, the code was changed so that multi_late is called when in the single-sector loader it is found that up to end3 has been loaded. At that point, the LBA multi-sector loader is available so the check that it is resident will succeed.

On MS-DOS v7 load, the initial run of init_memory_multi on an LBA unit may not install the multi-sector patches at all, but multi_late will run when end3 has been loaded and at that point the LBA multi-sector loader patches are set.