summaryrefslogtreecommitdiff
path: root/Kernel/BlkDev
AgeCommit message (Collapse)Author
8 daysRename FDCInt to match TOS IRQ handler namingHarley Travis
The IRQ handlers in TempleOS' kernel code have an "IRQ_" prefix. FDCInt has been renamed to IRQ_FDC in keeping with Terry's code style. An unused definition of the same name has also been removed from KFloppyA.HH.
2026-06-12Add installation notes to source files.Harley Travis
I added comments to all patch files explaining their function and how to install them. Installation instructions were also added to some of the code files as well.
2026-06-10Update DskFDC.HCHarley Travis
The Bt call was modified to test for the corrrect bit of SRA.
2026-06-10Update DskFDC.HCHarley Travis
FDCWriteBlks now checks if the disk is write-protected before attempting a write, throwing an exception if it is. I also reworked the retry check for both it and FDCReadBlks.
2026-06-07Update DskFDC.HCHarley Travis
I realized that the logic that determined the sector size value sent to the controller would not work properly on larger sector size, so I redid it.
2026-06-06Update DskFDC.HCHarley Travis
I have added a function that will check for the presence of valid sector data on either side of a floppy disk. This function is used to check for the presence of a disk in a way that does not rely on the proper handling of the disk change flag.
2026-06-04Update DskFDC.HCHarley Travis
I moved the version check into the drive-0-only code; it wouldn't make sense to check the version each time a drive gets initialized.
2026-06-01Update DskFDC.HCHarley Travis
I have decided not to use multi-track mode and instead do atomic reads and writes to sector ranges. I have also added a timeout to the motor command when the motor is turned on (approximately 500 milliseconds to accomodate 5ΒΌ" drives). FDCInit now sets the highest-accessible block.
2026-05-31Initial commit for BlkDev branchHarley Travis
This is the initial commit for the BlkDev-ified driver. It is not at all in a working state at this point, and the old files have been left for reference purposes.