Re: [Ql-Users] Punters

2007-10-09 Thread Wolf
gwicks a écrit :

 
 I would repeat yet again. My main purpose is to raise this as a serious 
 matter, and on the whole the discussion has had the right balance of serious 
 comment, humour and passion,


I don't know, I have a VERY hard time taking this subject seriously at all.

Wolfgang

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


Re: [Ql-Users] Drawing on the pointer coordinate system

2007-10-09 Thread George Gwilt

On 23 Sep 2007, at 09:45, Tobias Fröschle wrote:


 I am currently getting myself accustomed again to programming using  
 the
 pointer interface after years of inactivity.
 I would like to hear how the cracks would tackle a problem I have  
 where
 I have some alternative solutions for.
 (My programs are SuperBasic, liberated or Turbo-ed)

 How do you draw graphics in the pointer coordinate system (a typical
 application would be things like rubber-banding or a shape drawing
 program)? The options I currently see are as follows:

1. Use the Graphics coordinate system - Here I find it next to
   impossible to find a perfect match between pixel coordinates and
   graphic coordinates using SCALE (Or am I just doing something
   wrong?).   I'm doing something like SCALE  
 #channel,windowHeight%,
   0, 0 and POINT x,y-windowHeight%. This (at least sometimes) hits
   the spot, but not with acceptable accurracy - the point  
 plotted is
   always a bit off the pointer position. Advantage is, you can use
   INK, PAPER, and he like and have all the graphics drawing for
   circles and arcs available
2. Use BLOCK - this hits the spot perfectly, because it uses pixel
   coordinates. You can also take advantage of INK and PAPER and  
 the
   like, but need to write your own routines for drawing shapes,
   rectangles, arcs, lines. This could end up in a huge pile of  
 work,
   the program could also tend to be slow with implementation of
   these primitives in SuperBASIC.
3. Use the Draw line of blobs/sprite functionality from PE. Uses
   the pixel coordinate system, so we'd be safe with pixel  
 accuracy -
   Cannot use INK, PAPER and the like, because you define the  
 colour
   in the sprite. You'd need to have an assortment of pixel-sized
   sprites in order to be able to draw in different colours. Shapes
   like rectangles and circles are not available as well and  
 need to
   be emulated.
4. Use own, machine code-based SuperBasic extensions to plot and  
 draw
   in the pixel coordinate system. Not sure whether I would want to
   tackle this one, especially if I want my program to be able  
 to run
   both on standard QLs and GD2-Based systems (Or is there
   something already available - I'm not aware of such an  
 extension -
   There was  an article in an old QL world, part of the DIY  
 toolkit,
   but this would hardly work in a GD2-based environment.

 What's common practice? Like to hear some recommendations.


There is an simple drawing program using the Pointer Environment in  
example 3 of TurboPTR. This example allows you to use the mouse to  
draw shapes on the screen (in various different colours). The general  
method is to find the pixel position of the mouse on the screen and  
to draw a line between that and the previous position if it is  
different. This is repeated until the mouse key is lifted. The line  
is drawn using blocks of size 2x1. It is not practical (or even  
possible) to use both pixel position and graphics coordinates for the  
same point on the screen.

The code for the program is in the file EX3_BAS in TPTRX03_ZIP which  
is on the SQLUG site at:

  http://jms1.supanet.com/SQLUG/gwilt/gwilt.htm

The program compiled by Turbo is in EX3_TASK. An explanation of how  
to use the program is in PROGRAMS_TEXT. All these files are in the  
same zipped file, TPTRX03_ZIP.

George


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


Re: [Ql-Users] Drawing on the pointer coordinate system

2007-10-09 Thread George Gwilt

On 9 Oct 2007, at 10:52, George Gwilt wrote:

  It is not practical (or even
 possible) to use both pixel position and graphics coordinates for the
 same point on the screen.

A foolhardy statement!

I should have realised that a genius like Rich Mellor would make the  
impossible possible. Nevertheless my program does the simple line  
drawing without the need for Rich's BASIC rewrites.

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


Re: [Ql-Users] Punters

2007-10-09 Thread Malcolm Cadman
In message [EMAIL PROTECTED], 
[EMAIL PROTECTED] writes

Hi Norman,

Not entirely frazzled the old brain then ( in the heat )... ? ... :-)

I envy you the visit ... Ancient Egypt has always been a favourite 
period of mine.

I do a project at school which uses the background research on a tumbler 
style lock that the Ancient Egyptians invented - made from wood - which 
is closely identical to the modern tumbler lock - Yale type lock.

A main difference is that they didn't invent the use of the spring 
inside the lock.

Hi Malcolm,

 Whereas ALL ql_users, as we know, are very erudite ... :-)
Indeed we are !

 Norman. (Back from Egypt, and only slightly burned.)
 Umm ... it must have been hot ... !

Yes it was. 14 days all of which were 40 degrees (C) plus, or, in old 
money, over 104 degrees F.


Cheers,
Norman.

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


