commit | 8615f62037406ba27b9a5e868db30a8a05ca3a4e | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Wed Dec 11 19:38:15 2013 -0500 |
committer | Kevin O'Connor <kevin@koconnor.net> | Thu Dec 12 23:14:19 2013 -0500 |
tree | c3efa4b9c963bac27ffb337933e34c64364ff4ce | |
parent | b84899e1df0030387d009b4a061becf0699523a1 [diff] |
floppy: Implement cylinder seeking when accessing a different cylinder. It appears that on real hardware, floppies require a seek command to move the floppy head between cylinders. So, track what cylinder is active and issue a seek command whenever a new cylinder is requested. This also breaks up the floppy_cmd() code so that the low-level command functions can pass the desired cylinder directly to the seeking code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>