[ql-users] QL2004 - 21st Anniversary Bash, Manchester, 17/4/04.

2003-07-11 Thread Darren . Branagh


Thanks for that Info, Bruce.

Well, thats that settled - its a bit further away, which is a much better
idea as it gives our foreign friends a better chance of coming - hopefully
all of the attendees at QL2000 will return and it can be as successful as
that event. The Manchester venue has been used before, has good car
parking, a nice big room, and a separate room for talks etc, and a Kitchen
area. This will also help maybe kick start a bit of a lift to the north of
the UK where shows are scarce.


I think we need to start pushing this date in a big way NOW - the hype
built up for QL2000 for months and months before hand, and it was great to
see a major event be so successful.

So, who's coming then guys??  Put me down for starters..

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.


   
   
  Bruce N  
   
  <[EMAIL PROTECTED] To:  "[EMAIL PROTECTED]"  
 
  lworld.com> <[EMAIL PROTECTED]>  
  
  Sent by:cc:  
   
  [EMAIL PROTECTED] Subject: Re[2]: [ql-users] Quanta 
Workshop in Norwich   
  k
   
   
   
   
   
  10/07/2003 20:31 
   
  Please respond to
   
  ql-users 
   
   
   
   
   




Hello Darren & All,

Having laid out the latest Quanta, I can tell you that there is
planned a two day event :-

AGM & WORKSHOP

In QUANTA?S 21ST YEAR

Saturday, 17th April 2004.

>From 1.00pm and Sunday, 18thApril
2004. From 9.30am to 3.00pm

Times at this stage are approximate.

Venue: 3rd Davyhulme Scout
Headquarters

Off Lostock Road, Davyhulme,
Manchester

There will be a celebratory 21st dinner

on Saturday night.




Thursday, July 10, 2003, 9:49:32 AM, you wrote:



DBbc> I think Tony's statement below hits the nail on the head. I have to
agree -
DBbc> I had a ball at the last Irish "Show" - and so far everyone who was
there
DBbc> is coming again!!  all 6 or so of them :-)) It doesn't really matter
DBbc> anymore about profitability - the shows aren't, no matter how hard
you try
DBbc> - QL2000 was the one recent exception, but we are three years on from
that
DBbc> now. I think its very important we have one more big show though to
mark
DBbc> the QL's 20th anniversary But I'd say thats it. Can we contact
all the
DBbc> old QLers? Ron Dunnett? Freddy Vaccha? Simon Goodwin?? etc?

DBbc> QUANTA should fund it - Can anyone from QUANTA make a comment on
this? Are
DBbc> there any of the QUANTA guys still on this list??

DBbc> Tony is right Tarquin - just organise it. Get a hall. Get some Tea
and
DBbc> Coffee. Thats about the size of it.

DBbc> Darren Branagh,
DBbc> Bank of Ireland - Cards And Loans Business,
DBbc> Nassau House, 33/35 Nassau Street, Dublin 2. Ireland.
DBbc> Tel: 1850-530-530   Fax: 01-6706813.



DBbc>   Tony Firshman

DBbc>   <[EMAIL PROTECTED] To:
[EMAIL PROTECTED]
DBbc>   o.uk>









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.
***

Re: [ql-users] Quanta Workshop in Norwich

2003-07-11 Thread wlenerz

O> * A little bit of politics included to upset Tony. Work out for yourself
> whether I mean Blair or Firshman.

Blair reads this list?

Wolfgang



RE: [ql-users] Quanta Workshop in Norwich

2003-07-11 Thread Claude Mourier 00

Yes ! QL is a massive destruction weapons : only enthusiats survive :-)

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoye : vendredi 11 juillet 2003 10:35
A : [EMAIL PROTECTED]
Objet : Re: [ql-users] Quanta Workshop in Norwich



O> * A little bit of politics included to upset Tony. Work out for yourself
> whether I mean Blair or Firshman.

Blair reads this list?

Wolfgang


[ql-users] Irish Show

2003-07-11 Thread Darren . Branagh


Hi Roy et al,,

The bank holiday weekend is looking like a no-no, I can't get accomodation
anywhere. The folowing weekend is also very busy due to a large wedding in
the area, but not as bad as the 25th.

Sorry, but The weekend of the 30th August looks the best bet.

Roy - you need a room I assume for Friday, Saturday, and Sunday nights?

