CPCWiki forum

General Category => Technical support - Hardware related => Topic started by: CrookieMonster on 20:39, 27 September 22

Title: Connecting 3.5-inch drive for emulation
Post by: CrookieMonster on 20:39, 27 September 22
I have loads of CPC software on 3.5-inch discs. The 3.5-inch drive connected to my CPC doesn't work any more but I was thinking of getting a £20 3.5-inch USB drive for my Mac and seeing if I can run the software via emulation. Is this possible and could I create disc images - some of this software may not be available online and I'd like to share.
Title: Re: Connecting 3.5-inch drive for emulation
Post by: ComSoft6128 on 08:45, 28 September 22
Can't speak for the Mac but I bought one of these 5 years ago for a Windows laptop and found it to be a waste of time and money.
A better option was to buy a working 3.5" drive and copy the files to A & then copy the files to Gotek.
Title: Re: Connecting 3.5-inch drive for emulation
Post by: Sid_ on 10:41, 28 September 22
Quote from: CrookieMonster on 20:39, 27 September 22I have loads of CPC software on 3.5-inch discs. The 3.5-inch drive connected to my CPC doesn't work any more but I was thinking of getting a £20 3.5-inch USB drive for my Mac and seeing if I can run the software via emulation. Is this possible and could I create disc images - some of this software may not be available online and I'd like to share.
I tried in the past to do such things. You need to develop at low level the amsdos driver to be recognize by the mac darwin kernel.
Not an easy task.
Title: Re: Connecting 3.5-inch drive for emulation
Post by: CrookieMonster on 10:58, 28 September 22
Ah, sounds like mission impossible for me then. Wouldn't know where to start with developing that. I'll see if I can get this 3.5-inch drive working again.
Title: Re: Connecting 3.5-inch drive for emulation
Post by: robcfg on 12:20, 28 September 22
The problem with usb disk drives is that they are hardwired to support only the standard PC DOS configurations.

I'm not sure you can change that behaviour from the software side of things.
Title: Re: Connecting 3.5-inch drive for emulation
Post by: CrookieMonster on 22:08, 28 September 22
Would it work with a CPC emulator on PC? I can dual boot on the Mac.
Title: Re: Connecting 3.5-inch drive for emulation
Post by: Sid_ on 07:53, 29 September 22
I can do a test at home to dump the floppy with dd command, and make a tool to convert the raw dump to a dsk.
If you are interested I can explain how to dump the floppy content to a raw file.
Title: Re: Connecting 3.5-inch drive for emulation
Post by: CrookieMonster on 15:40, 29 September 22
I'd definitely be interested. It'd be good to get the software off these disks because I'm certain there's stuff on there not available online - I can then upload them for others to see.
Title: Re: Connecting 3.5-inch drive for emulation
Post by: Sid_ on 20:39, 29 September 22
ok, I will take out my usb floppy and I'll do some tests.
I will try to do this weekend. 
Title: Re: Connecting 3.5-inch drive for emulation
Post by: CrookieMonster on 11:51, 03 October 22
As luck would have it, my wife found an old external USB 3.5-inch drive during a clear out of the garage. And then, as suspected, I plugged it into the Mac and it won't read the CPC-formatted disks. Hopefully _sid's solution will work.