Re: [Ql-Users] Punters

2007-10-09 Thread Malcolm Cadman
In message [EMAIL PROTECTED], 
[EMAIL PROTECTED] writes

Clip

On a slightly different note, I must say that I find this list very 
'exciting'. I remember when it was restricted to pure QL topics and 
while interesting and thoughtful, it seemed a bit 'staid' at times.

Now that we tend to drift ever so slightly off topic from time to time, 
it feels more homely and fun. Anyone disagree?

All a part of the fun ... I guess it also helps to be slightly mad ... 
:-)

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


[Ql-Users] Here is a french QL...

2007-10-09 Thread QL2K

Hi all,

Browsing the web for documentation I just fall on a picture of QL AZERTY :
http://sismalp.obs.ujf-grenoble.fr/photos/MaterielSismalp/MaterielSismalp.html

Click on the 2 first pictures.

Jimmy.

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


Re: [Ql-Users] QL on a stick

2007-10-09 Thread PAULHOLM
I would be interested!!!


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


Re: [Ql-Users] Punters

2007-10-09 Thread Darren Branagh - Kingfisher Club

Hi Roy,

I intended to come and help Dilwyn with QL on a Stick, and Steve Reyal 
wanted to go too. My wife works weekends, only for about 4 hours in the 
mornings, but its the busiest time of the week and seldom gets weekends 
off. and with two kids I couldn't leave them alone - its almost 
impossible to find babysitters out here. I miss the shows a lot.

The joys of Fatherhood. Still I wouldn't change it for the world.

Yes, looks like I'll have to get the finger out for an Irish Show - 
Inebriation Eireann IV I think...

Anyone any preferences as to when ???


Cheers,

Darren.



Roy wood wrote:
 Hi,
 I thought that you were going to comer to Birmingham. I was 
 looking forward to seeing you. You have to arrange an Irish show now. 
 There  Are at least 5 people.who will come over.

 Regards
 Roy


 In message [EMAIL PROTECTED], Darren Branagh - 
 Kingfisher Club [EMAIL PROTECTED] writes
 Roy wood wrote:
 The problem is I cannot  think of a suitable alternative that also 
 conveys
 the sort of atmosphere  we have at shows,

 'Billys' or, as Stuart would have it 'the great unwashed'

 Ahhh, I miss Stuart, he really had a way with words at times. I remember
 he christened the first Irish QL Show Inebriation Eireann at the end
 of the first day - mind you, he was fairly inebriated himself at the
 time

 Darren.

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




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


Re: [Ql-Users] Punters

2007-10-09 Thread norman
Hi Malcolm,

 Not entirely frazzled the old brain then ( in the heat )... ? ... :-)
Not any more than usual I'm afraid - I tend to always be frazzled these days. 
;-)

 I envy you the visit ... Ancient Egypt has always been a favourite 
 period of mine.
I was never there myself, but I do so enjoy the monuments and such like - most 
impressive.

 I do a project at school which uses the background research on a tumbler 
 style lock that the Ancient Egyptians invented - made from wood - which 
 is closely identical to the modern tumbler lock - Yale type lock.
I've either seen it or a replica some years back - nothing new under the sun is 
there?

 A main difference is that they didn't invent the use of the spring 
 inside the lock.
Who needs a spring when you have gravity?


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


Re: [Ql-Users] QL on a stick

2007-10-09 Thread Dilwyn Jones
 I used to work for CMS Peripherals here in Ireland and I recall Roy
 having dealings with them in the UK too. They make the disgo and
 Busbi USB Sticks on sale in Dixons and PC World etc.  128Mb Sticks 
 are
 obsolete now in PC terms so if they had any left in stock I'm sure I
 could get a few at bargain prices. I still have a few good mates
 there and could get them at near to cost. Is there any interest?

I think the period of intending to supply them on USB sticks is gone.

This is why I put it on a CD - people can copy it to a USB stick of 
their choice rather than be held to a 128MB or 1GB or whatever size we 
choose.

Darren - remember to send me your current address so I can send you 
your copy.

-- 
Dilwyn Jones

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


Re: [Ql-Users] Punters

2007-10-09 Thread hitchies
Norman wrote...

 Who needs a spring when you have gravity?

Please send me some (in green please) Norman!

Thus, Malcolm wrote...

   I guess it also helps to be slightly mad ... :-)

John in Wales (not raining)
Attendee

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


Re: [Ql-Users] Punters

2007-10-09 Thread Bill Loguidice
Is there more information somewhere about the QL-on-a-stick? 


=
Bill Loguidice, Managing Director
Armchair Arcade, Inc.
http://www.armchairarcade.com
A PC Magazine Top 100 Website
=


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of hitchies
Sent: Tuesday, October 09, 2007 4:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [Ql-Users] Punters

Norman wrote...

 Who needs a spring when you have gravity?

Please send me some (in green please) Norman!

Thus, Malcolm wrote...

   I guess it also helps to be slightly mad ... :-)

John in Wales (not raining)
Attendee

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

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