Thread
Floppy Emu update: Mac 128K/512K support
OK, I've got some new firmware that gets Floppy Emu sort-of-working on Macs with the original 64K ROM (the Mac 128K and 512K un-enhanced). With this change, there's no more Sad Mac 0F0004 on boot up, and I was able to successfully boot System 3.3.0 many times on a Mac 512K, and verify that read and write emulation works!
The "sort-of-working" part is that System 3.3.0 appears to be the ONLY disk image that works. I tried two different versions of System 1.1 boot images, and they both die with Sad Mac 0F0062 when the disk is inserted.
It's encouraging that at least System 3.3.0 works - maybe there's just something bad about my 1.1 disk images. Or maybe there's something in the System 1.1 code that's a problem. Bbraun, dougg3, haplain, and anyone else with hardware: if you guys have any other bootable 400K disk images, I'd be curious to see what results you get.
The new firmware is at http://www.bigmessowires.com/floppy-emu-64K.zip It's important to apply both the new CPLD firmware (firmware.xvf) *and* the new AVR application (floppyemu.hex, or femu.bin if you're using the SD bootloader to update the AVR). I've been changing the signal assignments of the traces connecting the two chips, so if you update one without the other, you could leave yourself in a fubar state, or create contention where both chips try to drive the same line.
Also, I think the versions of the 3.3.0 and 1.1 disk images that I originally distributed are wrong. For one thing, they're 800K, and for another, at least one of them appears to be a HFS image instead of MFS. I've included two new disk images in the ZIP file.
The "sort-of-working" part is that System 3.3.0 appears to be the ONLY disk image that works. I tried two different versions of System 1.1 boot images, and they both die with Sad Mac 0F0062 when the disk is inserted.
It's encouraging that at least System 3.3.0 works - maybe there's just something bad about my 1.1 disk images. Or maybe there's something in the System 1.1 code that's a problem. Bbraun, dougg3, haplain, and anyone else with hardware: if you guys have any other bootable 400K disk images, I'd be curious to see what results you get.
The new firmware is at http://www.bigmessowires.com/floppy-emu-64K.zip It's important to apply both the new CPLD firmware (firmware.xvf) *and* the new AVR application (floppyemu.hex, or femu.bin if you're using the SD bootloader to update the AVR). I've been changing the signal assignments of the traces connecting the two chips, so if you update one without the other, you could leave yourself in a fubar state, or create contention where both chips try to drive the same line.
Also, I think the versions of the 3.3.0 and 1.1 disk images that I originally distributed are wrong. For one thing, they're 800K, and for another, at least one of them appears to be a HFS image instead of MFS. I've included two new disk images in the ZIP file.
Cool! With bbraun's assistance for the fusebit settings (looks like high = 0xBF, low = 0xDA, ext. = 0xFF), I got the new AVR and CPLD firmware flashed.
I don't have a 128K or 512K to play with (only a Plus if needed), so I don't know how useful this info is, but your new Disk011.dsk and Sys330.dsk images definitely mount OK on my IIci through the floppy emu....
I don't have a 128K or 512K to play with (only a Plus if needed), so I don't know how useful this info is, but your new Disk011.dsk and Sys330.dsk images definitely mount OK on my IIci through the floppy emu....
Cool, sorry I forgot to explain the bootloader. Now that you've got it installed, for future updates you can copy femu.bin to your SD card, and then press Reset while holding PREV and SELECT. The ISP programmer isn't needed.
Good news! After many hours of scouring the web for ancient system software, and converting it to the right disk image format, all the 400K disk images I tried worked great on my Mac 512K:
System 2.0
Bootable MacPaint (system 2.0)
Bootable MacWrite (system 2.0)
System 3.2 HD 20
System 3.2 Installer
The only disk that doesn't work is that Disk011.dsk. I need to try copying that to a real floppy, and booting my 512K with that, to see if it's the disk contents or the Floppy Emu at fault. But at the moment the 512K's floppy drive is out of commission, so I need to get that working before I can try it.
Good news! After many hours of scouring the web for ancient system software, and converting it to the right disk image format, all the 400K disk images I tried worked great on my Mac 512K:
System 2.0
Bootable MacPaint (system 2.0)
Bootable MacWrite (system 2.0)
System 3.2 HD 20
System 3.2 Installer
The only disk that doesn't work is that Disk011.dsk. I need to try copying that to a real floppy, and booting my 512K with that, to see if it's the disk contents or the Floppy Emu at fault. But at the moment the 512K's floppy drive is out of commission, so I need to get that working before I can try it.
I found a System 0.97/Finder 1.0 image that works, as well as a French System 1.1 Finder 1.1, and the 400K version of Dark Castle. All run fine as emulated 400K disks under Floppy Emu on the Mac 512K. I don't know what's up with the US System 1.1/Finder 1.1 image, but I'm not going to worry about it any further.
Looks like Floppy Emu is now officially working on these 64K ROM Macs! Now, for 1.44MB floppy emulation support...
Looks like Floppy Emu is now officially working on these 64K ROM Macs! Now, for 1.44MB floppy emulation support...
Just try redownloading the System 1 disk images from Apple (if they've got them, that is
).
I just remembered that I've also got a System 1 disk image, but on second thought I think it was the one which came in the floppyemu download (I downloaded it when I was trying to make a 1.44 MB version).
).I just remembered that I've also got a System 1 disk image, but on second thought I think it was the one which came in the floppyemu download (I downloaded it when I was trying to make a 1.44 MB version).
And then I'm gonna nag you for a free one!!! And a schematic of your CPU, since I would like to see how it compares with my own CPU design.Now, for 1.44MB floppy emulation support...![]()
More info: there's definitely something screwy about that System 1.1 disk image. The real floppy drive magically started working, so I made a 400K floppy from the System 1.1 image, and tried booting the Mac 512K with that. It crashes with the same 0F0062 Sad Mac error as I get when using Floppy Emu, so it's definitely a problem with the software and not the Floppy Emu. Strange that the same System 1.1 disk image boots up fine in a Mac 512Ke and a Mac Plus. But at least the Floppy Emu seems to be behaving identically to a real floppy drive here.
that is slightly strange, could the fact that the drives are variable speed have something to do with it?
Note that all Mac floppy drives are variable speed. The difference between the 400K and all the later ones is the speed of the 400K is directly regulated based on a PWM signal from the motherboard, while all the later ones automatically change speed based on what track they're on. (IE, they ignore/don't need the PWM signal.)that is slightly strange, could the fact that the drives are variable speed have something to do with it?
Ahh, so could that explain why the 400k sounds different then the 800k? the PWM is controlling 400k?
lol i'm sure this is why he made a separate thread for this topic :-D
viewtopic.php?f=7&t=22231
or maybe its just a differently designed SEEK and Drive motor
I know for sure the SEEK motor is different on the 800k drive.
lol i'm sure this is why he made a separate thread for this topic :-D
viewtopic.php?f=7&t=22231
or maybe its just a differently designed SEEK and Drive motor
I know for sure the SEEK motor is different on the 800k drive.This is basically the holy grail of the 68k Mac scene. Be prepared to pay to have one built, or build it yourself.And then I'm gonna nag you for a free one!!!
I'l just point out here that the two that went up on ebay - without 1.4MB support - cleared over $300 each.
This "freebie me!" joke is wearing thin, onlyonemac.
This "freebie me!" joke is wearing thin, onlyonemac.
If I can get organized enough to build a bunch more, hopefully I can offer them for a lot less than $300. But probably not free.
I dunno, they have to be worth at least $100/$150, maybe even what they sold for! ;-) Considering they are the holy grail of vintage macs, the SCSI/SD/CF runs a close 2nd.
Yeah, color me really excited about this project. I'll be interested, when they are available, for sure.
- Alex
- Alex
New update: adds support for the Mac Classic (and probably a bunch of others with similar ROM)
http://www.bigmessowires.com/floppy-emu-1.0E-F4.zip
Known compatible Macs:
512K
512Ke
Plus
SE 800K
Classic
I don't know of any *incompatible* Macs, but these are the only ones that have been tested so far.
http://www.bigmessowires.com/floppy-emu-1.0E-F4.zip
Known compatible Macs:
512K
512Ke
Plus
SE 800K
Classic
I don't know of any *incompatible* Macs, but these are the only ones that have been tested so far.
Would be interesting to try on the Apple IIgs' on-board interface and some of the A2 add-on cards that support 800k drives like the Central Point Universal Disk Controller and Apple FDHD Controller.
If those used the same disk format as the Mac, then it should work. I'm fairly certain the drives themselves are compatible, but not sure if the IIgs used the same low-level scheme for marking sectors on the disk, checksumming, D5 AA 96 and all that fun GCR encoding stuff. :beige:
Will you be sending the new firmware to your two ebay customers?
Yup. One of them is right here on the forums, the other never responded to my contact through eBay so I don't know if he/she got it.
Can someone test theirs on a Macintosh II series?
(II, IIx, IIfx, IIci, IIsi, SE/30, etc.) I assume if it works on one, should work on the others.
(II, IIx, IIfx, IIci, IIsi, SE/30, etc.) I assume if it works on one, should work on the others.
I dunno about yours, but my II, IIx, and IIfx don't have floppy connectors.
I updated my floppyemu to the latest the BMOW just posted, and booted the IIsi with it. Works great.
dougg3 has also used his floppyemu with a IIci quite a bit.
I updated my floppyemu to the latest the BMOW just posted, and booted the IIsi with it. Works great.
dougg3 has also used his floppyemu with a IIci quite a bit.
I've actually tested my IIci with two floppy emus simultaneously -- one connected to the internal floppy port, one connected to the external floppy port. They both worked fine together
Haven't tried that with the latest firmware yet, but I'm sure it'll work fine.
Haven't tried that with the latest firmware yet, but I'm sure it'll work fine.The disks are the same low level 800k GCR format. The logical format is different as the native format on the II series is ProDOS.If those used the same disk format as the Mac, then it should work. I'm fairly certain the drives themselves are compatible, but not sure if the IIgs used the same low-level scheme for marking sectors on the disk, checksumming, D5 AA 96 and all that fun GCR encoding stuff. :beige:
Sweeeet. Could the ROM be updated to support 1.4MB images as well?
Another couple of updates:
1. Added support for DiskCopy 4.2 images, in read-only mode. Writable DiskCopy images should be possible too, but it's a little complicated since the disk data isn't aligned to block boundaries on the SD card, and also the whole disk image has a checksum that needs updating whenever a write occurs. I'll probably come back to that later, but for now having readable DiskCopy 4.2 images (as well as raw .dsk images) is pretty nice.
2. 1.44 MB HD floppy support has taken a small but important step. It's gone from the Mac telling me it has no idea what this disk signal means (error -67, can't find address mark), to it telling me it sees the sector address section, but the checksum is wrong (error -69, bad address mark). That may not sound like much, but I think it proves all the wacky MFM signalling stuff is actually working, which is the part I was most worried about. So now I can start working on the higher-level stuff, like actually sending the right data.
1. Added support for DiskCopy 4.2 images, in read-only mode. Writable DiskCopy images should be possible too, but it's a little complicated since the disk data isn't aligned to block boundaries on the SD card, and also the whole disk image has a checksum that needs updating whenever a write occurs. I'll probably come back to that later, but for now having readable DiskCopy 4.2 images (as well as raw .dsk images) is pretty nice.
2. 1.44 MB HD floppy support has taken a small but important step. It's gone from the Mac telling me it has no idea what this disk signal means (error -67, can't find address mark), to it telling me it sees the sector address section, but the checksum is wrong (error -69, bad address mark). That may not sound like much, but I think it proves all the wacky MFM signalling stuff is actually working, which is the part I was most worried about. So now I can start working on the higher-level stuff, like actually sending the right data.
Has it been tested operating alongside a real floppy drive?I've actually tested my IIci with two floppy emus simultaneously -- one connected to the internal floppy port, one connected to the external floppy port. They both worked fine together![]()
Yeah! *pokes*
)
)
I use the floppyemu on the external port and the internal floppy just fine.
Yeah, they coexist fine - it's just like a regular floppy drive.
Still trying to get this #*&^@%! 1.44 MB floppy support working...
Still trying to get this #*&^@%! 1.44 MB floppy support working...
Sure hope so. If you make another batch, sign me up. I'm gonna sell my Color Classic pretty soon, so I'll have some pennies to buy a floppy emulator.
Or two... if you do bulk discount.
Or two... if you do bulk discount.