Page 1 of 2

convert 360ko dump with a 360ko drive

Posted: Wed Apr 29, 2020 2:32 pm
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

Re: convert 360ko dump with a 360ko drive

Posted: Wed Apr 29, 2020 3:26 pm
by ZrX
Add -g0 between -v300 and -i4 to include only the first side in the image.

Re: convert 360ko dump with a 360ko drive

Posted: Wed Apr 29, 2020 6:29 pm
by breiztiger
but a 360ko disk have two side,no ?!?

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

Re: convert 360ko dump with a 360ko drive

Posted: Wed Apr 29, 2020 6:31 pm
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

Re: convert 360ko dump with a 360ko drive

Posted: Wed Apr 29, 2020 7:56 pm
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

Re: convert 360ko dump with a 360ko drive

Posted: Thu Apr 30, 2020 6:32 pm
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.

Re: convert 360ko dump with a 360ko drive

Posted: Thu Apr 30, 2020 6:44 pm
by brightcaster
What's the drive type you're using. Is it 40 track (48 tpi) or 80 track (96 tpi)?

David

Re: convert 360ko dump with a 360ko drive

Posted: Fri May 01, 2020 10:20 am
by breiztiger
this dump was made with a 360ko/40track drive

Re: convert 360ko dump with a 360ko drive

Posted: Fri May 01, 2020 2:09 pm
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

Re: convert 360ko dump with a 360ko drive

Posted: Fri May 01, 2020 2:40 pm
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