Qubide image to Emulator

Discussion and advice about emulating the QL on other machines.
Post Reply
User avatar
Andrew
Aurora
Posts: 984
Joined: Tue Jul 17, 2018 9:10 pm

Qubide image to Emulator

Post 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?


User avatar
Peter
Font of All Knowledge
Posts: 2391
Joined: Sat Jan 22, 2011 8:47 am

Re: Qubide image to Emulator

Post 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.


User avatar
Andrew
Aurora
Posts: 984
Joined: Tue Jul 17, 2018 9:10 pm

Re: Qubide image to Emulator

Post 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?


User avatar
Andrew
Aurora
Posts: 984
Joined: Tue Jul 17, 2018 9:10 pm

Re: Qubide image to Emulator

Post 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.


User avatar
XorA
Site Admin
Posts: 1580
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Qubide image to Emulator

Post 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.


Post Reply