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

[direct floppy] Small updates to DF driver #1745

Merged
merged 3 commits into from
Oct 7, 2023
Merged

[direct floppy] Small updates to DF driver #1745

merged 3 commits into from
Oct 7, 2023

Conversation

ghaerr
Copy link
Owner

@ghaerr ghaerr commented Oct 7, 2023

Don't call original BIOS hardware IRQ 0 timer routine unless configured for BIOS floppy driver (CONFIG_DEV_BLK_BFD). I'm pretty sure this is only useful for BIOS floppy motor timeout, but this hasn't been tested on real hardware. Also assumes that BIOS HD support does not require the timer.

Add adjustable timeout values for motor on, off and command timeout.

Support two floppy drives; this halves the number of /dev entries required for preset floppy format types, should anyone actually ever use that feature.

@ghaerr ghaerr merged commit 20e3f9a into master Oct 7, 2023
2 checks passed
@ghaerr ghaerr deleted the df branch October 7, 2023 02:38
@tyama501
Copy link
Contributor

tyama501 commented Oct 7, 2023

Hello @ghaerr ,

Does supporting only 2 floppies in blk.h affect BIOS driver too?
PC-98 is supporting 4 floppy drives.

@ghaerr
Copy link
Owner Author

ghaerr commented Oct 7, 2023

Does supporting only 2 floppies in blk.h affect BIOS driver too?

No, the change is only for the direct floppy driver. The BIOS driver supports 4 drives as before.

@tyama501
Copy link
Contributor

tyama501 commented Oct 7, 2023

Thank you!

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.

2 participants