Re: [Ql-Users] Dock

2017-11-10 Thread Dilwyn Jones via Ql-Users
The icons are standard GD2 sprites. Q-Dock currently only handles that one 
small size.


Dilwyn

-Original Message- 
From: Derek via Ql-Users

Sent: Friday, November 10, 2017 6:52 PM
To: ql-us...@q-v-d.com
Cc: Derek
Subject: Re: [Ql-Users] Dock

Hi Peter,
Try using the icons from Q-Dock.
The icons are interchangeable.


RegardsDerek
 Original message From: Peter Graf via Ql-Users 
<ql-users@lists.q-v-d.com> Date: 10/11/2017  18:01  (GMT+00:00) To: 
ql-us...@q-v-d.com Cc: Peter Graf <pg...@q40.de> Subject: Re: [Ql-Users] 
Dock

Hi Wolfgang,


Concerning dock, this is supposed to be a program run in the background.


I figured that, but started a second SBASIC and used LRUN from there -
which didn't work.


Start with EX, not LRUN


That, plus QPRT v0.14 does the trick.

However, I'm still puzzled that the missing keyword from QPTR didn't
return an error, and that a BASIC program can crash the machine.

Thanks, really great idea. At least for my favorite 512x384 mode on the
Q68 it runs smoothly. Just need to create smaller icons...

Thanks,
Peter
___
QL-Users Mailing List
___
QL-Users Mailing List

---
This email has been checked for viruses by AVG.
http://www.avg.com 


___
QL-Users Mailing List


Re: [Ql-Users] Dock

2017-11-10 Thread Derek via Ql-Users
Hi Peter,
Try using the icons from Q-Dock.
The icons are interchangeable.


RegardsDerek
 Original message From: Peter Graf via Ql-Users 
<ql-users@lists.q-v-d.com> Date: 10/11/2017  18:01  (GMT+00:00) To: 
ql-us...@q-v-d.com Cc: Peter Graf <pg...@q40.de> Subject: Re: [Ql-Users] Dock 
Hi Wolfgang,

> Concerning dock, this is supposed to be a program run in the background.

I figured that, but started a second SBASIC and used LRUN from there -
which didn't work.

> Start with EX, not LRUN

That, plus QPRT v0.14 does the trick.

However, I'm still puzzled that the missing keyword from QPTR didn't
return an error, and that a BASIC program can crash the machine.

Thanks, really great idea. At least for my favorite 512x384 mode on the
Q68 it runs smoothly. Just need to create smaller icons...

Thanks,
Peter
___
QL-Users Mailing List
___
QL-Users Mailing List


Re: [Ql-Users] Dock

2017-11-10 Thread Peter Graf via Ql-Users
Hi Wolfgang,

> Concerning dock, this is supposed to be a program run in the background.

I figured that, but started a second SBASIC and used LRUN from there -
which didn't work.

> Start with EX, not LRUN

That, plus QPRT v0.14 does the trick.

However, I'm still puzzled that the missing keyword from QPTR didn't
return an error, and that a BASIC program can crash the machine.

Thanks, really great idea. At least for my favorite 512x384 mode on the
Q68 it runs smoothly. Just need to create smaller icons...

Thanks,
Peter
___
QL-Users Mailing List


Re: [Ql-Users] Dock

2017-11-10 Thread Wolf via Ql-Users


Hi all,

first of all thanks for the kind words some of you have found for me!

Concerning dock, this is supposed to be a program run in the background.

Start with EX, not LRUN


Have fun,

Wolfgang
___
QL-Users Mailing List


Re: [Ql-Users] Dock

2017-11-08 Thread Peter Graf via Ql-Users
François Van Emelen via Ql-Users wrote:
> RPTR is part of the pointer toolkit ‘qptr_rext’. Once loaded Dock does 
> what it is supposed to do.

Not here, same hang/crash. At least with the 'qptr_english_bin' from
Wolfgang's site.

Not sure it really is because of RPTR, but in one of my debug attempts
yesterday, the program seemed to get short before it, but never behind it.

Peter
___
QL-Users Mailing List

Re: [Ql-Users] Dock

2017-11-08 Thread François Van Emelen via Ql-Users

Op 8/11/2017 om 14:17 schreef pgraf--- via Ql-Users:

On 8 Nov 2017 at 13:09, François Van Emelen via Ql-Users wrote:


Here "dock" does its job correctly with QPC2, SMSQmulator and Black Phoenix.

Tobias reported the same problem on QPC2. Maybe you don't use the
latest version of SMSQ/E? That would make sense, because the "dock"
must have worked earlier.


Error in line 1020: could it be that you didn't load the correct extension?

I seldom use BASIC other than for trivial tasks, and was not
prepared to debug the program. So I may do something stupid. But:

* There is no error, but a hang/crash! That should not happen when
using a BASIC command.

* What is the "correct extension"? Even with plain SMSQ/E, RPTR
seems there.
  
All the best

Peter

___
QL-Users Mailing List



Hi,
ver$(1) returns 3,32 for Black Phoenix
ver$(1) returns 3,31 for QPC2
ver$(1) returns 3,32 for SMSqmulator
Just launched Black Phoenix with its own boot and did a ‘extras’ to 
verify the present of RPTR.

Not present!
RPTR is part of the pointer toolkit ‘qptr_rext’. Once loaded Dock does 
what it is supposed to do.

Hope this helps
François Van Emelen


___
QL-Users Mailing List

Re: [Ql-Users] Dock

2017-11-08 Thread Wolfgang Lenerz via Ql-Users

Hi,

I'm a bit short of time, will reply to these mails, and others later.

Wolfgang


Failure or success might probably depend on whether you set an OUTLN on S*Basic 
in the BOOT or not.

Will do some further checks tonight.

Tobias


Am 08.11.2017 um 14:17 schrieb pgraf--- via Ql-Users :

On 8 Nov 2017 at 13:09, François Van Emelen via Ql-Users wrote:


Here "dock" does its job correctly with QPC2, SMSQmulator and Black Phoenix.


Tobias reported the same problem on QPC2. Maybe you don't use the
latest version of SMSQ/E? That would make sense, because the "dock"
must have worked earlier.


Error in line 1020: could it be that you didn't load the correct extension?


I seldom use BASIC other than for trivial tasks, and was not
prepared to debug the program. So I may do something stupid. But:

* There is no error, but a hang/crash! That should not happen when
using a BASIC command.

* What is the "correct extension"? Even with plain SMSQ/E, RPTR
seems there.

All the best
Peter

___
QL-Users Mailing List


___
QL-Users Mailing List


___
QL-Users Mailing List

Re: [Ql-Users] Dock

2017-11-08 Thread Tobias Fröschle via Ql-Users
Failure or success might probably depend on whether you set an OUTLN on S*Basic 
in the BOOT or not.

Will do some further checks tonight.

Tobias

> Am 08.11.2017 um 14:17 schrieb pgraf--- via Ql-Users 
> :
> 
> On 8 Nov 2017 at 13:09, François Van Emelen via Ql-Users wrote:
> 
>> Here "dock" does its job correctly with QPC2, SMSQmulator and Black Phoenix.
> 
> Tobias reported the same problem on QPC2. Maybe you don't use the 
> latest version of SMSQ/E? That would make sense, because the "dock" 
> must have worked earlier.
> 
>> Error in line 1020: could it be that you didn't load the correct extension?
> 
> I seldom use BASIC other than for trivial tasks, and was not 
> prepared to debug the program. So I may do something stupid. But:
> 
> * There is no error, but a hang/crash! That should not happen when 
> using a BASIC command.
> 
> * What is the "correct extension"? Even with plain SMSQ/E, RPTR 
> seems there.
> 
> All the best
> Peter
> 
> ___
> QL-Users Mailing List

___
QL-Users Mailing List

Re: [Ql-Users] Dock

2017-11-08 Thread pgraf--- via Ql-Users
On 8 Nov 2017 at 13:09, François Van Emelen via Ql-Users wrote:

> Here "dock" does its job correctly with QPC2, SMSQmulator and Black Phoenix.

Tobias reported the same problem on QPC2. Maybe you don't use the 
latest version of SMSQ/E? That would make sense, because the "dock" 
must have worked earlier.

> Error in line 1020: could it be that you didn't load the correct extension?

I seldom use BASIC other than for trivial tasks, and was not 
prepared to debug the program. So I may do something stupid. But:

* There is no error, but a hang/crash! That should not happen when 
using a BASIC command.

* What is the "correct extension"? Even with plain SMSQ/E, RPTR 
seems there.
 
All the best
Peter

___
QL-Users Mailing List


Re: [Ql-Users] Dock

2017-11-08 Thread François Van Emelen via Ql-Users

Op 7/11/2017 om 19:28 schreef Peter Graf via Ql-Users:

Hi,

I try to run this nice looking "dock" for SMSQ/E:

http://www.wlenerz.com/qlstuff/dock_bas.zip

It seems to crash or hang at the RPTR command in line 1020, which I can
not find in the SMSQ/E Manual on Dilwyn's Website.

Does anyone else use this program and can give me a hint?

All the best
Peter
___
QL-Users Mailing List



Hi,

Here "dock" does its job correctly with QPC2, SMSQmulator and Black Phoenix.

Error in line 1020: could it be that you didn't load the correct extension?

François Van Emelen




___
QL-Users Mailing List

Re: [Ql-Users] Dock

2017-11-07 Thread Tobias Fröschle via Ql-Users
That is why I proposed 2x2 - Depending on window position, the PE might round 
down the outline to the next even size, which is 0x0 when you have 1x1 ;) - So, 
you're back at the starting point.

Not really sure that is the problem, but might be it.

I did try to check the same, but on my system I seem to get a "bad parameter" 
error on the OUTLN command. Ned to check what's going on.

Tobias

> Am 07.11.2017 um 23:47 schrieb Peter Graf via Ql-Users 
> :
> 
> Peter via Ql-Users: wrote:
>>> I would have a look at the OUTLN and WINDOW commands a bit up from there
>>> [...]
>> 
>> Wow, you are really an ace! Setting OUTLN to 1 pixel cures the RPTR
>> crash. WINDOW can remain unchanged.
> 
> Not under all circumstances... something is definitly buggy.
> 
> And there seemed a difference between QPTR loaded or not loaded, but I
> can't reproduce at the moment.
> 
> Peter
> ___
> QL-Users Mailing List

___
QL-Users Mailing List


Re: [Ql-Users] Dock

2017-11-07 Thread Peter Graf via Ql-Users
Peter via Ql-Users: wrote:
>> I would have a look at the OUTLN and WINDOW commands a bit up from there
>> [...]
> 
> Wow, you are really an ace! Setting OUTLN to 1 pixel cures the RPTR
> crash. WINDOW can remain unchanged.

Not under all circumstances... something is definitly buggy.

And there seemed a difference between QPTR loaded or not loaded, but I
can't reproduce at the moment.

Peter
___
QL-Users Mailing List


Re: [Ql-Users] Dock

2017-11-07 Thread Peter Graf via Ql-Users
Hi Tobias,

> I would have a look at the OUTLN and WINDOW commands a bit up from there
> [...]

Wow, you are really an ace! Setting OUTLN to 1 pixel cures the RPTR
crash. WINDOW can remain unchanged.

However, an SBASIC command should not crash the machine by a wrong
parameter.

> Doesn't work here as well in QPC2 and SMSQ/E 3.30

Good to hear the Q68 is not at fault :)

Thanks!
Peter
___
QL-Users Mailing List


Re: [Ql-Users] Dock

2017-11-07 Thread Tobias Fröschle via Ql-Users
Peter,

you obviously seem to have a RPTR on your system, so that is most probably not 
the problem.

I would have a look at the OUTLN and WINDOW commands a bit up from there - They 
seem to be setting #0 to a zero size/outline (which is basically the whole 
point of the program) - This might possibly not work in every environment, 
because it is a rarely tested corner case - I'm not even sure if it should be 
considered legal, but must have worked at some point in time. Can you give that 
window a minimum size of say 2x2 and re-test?

