Page 1 of 1

Qubide image to Emulator

Posted: Tue Dec 24, 2024 11:35 pm
by Andrew
How can I extract an executable file from a QUBIDE image and use it in an emulator? Any emulator (windows, not linux).
I tried to use Habi editor, and no matter hoq I extract the file (QL header, none) the extracted file is not executable in emulator (invalid parameter).
Is there any emulator that can load a Qubide image and a floppy/mdv/QLWA image?

Re: Qubide image to Emulator

Posted: Wed Dec 25, 2024 1:06 am
by Peter
You can use QxlWinReader to copy the contents of a QubIDE image into a QLWA image, which most emulators can read. However, you need a correct QubIDE image. PC IDE interfaces ususally deliver a byteswapped image (Intel PCs have the opposite endianess than 68K). To get a correct image, you need to reverse the byteswapping, e.g. use dd with the -swab option.

Re: Qubide image to Emulator

Posted: Wed Dec 25, 2024 1:19 am
by Andrew
Peter wrote: Wed Dec 25, 2024 1:06 am You can use QxlWinReader to copy the contents of a QubIDE image into a QLWA image, which most emulators can read. However, you need a correct QubIDE image. PC IDE interfaces ususally deliver a byteswapped image (Intel PCs have the opposite endianess than 68K). To get a correct image, you need to reverse the byteswapping, e.g. use dd with the -swab option.
It's not a correct image and QxlWinreader can't load it.
dd works on Linux and I don't have any linux computer :( The dd for Windows is rather dumb and does not actually do any conversion.
Do you have any idea what utility I could use on Windows?

Re: Qubide image to Emulator

Posted: Wed Dec 25, 2024 2:35 am
by Andrew
Peter wrote: Wed Dec 25, 2024 1:06 am You can use QxlWinReader to copy the contents of a QubIDE image into a QLWA image, which most emulators can read. However, you need a correct QubIDE image. PC IDE interfaces ususally deliver a byteswapped image (Intel PCs have the opposite endianess than 68K). To get a correct image, you need to reverse the byteswapping, e.g. use dd with the -swab option.
Thank you for byteswapping info!
I converted the qubide img file using a trial version of Hex Editor Neo and now it works!

If anyone knows a free windows program that can do byteswapping, please let me know.

Re: Qubide image to Emulator

Posted: Wed Dec 25, 2024 10:46 am
by XorA
If anyone knows a free windows program that can do byteswapping, please let me know.
Coreutils package from msys2. Has full dd in it.