Here are misc fixes done by VirtualBox team.
With these patches, floppy emulation is now good enough to run Xenix.
Changes v1->v2:
- updated commit messages
- added missing 'break' and braces
- moved patch 8 before patch 6
Hervé Poussineau (10):
fdc: take side count into account
fdc: set busy bit when starting a command
fdc: most control commands do not generate interrupts
fdc: emulate stepping 0
fdc: handle read-only floppies (abort early on write commands)
fdc: add CCR (Configuration Control Register) write register
block: add a transfer rate for floppy types
fdc: check if media rate is correct before doing any transfer
fdc: fix seek command, which shouldn't check tracks
fdc: DIR (Digital Input Register) should return status of current
drive...
block.c | 74 ++++++++++++++++++++------------------
block.h | 10 +++++-
hw/fdc.c | 117 ++++++++++++++++++++++++++++++++++++++++++++++----------------
hw/pc.c | 3 +-
4 files changed, 137 insertions(+), 67 deletions(-)
--
1.7.7.3