[HN Gopher] Emulating the Early Macintosh Floppy Drive
___________________________________________________________________
Emulating the Early Macintosh Floppy Drive
Author : GloriousCow
Score : 47 points
Date : 2024-08-25 16:04 UTC (6 hours ago)
(HTM) web link (thomasw.dev)
(TXT) w3m dump (thomasw.dev)
| GloriousCow wrote:
| An in-depth dive into the Macintosh floppy drive system,
| including the fascinating IWM (Integrated Woz Machine) custom
| floppy controller. The level of fidelity to properly emulate the
| Macintosh disk drive is impressive, and this should be an
| essential resource to any aspiring Macintosh emulator developers.
| tom_ wrote:
| Feels slightly surprising, at least from the comfort of my 21st
| century armchair, that they went to all that effort for 800 KB
| per disk. The Atari ST (with an off the shelf 1772 FDC) had no
| problem with 800 KB - 2 sides, 80 tracks, 10 sectors per track,
| 512 bytes per sector - and that seemed perfectly reliable.
|
| The Amiga did its own thing, same as the Mac, but at least it got
| some extra storage. 880 KB per disk!
|
| (880 KB was also an option on the ST, but only for disks written
| a track at a time, which was impossible to guarantee if using the
| OS. With 11 sectors per track, writing individual sectors wasn't
| reliable as the gaps between them are so small. The OS didn't
| support irregular disk geometry so you couldn't have more sectors
| on the outer tracks.)
| brudgers wrote:
| Per Wikipedia, early ST's floppies were 360K even though it
| came out a year after the Macintosh.
| https://en.wikipedia.org/wiki/Atari_ST#Floppy_drive
|
| Hardware got better really quickly in the 1980's and 90's,
| including floppy disks. By the end of the 20th century, there
| were 120MB floppies. Basically Moore's Law seemed to apply to
| spinning rust for awhile.
| chuckadams wrote:
| > By the end of the 20th century, there were 120MB floppies
|
| In the form of Zip disks, yes. I'm reasonably sure 3.5"
| disks, the last thing to be called "floppies", topped out at
| 2.88M.
| wtallis wrote:
| LS-120 drives were floptical drives that were backwards-
| compatible with 3.5" 1.44MB disks. IIRC you needed special
| media to use the 120MB capacity, but the same slot could
| accept the common 1.44MB disks and give you much better
| performance than normal floppy drives. The successor LS-240
| drives also had the ability to write 32MB to a standard
| floppy disk using shingled magnetic recording.
|
| If Zip disks, CD-R and USB flash drives hadn't showed up,
| these drives would have been pretty widely recognized as
| the next generation of floppies.
| chuckadams wrote:
| Right, I forgot about flopticals... but I guess almost
| everyone else did too. NeXT boxes had those, didn't they?
| wtallis wrote:
| NeXT boxes used magneto-optical disks, which usually
| meant a laser was used to heat the magnetic material
| during the write process, and at lower intensity to read
| data optically. The optics in a floptical drive are just
| part of the head alignment servo mechanism, so it was
| probably much easier to make them cheap and backwards-
| compatible with mainstream floppies.
| wazoox wrote:
| Nope, NeXT had magneto-optical 128 MB drives, somewhat
| related. They were 3.5" but using an entirely different
| media, and were absolutely incompatible with ordinary
| floppies.
| brudgers wrote:
| Almost all digital formats die in obscurity. 3" floppies,
| 5v SmartMedia, Jazz disks, and DAT were good ideas in the
| moment that were not good ideas a moment later. The
| logistics of reading even popular formats like Qic 40 and
| ADAT today are hard.
| rasz wrote:
| Op meant LS120.
|
| "Ordinary" floppies peaked in 1988 (yes, before IBM 1990
| PS/2 2.88 ED) with 'Triple' or '2TD' format developed and
| shipped by NEC inside PC-88 VA3. 13MB unformatted, _9,120
| kB_ formatted capacity. Triple because it tripled track
| density from 80 to 240 while reusing ED barium ferrite
| magnetic media and perpendicular recording head of ED
| drive, same ~100KB/s speed.
|
| https://necretro.org/PC-88_VA3
|
| https://en.wikipedia.org/wiki/List_of_floppy_disk_formats#:
| ~...
| thought_alarm wrote:
| It's all just an evolution of their existing disk drive
| technology that started well before the last-minute decision to
| go with the Sony 3.5" drive.
|
| The variable drive speed comes of the development of the
| "Twiggy" drive, which was an 850 kB 5.25 disk format originally
| intended for the Apple III in 1980 but never worked reliably.
|
| BTW, the Atari ST uses the same floppy disk format as the IBM
| PC, 360 kB per side.
|
| The Amiga uses a variable drive speed like the Mac, but they
| eke out extra capacity by eliminating sectors. This allows an
| extra 512 bytes per track, but the trade off is that the disk
| controller can only read or write an entire track at a time,
| rather than individual sectors.
|
| An infamous Apple II copy protection scheme used the same trick
| to expand 5.25 disk capacity from 16 sectors to 18 sectors (512
| bytes per track).
| tom_ wrote:
| 360 KB/side was indeed the default for the Atari ST, but
| there were numerous tools (I think Fastcopy III was the one I
| usually used) to format with more sectors per track, and 10
| sectors/track (so 400 KB/side) was the standard
| recommendation if you just wanted more data per disk and no
| hassle. More than 80 tracks was also an option, and 81 or 82
| tracks was apparently also reliable. That never sat right
| with me though, so I didn't do it.
|
| (18 sectors per track with 256 byte sectors is also possible
| with the 1770 series. This was one of the disk format options
| on the BBC Micro. Definitely not written a track at a time!
| There just wasn't the memory for that.)
| rasz wrote:
| >Amiga uses a variable drive speed
|
| Amiga uses standard PC drives with slight tweaked pinout
| https://linuxjedi.co.uk/2020/12/05/converting-a-pc-floppy-
| dr...
| s800 wrote:
| The Amiga is fixed RPM or CAV, not CLV like the og Mac. With
| one exception- later models could halve the RPM to read/write
| HD floppies (1.44MB PC or 1.76MB Amiga).
| joezydeco wrote:
| Andy Herzfeld explains the backstory of the Mac disk drive in
| that classic Folklore.org story:
|
| https://www.folklore.org/Hide_Under_This_Desk.html
| Lammy wrote:
| > The disadvantage of this technique was that there was no
| interoperability with PC diskettes possible, at all, even with
| software changes. For the Macintosh, this changed with the
| introduction of the Macintosh SE in 1987. The Macintosh SE had a
| new floppy drive controller, the 'SWIM' (Super Woz Integrated
| Machine) and a new disk drive which could read and write both
| Macintosh CLV and PC CAV formatted diskettes.
|
| Pardon my nitpick, but there were two versions of the SE and the
| author has the dates mixed up here. The original 1987 model had
| the same disk capabilities as the Mac Plus except it could have
| two of them installed internally instead of just one on the Plus.
| Or one 800K drive and an internal SCSI HDD in the other bay --
| your choice! (Mine actually has all three thanks to a third party
| internal HDD bracket!)
|
| The FDHD (floppy disk high density) version was released in 1989
| as a standalone computer and also as an upgrade kit for the
| original model containing one (1) SuperDrive, SWIM, updated ROM,
| and little "FDHD" and "800K" badges to put next to the upgraded
| and remaining original drives respectively.
|
| See https://bylenga.ddns.net/FDHD/MacSEservice.pdf#page=87
| hnpolicestate wrote:
| Got myself 3 iMacs (1998) and 2 Macintosh SE's (not sure specific
| model yet) yesterday at an estate sale for $50.
| memcg wrote:
| I was given a Macintosh SE model M5010 and a M5011 in 2020.
| Both have bad hard drives, but the batteries are not leaking.
| I'm not sure when I'll get around to working on them.
| lisper wrote:
| Does anyone make a usb floppy drive capable of reading Mac disks?
| I would be willing to pay quite a lot for one.
| Locutus_ wrote:
| If you have important Mac disks to archive, then a Kryoflux is
| probably the way to go.
|
| It's a external USB attached floppy drive controller that uses
| a normal PC floppy drive.
|
| It reads the raw disk stream and software then decodes that for
| whatever disk format it was. It seems old Mac disks can be
| recovered with it:
|
| https://www.kryoflux.com/?page=home
| http://forum.kryoflux.com/viewtopic.php?t=135
| Lammy wrote:
| Also https://github.com/keirf/greaseweazle
___________________________________________________________________
(page generated 2024-08-25 23:00 UTC)