I can see one disk has Crystal X games written on the label. I can see a couple of games by this company are available for download online (https://cpcrulez.fr/info-crystal_x.htm) but I think I have the whole catalogue of titles.
Title: Re: Connecting 3.5-inch drive for emulation
Post by: Sid_ on 15:22, 05 October 22
I took out my floppy drive, but unfortunately I have no more 3.5 inch floppy.
I would like to see on Macos if the inserted drive is seen by the OS and copy raw content by the command
dd in=/dev/floppy of=$HOME/Desktop/floppy_dump.img
for instance.
Title: Re: Connecting 3.5-inch drive for emulation
Post by: CrookieMonster on 15:36, 05 October 22
If I plug the 3.5-inch USB drive into the Mac, it recognises the drive so long as there's an MS-DOS formatted floppy in it. But I won't recognise the drive if a CPC-formatted floppy is inserted. 
Title: Re: Connecting 3.5-inch drive for emulation
Post by: robcfg on 19:28, 05 October 22
Quote from: CrookieMonster on 15:36, 05 October 22If I plug the 3.5-inch USB drive into the Mac, it recognises the drive so long as there's an MS-DOS formatted floppy in it. But I won't recognise the drive if a CPC-formatted floppy is inserted.
I confirm what you describe here, and I already told you why:
QuoteThe problem with usb disk drives is that they are hardwired to support only the standard PC DOS configurations.
Title: Re: Connecting 3.5-inch drive for emulation
Post by: CrookieMonster on 20:44, 05 October 22
Oh, sorry, I was just describing to Sid_ what I see on macOS when the drive is inserted. 
Title: Re: Connecting 3.5-inch drive for emulation
Post by: robcfg on 20:45, 05 October 22
I tried that too. It's a pity that those usb drives aren't a bit more versatile...
Title: Re: Connecting 3.5-inch drive for emulation
Post by: CrookieMonster on 16:11, 06 October 22
Very much so. 😞
Title: Re: Connecting 3.5-inch drive for emulation
Post by: Sid_ on 18:49, 06 October 22
Well when you insert a floppy, the point is to see if a symbol link is created in directory /Dev/. It's the case you can use the command dd. 
But you will need to open a terminal. And attention, dd is a low level command you can damage a partition. 
Title: Re: Connecting 3.5-inch drive for emulation
Post by: robcfg on 19:58, 06 October 22
I already did that, but as @CrookieMonster pointed out, the drives won't mount if the disk is not recognised.
Title: Re: Connecting 3.5-inch drive for emulation
Post by: Sid_ on 15:53, 13 October 22
I found this but I haven't test it, may help you https://github.com/johnkw/dumpfloppy
Title: Re: Connecting 3.5-inch drive for emulation
Post by: Sid_ on 16:03, 13 October 22
or this https://github.com/davidgiven/fluxengine but it need more time.
Title: Re: Connecting 3.5-inch drive for emulation
Post by: CrookieMonster on 06:37, 15 October 22
I'll check these out. 😀
Title: Re: Connecting 3.5-inch drive for emulation
Post by: CrookieMonster on 18:44, 12 November 22
I've come across a device that appears to crack this particular problem. It's a Kryoflux -https://webstore.kryoflux.com/catalog/product_info.php?cPath=1&products_id=28. Has anyone used one for CPC archiving and does it sound like the best solution?
Title: Re: Connecting 3.5-inch drive for emulation
Post by: sb1903 on 21:17, 17 November 22
This sounds a bit similar as the Greaseweazle (see https://github.com/keirf/greaseweazle/wiki/Purchase-a-Greaseweazle), which is way cheaper. I am using such a Greaseweazle - however under Linux - to read my old 3" disks with an original FD-1 floppy (for which I just had to replace the belt to get it working again) on "raw" (flux) level. Overall, this works like a charm, see the thread here in the forum (https://www.cpcwiki.eu/forum/technical-support/greaseweazle/) for more info. I am pretty confident that this should also work for 3.5" drives. I am just not sure if all needed software is available for Mac.
Title: Re: Connecting 3.5-inch drive for emulation
Post by: robcfg on 23:03, 17 November 22
Quote from: CrookieMonster on 18:44, 12 November 22I've come across a device that appears to crack this particular problem. It's a Kryoflux -https://webstore.kryoflux.com/catalog/product_info.php?cPath=1&products_id=28. Has anyone used one for CPC archiving and does it sound like the best solution?
Kryoflux definitely works like a charm with a FD-1 drive, and you don't even need an adapter for the floppy cable.
Title: Re: Connecting 3.5-inch drive for emulation
Post by: geebus on 15:47, 21 November 22
Just thought I'd add in here. I have an XP laptop that I have set up for reading and writing 3.5" disks.
Also have another XP machine with a 3" drive in it for the same reason.

If I can help you with your backup process, let me know. Happy to do so.
Powered by SMFPacks Menu Editor Mod