From f3eab249dd1d4699c90deb3cac86b7e7b4153092 Mon Sep 17 00:00:00 2001 From: Harley Travis Date: Wed, 10 Jun 2026 20:26:58 -0500 Subject: Update changelog (June 4-10, 2026) The changelog has been updated to reflect the changes made to the 'blkdev' branch between June 4 and June 10, 2026, 20:23 CDT. --- ChangeLog.TXT | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/ChangeLog.TXT b/ChangeLog.TXT index 4466857..028f9a4 100644 --- a/ChangeLog.TXT +++ b/ChangeLog.TXT @@ -1,3 +1,58 @@ +2026:06-10: +FDCWriteBlks was patched to check the write-protect flag before attempting to +perform a write operation. If set, the function throws an exception. I then +discovered a error in my bit test where I used a hex bit mask instead of a bit +position (which is what BT uses). + +BlkDevInit was patched (BlkDevInitFDC.HC) to add support for the floppy devices, +as was Let2BlkDevType, which reassigned letters W-Z for floppy drives instead of +optical (Let2BlkDevTypeFDC.HC). + +Mount2 was patched (Mount2LtrsFDC.HC) to reflect the above change to the drive +letters. The patch file was initially erroneously named Mount2Ltrs.HC. + +2026-06-08: +In Mount2CaseBFDC.HC, default parameters were added for convenience. From +testing with the legacy driver, these worked well on my 3.5-inch high-density +drive. The manual configuration instructions were also re-worded. + +2026-06-07: +DskFDC.HC received a change to its sector size logic so that it works properly +with the largest-size sectors (16 KiB), albeit of limited benefit. + +Three new files, Mount2{Vars,CaseA,CaseB}FDC.HC, were added to patch the Adam mount +code to add floppy support. As the names of these files imply, they patch the +Mount2 function (in ::/Adam/BlkDev/Mount.HC). + +2026-06-06: +The block device type list in KernelA.HH was brought out to its own header file +(KernelAFDC.HH) for ease of modification. The list of strings for the block +device types was also brought out in a similar manner (KDefineBDTs.HC). + +BlkDevAdd has been patched to handle the new floppy block device; like the +above patches, this one is also in a separate file (BlkDevAddFDC.HC). This +file was later patched again to remove a forced assignment to 0 of the drive +offset (as BlkDevAdd will set it to 0), and once more to add RedSea boot sector +detection. + +Instructions on implementing these and any future patch files are currently +only present in the Git log; proper instructions will be written later. + +In DskFDC.HC, a new function was added to test for the presence of a disk by +checking for valid sector data. This avoids emulator-specific issues with the +Disk Change flag. + +2026-06-04: +The controller version check is now only done on the first drive when it is +initialized. + +The data rate values accepted by the controller are now in KFloppyA.HH, as a +courtesy to programmers. A new header file, KFloppyB2.HH, has been created to +temporarily hold the headers for the new driver functions. + +The size of the DMA buffer has been reduced by half (to 9216 bytes), as part of +a transition to single-track, single-head reads and writes. + 2026-06-01: I have removed the DMA flag from the CBlkDev patch as I have decided to only support DMA at this time. -- cgit v1.2.3