Skip to main content
Home Forums 68kMLA Floppy Emu: an SD Card Floppy Emulator — #32
Post #32 by bigmessowires
Source Forum68kMLA
CategoryTroubleshooting
Post DateThu, 8 Dec 2011 - 17:44
Original URLhttps://68kmla.org/bb/threads/floppy-emu-an-sd-card-floppy-emulator.24248/
Post
The site seems to have some temporary glitches the past few days, but I'm not sure why. It's up now.

There's nothing I can really do to stall the OS, beyond things that a real floppy drive would do. I can take up to 12 ms when stepping between tracks, and up to 23 ms between sectors when doing a read operation. Exceed those times, and the Mac floppy driver will report an error. I think I can make it all work, but it's not a slam dunk.

The irony is that the high-level disk API would be perfect for SD card I/O, since it views the disk as one continuous 800K range and supports block reads and writes at any position and size. But then the floppy driver translates those requests into the arcane world of tracks and sides and sectors and GCR encoding, and my emulator hardware must do the reverse translation back to a simple linear unencoded API for SD card I/O. It's like translating a book from English to Chinese to English. But since the goal is to emulate a real floppy drive using stock Mac ROMs and no special drivers, that's how it has to be.

Anyway, sorry for grousing. I'll get it figured out. :)

mp.ls