blog:pushbx:2025:0326_mid_late_march_work
Table of Contents
Mid late March work
2025-03-23
kernwrap
Add include path so the kernpl module can include files in the ldosboot directory next to it.
lDOS boot
- Copy kernpl.asm file from lkernpl.asm
- Allow building kernpl.asm as FreeDOS kernel payload.
- Allow building kernpl.asm as Enhanced DR-DOS kernel payload.
- Make fdkernpl.asm, drkernpl.asm, and lkernpl.asm just include kernpl.asm for the actual source text.
tractest/listvars.pl
Add the switch called --filter-section= to output .tls text belonging to a particular section.
lDOS kernel
- Add additional knobs to msbio/msdisk.nas to allow bouncing UMA or all disk accesses.
- Put the COMPAT= options in sysconf.nas into a table.
- Document new bounce options in the manual.
- Add COMPAT= options to hide DOSENTRY MCB or first DOSDATA MCB (the latter is only in effect if DOSDATAFIRST option was used).
- More assume directives in msbio/msdisk.nas (reworked some earlier ones too).
- Fix DS use in msbio/msdisk.nas ECC_ERR_HANDLE.
- More assume directives in msbio
- Fix CHS hard disk partition login, used a DOSCODE function from SYSINIT without a proper transfer, causing a crash.
- Leave no dead UPB if an HDD has no primary partition to log in.
- Work on msbio/msinit.nas assume directives.
- On unknown commands in the kernel command line strip leading blanks for display.
- Update INIT protocol comment (using lkernpl module now).
- Set default drive to the one that lkernpl passes as the load drive. The first int 13h unit match without a hidden sectors match is taken as a preliminary match. An int 13h unit and hidden sectors match is taken as a final match.
- Check that the DOSENTRY stack for DOSDATA/DOSCODE/SYSINIT relocation is large enough.
- Add manual sections on booting and supported file systems.
- Add assume directives to part of msioctl.nas
- Fix SET_MEDIA_FOR_FORMAT if current DPT segment is not equal to zero. (This bug seems to originate in the 2024 April release of the sources, ie the original MS-DOS v4.00 sources.)
- Add assume directives to remainder of msioctl.nas
- Fix relocate_dpb_late check for additional DPBs in same segment. Little potential for trouble.
- Fix buffers allocation to not try to normalise HMA pointer with segment FFFEh if the allocation stretches up to 48 KiB within the HMA. This wasn't usually hit but with
append files 255it can be. While we did detect the invalid normalisation, it did lead to a system halting OOM error, so not nice. - Remaining assume directives in sysinit1.nas
- Assume directives in sysinit2.nas
- Preserve open mode if AUX or PRN open fail and NUL is opened instead.
This leaves some files in src/INC/ and the lDOS *.asm source files for msbio and msdos for fixing assume directives. After that we can try making use of them in listvars.pl
You could leave a comment if you were logged in.
blog/pushbx/2025/0326_mid_late_march_work.txt · Last modified: by ecm
