TomHarte / CLK

A latency-hating emulator of: the Acorn Electron and Archimedes, Amstrad CPC, Apple II/II+/IIe and early Macintosh, Atari 2600 and ST, ColecoVision, Enterprise 64/128, Commodore Vic-20 and Amiga, MSX 1/2, Oric 1/Atmos, early PC compatibles, Sega Master System, Sinclair ZX80/81 and ZX Spectrum.
MIT License
926 stars 52 forks source link

Feature request: Kryoflux support. #614

Open nekoniaow opened 5 years ago

nekoniaow commented 5 years ago

(Note: this is a copy of the similar feature request for Oricutron https://github.com/pete-gordon/oricutron/issues/136).

Many emulators (list here: https://kryoflux.com/?page=links_emulators) now support reading floppy disks off of captured disk data from devices such as the Kryoflux's IPF format.

Adding such support to CLK would allow Oric users to access their Kryoflux-backed floppy disks inside the emulator instead of wearing off the original disks.

Kryoflux do provide a open-source library which allows to implement such support: Windows binary: http://www.kryoflux.com/download/spsdeclib_5.1_windows_binary.zip Source code: http://www.kryoflux.com/download/spsdeclib_5.1_source.zip

Cheers!

TomHarte commented 5 years ago

Definitely a great idea; I already support HFE, which is higher fidelity than DSK, but it's not at the IPF level — in particular it imposes a constant data clock rate across each track, and it has to be a relatively low one so you can't just massively oversample. In its defence, HFE was intended for a real hardware drive emulator and only adopted by emulators as a side effect.

Preamble aside: do you have any sample Oric IPFs? Just for testing. Even if not then I'm sure I'll be able to rustle up a sample image that at least one of Clock Signal's machines can read so no big deal if not.

nekoniaow commented 5 years ago

I do not have any IPF files myself but DBug from the defence-force forums has plans to use his Kryoflux to archive some of his Oric disks so I suspect he may soon have a few available if he does not already. I guess you can just hop-in on the thread where he talks about that and where I mentioned this issue: http://forum.defence-force.org/viewtopic.php?f=19&t=1938.