[ql-users] use of new system sprites from C68?
Has anyone used the new system sprites from C68? This would be using it in the window definition which was originally a pointer to a sprite file. I have tried it by defining 2 bytes such as: unsigned short test_sprite = 0x0008; [ byte 0 = 0x00 for a system sprite 0x08 for the sprite number ] and then doing a pointer to its address from the proper loose item field: test_sprite, If I point to one of the normal sprites (with byte 0 = 0x01) I get the expected sprite. But when I do the above all I get is a red 'X' sprite, no matter what sprite number I use. Any ideas? If someone has used the new system sprites, could you supply sample code and instructions? Thanks, jim ___ QL-Users Mailing List http://www.quanta.org.uk/mailing.htm
Re: [ql-users] use of new system sprites from C68?
James Hunkins wrote: Has anyone used the new system sprites from C68? This would be using it in the window definition which was originally a pointer to a sprite file. I have tried it by defining 2 bytes such as: unsigned short test_sprite = 0x0008;[ byte 0 = 0x00 for a system sprite 0x08 for the sprite number ] and then doing a pointer to its address from the proper loose item field: test_sprite, If I point to one of the normal sprites (with byte 0 = 0x01) I get the expected sprite. But when I do the above all I get is a red 'X' sprite, no matter what sprite number I use. Any ideas? If someone has used the new system sprites, could you supply sample code and instructions? I think I did use the system sprite from C68. I used an array of char instead of a short... It did work, or so I believe. I would have to dig that code if you do not get a better answer. ___ QL-Users Mailing List http://www.quanta.org.uk/mailing.htm
Re: [ql-users] use of new system sprites from C68?
Just did several different combinations with your array suggestion, including different pointer methods and all give me the red 'X' sprite. I am sure that it is something very simple that I am missing so if you do get a chance to dig up a sample of your working code, I would really appreciate it. Trying to add the new system icons into QDT. Cheers, jim On Sep 14, 2004, at 2:30 AM, Jérôme_Grimbert wrote: James Hunkins wrote: Has anyone used the new system sprites from C68? This would be using it in the window definition which was originally a pointer to a sprite file. I have tried it by defining 2 bytes such as: unsigned short test_sprite = 0x0008;[ byte 0 = 0x00 for a system sprite 0x08 for the sprite number ] and then doing a pointer to its address from the proper loose item field: test_sprite, If I point to one of the normal sprites (with byte 0 = 0x01) I get the expected sprite. But when I do the above all I get is a red 'X' sprite, no matter what sprite number I use. Any ideas? If someone has used the new system sprites, could you supply sample code and instructions? I think I did use the system sprite from C68. I used an array of char instead of a short... It did work, or so I believe. I would have to dig that code if you do not get a better answer. ___ QL-Users Mailing List http://www.quanta.org.uk/mailing.htm ___ QL-Users Mailing List http://www.quanta.org.uk/mailing.htm
[ql-users] Norwich Quanta Workshop
An evening meal is being arranged for the workshop and we need to know how many people want to go to it, to access whether to hold the meal at all? -- Tarquin Mills Norwich Sinclair and Clones Show (ORSAM 2004) http://www.speccyverse.me.uk/orsam/ http://www.PetitionOnline.com/Sinclair/petition.html (Bring Back YS) ___ QL-Users Mailing List http://www.quanta.org.uk/mailing.htm
Re: [ql-users] Norwich Quanta Workshop
On Tue, 14 Sep 2004 at 23:45:39, Tony Firshman wrote: (ref: [EMAIL PROTECTED]) On Tue, 14 Sep 2004 at 23:16:37, Tarquin Mills wrote: (ref: [EMAIL PROTECTED]) An evening meal is being arranged for the workshop on 6 November in Norwich. and we need to know how many people want to go to it, to access whether to hold the meal at all? I will be doubtful. I am giving a Vic Gerhardi a lift and maybe Bill Richardson. Vic is game as long as we leave soon after 8pm 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