And, just to mention it:
Doesn't work here as well in QPC2 and SMSQ/E 3.30

Tobias
> Am 07.11.2017 um 22:11 schrieb Peter Graf via Ql-Users 
> :
> 
> Hi Fabrizio,
> 
> RPTR  does not seem to need QPTR, otherwise the keyword wouldn't exist.
> 
> Anyway if I load QPTR, "dock" hangs/crashes the same.
> 
> More ideas? Thanks,
> Peter
> 
> 
> 
> Am 07.11.2017 um 21:35 schrieb Fabrizio Diversi via Ql-Users:
>> Peter ,
>> 
>> dock is a nice program that use QPTR toolkit (RPTR), you can find the 
>> toolkit manual on Dilwyn web site. It work nicely on SMSQmulator, QPC 
>> and Q60.
>> 
>> Ciao
>> 
>> 
>> Fabrizio
>> 
>> 
>> On 07/11/2017 19:28, Peter Graf via Ql-Users wrote:
>>> Hi,
>>> 
>>> I try to run this nice looking "dock" for SMSQ/E:
>>> 
>>> http://www.wlenerz.com/qlstuff/dock_bas.zip
>>> 
>>> It seems to crash or hang at the RPTR command in line 1020, which I can
>>> not find in the SMSQ/E Manual on Dilwyn's Website.
>>> 
>>> Does anyone else use this program and can give me a hint?
>>> 
>>> All the best
>>> Peter
> ___
> QL-Users Mailing List

___
QL-Users Mailing List


Re: [Ql-Users] Dock

2017-11-07 Thread Tobias Fröschle via Ql-Users
Peter,

you obviously seem to have a RPTR on your system, so that is most probably not 
the problem.

I would have a look at the OUTLN and WINDOW commands a bit up from there - They 
seem to be setting #0 to a zero size/outline (which is basically the whole 
point of the program) - This might possibly not work in every environment, 
because it is a rarely tested corner case - I'm not even sure if it should be 
considered legal, but must have worked at some point in time. Can you give that 
window a minimum size of say 2x2 and re-test?

Tobias


> Am 07.11.2017 um 22:11 schrieb Peter Graf via Ql-Users 
> :
> 
> Hi Fabrizio,
> 
> RPTR  does not seem to need QPTR, otherwise the keyword wouldn't exist.
> 
> Anyway if I load QPTR, "dock" hangs/crashes the same.
> 
> More ideas? Thanks,
> Peter
> 
> 
> 
> Am 07.11.2017 um 21:35 schrieb Fabrizio Diversi via Ql-Users:
>> Peter ,
>> 
>> dock is a nice program that use QPTR toolkit (RPTR), you can find the 
>> toolkit manual on Dilwyn web site. It work nicely on SMSQmulator, QPC 
>> and Q60.
>> 
>> Ciao
>> 
>> 
>> Fabrizio
>> 
>> 
>> On 07/11/2017 19:28, Peter Graf via Ql-Users wrote:
>>> Hi,
>>> 
>>> I try to run this nice looking "dock" for SMSQ/E:
>>> 
>>> http://www.wlenerz.com/qlstuff/dock_bas.zip
>>> 
>>> It seems to crash or hang at the RPTR command in line 1020, which I can
>>> not find in the SMSQ/E Manual on Dilwyn's Website.
>>> 
>>> Does anyone else use this program and can give me a hint?
>>> 
>>> All the best
>>> Peter
> ___
> QL-Users Mailing List

___
QL-Users Mailing List


Re: [Ql-Users] Dock

2017-11-07 Thread Peter Graf via Ql-Users
Hi Fabrizio,

RPTR  does not seem to need QPTR, otherwise the keyword wouldn't exist.

Anyway if I load QPTR, "dock" hangs/crashes the same.

More ideas? Thanks,
Peter



