Skip to content

swim1.cpp: Set long cell error only when synched - #15764

Open
FakeShemp wants to merge 1 commit into
mamedev:masterfrom
FakeShemp:swim1-long-cells
Open

swim1.cpp: Set long cell error only when synched#15764
FakeShemp wants to merge 1 commit into
mamedev:masterfrom
FakeShemp:swim1-long-cells

Conversation

@FakeShemp

Copy link
Copy Markdown
Contributor

I was converting some of my DSHD Mac floppies to moof and MFI, but when I tried to run them on a SWIM1 device, like macse30 I got "unreadable disk" errors. Converting the dumps to IMG made them work.

I think I figured out the reason, being that the dumps have some slightly too long cell lengths around write splices. There's already a comment in the source about too short ones causing issues, so the "too short" error has been overridden already. These don't happen on perfect timing IMGs as far as I know.

I know way too little about the SWIM to come up with a real fix, but am happy for input if this looks too dumb.

@ajrhacker
ajrhacker requested a review from galibert July 25, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant