Re: [ql-users] C and system sprites of SMSQ/E 3++ on Q40

2004-09-23 Thread James Hunkins
Nice little (and very true) analogy!
Thanks for the wishes - thanks to all the pieces that Marcel and others 
have put together in SMSQ/E along with some great color help it will be 
even better.  Just wish I had the time to get everything into it and 
out the door.  But will keep pushing.

It is worth it when I am running it on my 23 Cinema display, where QPC 
and QDT are in their glorious 1920x1200 pixels :)

Stay tuned...
Jim
On Sep 23, 2004, at 12:31 AM, Tony Firshman wrote:
On  Wed, 22 Sep 2004 at 23:01:08, James Hunkins wrote:
(ref: [EMAIL PROTECTED])
You would think after all these years of programming I would not 
forget
to use the static keyword in this stuff.  I wasn't doing this and
therefore the external programs couldn't find the correct data.  One I
threw in static (thanks Wolfgang!), it works just as you all kept
telling me.

Very obvious - now :)
Thanks for help everyone!
Back to programming,
 That is life isn't it.
I re-built my car engine a while back.  I had always thought (for 13
years) that the Volvo spark plug lead layout on the 7nn series was
brilliant.  The distributor cap had the outputs all in a straight line.
They were then held in a neat parallel line all the way to the spark
plugs, 4,3 2 1.
How sensible rather than the usual 1,3,4,2 or similar.
I started the car up and it idled 'perfectly' first time, but when I
drove off there was no power.
Hrmm.  The ignition was electronic, and the manual was distinctly
unclear about the position of the -only- feedback - a slotted disk on
the flywheel.
 so I took the engine out and checked the position (the only way)
and it seemed OK.
I then went back to the first stages (like one should -always- do even
in programming!) and checked the leads.  Nothing in the manual about 
the
physical connections to the cap, so I checked with a continuity meter.
The lead order was 2,1,3,4!

It was only the electronic ignition being -clever- that made the engine
idle perfectly on two cylinders!
Moral: In life and programming one should always go back to first
principals and never assume anything!
Good luck with QDT.  I must say it looked very professional at Orlando.
Tony
--
 QBBS (QL fido BBS 2:252/67) +44(0)1442-828255
 tony@surname.co.uk  http://www.firshman.co.uk
   Voice: +44(0)1442-828254   Fax: +44(0)1442-828255
TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG
___
QL-Users Mailing List
http://www.quanta.org.uk/mailing.htm
___
QL-Users Mailing List
http://www.quanta.org.uk/mailing.htm


Re: [ql-users] C and system sprites of SMSQ/E 3++ on Q40

2004-09-23 Thread Tony Firshman
On  Thu, 23 Sep 2004 at 00:44:42, James Hunkins wrote:
(ref: [EMAIL PROTECTED])

Nice little (and very true) analogy!
You got the short version!  It took me all night to solve the problem,
because I had volunteered the car for a choir trip to France.  This was
Friday and the last rehearsal was on the Sunday.  I had to make the
decision on the car before then!

Thanks for the wishes - thanks to all the pieces that Marcel and others
have put together in SMSQ/E along with some great color help it will be
even better.  Just wish I had the time to get everything into it and
out the door.  But will keep pushing.

It is worth it when I am running it on my 23 Cinema display, where QPC
and QDT are in their glorious 1920x1200 pixels :)
I have seen Jim's TV system. Not only does he have this enormous flat
panel display, but there seem to be hundreds of speakers all around the
room.
I wonder what his neighbours think (8-)#

Tony


-- 
 QBBS (QL fido BBS 2:252/67) +44(0)1442-828255
 tony@surname.co.uk  http://www.firshman.co.uk
   Voice: +44(0)1442-828254   Fax: +44(0)1442-828255
TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG
___
QL-Users Mailing List
http://www.quanta.org.uk/mailing.htm


Re: [ql-users] C and system sprites of SMSQ/E 3++ on Q40

2004-09-23 Thread Darren . Branagh

I'm more envious of the 23 cinema display - an apple one I assume.

Some of us poor souls have to make do with  old CRT  G3
Imacs..since I had to sell my dual  1.42Ghz G4.

Oh, and Jim, have you finished playing with your QDT yet :-))   (Private
joke)

Cheers,

Darren Branagh,
Bank of Ireland - Cards And Loans Business,
Nassau House, 33/35 Nassau Street, Dublin 2. Ireland.
Tel: 1850-530-530 Fax: 01-6706813.
Direct Line:- (+353)-1-6176082

BOI Group Data Classification -




   
   
  Wolfgang Lenerz
   
  [EMAIL PROTECTED]To:  [EMAIL PROTECTED]
 
  Sent by:cc:  
   
  [EMAIL PROTECTED] Subject: Re: [ql-users] C and system 
sprites of SMSQ/E 3++ on Q40   
  s.q-v-d.com  
   
   
   
   
   
  23/09/2004 15:49 
   
  Please respond to ql-users   
   
   
   
   
   



On 23 Sep 2004 at 12:40, Tony Firshman wrote:
(...)
 I wonder what his neighbours think (8-)#

What , think? With all this noise?
grin

Wolfgang

www.scp-paulet-lenerz.com

___
QL-Users Mailing List
http://www.quanta.org.uk/mailing.htm








This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they   
are addressed. If you have received this email in error please 
notify us immediately at [EMAIL PROTECTED] and delete this E-mail 
from your system. Thank you.
It is possible for data transmitted by email to be deliberately or
accidentally corrupted or intercepted. For this reason, where the
communication is by email, the Bank of Ireland Group does not accept 
any responsibility for any breach of confidence which may arise 
through the use of this medium.
This footnote also confirms that this email message has been swept 
for the presence of known computer viruses.

  

___
QL-Users Mailing List
http://www.quanta.org.uk/mailing.htm


Re: [ql-users] C and system sprites of SMSQ/E 3++ on Q40

2004-09-23 Thread James Hunkins
Of course the Apple one - and it kept me up to 3 this morning again :)
As for playing with my QDT - forever and ever!
Tony, my new display at 23 has more resolution than my 40 television. 
 And it is better.  So if I ever get a break from my programming I will 
be watching movies on it.  And by the way, my speakers are nothing 
compared to everyone else in the area :)  But I am not complaining.  
When I last used them (last month!), they were very nice to have.

By the way, in case anyone wants to be an Apple fanatic but wants to 
run QPC on their Macs, I am using my 1GHz Powerbook with VirtualPC 6 to 
run QPC, its display plus my new monitor.  Plenty of horsepower for all 
that.  And I understand VirtualPC 7 is 10-30% faster and will run on 
the G5s.  I wonder if I can get a compile to finish before I tell it to 
start?

Cheers,
jim
On Sep 23, 2004, at 7:53 AM, [EMAIL PROTECTED] wrote:
I'm more envious of the 23 cinema display - an apple one I assume.
Some of us poor souls have to make do with  old CRT  G3
Imacs..since I had to sell my dual  1.42Ghz G4.
Oh, and Jim, have you finished playing with your QDT yet :-))   
(Private
joke)

Cheers,
Darren Branagh,
Bank of Ireland - Cards And Loans Business,
Nassau House, 33/35 Nassau Street, Dublin 2. Ireland.
Tel: 1850-530-530 Fax: 01-6706813.
Direct Line:- (+353)-1-6176082
BOI Group Data Classification -


  Wolfgang Lenerz
  [EMAIL PROTECTED]To:  
[EMAIL PROTECTED]
  Sent by:cc:
  [EMAIL PROTECTED] Subject: 
Re: [ql-users] C and system sprites of SMSQ/E 3++ on Q40
  s.q-v-d.com

  23/09/2004 15:49
  Please respond to ql-users


On 23 Sep 2004 at 12:40, Tony Firshman wrote:
(...)
I wonder what his neighbours think (8-)#
What , think? With all this noise?
grin
Wolfgang

www.scp-paulet-lenerz.com
___
QL-Users Mailing List
http://www.quanta.org.uk/mailing.htm




