RX02 DMK image to raw tool?

David Schmidt david4602 at gmail.com
Mon Feb 8 13:39:05 CST 2021


On 2/8/21 1:00 PM, Mattis Lind wrote:
> This is highly annoying. Back in 2015 I did exactly this and now I have
> forgotten how.
> 
> I dumped a set of RX02 disks with catweasel into .DMK and now I want a raw
> sector image to be able to test them with SimH.
> 
> What is a good tool to use? I have some faint memory of glancing through
> hexdumps of .dmk files. Perhaps I did something myself using dmklib by Eric
> Smith? Don't really remember, unfortunately.
> 
> But surely someone else has already done this, right?
> 
> /Mattis

I wrote my own, not knowing where another one lived.  I happen to think 
in Java, so that's what it's implemented in.

Description is here:
https://github.com/RetroFloppy/transformenator/wiki/Utility-Functions#dmk2raw

Code is here:
https://github.com/RetroFloppy/transformenator/blob/master/src/org/transformenator/util/Dmk2Raw.java

The only thing of interest is the cw2dmk tool would read RX01 disks and 
"double" the data - so my tool will make an attempt to detect that and 
halve the data back out the other end.

- David


More information about the cctalk mailing list