convert 360ko dump with a 360ko drive

All questions about how to use KryoFlux go here.
breiztiger
Posts: 15
Joined: Sun Dec 11, 2011 10:07 pm

convert 360ko dump with a 360ko drive

Post by breiztiger »

hi

i have a dump from a 360ko floppy (track0.0.raw to track41.1.raw)

with this commandline

dtc -m1 -ftrack0.0.raw -i0 -foutput.img -v300 -i4 -l8 -e41

i got a 720ko file with second half fill with 00

what i make wrong ?

thanks in advance

ZrX
Posts: 618
Joined: Tue Dec 06, 2011 9:09 pm

Re: convert 360ko dump with a 360ko drive

Post by ZrX »

Add -g0 between -v300 and -i4 to include only the first side in the image.

breiztiger
Posts: 15
Joined: Sun Dec 11, 2011 10:07 pm

Re: convert 360ko dump with a 360ko drive

Post by breiztiger »

but a 360ko disk have two side,no ?!?

(2 sides x 40 tracks x 9 sectors x 512 bytes)/1024=360ko

brightcaster
Posts: 293
Joined: Fri Nov 08, 2013 10:48 pm

Re: convert 360ko dump with a 360ko drive

Post by brightcaster »

I guess you don't need single sided mode but only the first 40 tracks!

So does it also happen if you set -e41 to -e39 in your command line? If there is no copy protection there is no need for the tracks 40 and 41...

David

breiztiger
Posts: 15
Joined: Sun Dec 11, 2011 10:07 pm

Re: convert 360ko dump with a 360ko drive

Post by breiztiger »

just try ... the same with -e39

as i have already say if i cut the result file in two part the first one is good

ZrX
Posts: 618
Joined: Tue Dec 06, 2011 9:09 pm

Re: convert 360ko dump with a 360ko drive

Post by ZrX »

It could be due to the drive being 40-track and generating data on so-called halftracks (odd tracks) that would show as empty when dumping such disks with 80-track drive. DTC being programmed with 80-track drives in mind sees data on every track and assumes it to be a 720k disk.

brightcaster
Posts: 293
Joined: Fri Nov 08, 2013 10:48 pm

Re: convert 360ko dump with a 360ko drive

Post by brightcaster »

What's the drive type you're using. Is it 40 track (48 tpi) or 80 track (96 tpi)?

David

breiztiger
Posts: 15
Joined: Sun Dec 11, 2011 10:07 pm

Re: convert 360ko dump with a 360ko drive

Post by breiztiger »

this dump was made with a 360ko/40track drive

brightcaster
Posts: 293
Joined: Fri Nov 08, 2013 10:48 pm

Re: convert 360ko dump with a 360ko drive

Post by brightcaster »

Okay, I checked it myself with a 40 track drive and I have to admit that I can't get it right either. DTC only produces 360k image files if you use a 80 track drive (setting the "track distance" to 40)!

However, if you have to convert al lot of dumps you may use the HxC-Tool which does it right...

https://hxc2001.com/download/floppy_dri ... r_soft.zip

David
Last edited by brightcaster on Fri May 01, 2020 3:11 pm, edited 1 time in total.

breiztiger
Posts: 15
Joined: Sun Dec 11, 2011 10:07 pm

Re: convert 360ko dump with a 360ko drive

Post by breiztiger »

aaah i'm not alone ;-)

i think it's a bug because the second half of img is only fill with 00 bytes

Post Reply