Am 07.11.2017 um 21:35 schrieb Fabrizio Diversi via Ql-Users:
> Peter ,
> 
> dock is a nice program that use QPTR toolkit (RPTR), you can find the 
> toolkit manual on Dilwyn web site. It work nicely on SMSQmulator, QPC 
> and Q60.
> 
> Ciao
> 
> 
> Fabrizio
> 
> 
> On 07/11/2017 19:28, Peter Graf via Ql-Users wrote:
>> Hi,
>>
>> I try to run this nice looking "dock" for SMSQ/E:
>>
>> http://www.wlenerz.com/qlstuff/dock_bas.zip
>>
>> It seems to crash or hang at the RPTR command in line 1020, which I can
>> not find in the SMSQ/E Manual on Dilwyn's Website.
>>
>> Does anyone else use this program and can give me a hint?
>>
>> All the best
>> Peter
___
QL-Users Mailing List


Re: [Ql-Users] Dock

2017-11-07 Thread Fabrizio Diversi via Ql-Users

Peter ,

dock is a nice program that use QPTR toolkit (RPTR), you can find the 
toolkit manual on Dilwyn web site. It work nicely on SMSQmulator, QPC 
and Q60.


Ciao


Fabrizio


On 07/11/2017 19:28, Peter Graf via Ql-Users wrote:

Hi,

I try to run this nice looking "dock" for SMSQ/E:

http://www.wlenerz.com/qlstuff/dock_bas.zip

It seems to crash or hang at the RPTR command in line 1020, which I can
not find in the SMSQ/E Manual on Dilwyn's Website.

Does anyone else use this program and can give me a hint?

All the best
Peter
___
QL-Users Mailing List



___
QL-Users Mailing List


Re: [Ql-Users] Dock

2013-05-05 Thread François Van Emelen

Op 4/05/2013 13:44, Wolfgang Lenerz schreef:

Hi all,

the recent discussion about a window that pops up when the pointer is 
at the bottom of the screen prompted me to write a small dock 
application that pops up when the pointer is at the bottom of the screen.

Moving the pointer up again will hide it again. Hit ESC to quit.

.

You can see what it looks like and download it from

http://www.wlenerz.com/QLStuff/

It doesn't really do anything useful but shows how things could be done.
It's a basic program that must be either compiled or executed (under 
SMSQE as ex ...dock_bas).


Adjust the directory where it can find the icons (which are also 
supplied) in line 230.


The icons don't do anything useful - you can change that in lines 1460 
onwards.


Have fun.

Wolfgang

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm



Hi Wolfgang,

In line 580 .spr should be replaced with _spr

580 LBYTES sprites_dir$iconlp%.spr,spad(lp%-1)

Have a fine sunday,
François Van Emelen

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Dock

2013-05-05 Thread Wolfgang Lenerz

Hi François,


In line 580 .spr should be replaced with _spr

580 LBYTES sprites_dir$iconlp%.spr,spad(lp%-1)



Ah, that must be a feature of the (un)zipper, because here the names end 
in .spr



Have a fine sunday,


Thanks, same to you.

Wolfgang

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Dock

2013-05-04 Thread Wolfgang Lenerz

Oh and I forgot, it needs QPTR.

Wolfgang

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Dock

2013-05-04 Thread Marcel Kilgus
Wolfgang Lenerz wrote:
 the recent discussion about a window that pops up when the pointer is at
 the bottom of the screen prompted me to write a small dock application
 that pops up when the pointer is at the bottom of the screen.
 Moving the pointer up again will hide it again. Hit ESC to quit.

Looks cool.

 230   sprites_dir$=nfa1_ : REMark directory where the sprites are located

If only there was a way to automatically determine in which directory
something was executed... oh wait, there is! And it was you who
implemented it ;)

 190   ysize%=90: REMark y size of wdw
 280   trigger%=100  : REMark  distance, in pixels, from the bottom of the 
 screen that will cause the wdw to pop up.
 840   ylim%=SCR_YLIM-ysize%
[...]
 880  IF yabs%ylim%:EXIT lp%   : REMark ptr moved out of wdw
[...]
 1030  IF yabs%SCR_YLIM-trigger%:EXIT lp%: REMark pointer is in 
 lower part of wdw

This means that between 90 and 100 pixels from the bottom the thing
will constantly flicker (pop up and vanish). Isn't trigger% meant to
be more like 10 or something?

Cheers, Marcel

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm