[Coco] help with fd-501 disk images and toolshed

xnaron xnaron at gmail.com
Sat Mar 15 16:42:51 EDT 2014


Hi,



 I have a FD-501 floppy controller with a 3.5" and 5.25" drive installed.
It sees both drives as the same size.  I can backup 0 to 1  and 1 to 0
without issue.   I have installed the toolshed tools on linux and have been
trying to read the disk image I pull but I am not having success.  To pull
the disk image off the floppy using fdutils I do the following:



Fdutil config:

/etc/mediaprm

"COCO40DS":

DS DD sect=18 cyl=40 ssize=256 tpi=48





setfdprm /dev/fd0 coco40ds

dd if=/dev/fd0 of=floppy1





I can then take a new floppy and copy it back using:

setfdprm /dev/fd0 coco40ds

fdformat /dev/fd0

dd if=floppy1 of=/dev/fd0





root at coco:/data/public# dd if=floppy1 of=/dev/fd0

720+0 records in

720+0 records out

368640 bytes (369 kB) copied, 61.3764 s, 6.0 kB/s



root at coco:/data/public/toolshed-2.1-linux# ls -l floppy1

-rw-r--r-- 1 root root 368640 Mar 15 12:03 floppy1



I can take the disk out of the PC and put it in the coco drive and read it
and run the bin files no problem.  Both 3.5" and 5.25" disks are the same
size.



Here is the link to the image I pulled.  http://xnaron.com/floppy1.zip



Here is the rub.  I can't read this file with the toolshed decb tool.
Using:



./decb dir floppy1,



I get the following



▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒

▒▒▒▒▒▒▒▒ ▒▒▒  246  ?  1

▒▒▒▒▒▒▒▒ ▒▒▒  246  ?  1

▒▒▒▒▒▒▒▒ ▒▒▒  246  ?  1

▒▒▒▒▒▒▒▒ ▒▒▒  246  ?  1

▒▒▒▒▒▒▒▒ ▒▒▒  246  ?  1



Goes on for about 30 more lines....



Can anyone comment on why this is happening?  I'm probably missing
something simple but all the googling and reading of documentation isn't
getting me anywhere.



Thanks,

Brendin


More information about the Coco mailing list