Re: [ql-users] bmp2pic
On Tue, 15 May 2001 at 20:39:55, you wrote: (ref: <[EMAIL PROTECTED]>) >> At the moment I can use only 32 MB under SMS. Only Linux supports the >> whole memory. Neither the amount of RAM nor the amount of hard disk space >> is really needed under SMS. It's just to show that it's possible and >> people that are used to the resource waste of Windoze sure like to see >> these huge values ;) > >Whenever I have to compare my system, I usually point out that when I >first got my 128K QL, 32K went to the screen, a bit more to system >variables, etc leaving 77K free for use. I could then run a text >editor, Assembler, Machine Code Monitor AND the program under >development in this memory whereas most people with PCs with 640K memory >could only barely run one of these programs at a time, requiring Windoze >if they even wanted to do something similar, unlike the native QL OS. > >Now I point out that with 2M of memory the programs and data rattle >around inside my QL Ditto with SGC (4mb) >(I've never run out of memory working with my QL, >but had lots of problems of insufficient memory errors when trying to >get PC programs to run, even with 32M installed therein!), I run out of memory all the time on mine with 512mb (8-)# > and my >floppies each hold 3.2M of data each (my box of 10 is roughly equivalent >to a 30M hard disc that was the PC norm when I got my QL disk drives)! -- QBBS (QL fido BBS 2:257/67) +44(0)1442-828255 mailto:[EMAIL PROTECTED] http://www.firshman.demon.co.uk Voice: +44(0)1442-828254 Fax: +44(0)1442-828255 TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG
Re: [ql-users] bmp2pic
In article <[EMAIL PROTECTED]>, Bojan Kotur <[EMAIL PROTECTED]> writes > >[ A MIME text / html part was included here. ] Best to use plain text for mails on this list ... -- Malcolm Cadman
Re: [ql-users] bmp2pic
> At the moment I can use only 32 MB under SMS. Only Linux supports the > whole memory. Neither the amount of RAM nor the amount of hard disk space > is really needed under SMS. It's just to show that it's possible and > people that are used to the resource waste of Windoze sure like to see > these huge values ;) Whenever I have to compare my system, I usually point out that when I first got my 128K QL, 32K went to the screen, a bit more to system variables, etc leaving 77K free for use. I could then run a text editor, Assembler, Machine Code Monitor AND the program under development in this memory whereas most people with PCs with 640K memory could only barely run one of these programs at a time, requiring Windoze if they even wanted to do something similar, unlike the native QL OS. Now I point out that with 2M of memory the programs and data rattle around inside my QL (I've never run out of memory working with my QL, but had lots of problems of insufficient memory errors when trying to get PC programs to run, even with 32M installed therein!), and my floppies each hold 3.2M of data each (my box of 10 is roughly equivalent to a 30M hard disc that was the PC norm when I got my QL disk drives)! Hohum, Cm
Re: [ql-users] bmp2pic
On Tue, 15 May 2001, Bojan Kotur wrote: > >powered by Q60 * Motorola 68060 / 80 MHz * 80 MB RAM * 30 GB Hard Disk > > Just interested.. what do you use 80 MB of RAM and 30 GB HDD > on a computer like that? It's not like you can use 3D Studio Max.. > or can you? > > Cheers! > Bojan Kotur At the moment I can use only 32 MB under SMS. Only Linux supports the whole memory. Neither the amount of RAM nor the amount of hard disk space is really needed under SMS. It's just to show that it's possible and people that are used to the resource waste of Windoze sure like to see these huge values ;) Claus __ powered by Q60 * Motorola 68060 / 80 MHz * 80 MB RAM * 30 GB Hard Disk
Re: [ql-users] bmp2pic
At 03:49 ìì 15/5/2001 +0200, you wrote: >If you have a Q40 you can use pqiv, load the png image and save as pic >(Q40 display layout). > >Claus > >__ >powered by Q60 * Motorola 68060 / 80 MHz * 80 MB RAM * 30 GB Hard Disk Just interested.. what do you use 80 MB of RAM and 30 GB HDD on a computer like that? It's not like you can use 3D Studio Max.. or can you? You can use Linux... and you can't use 3D studio Max but you can use Ghostscript or POV Ray Cheers! Bojan Kotur ...You can fool all of the people some of the time and some people all the time but you can't fool Mum.
Re: [ql-users] bmp2pic
>If you have a Q40 you can use pqiv, load the png image and save as pic >(Q40 display layout). > >Claus > >__ >powered by Q60 * Motorola 68060 / 80 MHz * 80 MB RAM * 30 GB Hard Disk Just interested.. what do you use 80 MB of RAM and 30 GB HDD on a computer like that? It's not like you can use 3D Studio Max.. or can you? Cheers! Bojan Kotur ...You can fool all of the people some of the time and some people all the time but you can't fool Mum.
Re: [ql-users] bmp2pic
> > If theres anything out there that will convert bmp or png to QL pic > > format I must have missed it! Can anyone help? > > > > Per > > If you have a Q40 you can use pqiv, load the png image and save as pic > (Q40 display layout). Thanks for that, but I dont have a Qx0 yet. Im one of the untold masses clamouring for a > .. Q60 * Motorola 68060 / 80 MHz * 80 MB RAM * 30 GB Hard Disk :) but that is proving a mite difficult at present.. Per
RE: [ql-users] bmp2pic
On 14 May 2001, at 8:35, Norman Dunbar wrote: > Isn't that frogs ? Toads, frogs, snails - however slow it is, it gets eaten. Wolfgang (ok, perhaps not toads)...
Re: [ql-users] bmp2pic
On Mon, May 14, 2001 at 08:35:17AM +0100, Norman Dunbar wrote: > Isn't that frogs ? > Toad tend to be a tad poisonous :o) (especially Cane Toads !) also frogeater sounds much better than toadeater to my ears. But I heard about some tribes (not French iirc) who eat or lick toads for their narcotic effects. Perhaps the toads enjoy the licking so this could classify another example of symbiosis (or something else ;). Bye Richard > > Norman (well known lover of reptiles & amphibians) > > > > > Norman Dunbar EMail: [EMAIL PROTECTED] > Database/Unix administrator Phone: 0113 289 6265 > Lynx Financial Systems Ltd. Fax:0113 201 7265 > URL:http://www.LynxFinancialSystems.com > > > > -Original Message- > From: Wolfgang Lenerz [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 12, 2001 8:31 AM > To: [EMAIL PROTECTED] > Subject: RE: [ql-users] bmp2pic > > > On 11 May 2001, at 8:17, Norman Dunbar wrote: > > > > PS. I've heard of Chicken Supreme but never Toad Supreme :o) :o) > > > >That's because your not french - here, we eat them... > > Wolfgang
Re: [ql-users] bmp2pic
The attached program converts 24 bit BMP's to QL mode 4/8 and QPC mode 32. The BMP file must be 512x256 for a standard QL. Malcolm P Witte wrote: 000201c0da5f$db1b4680$a62b40c3@gamma">Malcolm Lear writes: Sorry I think I misunderstood you. I assumed you wanted a program toconvert bitmaps toQPC hicolour. It would be quite a feat to convert down from 24 bit to 3.Not at all. That was just the ticket! However it doesnt quite work forme. Looks like the picture is just out of sync.. Must have a closerlook. Anyway, thanks!Per 100 REMark This program requires 24 bit BMP files and must be 512x256 for both QL modes 110 INPUT 'Filename ',file_name$ 120 INPUT 'Mode 4,8 or 32? ',mde 130 l=LEN(file_name$) 140 IF l>4 150 IF file_name$(l-3 TO)=='.bmp' OR file_name$(l-3 TO)=='_bmp' THEN file_name$=file_name$(1 TO l-4) 160 END IF 170 OPEN#3,file_name$&'.bmp' 180 DELETE file_name$&'.scr' 190 OPEN_NEW#4,file_name$&'.scr' 200 BGET#3\18,wl,wm,n1,n2,hl,hm 210 w=wm*256+wl:h=hm*256+hl 220 BGET#3\28,bits 230 IF bits<>24 THEN PRINT 'Not 24 Bit Image':STOP 240 pos=FLEN(#3)-w*3 250 n=7:r=0:g=0:b=0 260 REPeat loop 270 BGET#3\pos:REMark set start of line 280 FOR p=1 TO w 290 BGET#3,blue,green,red 300 SELect ON mde 310 =0,4: 320 rn=RND(255) 330 bit=2^n 340 REMark check for yellow and use red/green 350 IF NOT red
RE: [ql-users] bmp2pic
Isn't that frogs ? Toad tend to be a tad poisonous :o) (especially Cane Toads !) Norman (well known lover of reptiles & amphibians) Norman Dunbar EMail: [EMAIL PROTECTED] Database/Unix administrator Phone: 0113 289 6265 Lynx Financial Systems Ltd. Fax:0113 201 7265 URL:http://www.LynxFinancialSystems.com -Original Message- From: Wolfgang Lenerz [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 12, 2001 8:31 AM To: [EMAIL PROTECTED] Subject: RE: [ql-users] bmp2pic On 11 May 2001, at 8:17, Norman Dunbar wrote: > PS. I've heard of Chicken Supreme but never Toad Supreme :o) :o) >That's because your not french - here, we eat them... Wolfgang
Re: [ql-users] bmp2pic
At 02:36 ìì 10/5/2001 +0100, you wrote: Malcolm, YOU ARE A LIFESAVER :-) This program saved me about a month of work in figuring it out myself... now the IF CD v.1 will have a graphical front end :-) Thx again Phoebus
Re: [ql-users] bmp2pic
On Thu, 10 May 2001, P Witte wrote: > If theres anything out there that will convert bmp or png to QL pic > format I must have missed it! Can anyone help? > > Per If you have a Q40 you can use pqiv, load the png image and save as pic (Q40 display layout). Claus __ powered by Q60 * Motorola 68060 / 80 MHz * 80 MB RAM * 30 GB Hard Disk
RE: [ql-users] bmp2pic
On 11 May 2001, at 8:17, Norman Dunbar wrote: > PS. I've heard of Chicken Supreme but never Toad Supreme :o) :o) >That's because your not french - here, we eat them... Wolfgang
Re: [ql-users] bmp2pic
Malcolm Lear writes: > Sorry I think I misunderstood you. I assumed you wanted a program to > convert bitmaps to > QPC hicolour. It would be quite a feat to convert down from 24 bit to 3. Not at all. That was just the ticket! However it doesnt quite work for me. Looks like the picture is just out of sync.. Must have a closer look. Anyway, thanks! Per
RE: [ql-users] bmp2pic
Morning Supreme one, I really should mind what I type on this list - you never know who might be sistening in :o). Norman. PS. I've heard of Chicken Supreme but never Toad Supreme :o) :o) Norman Dunbar EMail: [EMAIL PROTECTED] Database/Unix administrator Phone: 0113 289 6265 Lynx Financial Systems Ltd. Fax:0113 201 7265 URL:http://www.LynxFinancialSystems.com -Original Message- From: Dilwyn Jones [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 9:41 PM To: [EMAIL PROTECTED] Subject: Re: [ql-users] bmp2pic >PS. I did consider writing one to do a bmp to scr (pic) but then I didn't >have enough graphics knowlege to consider converting from 32 bit, 24 bit, 16 >bit, 15 bit, 8 bit, 4 bit and 1 bit colour depths to 4 or 8 colours - ok, 4 >bit would be sort of easy, and one bit (mono) would be so simple, but 32 bit >(4,294,967,296 colours down to 8 ) > >Mmmm - could be a nice exercise for my QL Assembly Language Tutorials :o) Careful...an eavesdropping Supreme Toady might take you up on that ;-) -- Dilwyn Jones [EMAIL PROTECTED] http://www.soft.net.uk/dj/index.html
Re: [ql-users] bmp2pic
>PS. I did consider writing one to do a bmp to scr (pic) but then I didn't >have enough graphics knowlege to consider converting from 32 bit, 24 bit, 16 >bit, 15 bit, 8 bit, 4 bit and 1 bit colour depths to 4 or 8 colours - ok, 4 >bit would be sort of easy, and one bit (mono) would be so simple, but 32 bit >(4,294,967,296 colours down to 8 ) > >Mmmm - could be a nice exercise for my QL Assembly Language Tutorials :o) Careful...an eavesdropping Supreme Toady might take you up on that ;-) -- Dilwyn Jones [EMAIL PROTECTED] http://www.soft.net.uk/dj/index.html
RE: [ql-users] bmp2pic
Guess why so many people love their QL/SMS machine : a twenty line basic program can do something for you where you need a complete CD of (smart but unusfull) code on a PC ;-) -Message d'origine- De : Malcolm Lear [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 10 mai 2001 15:30 À : [EMAIL PROTECTED] Objet : Re: [ql-users] bmp2pic Find a Sbasic program attached. It's very slow and only works on 24 bit bmp's. P Witte wrote: > If theres anything out there that will convert bmp or png to QL pic > format I must have missed it! Can anyone help? > > Per > > > >
Re: [ql-users] bmp2pic
Sorry I think I misunderstood you. I assumed you wanted a program to convert bitmaps to QPC hicolour. It would be quite a feat to convert down from 24 bit to 3. P Witte wrote: > If theres anything out there that will convert bmp or png to QL pic > format I must have missed it! Can anyone help? > > Per > > > >
Re: [ql-users] bmp2pic
Find a Sbasic program attached. It's very slow and only works on 24 bit bmp's. P Witte wrote: > If theres anything out there that will convert bmp or png to QL pic > format I must have missed it! Can anyone help? > > Per > > > > 100 INPUT 'filename ',file_name$ 110 l=LEN(file_name$) 120 IF l>4 130 IF file_name$(l-3 TO)=='.bmp' OR file_name$(l-3 TO)=='_bmp' THEN file_name$=file_name$(1 TO l-4) 140 END IF 150 STOP 160 a=RESPR(1280*1024*3+54):b=RESPR(1280*3*1024):REMark max size 170 LBYTES file_name$&'.bmp',a 180 IF PEEK(a+28)<>24 THEN PRINT 'Not 24 Bit Image':STOP 190 w=PEEK(a+19)*256+PEEK(a+18):h=PEEK(a+23)*256+PEEK(a+22) 200 n=0 210 FOR y=h-1 TO 0 STEP -1 220 FOR x=0 TO w-1 230 addr=x*3+y*3*w+a+54 240 blue=PEEK(addr)&&248:ugreen=PEEK(addr+1)&&224:lgreen=PEEK(addr+1)&&24:red=PEEK(addr+2)&&248 250 POKE b+n,(lgreen*8+blue/8):POKE b+n+1,(ugreen/32+red):n=n+2 260 END FOR x 270 END FOR y 280 SBYTES file_name$&'.scr',b,n
RE: [ql-users] bmp2pic
Not that I know of - I once did one to go from scr to bmp (abd scr to pcx) a long time ago - I think you can get it on Dilwyn's web site. Norman. PS. I did consider writing one to do a bmp to scr (pic) but then I didn't have enough graphics knowlege to consider converting from 32 bit, 24 bit, 16 bit, 15 bit, 8 bit, 4 bit and 1 bit colour depths to 4 or 8 colours - ok, 4 bit would be sort of easy, and one bit (mono) would be so simple, but 32 bit (4,294,967,296 colours down to 8 ) Mmmm - could be a nice exercise for my QL Assembly Language Tutorials :o) Norman Dunbar EMail: [EMAIL PROTECTED] Database/Unix administrator Phone: 0113 289 6265 Lynx Financial Systems Ltd. Fax:0113 201 7265 URL:http://www.LynxFinancialSystems.com -Original Message- From: P Witte [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 12:28 AM To: [EMAIL PROTECTED] Subject: [ql-users] bmp2pic If theres anything out there that will convert bmp or png to QL pic format I must have missed it! Can anyone help? Per