News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Gryzor

[URGENT] Create dsk from Kryoflux? Mac edition

Started by Gryzor, 17:59, 03 February 23

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gryzor

How do you go from MFM to dsk on a Mac? Asking for a friend...

robcfg

The easiest way is to use the HxC Floppy Emulator software, which let you open Kryoflux raw files and export them to dsk files.

Gryzor

Quote from: robcfg on 23:41, 03 February 23The easiest way is to use the HxC Floppy Emulator software, which let you open Kryoflux raw files and export them to dsk files.
Damn that's easy if true :) Thanks, I transferred the info!

robcfg


Gryzor

Yeah I was told it worked! Thanks  :)

robcfg


SerErris

I am having the same problem.

@robcfg - can you please write a small howto?

BTW: I am trying to read it of a 5.25 drive which has been written with AMSDOS on a 6182 connected to the external drive port.

The side select has been done with a switch on the front, and the drive is actually a 80 track drive, but does a double step.

So the format is standard Amstrad MFM format (T40:S9:B512)

I struggle to get it right.

I can read the stream files (diskTT.S.raw) where TT is track number (00-78) and S is the side number.

With step 2 in cryoflux I can read the 40 track successfully and have 40 disk files.

I have written a short script to rename the files to 0-39, so that I have them in the correct numbering scheme.

However now I cannot produce a working .dsk file from it. I need to define all the parameters (e.g. interleave and stuff) and I do not know what the standard is.

Some detailed steps on what you do to get it done, would be fantastic.
Proud owner of 2 Schneider CPC 464, 1 Schneider CPC 6128, GT65 and lots of books
Still learning all the details on how things work.

SerErris

Oh, I am so stupid.

Sometimes it is just so much easier ...  :picard2:

Just drag the first file into hxcfe and thats about it. Then just save if as .dsk file and you are done. and yes ... could load them into an emu :-)
Proud owner of 2 Schneider CPC 464, 1 Schneider CPC 6128, GT65 and lots of books
Still learning all the details on how things work.

SerErris

#8
Hmm .. worked for side 1 - but not for side2 :-(

I can still read it and see it, but the .dsk img does not work.

/Edit:
Okay, wenn ich die seite 2 nicht umbenne, so daß Track 00 auch zur Seite 0 gehört .. Hmpfg.

Hat geklappt.
Proud owner of 2 Schneider CPC 464, 1 Schneider CPC 6128, GT65 and lots of books
Still learning all the details on how things work.

robcfg

Glad you got it working!

And yes, it's so easy that it's sometimes difficult to grasp...

For the record, you can use the standard "Load" button and select the 1st raw file (track00.0.raw).

Regarding the sides, you can tell Kryoflux to only image side 1, for example, or rename/delete the files that don't belong.

SerErris

Yeah, I have two things that I actually need to do.

1. The original drive was a 40 track drive (they used a 80 track drive and double stepped). So I get track images of 40 tracks, but they are numbererd 0,2,4,6, ... 79. So I need to rename them.

2. I can read very simple just one side - however if I read side 2, I also need to rename it.

Both is required so that HxC Emu does recognize it as 40 tracks single sided. 

If I do not do it, it is 80 tracks (every second track is missing) and double sided (for side 2).
Proud owner of 2 Schneider CPC 464, 1 Schneider CPC 6128, GT65 and lots of books
Still learning all the details on how things work.

SerErris

One other question to reading ancient disks:

If I read the track and it has a bad sector, is there any way to make the drive try harder? I cleaned it and so on, but it really looks like a disk problem, not a drive problem.

00.0    : frev: 40265, drift: 0.108 us, tfer: 196426 B/s, rpm: 300.439
00.0    : band: 3.990 us, 5.999 us, 8.003 us
00.0    : base: 2.000 us [99.923%], band: 3.990 us, 5.999 us, 8.003 us
00.0    : MFM: OK*, trk: 000, sec: 9, *H +7
02.0    : frev: 39195, drift: 0.356 us, tfer: 191182 B/s, rpm: 300.438
02.0    : band: 3.034 us?, 3.991 us, 6.000 us, 7.082 us?, 7.979 us
02.0    : base: 2.000 us [99.831%], band: 3.034 us?, 3.991 us, 6.000 us
02.0    : MFM: <error>, trk: 001, sec: 9, bad: 1, *H +7
02.0    : Bad sector found
02.0    : frev: 39195, drift: 0.718 us, tfer: 191242 B/s, rpm: 300.437
02.0    : band: 2.508 us?, 3.014 us?, 3.993 us, 5.999 us, 7.989 us
02.0    : base: 2.000 us [99.895%], band: 3.014 us?, 3.993 us, 5.999 us
02.0    : MFM: OK*, trk: 001, sec: 9, *H +7
04.0    : frev: 39380, drift: 0.246 us, tfer: 192070 B/s, rpm: 300.438
04.0    : band: 3.105 us?, 3.993 us, 6.005 us, 6.605 us?, 8.003 us
04.0    : base: 2.002 us [99.914%], band: 3.105 us?, 3.993 us, 6.005 us
04.0    : MFM: OK*, trk: 002, sec: 9, *H +7
06.0    : frev: 39509, drift: 0.499 us, tfer: 192729 B/s, rpm: 300.438
06.0    : band: 3.993 us, 5.189 us, 5.999 us, 7.061 us?, 7.979 us
06.0    : base: 2.000 us [99.842%], band: 3.993 us, 5.999 us, 7.979 us
06.0    : MFM: <error>, trk: 003, sec: 9, bad: 1, *H +5
06.0    : Bad sector found
06.0    : frev: 39510, drift: 0.572 us, tfer: 192818 B/s, rpm: 300.437
06.0    : band: 3.993 us, 5.057 us, 5.999 us, 7.055 us?, 7.978 us
06.0    : base: 2.000 us [99.838%], band: 3.993 us, 5.999 us, 7.978 us
06.0    : MFM: <error>, trk: 003, sec: 9, bad: 1, *H +5
06.0    : Bad sector found
06.0    : frev: 39509, drift: 0.506 us, tfer: 192818 B/s, rpm: 300.438
06.0    : band: 3.994 us, 5.147 us, 5.999 us, 7.048 us?, 7.979 us
06.0    : base: 2.000 us [99.845%], band: 3.994 us, 5.999 us, 7.979 us
06.0    : MFM: <error>, trk: 003, sec: 9, bad: 1, *H +5
06.0    : Bad sector found

I made it read more often -r20, but that does not change anything really.
Proud owner of 2 Schneider CPC 464, 1 Schneider CPC 6128, GT65 and lots of books
Still learning all the details on how things work.

robcfg

Sometimes it help to read it several times, saving all reads, and then copy the good tracks from the good reads to get a good dump.

This is for unprotected disks. Disks with copy protection may rely on bad sectors for them to work, so sometimes the good dump contains errors because it's the wat they were designed to be.

Powered by SMFPacks Menu Editor Mod