The fd_seek will return 'track is invalid' if there is no media in drive. Implied seek should have the same behavior as normal seek. We will use the fd_seek function instead of a direct modification of head, track and sector values. The result value is used only while read/write commands were issued.
Fixed sense interrupt status command. Pavel Hrdina (4): fdc: fix implied seek while there is no medina in drive fdc-test: introduced qtest read_without_media fdc: rewrite seek and DSKCHG bit handling fdc: fix interrupt handling hw/fdc.c | 99 ++++++++++++++++++++++++++++-------------------------- tests/fdc-test.c | 63 ++++++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+), 48 deletions(-) -- 1.7.7.6