Nonsensical floppy setup
Posted: Sat Mar 31, 2007 6:41 pm
Ok, so I'm trying to come up with a sane floppy driver.
For all practical purposes, I don't think I have any problem supporting drive0 in "primary" controller.... but...
What is this nonsense: commands to controller allow selecting one of 4 drives. In addition to this, several docs mention two IO addresses for two controllers, primary and secondary...
So... mm.. is this like 4 drivers per 2 controllers? Or is this like 1 driver/controller, and one just have to "know" where something is?
Like, if I want to support two drives, do I access them both with the primary controller, or am I supposed to access fd0 with primary, and fd1 with secondary controller?
...
Most simple drivers only deal with drive 0 in primary controller, and the less simple driver I found in Linux is a total mess (and actually has a comment telling it's a total mess).
...
Not that I can think of very good reasons why I would like to support more than one floppy (since floppies are almost dead) but...
For all practical purposes, I don't think I have any problem supporting drive0 in "primary" controller.... but...
What is this nonsense: commands to controller allow selecting one of 4 drives. In addition to this, several docs mention two IO addresses for two controllers, primary and secondary...
So... mm.. is this like 4 drivers per 2 controllers? Or is this like 1 driver/controller, and one just have to "know" where something is?
Like, if I want to support two drives, do I access them both with the primary controller, or am I supposed to access fd0 with primary, and fd1 with secondary controller?
...
Most simple drivers only deal with drive 0 in primary controller, and the less simple driver I found in Linux is a total mess (and actually has a comment telling it's a total mess).
...
Not that I can think of very good reasons why I would like to support more than one floppy (since floppies are almost dead) but...