Search found 207 matches

by Cpcdos
Jul 17, 2013 12:01
Forum: General
Topic: Memory problem with ScreenCopy and PUT
Replies: 4
Views: 580

Re: Memory problem with ScreenCopy and PUT

i have resolved this problem
it's not caused by pcopy as you say ( thank ! )
i will create a another subjet for this problem


Thank
by Cpcdos
Jul 16, 2013 9:58
Forum: General
Topic: Memory problem with ScreenCopy and PUT
Replies: 4
Views: 580

Re: Memory problem with ScreenCopy and PUT

If PREMIERE_CAPTURE_FOND = 0 then it saves the background image in screen page #1 and if = 0 then it displays screen page with Pcopy of #1 to #0 If PREMIERE_CAPTURE_FOND = 1 THEN PCopy 1, 0 for b = 1 TO FENETREMAXI IF fenetreutil(b) = 1 THEN CALL Actualise (b, 0 ,0) next b ELSE PREMIERE_CAPTURE_FOND...
by Cpcdos
Jul 15, 2013 17:28
Forum: General
Topic: Memory problem with ScreenCopy and PUT
Replies: 4
Views: 580

Memory problem with ScreenCopy and PUT

Hi, i have a big problem with command Screencopy/Pcopy or PUT
If i reuse this command (with a buffer)several time, i lost more in more free memory until at system crash ...
there are a solution for memory ??
It's important!!

Thank.
by Cpcdos
May 28, 2013 14:11
Forum: DOS
Topic: Using TCP/IP - DOS networking with NDIS drivers
Replies: 8
Views: 2788

Using TCP/IP - DOS networking with NDIS drivers

Hello world ! I would like have an example FB code for Networking with TCP/IPv4 under DOS.
I have a NDIS driver installed for my network card ;)

Thank!
by Cpcdos
Mar 13, 2013 13:17
Forum: Beginners
Topic: How to use the mask color with a bmp image on freebasic?
Replies: 14
Views: 3358

Re: How to use the mask color with a bmp image on freebasic?

Okay :)
Thank you very much at all people for your help!

Bye
by Cpcdos
Mar 13, 2013 10:01
Forum: Beginners
Topic: How to use the mask color with a bmp image on freebasic?
Replies: 14
Views: 3358

Re: How to use the mask color with a bmp image on freebasic?

Thank you, it work ! :D

And last question (see picture)
why green color (RGB : 152,199,68 ) it's transparent ? :S

Image (zoom for good see)
by Cpcdos
Mar 13, 2013 8:39
Forum: Beginners
Topic: How to use the mask color with a bmp image on freebasic?
Replies: 14
Views: 3358

Re: How to use the mask color with a bmp image on freebasic?

Thank you for your code, he work!
But i have 3 warning (see picture)
it's normal ?
Image
by Cpcdos
Mar 12, 2013 16:10
Forum: Beginners
Topic: How to use the mask color with a bmp image on freebasic?
Replies: 14
Views: 3358

Re: How to use the mask color with a bmp image on freebasic?

On microsoft paint , i have assigned le magenta at 255 , 0 , 255
but on this freebasic program , i don't have FF00FF value ..
i just have 9CC742, That do ? :(

ps : i'm use "ScreenRes 320, 200, 16"
by Cpcdos
Mar 12, 2013 9:28
Forum: Beginners
Topic: How to use the mask color with a bmp image on freebasic?
Replies: 14
Views: 3358

Re: How to use the mask color with a bmp image on freebasic?

Hi,
HEX( Point(10, 10, img ))
make me " Error 41 : Variable required "
what do I do?
by Cpcdos
Mar 09, 2013 10:16
Forum: Beginners
Topic: How to use the mask color with a bmp image on freebasic?
Replies: 14
Views: 3358

Re: How to use the mask color with a bmp image on freebasic?

Thank you for your reply but, i have always a problem i cannot mask out magenta with a BMP image loaded.. i tested with this code (any image with magenta [255,0,255] ) declare function bmp_load( ByRef filename As Const String ) As Any Ptr Const NULL As Any Ptr = 0 ScreenRes 320, 200, 16 '' set up an...
by Cpcdos
Mar 06, 2013 19:12
Forum: Beginners
Topic: How to use the mask color with a bmp image on freebasic?
Replies: 14
Views: 3358

How to use the mask color with a bmp image on freebasic?

Hello World!
I want to know how to use the mask color freebasic BUT with a BMP image with magenta (RGB 255, 0, 255)
for delete this background color when i put a BMP image
Is it possible?
Because , i unable to use the alpha channel ..

Thank. :)
by Cpcdos
Mar 06, 2013 14:03
Forum: DOS
Topic: How open JPG/JPEG and PNG files in Freebasic [DOS] ?
Replies: 0
Views: 1101

How open JPG/JPEG and PNG files in Freebasic [DOS] ?

Hello all I sailed long on the forums on how to open these image files impossible to find a good Either it's for Windows or Linux or my DOS compiler FBC be tells me: ld.exe: cannot find-ljpeg and ld.exe: cannot bottom-lpng something like this I found lots of tutorial for QB, but not work with -lang ...

Go to advanced search