Hi guys!
I've created a commandline program to generate RAW DSKs. It's called DSKGen. You can see the documentation and download it from here:
DSKGen - CPC Tools (https://sites.google.com/site/augustoruiz/dskgen)
You need .NET Framework 2.0 or higher (or Mono, so yes, you can run it from linux!)
Any feedback is highly appreciated.
This is a useful tool for me for cross-dev.
At the moment, I assemble in WinApe and write to the DSK in there. Then I eject the DSK and load it into the HxC to try on my real CPC.
But now I can write the BIN file directly to the PC, use your tool to create a DSK wrapper and then load it straight into the HxC - all using one script.
So thank you!
Quote from: redbox on 10:14, 26 April 13
This is a useful tool for me for cross-dev.
At the moment, I assemble in WinApe and write to the DSK in there. Then I eject the DSK and load it into the HxC to try on my real CPC.
But now I can write the BIN file directly to the PC, use your tool to create a DSK wrapper and then load it straight into the HxC - all using one script.
So thank you!
In Winape there's a thing called "Edit Disc"(?), which lets you Drop files onto a Disc Image, and I think you can even move Files from that back onto the PC.
Quote from: AMSDOS on 23:14, 26 April 13
In Winape there's a thing called "Edit Disc"(?), which lets you Drop files onto a Disc Image, and I think you can even move Files from that back onto the PC.
True! But you cannot create a makefile that invokes that functionality, so I created this little utility ;)
The Edit Disc from WinApe has a lot more functionality. It was great to be able to check if my dsks were properly created using that part of WinApe!
GUI! GUI! :D
What is the difference between DSKs created by DSKGen or by an emulator. (I don't know what do you mean by raw format either, maybe you can explain that a bit). :)
Quote from: AugustoRuiz on 08:31, 26 April 13
Hi guys!
I've created a commandline program to generate RAW DSKs. It's called DSKGen. You can see the documentation and download it from here:
DSKGen - CPC Tools (https://sites.google.com/site/augustoruiz/dskgen)
You need .NET Framework 2.0 or higher (or Mono, so yes, you can run it from linux!)
Any feedback is highly appreciated.
Quote from: AugustoRuiz on 15:39, 27 April 13
True! But you cannot create a makefile that invokes that functionality, so I created this little utility ;)
The Edit Disc from WinApe has a lot more functionality. It was great to be able to check if my dsks were properly created using that part of WinApe!
Fair enough. ;D
Quote from: TFM/FS on 23:37, 27 April 13
What is the difference between DSKs created by DSKGen or by an emulator. (I don't know what do you mean by raw format either, maybe you can explain that a bit). :)
I cannot login right now...?
The main difference is that files are written starting from track 0, and using the sectors specified in the XML file. So, for example, you can set it so sectors used are C1 to C9 or 41 to 49, or whatever you want.
DSKGen will not generate the CPM catalog, that's what I meant by saying RAW. It directly writes to sectors, and generates an asm table that indicates starting track, side and sector, and the file length. Files are written in consecutive sectors. If the end of the side is reached, it'll continue on the other side, at the first track and sector...
DSKs generated with this tool are meant (as of today) to be read accessing the FDC directly, and run with |CPM, as no AMSDOS catalog nor headers are created.
Hope this helps...
Thanks' you made it clear. :)
Hello all!
DSKGen has been reimplemented. This time, in plain C++, so it is truly multi-platform.
It supports a lot of disc types and several catalog formats, and it is open source.
You can get the source from:
GitHub - AugustoRuiz/dskgen: Tool to create different types of .dsk files (https://github.com/AugustoRuiz/dskgen)
it'd be nice if it could be implemented in emulators or other tools...
Thanks for sharing!