John - Which nights do you need?? It won't be in the same place as Roy, but
I should be able to get something

Anyone else want accomodation??  Tony and Stu?? Or are you camping this
time?

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.


   
  
  Roy wood 
  
  <[EMAIL PROTECTED] To:  [EMAIL PROTECTED]
 
  emon.co.uk>cc:   
  
  Sent by:   Subject: [ql-users] Quanta Workshop 
in Norwich & Irish show 
  [EMAIL PROTECTED] I think
 
  uk   
  
   
  
   
  
  10/07/2003 19:41 
  
  Please respond to
  
  ql-users 
  
   
  
   
  




In message <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes
>
>
>I think Tony's statement below hits the nail on the head. I have to agree
-
>I had a ball at the last Irish "Show" - and so far everyone who was there
>is coming again!!  all 6 or so of them :-))

By the way Darren have you fixed up a date ? I am happy to go for the
25th and I would like to get it booked.
--
Roy Wood
Q Branch. 20 Locks Hill, Portslade, Sussex.
Tel: +44 (0) 1273 386030fax: +44 (0) 1273 430501
web : www.qbranch.demon.co.uk









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.

  


Re: [ql-users] 20th Anniversary Show

2003-07-11 Thread Darren . Branagh


Hi Jim,

Maybe the new date in April 2004 would be a better bet - hopefully a lot of
the American users can make it over here then.

Start searching the 'net now for cheap flights :-))


Mind you, the US Show is usually around then anyway, so we may well be
crossing the atlantic one after each other!!

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.


   

  James Hunkins

  <[EMAIL PROTECTED] To:  [EMAIL PROTECTED]
 
  ech.com> cc: 

  Sent by: Subject: [ql-users] 20th Anniversary 
Show   
  [EMAIL PROTECTED]
 
  g.uk 

   

   

  10/07/2003 18:02 

  Please respond   

  to ql-users  

   

   





This may be of interest to some of us in the States too if it could be
decided early enough.

Jim

On Thursday, July 10, 2003, at 01:49  AM, [EMAIL PROTECTED]
wrote:

>
>
> I think Tony's statement below hits the nail on the head. I have to
> agree -
> I had a ball at the last Irish "Show" - and so far everyone who was
> there
> is coming again!!  all 6 or so of them :-)) It doesn't really matter
> anymore about profitability - the shows aren't, no matter how hard you
> try
> - QL2000 was the one recent exception, but we are three years on from
> that
> now. I think its very important we have one more big show though to
> mark
> the QL's 20th anniversary But I'd say thats it. Can we contact all
> the
> old QLers? Ron Dunnett? Freddy Vaccha? Simon Goodwin?? etc?
>
> QUANTA should fund it - Can anyone from QUANTA make a comment on this?
> Are
> there any of the QUANTA guys still on this list??
>
> Tony is right Tarquin - just organise it. Get a hall. Get some Tea and
> Coffee. Thats about the size of it.
>
> 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.
>
>
>
>   Tony Firshman
>   <[EMAIL PROTECTED] To:
> [EMAIL PROTECTED]
>   o.uk>cc:
>   Sent by: Subject: Re: [ql-users]
> Quanta Workshop in Norwich
>   [EMAIL PROTECTED]
>   g.uk
>
>
>   09/07/2003 19:43
>   Please respond
>   to ql-users
>
>
>
>
>
>
> On  Wed, 9 Jul 2003 at 14:56:05, gwicks wrote:
> (ref: <[EMAIL PROTECTED]>)
>
>
>>
>> I think we have to separate two things here. One is your capability of
>> holding an event. This is not really a QL thing, but what experience
>> you
>> have of holding events in general. Think of possible experiences in,
>> say,
>> the political sphere. The other thing is if there are a sufficient
>> number
> of
>> QL users in your catchment area to make a QL show worthwhile.
> Good God.  In my book politics is really not an issue.
> Don't put off the man.
>
> If there is now other show near, then it is just a matter of getting a
> hall, telling people (including traders) and asking Quanta to pay for
> the hall.  Food and drink is a bonus.
>
> You cannot have fewer than the last Irish show (8-)#
>
> .. and that was one of the best recent events I have attended.
>
> --
>  QBBS (QL fido BBS 2:252/67) +44(0)1442-828255
>  tony@.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
>
>
>
>
>
>
>
> 
> 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

Re: [ql-users] 20th Anniversary Show

