Logicielsmoto.com
http://www.logicielsmoto.com/phpBB/

Trannsparent color with GET and PUT
http://www.logicielsmoto.com/phpBB/viewtopic.php?f=3&t=600
Page 1 sur 1

Auteur:  zef [ 01 Mai 2019, 12:09 ]
Sujet du message:  Trannsparent color with GET and PUT

Greetings to all, a question, would it be possible in BASIC to print an image using GET and PUT with a transparent color?

Auteur:  Prehisto [ 01 Mai 2019, 14:48 ]
Sujet du message:  Re: Trannsparent color with GET and PUT

zef a écrit:
Greetings to all, a question, would it be possible in BASIC to print an image using GET and PUT with a transparent color?

No. All the points in the rectangle are drawn.
You have to write your own routine in assembler to do so.

Auteur:  Samuel Devulder [ 01 Mai 2019, 19:21 ]
Sujet du message:  Re: Trannsparent color with GET and PUT

A note: using console,,4 you can make put/get work like XOR masks (there are also other values to work with "OR" and "AND" modes on TO8/TO9+), therefore it should, theorically, be possible do achieve something.

Auteur:  Neotenien [ 24 Fév 2020, 20:20 ]
Sujet du message:  Re: Trannsparent color with GET and PUT

zef a écrit:
Greetings to all, a question, would it be possible in BASIC to print an image using GET and PUT with a transparent color?


Not using Put and Get basic function but if you use the 16c bm mode, you can decide to use one byte as a transparent color (among the 15) for instance the "15" color with (in Pascal):
if color[i]<>15
pset (X,Y, color[i]);

It's as the GIF standard, in which you chose a transparent color.

Page 1 sur 1 Heures au format UTC + 1 heure
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/