@retroric: Well, your guess is so close to the reality that I felt tempted to make it come true!
Let's suppose we have Sedoric image in HFE format called 'sed3.hfe'. Follow the steps exactly:
1. Run hxcfe utility to convert HFE to RAW
Code: Select all
hxcfe -finput:sed3.hfe -foutput:sed3.raw -conv:RAW_LOADER
Code: Select all
...............
track:77:0 file offset:0x0a3a00, sectors: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ,256B/s
track:77:1 file offset:0x0a4b00, sectors: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ,256B/s
track:78:0 file offset:0x0a5c00, sectors: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ,256B/s
track:78:1 file offset:0x0a6d00, sectors: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ,256B/s
track:79:0 file offset:0x0a7e00, sectors: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ,256B/s
track:79:1 file offset:0x0a8f00, sectors: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ,256B/s
2. Compile the attached C source with your favorite compiler to create the raw2old utility and run it using the remembered numbers:
Code: Select all
raw2old sed3.raw sed3.dsk 2:80:17
Code: Select all
old2mfm sed3.dsk
Limitations:
- only sectors with 256 bytes;
- all track must have same number of sectors.
Probably there are bugs in the source code but they are free as the source!
That's it!
PS: do you know that Cumana Reborn can't actually run Cumana DOS ?