summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-06-27Add modulation mode prompt to mount codeHarley Travis
2026-06-27Update Mount2CaseAFDC.HCHarley Travis
Most of the changes to this file were adding missing semicolons, and fixing semantic errors with some of the prompts.
2026-06-27Update IntsInitFDC.HCHarley Travis
Through an oversight, I forgot to change the I/O write that sets the IRQ mask so that bit 6 (which masks IRQ6) is cleared. As a result, IRQ6 is never unmasked, and the floppy drive interrupt does not work.
2026-06-27Add definition for int semaphore to KFloppyInt.HCHarley Travis
2026-06-27Update KFloppyB.HHHarley Travis
KFloppyB was updated to reflect the return type changes to FDCRBlks and FDCWBlks.
2026-06-27Make FDCRBlks and FDCWBlks Bools that return trueHarley Travis
2026-06-27Update KFloppyA.HHHarley Travis
I fixed some indentation in this header file and added definitions for the check codes used by FDCChk.
2026-06-27Update BlkDevAddFDC.HCHarley Travis
The filesystem-checking code, now part of the FDCFsChk function, was replaced with a call to said function.
2026-06-27Add FDCFsChkHarley Travis
This new function is an export of the filesystem-checking code in BlkDevAddFDC.HC. This was done to allow it to be used by DskChg, allowing filesystem autodetection when disks are swapped.
2026-06-27Update FDCChkHarley Travis
FDCChk now turns the motor on and off, and tests for the presence of a disk by performing two seeks and checking the disk change flag.
2026-06-27Update FDCReadIdHarley Travis
FDCReadId was patched to use 64-bit variables, and to remove asterisks from references to the CBlkDev pointer, bd.
2026-06-27Update FDCWriteBlksHarley Travis
FDCWriteBlks was patched for the same reasons as FDCReadBlks (64-bit variables, motor control, fix typo in head calculation, unlock at end), as well as fixing a bug where only [cnt] bytes were being copied into the DMA buffer instead of [cnt] sectors.
2026-06-27Update FDCReadBlksHarley Travis
FDCReadBlks was patched to use 64-bit variables, turn the motor on and off, use the correct variable for the head count, and unlock the block device before returning.
2026-06-27Update FDCRBlks and FDCWBlksHarley Travis
FDCRBlks and FDCWBlks were patched to use 64-bit variables, and remove unecessary parentheses.
2026-06-27Update FDCReadData and FDCWriteDataHarley Travis
FDCReadData and FDCWriteData were patched to use 64-bit variables, and to send the read/write commands in the correct format.
2026-06-27Update FDCInitHarley Travis
FDCInit was patched to use 64-bit variables, and to turn the motor on when performing the recalibration step.
2026-06-27Update FDCSelDrvHarley Travis
FDCSelDrv was patched to preserve the other DOR bits, and not reset the controller when selecting a drive, which caused I/O timeouts.
2026-06-27Update FDCMotorTask and FDCMotorHarley Travis
FDCMotorTask was patched to use 64-bit variables, preserve DOR contents when setting the motor bits, and properly set the block device's motor state. FDCMotor now properly checks the current motor status before writing to the DOR or spawning the power-off task, and also preserves the DOR bits.
2026-06-27Update FDCResetHarley Travis
I have patched FDCReset to actually do its job correctly, switching it over to DOR-twiddling instead of the DSR method. I also allowed it to skip the interrupt checks if it gets a 0x80 byte back at any point.
2026-06-27Update FDCReadByte and FDCSendByteHarley Travis
FDCReadByte and FDCSendByte have been updated to store the MSR contents into a separate variable for readability. They also now Yield; when polling to prevent the OS from feezing.
2026-06-24Update changelogHarley Travis
The chanagelog has been updated to reflect the new policy on commit signing.
2026-06-23Update 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.
2026-06-22Split 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.
2026-06-22Add patches to enable the FDC IRQ on startupHarley Travis
2026-06-20Update instruction document to reflect previous re-arrangingHarley Travis
2026-06-20Re-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.
2026-06-20Update installerHarley Travis
I updated the installer program to copy over the Adam directory, and also removed the old patch instructions.
2026-06-19Update 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.
2026-06-19Update 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.
2026-06-19Fix punctuation on Let2BlkDevTypeFDC.HCHarley Travis
I forgot to stage the change I made to this file's code tags. Whoops.
2026-06-19Add 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.
2026-06-19Update readmeHarley Travis
I have updated the readme to reflect the major changes to the driver code.
2026-06-19Add 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.
2026-06-19Various 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.
2026-06-19Complete 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.
2026-06-19Update 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.
2026-06-18Rename KFloppyB2.HH to KFloppyB.HHHarley Travis
KFloppyB2.HH has now replaced KFloppyB.HH, and has been renamed accordingly.
2026-06-18Delete old driver codeHarley Travis
The time has finally come for the old code to be removed from the source tree.
2026-06-18Remove 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.
2026-06-18Update/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.
2026-06-18Rename 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-18Update 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.
2026-06-12Update 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.
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-12Move 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.
2026-06-12Update KFloppyB2.HHHarley Travis
I added headers for the "read ID" and disk check functions, and added the proper types.
2026-06-12Adjust tabs in KernelABDTs.HHHarley Travis
2026-06-12Remove stray empty line from CBlkDevFDC.HCHarley Travis
2026-06-12Split 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.