OXYGENHUB
◆ main openmsx / Contrib / dmk / READ-DMK_instructions.txt
2.9 KiB · Plain Text · last changed chore(): initial commit 1 month ago source blame history raw
1
Instructions:
2
3
* It only works on MSX systems with 2 disk drives
4
* Your disk drive controller needs to be WD2793 compatible
5
* The tool only works on 3.58 MHz.
6
* The output of the tool is a DAT file for each cylinder/head combination.
7
  Typically that means 160 DAT files for a 720kB DS DD disk
8
9
How to make a DMK file (happy flow):
10
11
* Start the tool from MSX-DOS. Extra command line options below.
12
* As the tool instructs you: put the disk to dump in drive A and the
13
  destination disk in drive B.
14
* Not all DAT files will fit on a single MSX disk. Swap disks when the tool
15
  reports a write error when saving the DAT file. You can use 2 different
16
  destination disks or first copy the DAT files to another place and erase the
17
  destination disk to continue.
18
* Get the DAT files to your PC. You'll need a PC program to combine the DAT
19
  files into a single DMK disk image. A Windows binary can be found here:
20
  http://openmsx.org/temp/combine-dmk.exe (source code is in this
21
  directory). Run this tool in a command shell from a directory where you put
22
  all the DAT files created by the read-dmk tool. It will output the file
23
  out.dmk, which is the DMK disk image which works in openMSX. If the tool
24
  gives any error, please let us know.
25
* You can test the resulting DMK image on openMSX
26
27
Command line options:
28
29
* type=[PHILIPS|NATIONAL|MICROSOL]: specify the way the FDC registers are
30
  mapped into memory or I/O ports. Philips is mostly for the Philips and Sony
31
  machines/drives (e.g. Sony HBK-30/HBD-F1/HBD-50, Sharp HB-3600, Philips
32
  VY-0010, Philips NMS 8245/8250/8255/8280, Philips VG 8230/35, Sony
33
  HB-F1XD/F900/F1XDJ/F700x/G900/F500, Sanyo MPC-35FD), National for National
34
  and some others (e.g. National FS-5500F2/4700/4600/5000/5500F1, National
35
  CF-3300, Yamaha AX350II, Daewoo CPC-400S, Gradiente Expert DDPlus,
36
  Spectrtavideo SVI-738, Yamaha YIS-805/128R2 and probably Talent TPC-310) and
37
  Microsol for the port-based ones often seen in Brazil (like Microsol CDX-2).
38
  If you don't specify this option, the program will assume you use the Philips
39
  type.
40
  Note that only the Philips type has been tested on real hardware so far...
41
  (feedback welcome!)
42
* debug=1: enable debugging mode. When dumping fails, the tool will write a
43
  DEBUG.DAT file. Please provide us with a photo of your MSX screen and the
44
  DEBUG.DAT file when dumping fails, so we can improve the tool :)
45
* start=NN: specify start cylinder (use if you don't want to start from the
46
  beginning of the disk, first cylinder is 0)
47
* stop=NN: specify stop cylinder (use if you don't need the whole disk dumped,
48
  stop earlier than end-of-disk detection finds)
49
50
Example: read-dmk type=national debug=1 start=38 stop=38
51
This will dump only cylinder 38 (for both sides, so 2 DAT files) with debug
52
enabled and for national-type disk drives (see above). Usually you don't
53
specify any options, except for the type if you don't have a Philips-like
54
drive.