[PATCH 0/1] hw/m68k: add working floppy controller for q800

Matt Jacobson posted 1 patch 1 week, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251203064336.79847-1-mhjacobson@me.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Laurent Vivier <laurent@vivier.eu>
hw/block/meson.build               |   2 +-
hw/block/sony_superdrive.c         | 940 +++++++++++++++++++++++++++++
hw/block/swim2.c                   | 657 ++++++++++++++++++++
hw/block/trace-events              |  17 +
hw/m68k/q800.c                     |   4 +-
include/hw/block/sony_superdrive.h |  55 ++
include/hw/block/swim2.h           |  66 ++
include/hw/m68k/q800.h             |   4 +-
8 files changed, 1740 insertions(+), 5 deletions(-)
create mode 100644 hw/block/sony_superdrive.c
create mode 100644 hw/block/swim2.c
create mode 100644 include/hw/block/sony_superdrive.h
create mode 100644 include/hw/block/swim2.h
[PATCH 0/1] hw/m68k: add working floppy controller for q800
Posted by Matt Jacobson 1 week, 3 days ago
[Please notify me of any process errors -- this is my first contribution to
QEMU.  Thanks.]

Implement the SWIM2 floppy controller for the q800 machine.
(For details, see: <https://archive.org/details/SWIMDesignDocs/SWIM2%20ERS/>.)

Reading and writing work, and booting from a system disk works.
Tested with the Quadra 800 ROM and System 7.

Future areas of work here could include:

* Allowing for disk formatting/duplication to work
* Fleshing out the SWIM1 and hooking it up to the emulated drive
* Implementing the IWM for earlier machines (this could share code with SWIM1)

Matt Jacobson (1):
  hw/m68k: add working floppy controller for q800

 hw/block/meson.build               |   2 +-
 hw/block/sony_superdrive.c         | 940 +++++++++++++++++++++++++++++
 hw/block/swim2.c                   | 657 ++++++++++++++++++++
 hw/block/trace-events              |  17 +
 hw/m68k/q800.c                     |   4 +-
 include/hw/block/sony_superdrive.h |  55 ++
 include/hw/block/swim2.h           |  66 ++
 include/hw/m68k/q800.h             |   4 +-
 8 files changed, 1740 insertions(+), 5 deletions(-)
 create mode 100644 hw/block/sony_superdrive.c
 create mode 100644 hw/block/swim2.c
 create mode 100644 include/hw/block/sony_superdrive.h
 create mode 100644 include/hw/block/swim2.h

-- 
2.37.1 (Apple Git-137.1)