Kryoflux: How to setup?

Anything related to the tools Tap2Wav, Tap2CD, Tap2Dsk, Sedoric Disc Manager, Tape Header Creator, WriteDsk, and generaly speaking tools related to the management of Oric data files and devices.
Post Reply
User avatar
Dbug
Site Admin
Posts: 2909
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Kryoflux: How to setup?

Post by Dbug » Sat Mar 23, 2019 8:52 pm

So, I got myself a Kryoflux device a few months ago, and since I'm planning on formating a few floppies for my own usages, I'd like first to archive whatever is already on the floppies in order to avoid lose potentially important data that could be of interest to some people.

I know that some floppies contains Amstrad stuff, some other contain some Jasmin TDOS data, and I have a few older Sedoric disks.

My question is: How do you use the Kryoflux (either the DTC command line tool or the UI tool) to read the content of our 3" floppies to save into something that could be converted back to some emulator format?

Random example: I have a 3" floppy with Barbitoric on it, how can I recreate a valid Oric Emulator DSK file from it?

Thanks!

User avatar
Symoon
Archivist
Posts: 1619
Joined: Sat Jan 14, 2006 12:44 am
Location: Paris, France
Contact:

Re: Kryoflux: How to setup?

Post by Symoon » Sat Mar 23, 2019 9:59 pm

I think your best chance would be to ask someone like Brume, from the ST scene. He won't help you specifically on Oric disks but he's used it a lot for ST I think.

User avatar
iss
Squad Leader
Posts: 842
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Kryoflux: How to setup?

Post by iss » Sun Mar 24, 2019 11:37 am

From what I've read quick in some Kryoflux docs, I think there is NO easy way to get directly Oric-DSK image.
IMO you need to use RAW MFM 300rpm format to capture 40+/80+, single/double side floppies.
Having these per-track-image files we can create a parser to extract the actual data and recreate Oric-DSK compatible file.
Unfortunately I don't know if such tool exist already (maybe it's worth to try HxC related software).

User avatar
Dbug
Site Admin
Posts: 2909
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: Kryoflux: How to setup?

Post by Dbug » Sun Mar 24, 2019 2:00 pm

The HxC software can read DSK files, but not write them (it's not implemented):
http://torlus.com/floppy/forum/viewtopi ... 040#p20040

That being said, you may be right with the Kryoflux raw parser, that may be the simplest way to implement the converter.

User avatar
NekoNoNiaow
Flight Lieutenant
Posts: 271
Joined: Sun Jan 15, 2006 10:08 pm
Location: Montreal, Canadia

Re: Kryoflux: How to setup?

Post by NekoNoNiaow » Sat Mar 30, 2019 6:07 pm

iss wrote:
Sun Mar 24, 2019 11:37 am
From what I've read quick in some Kryoflux docs, I think there is NO easy way to get directly Oric-DSK image.
IMO you need to use RAW MFM 300rpm format to capture 40+/80+, single/double side floppies.
Having these per-track-image files we can create a parser to extract the actual data and recreate Oric-DSK compatible file.
Unfortunately I don't know if such tool exist already (maybe it's worth to try HxC related software).
My knowledge of the Kryoflux dates from one or two years but it echoes what you just said.
The IPF format output by Kryoflux does not translate in an obvious way to standard bit-based formats since it is composed of multiple readings of the magnetic flux so as to capture subtleties such as "random bits" (they change value randomly when read), which were used for floppy protections.
This allows to faithfully reproduce the behavior of protected floppy disks (such as Dungeon Master's random bits based protection) but makes translation to actual floppy bits difficult, especially because IPF is apparently more like a combination of flux generating scripts (if I remember it correctly) than actual data.

This said, it is perfectly possible to use Kryoflux scanned data inside emulators.
I think the Kryoflux guys wrote an IPF library which allows emulators to dynamically translate IPF "disks" into emulated floppy disks: the library will correctly re-generate the bit flux on demand when directed by the emulator.
The Amiga emulator WinUAE uses this to play protected games and this works great: scan your originals to IPF, then you can play them, including the protection inside your emulator, legally! ;)

