QXLDump
Posted: Mon Mar 13, 2017 9:30 pm
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:
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.
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
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.