PTR_GEN source code available?
PTR_GEN source code available?
Hi,
is PTR_GEN source code available somewhere? Having spent a few hours studying how SMSQ/E handles various mouse implementations I would like to understand how PTR_GEN does the same.
On a more general level: what is needed (in terms of software) to make e.g. a QIMI mouse or a serial mouse work with PTR_GEN?
Kind regards,
Petri
is PTR_GEN source code available somewhere? Having spent a few hours studying how SMSQ/E handles various mouse implementations I would like to understand how PTR_GEN does the same.
On a more general level: what is needed (in terms of software) to make e.g. a QIMI mouse or a serial mouse work with PTR_GEN?
Kind regards,
Petri
Re: PTR_GEN source code available?
Petri,
if you have had a look into SMSQ/E sources for a while, you might have seen that PTR_GEN is just one build target in that source tree. That is: Newer versions (don't know exactly when this started , but Marcel or Wolfgang will know) of PTR_GEN are simply generated from the same sources as the EE of SMSQ/E. To my knowledge there's no separate sources available. Make sure you pick the newest SMSQ/E source tree, IMHO ptr_gen as a target is only explicitely included there.
To answer your specific question: The QIMI mouse driver is in smsq_gold_qimi_asm
Regards,
Tobias
if you have had a look into SMSQ/E sources for a while, you might have seen that PTR_GEN is just one build target in that source tree. That is: Newer versions (don't know exactly when this started , but Marcel or Wolfgang will know) of PTR_GEN are simply generated from the same sources as the EE of SMSQ/E. To my knowledge there's no separate sources available. Make sure you pick the newest SMSQ/E source tree, IMHO ptr_gen as a target is only explicitely included there.
To answer your specific question: The QIMI mouse driver is in smsq_gold_qimi_asm
Regards,
Tobias
ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Re: PTR_GEN source code available?
Hi Tobias,
thank you for that piece of information, that's really good news! I'll take a look at the build targets, earlier I was only looking at the individual source files.
So if I understood correctly, I should be able to build a custom version of PTR_GEN for black box QL from the SMSQ/E sources.
I think there was a tutorial on how to set up a build environment for SMSQ/E somewhere....
Kind regards,
Petri
thank you for that piece of information, that's really good news! I'll take a look at the build targets, earlier I was only looking at the individual source files.
So if I understood correctly, I should be able to build a custom version of PTR_GEN for black box QL from the SMSQ/E sources.
I think there was a tutorial on how to set up a build environment for SMSQ/E somewhere....
Kind regards,
Petri
Re: PTR_GEN source code available?
Yes, there is - It comes with the sourcesppe wrote: I think there was a tutorial on how to set up a build environment for SMSQ/E somewhere....

Check the "extras_help" directory and other subdirs under "extras". You will want to use the method using "SMSQEMake", that is by far the easiest method.
And: Don't even bother to try building without SMSQ/E - Most probably it will not work. Best start with a build environment based on QPC2
Tobias
ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Re: PTR_GEN source code available?
Ahhaa,
This may help me too, as I may be able to build a version of PTR_GEN that will work with the Sandy SuperQBoard mouse.
Cheers.
Phill.
This may help me too, as I may be able to build a version of PTR_GEN that will work with the Sandy SuperQBoard mouse.
Cheers.
Phill.
Re: PTR_GEN source code available?
Humm
Setup QPC2, and installed the required tools but when I run SMSQEMake and select the bits to build, hit go and it falls over not being able to find EXEP_W is this from a toolkit that I will need to load ?
Cheers.
Phill.
Setup QPC2, and installed the required tools but when I run SMSQEMake and select the bits to build, hit go and it falls over not being able to find EXEP_W is this from a toolkit that I will need to load ?
Cheers.
Phill.
Re: PTR_GEN source code available?
"outptr_bin" in 'extras_exe_src'
doc in extras_help_howto_txt
doc in extras_help_howto_txt

ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Re: PTR_GEN source code available?
OK,
Thanks for that I'm now getting a little further now make is throwing an error with not being able to find Q_ERR_ON
Cheers.
Phill.
Thanks for that I'm now getting a little further now make is throwing an error with not being able to find Q_ERR_ON

Cheers.
Phill.
Re: PTR_GEN source code available?
Humm odd because QPC2 already has a qlib_run though it is a different file (smaller). The one from that zip file doesn't seem to have Q_ERR_ON anywhere in it and it's not turning up as an extra.....tofro wrote:QLiberator runtime not loaded
Pick from here:
http://www.dilwyn.me.uk/tk/qlibrun336mod.zip
Ahh after some searching looks like it's qlib_ext that I need, which contains the extensions.
Cheers.
Phill.