Fix DRIVES data reporting and 68060 cache setup#43
Merged
Merged
Conversation
Owner
reinauer
commented
May 25, 2026
- drives: identify filesystems from mount DOSTYPE
- drives: keep Info block fields together
- TinySetPatch: update 68060 cache setup
Use the DOSTYPE from DosEnvec as the filesystem identifier. InfoData.id_DiskType describes the mounted medium, not every filesystem returns its mount DOSTYPE there. Preserve the mount value when it is available and only use InfoData as a fallback. Recognize PFS0 through PFS3 and PDS0 through PDS3 as Professional File System variants.
Store Info() block counts and block size separately from DosEnvec geometry. The display can then show mounted-volume totals with the matching filesystem block size. Keep the DosEnvec block size for raw device I/O such as drive-speed reads, where offsets are based on the device geometry. Add debug output for both sources so mismatches are visible in one log.
Update TinySetPatch to the version that keeps Exec CacheControl setup and then explicitly enables the 68060 PCR superscalar bit plus CACR branch-cache and store-buffer bits. This pulls in the boot-time fix for BFG 68060 systems that only reported correct speed after toggling SuperS in xSysInfo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.