summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2 daysUpdate changelogblkdevHarley Travis
The chanagelog has been updated to reflect the new policy on commit signing.
4 daysUpdate changelog (June 22, 2026)Harley Travis
The changelog has been updated to reflect the changes made to the blkdev branch as of June 22, 2026, at 02:19 CDT.
5 daysSplit floppy IRQ handler into separate fileHarley Travis
Since KInts.HC is compiled before DskFDC.HC, undefined symbol issues could possibly occur. when attempting to compile the interrupt set-up code because the IRQ handler is not yet compiled. To prevent this, I separated the IRQ handler into another file that is included immediately after the headers. The instructions have been updated to reflect this change.
5 daysAdd patches to enable the FDC IRQ on startupHarley Travis
6 daysUpdate instruction document to reflect previous re-arrangingHarley Travis
6 daysRe-arrange patch filesHarley Travis
Some of the patches are applied to files in subdirectories of ::/Kernel and ::/Adam. The directory tree has been re-arranged in such a way as to allow them to be #included without having the compiler backtrack to their parent directory.
6 daysUpdate installerHarley Travis
I updated the installer program to copy over the Adam directory, and also removed the old patch instructions.
7 daysUpdate changelog (June 19, 2026)Harley Travis
I updated the changelog to reflect the changes made to the blkdev branch as of June 19, 2026, at 21:32 CDT.
7 daysUpdate instruction sheetHarley Travis
I updated my instruction generator script to show the parent paths of each file, and also added support for the ADAM PATCH tag.
7 daysFix punctuation on Let2BlkDevTypeFDC.HCHarley Travis
I forgot to stage the change I made to this file's code tags. Whoops.
7 daysAdd special tag to Adam patch filesHarley Travis
To alert the user to the need to apply the patches made to Adam after the kernel patches, I have added a special "ADAM PATCH" tag.
7 daysUpdate readmeHarley Travis
I have updated the readme to reflect the major changes to the driver code.
7 daysAdd instruction sheetHarley Travis
This new file contains a condensed list of all code files in the repository, with information on what they do, and (if applicable) instructions for use or installation.
7 daysVarious grammatical and punctuation fixes on info tagsHarley Travis
I fixed the punctuation on some of the info tags, and added a few more THEN tags where they were needed.
7 daysComplete update of source code information tagsHarley Travis
I had updated several more files after staging the previous ones, but forgot to stage these files as well. Thus, I had to commit these separately.
7 daysUpdate source file information commentsHarley Travis
I have added the "PURPOSE", "TO USE", and "THEN" tags to make the information sections more easy to read while keeping line length down. These are used by a Python script I wrote to generate an instruction file.
8 daysRename KFloppyB2.HH to KFloppyB.HHHarley Travis
KFloppyB2.HH has now replaced KFloppyB.HH, and has been renamed accordingly.
8 daysDelete old driver codeHarley Travis
The time has finally come for the old code to be removed from the source tree.
8 daysRemove addition to KFloppyB.HHHarley Travis
As a result of a "brain fart," I erroneously added install instructions to the old version of KernelB.HH; KernelB2.HH already had install instructions.
8 daysUpdate/add install instructions for header filesHarley Travis
I realized that KFloppyA would have to be included before KInts is, so that the IRQ definition can be used by IntInit2. The install instructions have been updated accordingly. Installation instructions were also added to KernelB.
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.
8 daysUpdate KFloppyA.HHHarley Travis
The register offsets apply to all floppy controllers, and not just the first. The comment I had there has been updated to reflect this.
14 daysUpdate changelog (June 12, 2026)Harley Travis
The changelog has been updated to reflect the changes made to the 'blkdev' branch as of June 12, 2026, 20:33 CDT. A typo was also fixed.
14 daysAdd 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.
14 daysMove KFloppyDMA.HC to Kernel/PatchesHarley Travis
Since this file is effectively a patch to KStart32, it makes sense to keep it in the Patches subdirectory.
14 daysUpdate KFloppyB2.HHHarley Travis
I added headers for the "read ID" and disk check functions, and added the proper types.
14 daysAdjust tabs in KernelABDTs.HHHarley Travis
14 daysRemove stray empty line from CBlkDevFDC.HCHarley Travis
14 daysSplit Mount2VarsFDC.HC into two filesHarley Travis
Since the U8 and Bool declarations in Mount2 are not on consecutive lines, I decided to split them for ease of patching.
2026-06-10Update changelog (June 4-10, 2026)Harley Travis
The changelog has been updated to reflect the changes made to the 'blkdev' branch between June 4 and June 10, 2026, 20:23 CDT.
2026-06-10Rename Mount2Ltrs.HC to Mount2LtrsFDC.HCHarley Travis
Mount2Ltrs was created without the normal "FDC" suffix, which I have now added.
2026-06-10Create Mount2Ltrs.HCHarley Travis
This file modifies the list of drive letter types printed by Mount2 to reflect the changes made by Let2BlkDevTypeFDC.HC. All lines of the original Print call are to be commented out and this file included in its place.
2026-06-10Create Let2BlkDevTypeFDC.HCHarley Travis
This file patches Let2BlkDevType to provide drive letters for floppy drives. The original function is to be commented out and this file included in its place.
2026-06-10Create BlkDevInitFDC.HCHarley Travis
This file adds a case to BlkDevInit for the floppy BDT, allowing it to be initialized. It is to be placed after the last case in the function's switch statement.
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-08Update Mount2CaseAFDC.HCHarley Travis
I re-worded the instructions for the manual floppy drive configuration, mainly to warn the user of the three single-digit questions.
2026-06-08Update Mount2CaseBFDC.HCHarley Travis
I added default parameters for 3.5-inch high-density drives for convenience.
2026-06-07Create Mount2CaseBFDC.HCHarley Travis
This file adds a case to Mount2's second switch statement to configure new FDC BlkDevs. It is to be included after the BDT_ATAPI case.
2026-06-07Create Mount2CaseAFDC.HCHarley Travis
This file adds a case to Mount2's first switch statement to configure FDC BlkDevs. It is to be included after the BDT_ATAPI case.
2026-06-07Create Mount2VarsFDC.HCHarley Travis
This file adds additional buffers and variables to Mount2 as required by the FDC mount code. The original code is to be commented out and this files included after it.
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 BlkDevAddFDC.HCHarley Travis
The BlkDevAdd code now checks if the floppy disk has a valid RedSea boot sector before attempting to initialize it.
2026-06-06Update BlkDevAddFDC.HCHarley Travis
BlkDevAdd should set drv_offset to 0 (since the BlkDev's drv_offset will also be zero; floppies don't have a partition table), so I removed the forced-set to 0 in the code.
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-06Create BlkDevAddFDC.HCHarley Travis
This file adds code for handling floppy block devices to the BlkDevAdd function. It is to be included at the end of the function's switch statement.
2026-06-06Create KDefineBDTs.HCHarley Travis
This file replaces the DefineLstLoad call that sets ST_BLKDEV_TYPES to add the FDC type. The original code is to be commented out and this file included after it.
2026-06-06Create KernelABDTs.HHHarley Travis
This file replaces the block device type list in KernelA.HH. The original code is to be commented out and this file included after it.
2026-06-04Update KFloppyDMA.HCHarley Travis
I halved the size of the DMA buffer in keeping with the "one track at a time" methodology I have adopted.
2026-06-04Create KFloppyB2.HCHarley Travis
This file contains new headers for the BlkDev-ified driver.