Here are misc fixes done by VirtualBox team. With these patches, floppy emulation is now good enough to run Xenix.
Changes v2->v3: - removed patch changing controller stepping to 0 - fixed out of bound access after bad seek command Changes v1->v2: - updated commit messages - added missing 'break' and braces Hervé Poussineau (9): fdc: take side count into account fdc: set busy bit when starting a command fdc: most control commands do not generate interrupts 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 | 111 ++++++++++++++++++++++++++++++++++++++++++++++++-------------- hw/pc.c | 3 +- 4 files changed, 136 insertions(+), 62 deletions(-) -- 1.7.7.3