2003-07-11 Thread Dilwyn Jones

The way things are going, attending QL shows may become a full time
occupation in the next 12 months!!!

--
Dilwyn Jones
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 11, 2003 1:07 PM
Subject: Re: [ql-users] 20th Anniversary Show


>
>
> Hi Jim,
>
> Maybe the new date in April 2004 would be a better bet - hopefully a
lot of
> the American users can make it over here then.
>
> Start searching the 'net now for cheap flights :-))
>
>
> Mind you, the US Show is usually around then anyway, so we may well
be
> crossing the atlantic one after each other!!
>
> 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.
>
>
>
>   James Hunkins
>   <[EMAIL PROTECTED] To:
[EMAIL PROTECTED]
>   ech.com> cc:
>   Sent by: Subject: [ql-users]
20th Anniversary Show
>   [EMAIL PROTECTED]
>   g.uk
>
>
>   10/07/2003 18:02
>   Please respond

>   to ql-users
>
>
>
>
>
>
> This may be of interest to some of us in the States too if it could
be
> decided early enough.
>
> Jim
>
> On Thursday, July 10, 2003, at 01:49  AM, [EMAIL PROTECTED]
> wrote:
>
> >
> >
> > I think Tony's statement below hits the nail on the head. I have
to
> > agree -
> > I had a ball at the last Irish "Show" - and so far everyone who
was
> > there
> > is coming again!!  all 6 or so of them :-)) It doesn't really
matter
> > anymore about profitability - the shows aren't, no matter how hard
you
> > try
> > - QL2000 was the one recent exception, but we are three years on
from
> > that
> > now. I think its very important we have one more big show though
to
> > mark
> > the QL's 20th anniversary But I'd say thats it. Can we contact
all
> > the
> > old QLers? Ron Dunnett? Freddy Vaccha? Simon Goodwin?? etc?
> >
> > QUANTA should fund it - Can anyone from QUANTA make a comment on
this?
> > Are
> > there any of the QUANTA guys still on this list??
> >
> > Tony is right Tarquin - just organise it. Get a hall. Get some Tea
and
> > Coffee. Thats about the size of it.
> >
> > 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.
> >
> >
> >
> >   Tony Firshman
> >   <[EMAIL PROTECTED] To:
> > [EMAIL PROTECTED]
> >   o.uk>cc:
> >   Sent by: Subject: Re:
[ql-users]
> > Quanta Workshop in Norwich
> >   [EMAIL PROTECTED]
> >   g.uk
> >
> >
> >   09/07/2003 19:43
> >   Please respond
> >   to ql-users
> >
> >
> >
> >
> >
> >
> > On  Wed, 9 Jul 2003 at 14:56:05, gwicks wrote:
> > (ref: <[EMAIL PROTECTED]>)
> >
> >
> >>
> >> I think we have to separate two things here. One is your
capability of
> >> holding an event. This is not really a QL thing, but what
experience
> >> you
> >> have of holding events in general. Think of possible experiences
in,
> >> say,
> >> the political sphere. The other thing is if there are a
sufficient
> >> number
> > of
> >> QL users in your catchment area to make a QL show worthwhile.
> > Good God.  In my book politics is really not an issue.
> > Don't put off the man.
> >
> > If there is now other show near, then it is just a matter of
getting a
> > hall, telling people (including traders) and asking Quanta to pay
for
> > the hall.  Food and drink is a bonus.
> >
> > You cannot have fewer than the last Irish show (8-)#
> >
> > .. and that was one of the best recent events I have attended.
> >
> > --
> >  QBBS (QL fido BBS 2:252/67) +44(0)1442-828255
> >  tony@.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
> >
> >
> >
> >
> >
> >
> >
> >

> > 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 k

Re: [ql-users] Quanta Workshop in Norwich

2003-07-11 Thread Dilwyn Jones

> Yes ! QL is a massive destruction weapons : only enthusiats survive
:-)

> O> * A little bit of politics included to upset Tony. Work out for
yourself
> > whether I mean Blair or Firshman.
>
> Blair reads this list?
>
> Wolfgang
I'm sure that MI5 etc would consider QLers a valid target subversive
organisation having all but given up on drug dealers, smugglers,
terrorists, illegal immigrants etc.

Given that the name 'Blair' has appeared  on this list, I'm sure their
automated keyword searchers have by now detected Wolfgang and others
as 'foreign subversives' by now.

Expect a wayward American missile to fly low over you soon... (just
pray it has a QL controlling it not a PC!)

--
Dilwyn Jones



Re: [ql-users] Bird Flu (OT)

2003-07-11 Thread gwicks


- Original Message - 
From: "Bill Waugh" <[EMAIL PROTECTED]>


>
>
> - Original Message -
> From: "gwicks" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 10, 2003 7:15 PM

> > I have been making increasingly
> critical
> > comments about QUANTA on this list and getting no response. Do they
> still
> > exist? There are more elusive than so called *weapons of mass
> destruction.
> >
> > Geoff Wicks
> >
> > * A little bit of politics included to upset Tony. Work out for
> yourself
> > whether I mean Blair or Firshman.
>
> Yes lets keep politics out of it

Point taken Bill, but I'm sure you'll like this one. After reading this list
I went to the website of Radio Netherlands to pick up their main Dutch
stories.

As you may know there has been a serious outbreak of bird flu in the
Netherlands, which has led to scenes rather like the foot and mouth crisis.
In one area they had to use asylum seekers to clear up the carcasses which
was difficult to do legally. To solve the problem the local tax inspector
allowed them to use an NI number and register under the name "F Birdflu".
The Society for Hobby Pet Owners (who opposed the slaughter) are now
prosecuting the tax office for criminal acts and forgery. The Ministry of
Finance accepts this should not have happened, but adds that it was a crisis
situation.

Best Wishes,
Geoff.




[ql-users] C structures

2003-07-11 Thread Dilwyn Jones

In attempting to write routines to convert graphics, I've used some
Windows documentation which refers to C structures.

It refers to UINT, DWORD and LONG.

Can someone explain these to a C ignoramus (i.e. me):

UINT - Unsigned integer presumably, how many bytes?

DWORD - Double word? Signed? How many bytes?

LONG - Like a QL 32 bit integer?

--
Dilwyn Jones



RE: [ql-users] C structures

2003-07-11 Thread Duncan Neithercut

Hi,
Dont know about UINT
but DWORD and LONG are the same 4bytes, longword but DWORD is usually used
by PC programmers so the bytes are in the reverse order from the
QL/QDOS/Motorolla long word.

Duncan

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Dilwyn Jones
Sent: 11 July 2003 20:33
To: QL Users List
Subject: [ql-users] C structures



In attempting to write routines to convert graphics, I've used some
Windows documentation which refers to C structures.

It refers to UINT, DWORD and LONG.

Can someone explain these to a C ignoramus (i.e. me):

UINT - Unsigned integer presumably, how many bytes?

DWORD - Double word? Signed? How many bytes?

LONG - Like a QL 32 bit integer?

--
Dilwyn Jones




Re: [ql-users] C structures

2003-07-11 Thread Robert Newson
Duncan Neithercut wrote:

Hi,
Dont know about UINT


According to my dos C compiler (1990 vintage) UINT is probably unsigned int 
of 16 bits (2 bytes); discovered via limits.h:

#define INT_MAX 0x7FFF
#define INT_MIN ((int)0x8000)
#define UINT_MAX0xU
...
#define LONG_MAX0x7FFFL
#define LONG_MIN((long)0x8000L)
#define ULONG_MAX   0xUL
Tho' my compiler doesn't know about uint or dword (so they may be defined in 
a header file somewhere).

However, the sizeof(int) is *VERY* implementation dependent.  I wrote a 
program a few years ago on a system that was 4 byte int (= long).  I've 
ported it to many different OS's except one: DOS - where it was a 2 byte int 
(= short) [that was fairly easy to get around, the problem was the IO 
library (in particular tty) that was a pig to convert].  A Windoze NT C 
compiler used int = 8 bytes.

So your routines may be making a false assumption!  But then again, they may 
just assume the smallest (ie int = short) and ignore the spare 2 (or 6) bytes.



Re: [ql-users] C structures

2003-07-11 Thread Marcel Kilgus

Dilwyn Jones wrote:
> In attempting to write routines to convert graphics, I've used some
> Windows documentation which refers to C structures.
>
> It refers to UINT, DWORD and LONG.

They're defined as follows:

DWORD = unsigned long
UINT = unsigned int

Generally you can never say for sure what an int or a long stands for.
In the special case of Windows on Intel platforms however they are all
32bit or 4 bytes wide. I.e.

UINT = DWORD = 32bit unsigned
LONG = int = 32bit signed

BTW: I'm back. Will probably start answering mails tomorrow.

Marcel



Re: [ql-users] C structures

2003-07-11 Thread Laurence Reeves
Dilwyn Jones wrote:
In attempting to write routines to convert graphics, I've used some
Windows documentation which refers to C structures.
It refers to UINT, DWORD and LONG.

Can someone explain these to a C ignoramus (i.e. me):

UINT - Unsigned integer presumably, how many bytes?

DWORD - Double word? Signed? How many bytes?

LONG - Like a QL 32 bit integer?

It is all very arbitrary. You really need to track back somehow to find 
out which variation of the standard(sic) include file happens to have 
been used. You probably need to find a "types.h" that comes with the 
compiler that you think the code was defined for.

Loosely, you have the right idea. The must probable definitions are:

typedef unsigned int UINT
typedef unsigned long DWORD
typedef signed long LONG
However, that really doesn't help a lot.

An "int" doesn't neccesarily mean 16 or 32 bit. Older compilers default 
to 16, newer to 32, and neither is guaranteed. It was supposed to be the 
"natural" (i.e. most efficient) size for an integer on whatever 
architecture you were compiling for. I.e. if you had a 20 bit machine, 
that could be what "int" came out as. However, on 8-bit machines, "int"s 
are typically 16 bit!

A "short" is only guaranteed to be no bigger than a "long" with an "int" 
somewhere between.

Also, the "WORD" in "DWORD" is not always defined as unsigned.

-

However - all is not so bleak - I've just done the obvious(?) and 
searched Google for "types.h DWORD UINT LONG" and come up with 
http://ssobjects.sourceforge.net/docs/html/msdefs_8h.html and 
http://www.minigui.com/api_ref/group__win32__types.html which seem 
exactly what you're after (and match what I said above).

-

Finally, a search on the MS site got me to 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winprog/winprog/windows_data_types.asp 
which ties it all up.

DWORD - 32 bit unsigned integer
LONG - 32 bit signed integer
UINT - unsigned INT
INT - signed 32 bit integer
Hence, according to Microsnot, we have UINT as an unsigned signed 32 bit 
integer - I'm not at all sure what that means. (Actually, I am - 
unsigned takes precedence over signed).

-

Out of amusement, on looking at Micro$oft's table, they have the following:

Single bit (in effect) - BOOL or BOOLEAN (they don't actually say what 
storage size it really is).

8 bit, but no idea whether it's signed or unsigned - BYTE or CHAR.

8 bit unsigned - UCHAR.

16 bit signed - SHORT.

16 bit unsigned - USHORT or WORD.

32 bit signed - INT, INT32, LONG or LONG32.

32 bit unsigned - UINT, UINT32, ULONG, ULONG32, DWORD or DWORD32. (No 
less than six synonyms!)

64 bit signed - INT64, LONG64 or LONGLONG.

64 bit unsigned - ULONG64, UINT64, DWORD64 or ULONGLONG.

-

I give up.

-

(I'm being a little cruel about the BYTE/CHAR type - K & R left it open 
as to whether a "char" was signed or not. On early compilers, before the 
"signed" attribute was invented, you couldn't actually get a signed 8 
bit value at all.)

--
Lau
http://www.bergbland.info
Get a domain from http://oneandone.co.uk/xml/init?k_id=5165217 and I'll 
get the commission!



Re: [ql-users] C structures

2003-07-11 Thread Dilwyn Jones

It's from the file format for a 24-bit .BMP file. There are routines
to port BMP to MODE 32 and 33 but not AFAIK to convert mode 32 screens
to 24-bit PC format.

It's to write a routine to convert the screen dumps from Launchpad
running in MODE 32 so I can use them in an information web page for
that program.

Here's the information I have:

[ word is peek(lower)+(256*peek(higher)) ]

;Bitmap file header section;
---
OFFSET SIZE   NAME  DESCRIPTION
---
0  UINT   type  (must be BM)
2  DWORD  size  (size of file in bytes)
6  UINT   reserved 1(value 0)
8  UINT   reserved 2(value 0)
10 DWORD  offbits   (specifies the byte offset from the file
header structure
 to the actual bitmap data in the file)

;Bitmap info section
14 DWORD  size  (specifies the number of bytes needed by
the BitmapInfo structure)
18 LONG   width (width of bitmap in pixels)
22 LONG   height(height of bitmap in pixels)
26 WORD   planes(number of planes for target device,
should be 1)
28 WORD   bit count (bits per pixel,1=mono,4=16 col,8=256
col,24=24 bit colour)
30 DWORD  compression   (compression type, 0=uncompressed,=8 bit
RLE,=4 bit RLE)
34 DWORD  sizeimage (size in bytes of image, may be 0 if
uncompressed)
38 LONG   XPelsPerMetre (pixels per metre horizontal resolution)
42 LONG   YPelsPerMetre (pixels per metre vertical resolution)
46 DWORD  ClrUsed   (number of colour indexes in colour table
used by bitmap
 0=use maximum colours defined in bit
count)
50 DWORD  ClrImportant  (specifies number of colour indexes
considered important for
 displaying the bitmap. 0=all colours are
important)

;Bitmap graphics data (RGB 3.0)
4 bytes per pixel:
blue
green
red
reserved (must be 0)
The lines of bitmap data are in reverse order, i.e. the first line
stored in the file is actually the bottom line as seen on screen, but
the pixels themselves run left to right as expected.

I think I've sussed most of this out now. If I'm right, the mode 32
graphics would be converted to 24 bit by "approximation" as follows:

Assuming the QL mode 32 image colour word is at address "addr", I
think it should convert to 24-bit format as follows:

blue=8*(PEEK(addr)&&31)
red =PEEK(addr+1)&&248
green=(PEEK(addr)&&224)||((PEEK(addr+1)&&7)*4)

The .BMP file equivalent long word would then be built as follows:
POKE bmp_addr,blue
POKE bmp_addr+1,green
POKE bmp_addr+2,red
POKE bmp_addr+3,0 : rem unused but must be 0

All I would then need to do is build a loop to all the colour words
and build the 52 byte BMP file header

QL_bytes = pixel_width*pixel_height : REMark width should be even?
FOR word = 0 TO QL_bytes-2 STEP 2
  REMark above peeks and pokes
END FOR word
REMark build file header once I've sussed it all out!

Getting too tired after 2 weeks of early shifts, resume tomorrow!!!

Perhaps meantime, if anyone understands the above, can they give me an
indication if I am on the right track to build such a program? (PC
stuff does my head in!)

Dilwyn Jones

> Hi,
> Dont know about UINT
> but DWORD and LONG are the same 4bytes, longword but DWORD is
usually used
> by PC programmers so the bytes are in the reverse order from the
> QL/QDOS/Motorolla long word.
>
> Duncan




Re: [ql-users] Bird Flu (OT)

2003-07-11 Thread Bill Waugh


- Original Message -
From: "gwicks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 11, 2003 8:03 PM
Subject: Re: [ql-users] Bird Flu (OT)


>
>
> - Original Message -
> From: "Bill Waugh" <[EMAIL PROTECTED]>
>
>
> >
> >
> > - Original Message -
> > From: "gwicks" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, July 10, 2003 7:15 PM
>
> > > I have been making increasingly
> > critical
> > > comments about QUANTA on this list and getting no response. Do
they
> > still
> > > exist? There are more elusive than so called *weapons of mass
> > destruction.
> > >
> > > Geoff Wicks
> > >
> > > * A little bit of politics included to upset Tony. Work out for
> > yourself
> > > whether I mean Blair or Firshman.
> >
> > Yes lets keep politics out of it
>
> Point taken Bill, but I'm sure you'll like this one. After reading
this list
> I went to the website of Radio Netherlands to pick up their main Dutch
> stories.
>
> As you may know there has been a serious outbreak of bird flu in the
> Netherlands, which has led to scenes rather like the foot and mouth
crisis.
> In one area they had to use asylum seekers to clear up the carcasses
which
> was difficult to do legally. To solve the problem the local tax
inspector
> allowed them to use an NI number and register under the name "F
Birdflu".
> The Society for Hobby Pet Owners (who opposed the slaughter) are now
> prosecuting the tax office for criminal acts and forgery. The Ministry
of
> Finance accepts this should not have happened, but adds that it was a
crisis
> situation.

I Like it, my next vote will go for proportional rights for minorities
and extremists, seems to me they have a disproportionate amount  of say
for their size at the moment.

