Skip to content

Misc fixes for floppy emulation

Hervé Poussineau qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest11 patches 6 repliesIn review
  2. v39 patches 12 repliesSuperseded
  3. v210 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v110 patches5 repliesSuperseded

Changes in v4 from the cover letter

- added pc-1.1 machine type
- disable media transfer rate check on older machine types
- save/restore media transfer rate when media transfer rate check enabled

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11fdc: take side count into accounthw/fdc.c+11 -60 replies
2/11fdc: set busy bit when starting a commandhw/fdc.c+1 -10 replies
3/11fdc: most control commands do not generate interruptshw/fdc.c+6 -60 replies
4/11fdc: handle read-only floppies (abort early on write commands)hw/fdc.c+11 -00 replies
5/11fdc: add CCR (Configuration Control Register) write registerhw/fdc.c+22 -00 replies
6/11block: add a transfer rate for floppy typesblock.c block.h hw/fdc.c +1 more+52 -380 replies
7/11pc: add 1.1 machine typehw/pc_piix.c+10 -11 reply
8/11fdc: add a 'check media rate' property. Not used yethw/fdc.c hw/pc_piix.c+39 -00 replies
9/11fdc: check if media rate is correct before doing any transferhw/fdc.c+50 -33 replies
10/11fdc: fix seek command, which shouldn't check trackshw/fdc.c+6 -30 replies
11/11fdc: DIR (Digital Input Register) should return status of current drive...hw/fdc.c+3 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [Qemu-devel] [PATCH v4 00/11] Misc fixes for floppy emulation

Here are misc fixes done by VirtualBox team.
With these patches, floppy emulation is now good enough to run Xenix.

Changes v3->v4:
- added pc-1.1 machine type
- disable media transfer rate check on older machine types
- save/restore media transfer rate when media transfer rate check enabled

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 (11):
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
pc: add 1.1 machine type
fdc: add a 'check media rate' property. Not used yet
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     |  142 +++++++++++++++++++++++++++++++++++++++++++++++-----------
 hw/pc.c      |    3 +-
 hw/pc_piix.c |   47 +++++++++++++++++++-
 5 files changed, 211 insertions(+), 65 deletions(-)
Signature · 1 line
1.7.8.3