This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please
notify us immediately at [EMAIL PROTECTED] and delete this E-mail
from your system. Thank you.
It is possible for data transmitted by email to be deliberately or
accidentally corrupted or intercepted. For this reason, where the
communication is by email, the Bank of Ireland Group does not accept
any responsibility for any breach of confidence which may arise
through the use of this medium.
This footnote also confirms that this email message has been swept
for the presence of known computer viruses.

___
QL-Users Mailing List
http://www.quanta.org.uk/mailing.htm
___
QL-Users Mailing List
http://www.quanta.org.uk/mailing.htm


Re: [ql-users] C and system sprites of SMSQ/E 3++ on Q40

2004-09-23 Thread Malcolm Cadman
In message [EMAIL PROTECTED], James 
Hunkins [EMAIL PROTECTED] writes

You would think after all these years of programming I would not forget 
to use the static keyword in this stuff.  I wasn't doing this and 
therefore the external programs couldn't find the correct data.  One I 
threw in static (thanks Wolfgang!), it works just as you all kept 
telling me.

Very obvious - now :)
Thanks for help everyone!
Back to programming,
Tut ... tut ... :-) ... what is he on about ?
Oh, he must be programming in 'C'.
--
Malcolm Cadman
___
QL-Users Mailing List
http://www.quanta.org.uk/mailing.htm


Re: [ql-users] C and system sprites of SMSQ/E 3++ on Q40

2004-09-22 Thread James Hunkins
Thanks Wolfgang and Jerome, I have a simple workaround which I should 
have tried to start with.  Your answers reminded me that when I did my 
custom icons I ended up having to do them in Assembly and linking them 
in. It turns out that this is actually easier and great so that I can 
share the files between different QDT modules.

I am now using the default system icons in over half of QDT and should 
have the rest converted and tuned by tomorrow night.  It was exactly as 
you illustrated, Jerome.  Simply a 0 byte and then the icon number in 
the next byte - with a C pointer to the location of byte 0 (just as 
Marcel documented the new sprite formats, of course :) ).

Again, thanks for the help.  These new icons do really help the 
appearance!

Cheers,
jim
On Sep 21, 2004, at 7:28 AM, Wolfgang Lenerz wrote:
On 21 Sep 2004 at 2:40, James Hunkins wrote:
(...)

It just feels that I am missing a pointer between C68 and the new
stuff.  I am guessing that persistent the red X icon indicates that 
the
system call could not find the one that I want.

Yes, that is correct - the red X indicates that the pointer environment
didn't recognize the system sprite you
 were trying to have it draw -but it does understand that you are 
trying to
draw a system sprite.
Typically, that means that you are trying to draw a system sprite with 
a
number higher than 39, or a negative number.

If you wish, could you build a very small test application (where you 
have
the problem) and send it to me - I could try to find out what happens 
(but
please send the compiled version + the source).

Oh, and what version of smsq/e are you using? !!!
wolfgang

www.scp-paulet-lenerz.com
___
QL-Users Mailing List
http://www.quanta.org.uk/mailing.htm
___
QL-Users Mailing List
http://www.quanta.org.uk/mailing.htm


Re: [ql-users] C and system sprites of SMSQ/E 3++ on Q40

2004-09-21 Thread Wolfgang Lenerz
On 21 Sep 2004 at 2:40, James Hunkins wrote:
(...)

 
 It just feels that I am missing a pointer between C68 and the new 
 stuff.  I am guessing that persistent the red X icon indicates that the 
 system call could not find the one that I want.


Yes, that is correct - the red X indicates that the pointer environment 
didn't recognize the system sprite you
 were trying to have it draw -but it does understand that you are trying to 
draw a system sprite.
Typically, that means that you are trying to draw a system sprite with a 
number higher than 39, or a negative number.

If you wish, could you build a very small test application (where you have 
the problem) and send it to me - I could try to find out what happens (but 
please send the compiled version + the source).

Oh, and what version of smsq/e are you using? !!!

wolfgang

www.scp-paulet-lenerz.com

___
QL-Users Mailing List
http://www.quanta.org.uk/mailing.htm