Re: [Ql-Users] QXLDump utility.

2017-03-14 Thread Norman Dunbar
Thanks Wolf, I'll have a look at those classes. I'm not a huge Java fan, I 
admit, but I can sort of read it, sometimes. :-)


Cheers, 
Norm.

On 14 March 2017 16:13:06 GMT+00:00, Wolf  wrote:
>Hi,
>
>SMSQmulator uses it's own driver, not the SMSQE one, for accessing 
>qxl.win drives. There are 4 classes (windriver, windrive, winfile and 
>windir). You could just port those to C++, without too much trouble, I 
>guess.
>
>Have fun!
>
>Wolfgang
>
>On 14/03/2017 14:55, Norman Dunbar wrote:
>> Thanks Marcel. I had help though, it's not all my own work, John Hall
>and Daniele Terdina pointed me in various correct directions when I was
>confused!
>>
>>
>> Cheers,
>> Norm.
>>
>> On 14 March 2017 13:43:17 GMT+00:00, Marcel Kilgus
> wrote:
>>> Norman Dunbar wrote:
 I'm playing with QXL.WIN files, again!
>>>
>>> I wanted to tell you that I recently read your QXL.WIN file system
>>> description and found it very enlightening. I have used the QLWA
>>> driver as a black box until now and it was interesting to read about
>>> the details.
>>>
>>> Cheers, Marcel
>>>
>>> ___
>>> QL-Users Mailing List
>>
>___
>QL-Users Mailing List

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
QL-Users Mailing List


Re: [Ql-Users] QXLDump utility.

2017-03-14 Thread Wolf

Hi,

SMSQmulator uses it's own driver, not the SMSQE one, for accessing 
qxl.win drives. There are 4 classes (windriver, windrive, winfile and 
windir). You could just port those to C++, without too much trouble, I 
guess.


Have fun!

Wolfgang

On 14/03/2017 14:55, Norman Dunbar wrote:

Thanks Marcel. I had help though, it's not all my own work, John Hall and 
Daniele Terdina pointed me in various correct directions when I was confused!


Cheers,
Norm.

On 14 March 2017 13:43:17 GMT+00:00, Marcel Kilgus  
wrote:

Norman Dunbar wrote:

I'm playing with QXL.WIN files, again!


I wanted to tell you that I recently read your QXL.WIN file system
description and found it very enlightening. I have used the QLWA
driver as a black box until now and it was interesting to read about
the details.

Cheers, Marcel

___
QL-Users Mailing List



___
QL-Users Mailing List


Re: [Ql-Users] QXLDump utility.

2017-03-14 Thread Norman Dunbar
Thanks Marcel. I had help though, it's not all my own work, John Hall and 
Daniele Terdina pointed me in various correct directions when I was confused!


Cheers,
Norm.

On 14 March 2017 13:43:17 GMT+00:00, Marcel Kilgus  
wrote:
>Norman Dunbar wrote:
>> I'm playing with QXL.WIN files, again!
>
>I wanted to tell you that I recently read your QXL.WIN file system
>description and found it very enlightening. I have used the QLWA
>driver as a black box until now and it was interesting to read about
>the details.
>
>Cheers, Marcel
>
>___
>QL-Users Mailing List

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
QL-Users Mailing List


Re: [Ql-Users] QXLDump utility.

2017-03-14 Thread Norman Dunbar
Hi Peter, 

This utility will be used to allow me to develop,  hopefully, a proper tool for 
creating, writing and reading qxl.win files from the command line, or, a gui. 
With hopefully being the operative word!


Cheers,
Norm.

On 14 March 2017 13:06:08 GMT+00:00, pg...@q40.de wrote:
>On 14 Mar 2017 at 12:24, Norman Dunbar wrote:
>
>> I'm playing with QXL.WIN files, again!
>> [Snip]
>
>I hope write access also becomes part of the playground ;)
>
>Peter
>
>___
>QL-Users Mailing List

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
QL-Users Mailing List


Re: [Ql-Users] QXLDump utility.

2017-03-14 Thread Marcel Kilgus
Norman Dunbar wrote:
> I'm playing with QXL.WIN files, again!

I wanted to tell you that I recently read your QXL.WIN file system
description and found it very enlightening. I have used the QLWA
driver as a black box until now and it was interesting to read about
the details.

Cheers, Marcel

___
QL-Users Mailing List


Re: [Ql-Users] QXLDump utility.

2017-03-14 Thread pgraf
On 14 Mar 2017 at 12:24, Norman Dunbar wrote:

> I'm playing with QXL.WIN files, again!
> [Snip]

I hope write access also becomes part of the playground ;)

Peter

___
QL-Users Mailing List


[Ql-Users] QXLDump utility.

2017-03-14 Thread Norman Dunbar
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 and 32/64 bit Windows only.

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/downloads/QXLDump/win3.html. 

The file was created with a random selection of options! 

There is a verbose mode, not demonstrated, 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/downloads/QXLDump/README.html.

The Linux 64 bit download is at:

http://qdosmsq.dunbar-it.co.uk/downloads/QXLDump/QXLDump.

The Windows download is at:

http://qdosmsq.dunbar-it.co.uk/downloads/QXLDump/QXLDump.exe.


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/archive/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 that particular itch, feel free to scratch it 
and add the required code to do exactly that. :-)

Have fun!


Cheers,
Norm.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
QL-Users Mailing List