Actually Geoff my comments re politics was meant to be light-hearted
with the point that we used to have a great non entity called Lucan,
somehow I managed to scramble the mail.

All the best - Bill



Re: [ql-users] C structures

2003-07-11 Thread Phoebus Dokos
On Fri, 11 Jul 2003 22:48:29 +0100, Dilwyn Jones <[EMAIL PROTECTED]> 
wrote:

Dilwyn,
I do have a full program ready that does that, however you're killing 
yourself with no reason.
Just press Print Screen while you're running QPC and then paste it in your 
favourite graphics editor :-)

Presto you're screen capture is complete :-)

Phoebus
--
Phoebus Dokos - Undergrad in MIS
Eberly College of Business - Indiana U. of PA



Re: [ql-users] C structures

2003-07-11 Thread Marcel Kilgus

Dilwyn Jones wrote:
> It's from the file format for a 24-bit .BMP file. There are routines
> to port BMP to MODE 32 and 33 but not AFAIK to convert mode 32 screens
> to 24-bit PC format.

The BMP format originates from Win16 platforms, so my earlier
explanations regarding sizes don't apply. An int is 16 bit there. Long
however is still 32bit.

> It's to write a routine to convert the screen dumps from Launchpad
> running in MODE 32 so I can use them in an information web page for
> that program.

For the sake of completeness, when running QPC in windows mode you can
just copy the contents of the current window to the clipboard by
pressing ALT+Print.

> Here's the information I have:

> Assuming the QL mode 32 image colour word is at address "addr", I
> think it should convert to 24-bit format as follows:

> blue=8*(PEEK(addr)&&31)
> red =PEEK(addr+1)&&248

Those are 5 bit, i.e. from 0 to 31.

> green=(PEEK(addr)&&224)||((PEEK(addr+1)&&7)*4)
 *8
This is 6 bit, i.e. from 0 to 63.

Conversion to 8 bit is needed, of course.

> The .BMP file equivalent long word would then be built as follows:
> POKE bmp_addr,blue
> POKE bmp_addr+1,green
> POKE bmp_addr+2,red
> POKE bmp_addr+3,0 : rem unused but must be 0

IIRC BMP data is 24 bit, i.e. without the 0.

> QL_bytes = pixel_width*pixel_height : REMark width should be even?

Every BMP single screen line must be padded to a 4 byte boundary.

Marcel



Re: [ql-users] C structures

2003-07-11 Thread Roy wood
In message <[EMAIL PROTECTED]>, Phoebus Dokos <[EMAIL PROTECTED]> 
writes
On Fri, 11 Jul 2003 22:48:29 +0100, Dilwyn Jones 
<[EMAIL PROTECTED]> wrote:

Dilwyn,
I do have a full program ready that does that, however you're killing 
yourself with no reason.
Just press Print Screen while you're running QPC and then paste it in 
your favourite graphics editor :-)

Presto you're screen capture is complete :-)

Phoebus
I'd like a copy of that !
--
Roy Wood
Q Branch. 20 Locks Hill, Portslade, Sussex.
Tel: +44 (0) 1273 386030fax: +44 (0) 1273 430501
web : www.qbranch.demon.co.uk


Re: [ql-users] C structures

2003-07-11 Thread Phoebus Dokos
On Fri, 11 Jul 2003 22:48:29 +0100, Dilwyn Jones <[EMAIL PROTECTED]> 
wrote:
Hi Dilwyn,
You could also get BMP2SCR from Malcolm and use it in reverse (trivial to 
do so and from the quick look I gave to your code you're on the right 
track).
If you go ahead with your own solution you should remember that BMP lines 
are padded too, so you should account for that (although for a straight 
even sized SCR that possibility wouldn't even arise).

And (I don't know if you mentioned it in your message as I really didn't 
read it through, just a quick look) always remember that the lines on the 
bmp are stored upside down :-)

Phoebus

--
Phoebus Dokos - Undergrad in MIS
Eberly College of Business - Indiana U. of PA



Re: [ql-users] C structures

2003-07-11 Thread Phoebus Dokos
On Fri, 11 Jul 2003 23:31:43 +0100, Roy wood <[EMAIL PROTECTED]> 
wrote:

Phoebus
I'd like a copy of that !
Do you have the .NET framework installed?

Phoebus

--
Phoebus Dokos - Undergrad in MIS
Eberly College of Business - Indiana U. of PA