QXLDump

Anything QL Software or Programming Related.
Post Reply
User avatar
NormanDunbar
Forum Moderator
Posts: 2251
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

QXLDump

Post by NormanDunbar »

Greetings one and all.

I'm playing with QXL.WIN files, again! As part of something I'm working on, I needed a simple way to examine the internals of a qxl.win file in an easy manner. To this end, QXLDump was born.

At the moment I have a download for 64 bit Linux only, hopefully, I'll get a Windows version uploaded at some point tomorrow. However, if you have been reading my "how to upgrade the online SuperBASIC manual" documents at http://readthedocs.io and as mentioned here then you'll be well aware of how you can get your hands on a free, up to date, standards compliant C and C++ compiler from Embarcadero. You'd be silly not to take advantage of their offerings.

Anyway, for now, if you need a Windows version, then download the source and compile it yourself.

You can see a sample of my current win3 drive - which is a full set of the Sqlite 3 sources from some time back, at http://qdosmsq.dunbar-it.co.uk/download ... /win3.html. The file was created with a random selection of options! There is also a verbose mode which hexdumps each and every block making up the directories, files etc - best avoided unless you are debugging a foible, or something similar!

The Read-me file is at http://qdosmsq.dunbar-it.co.uk/download ... EADME.html.

The Linux 64 bit download is at http://qdosmsq.dunbar-it.co.uk/download ... mp/QXLDump.

No additional libraries etc are required, everything is in plain vanilla C++ with the odd bit of the STL thrown in for good measure - thats the Standard Template Library.

As ever, source code is available at my GitHub location, and will be cloned into the SinclairQL repository as soon as I'm happy with it. I have a couple of minor changes to make, but nothing spectacular. The source is at https://github.com/NormanDunbar/QXLDump which you can freely clone if you already use git, or, download as a zip file from this location: https://github.com/NormanDunbar/QXLDump ... master.zip.

The utility allows you to dump out the following:
  • The header
    The map
    The root directory
    The free space list
    Any datafile
    Any directory
    Any single block
And most of the above can be accompanied by a hexdump - if you are brave.

Output is only to HTML at the moment and I have no plans to make it text only, at the moment - but if you have an itch, scratch it and feel free to add the required code to do exactly that.

Have fun!

Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
User avatar
NormanDunbar
Forum Moderator
Posts: 2251
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: QXLDump

Post by NormanDunbar »

The windows version of QXLDUMP has been uploaded. It is 32 bit but runs fine on 64 bit systems. Just the exe file is required.

http://qdosmsq.dunbar-it.co.uk/download ... XLDump.exe is the link.

Have fun.


Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Post Reply