I've built a few SDisk type floppy emulators and I am ready to test them... But I am having issues converting .dsk images to .nic images. I can run the Java converter on Linux but I can't figure out how to open a .dsk file with it. I've tried dragging a file into it but nothing happens. I also tried downloading the Mac version but it is a .sit archive and the version of Stuffit Expander 16 on the Apple App Store won't open it. And I don't have Windows and even if I did, it says the binary is intended for XP... so not sure it will even work. I guess I can try running it on Wine. If that fails maybe I can try re-compiling it on Linux using Winelib or something.
Well, the Windows version works with Wine from the command line. Drag and drop doesn't work... But I think I may be able to re-compile the source code on Linux and maybe make a better user interface for it.
Well, I did a Q&D (extremely dirty) conversion of the code from C++ to simple C and hacked out all the proprietary Windows API and GUI stuff and made two extremely simple command line utilities out of the code.
https://github.com/softwarejanitor/sdisk2util_linux
Read the warnings, it is extremely raw. No bounds or error checking so if you feed it bad command line params or something it will probably seg fault. If I get time later I may go back and make it a little more robust or maybe even write a little GUI for it in GTK+ or something.
Try this. It works for me.
DSK_NIC.jar_.zip
I was able to run the jar, but I was not able to get it to convert any files because drag and drop to it didn't seem to work.
Actually now that I try it again, it does in fact work... it just doesn't really give any feedback that it is working... Interesting.
The advantage to having a native command line version for Linux is that I can script it to convert a whole directory tree of .dsk images.
The Java version works on Linux, it just doesn't give much indication that the conversion is done. But you can drag a .dsk from the file app on the Ubuntu deskop onto the ,dsk icon and it will make a .nic file in the same directory.