Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[directfd] Add cache to end of cylinder option #2097

Merged
merged 3 commits into from
Nov 8, 2024
Merged

[directfd] Add cache to end of cylinder option #2097

merged 3 commits into from
Nov 8, 2024

Conversation

ghaerr
Copy link
Owner

@ghaerr ghaerr commented Nov 7, 2024

Adds CACHE_CYLINDER option to direct FD driver to cache until end of cylinder instead of end of track. Additional CACHE_CYLINDER_MAX define sets maximum sector count of cylinder cache (currently 12 = 6K).

DF driver now supports full track, track split block, full cylinder and partial (fixed size until end of cylinder) caching, as well supporting floppies of any sector count. Most of these options are likely to be used only for performance testing the floppy I/O subsystem.

Next step will be automatic disabling of cache for 386+ systems.

Discussed in Mellvik/TLVC#88 (comment) and tested on QEMU.

@ghaerr ghaerr merged commit 511d03b into master Nov 8, 2024
1 check passed
@ghaerr ghaerr deleted the df6 branch November 8, 2024 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant