Make DSK image from protected floppy

Page 7/16
1 | 2 | 3 | 4 | 5 | 6 | | 8 | 9 | 10 | 11 | 12

By gargamel

Expert (101)

gargamel's picture

19-06-2012, 09:29

Dave Dunfield's Image Disk is an excellent tool, requires DOS.
http://www.classiccmp.org/dunfield/img/index.htm

There's an fdc driver for Windows written by Simon Owen;
http://www.msx.org/forum/semi-msx-talk/emulation/360kb-disk-...

By wernerkai

Champion (357)

wernerkai's picture

26-06-2012, 02:37

Me... waiting for instructions...

Manuel wrote:

So, who wants to help testing? At the moment, the biggest requirement is that you need 2 disk drives.

By SkalTura

Master (192)

SkalTura's picture

26-06-2012, 12:15

Sorry it took me so long to respond to this thread.
The problem is that the converters do convert the floppy info a DSK file, but for some reason the DSK file won't start. Most converters won't even give an error message that there is something wrong with the floppy. I also tried 81 tracks instead of 80.

The floppy I was trying to convert into a DSK file was "DIX tetris". And after a long search on the internet, I found a website that had this as a DSK file. So now my collection is complete.

Many thanks everyone...

By Manuel

Ascended (15739)

Manuel's picture

26-06-2012, 23:50

SkalTura, it doesn't start because it doesn't contain all the information... Try our DMK tool with your disk, it's a good test.

@wernerkai and others who want to help testing: I put a beta version of the tool here: http://openmsx.sf.net/temp/READ-DMK.COM
This is an MSX-executable.

The source code is here: http://openmsx.svn.sourceforge.net/viewvc/openmsx/openmsx/tr...

Instructions:

  • It only works on MSX systems with 2 disk drives
  • Your disk drive controller needs to be WD2793 compatible
  • The output of the tool is a DAT file for each cylinder/head combination. Typically that means 160 DAT files for a 720kB DS DD disk

How to make a DMK file (happy flow):

  • Start the tool from MSX-DOS. Extra command line options below.
  • As the tool instructs you: put the disk to dump in drive A and the destination disk in drive B.
  • Not all DAT files will fit on a single MSX disk. Swap disks when the tool reports a write error when saving the DAT file. You can use 2 different destination disks or first copy the DAT files to another place and erase the destination disk to continue.
  • Get the DAT files to your PC. You'll need a PC program to combine the DAT files into a single DMK disk image. A Windows binary can be found here: http://openmsx.sf.net/temp/combine-dmk.exe (source code here: http://openmsx.svn.sourceforge.net/viewvc/openmsx/openmsx/tr... ). Run this tool in a command shell from a directory where you put all the DAT files created by the read-dmk tool. It will output the file out.dmk, which is the DMK disk image which works in openMSX. If the tool gives any error, please let us know.
  • You can test the DMK image on a recent openMSX SVN build (e.g. from http://openmsx.fixato.net/)

Command line options:

  • type=[PHILIPS|NATIONAL|MICROSOL]: specify the way the FDC registers are mapped into memory or I/O ports. Philips is mostly for the Philips and Sony machines/drives (e.g. Sony HBK-30/HBD-F1/HBD-50, Sharp HB-3600, Philips VY-0010, Philips NMS 8245/8250/8255/8280, Philips VG 8230/35, Sony HB-F1XD/F900/F1XDJ/F700x/G900/F500, Sanyo MPC-35FD), National for National and some others (e.g. National FS-5500F2/4700/4600/5000/5500F1, National CF-3300, Yamaha AX350II, Daewoo CPC-400S, Gradiente Expert DDPlus, Spectrtavideo SVI-738, Yamaha YIS-805/128R2) and Microsol for the port-based ones often seen in Brazil (like Microsol CDX-2). If you don't specify this option, the program will assume you use the Philips type. Note that only the Philips type has been tested on real hardware so far... (feedback welcome!)
  • debug=1: enable debugging mode. When dumping fails, the tool will write a DEBUG.DAT file. Please provide us with a photo of your MSX screen and the DEBUG.DAT file when dumping fails, so we can improve the tool :)
  • start=NN: specify start cylinder (use if you don't want to start from the beginning of the disk, first cylinder is 0)
  • stop=NN: specify stop cylinder (use if you don't need the whole disk dumped, stop earlier than end-of-disk detection finds)

Example: read-dmk type=national debug=1 start=38 end=38 This will dump only cylinder 38 (for both sides, so 2 DAT files) with debug enabled and for national-type disk drives (see above). Usually you don't specify any options, except for the type if you don't have a Philips-like drive.

If you need any help, please let me know!

By Manuel

Ascended (15739)

Manuel's picture

29-06-2012, 09:17

So, did anyone try this? I'm very interested in your feedback!

By Manuel

Ascended (15739)

Manuel's picture

29-06-2012, 23:14

saccopharynx, can you please contact me by e-mail?

By wernerkai

Champion (357)

wernerkai's picture

30-06-2012, 02:36

Manuel, thank you for the directions.
I'll give it a try this weekend.

Manuel wrote:

So, did anyone try this? I'm very interested in your feedback!

By SkalTura

Master (192)

SkalTura's picture

30-06-2012, 09:06

Manuel wrote:

So, did anyone try this? I'm very interested in your feedback!

I would love to try it, but my MSX is still not working... Sad

By Meits

Scribe (5529)

Meits's picture

30-06-2012, 11:47

I only have one disk drive.
But since those DAT files are just being written to drive B:, why not make it possible to write to a partition on a mass store device?

By Manuel

Ascended (15739)

Manuel's picture

30-06-2012, 13:52

Meits: good idea. Is there a Z80 coder out there who wants to help to further develop the tool and implement stuff like configuring the source and target drive?

Page 7/16
1 | 2 | 3 | 4 | 5 | 6 | | 8 | 9 | 10 | 11 | 12