I assume that this should be perfectly doable as well for Oric emulators.

Cf this English Amiga Board thread for info about the library: http://eab.abime.net/showthread.php?t=74143.

User avatar
Symoon
Archivist
Posts: 1619
Joined: Sat Jan 14, 2006 12:44 am
Location: Paris, France
Contact:

Re: Kryoflux: How to setup?

Post by Symoon » Sat Mar 30, 2019 6:17 pm

In the end, it's more or less the same process than tapes: analogic reads and need for a clean reading (or multiple ones).
We could try building our own tools to read from the IPF file, as there's doc around that gives details about the file format.

User avatar
NekoNoNiaow
Flight Lieutenant
Posts: 271
Joined: Sun Jan 15, 2006 10:08 pm
Location: Montreal, Canadia

Re: Kryoflux: How to setup?

Post by NekoNoNiaow » Sat Mar 30, 2019 9:37 pm

For those who are interested by such support, I have just created corresponding feature requests for CLK and Oricutron that you can vote for and/or comment on. ;)
Here they are:
https://github.com/TomHarte/CLK/issues/614
https://github.com/pete-gordon/oricutron/issues/136

Cheers. ;)

User avatar
Dbug
Site Admin
Posts: 2909
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: Kryoflux: How to setup?

Post by Dbug » Sun Mar 31, 2019 11:20 am

Integrating the Kryoflux format in the emulators would definitely simplify the archiving process: Rip a floppy, mount the stream in the emulator, if it works well save it into a DSK.

Does that work in the other direction as well, being able to generate Kryoflux files so you can rebuild physical floppies?

User avatar
NekoNoNiaow
Flight Lieutenant
Posts: 271
Joined: Sun Jan 15, 2006 10:08 pm
Location: Montreal, Canadia

Re: Kryoflux: How to setup?

Post by NekoNoNiaow » Sun Mar 31, 2019 3:42 pm

Dbug wrote:
Sun Mar 31, 2019 11:20 am
Integrating the Kryoflux format in the emulators would definitely simplify the archiving process: Rip a floppy, mount the stream in the emulator, if it works well save it into a DSK.

Does that work in the other direction as well, being able to generate Kryoflux files so you can rebuild physical floppies?
When I looked at Kryoflux two years ago, this was not possible at the time but I think they and the community (on the Amiga at least) have been actively working on such a feature. This said, I kinda remember the Kryoflux guys being wary of this allowing piracy so they may have refrained from implementing this.

For floppy disks with protection though, there are limitations to what can be written back to the disk though as that requires more magnetic head precision than what regular floppy drive allow. Reading is fine because it does not need to have a perfect recording of the magnetic flux since it does multiple passes to capture "irregular bits" but as far as I understand it normal disks may not be able to re-generate protections correctly.

This said, this is old knowledge and may be now wrong. ;)

ThomH
Flying Officer
Posts: 149
Joined: Thu Oct 13, 2016 9:55 pm

Re: Kryoflux: How to setup?

Post by ThomH » Tue Apr 02, 2019 2:02 pm

IPF support in Clock Signal would be a really useful thing, I think. I've so far deferred for two reasons: the library provided duplicates quite a lot of what Clock Signal already does, making its wholesale inclusion undesirable; and I tend to run from anything which has been overtly politicised.

That being said, I'm currently knee-deep in adding the 68000 as an emulated processor so IPF's new ubiquity in the world of 68000 micro emulators substantially increases the argument in favour.

So, one polite request: if any Oric (or, indeed, unknown Oric-or-CPC) IPFs exist or are soon created, it would be really useful to have copies.

In the meantime, don't forget that Clock Signal offers full HFE support, so if using that as an intermediary somehow fills in the missing link in an IPF to DSK pipeline for the time being, fill your boots.

EDIT: actually, it's better than that. Clock Signal will consider starting an Oric only if presented with a DSK or HFE, but once an Oric is running you can insert any supported disk image format into it. So, trying to restrict myself to image types that are likely fully to represent an Oric disk, if you can get to an Amstrad CPC-style DSK or a DMK then that might work.

Post Reply