Logicielsmoto.com

Nous sommes le 28 Mar 2024, 22:05

Heures au format UTC + 1 heure




Poster un nouveau sujet Répondre au sujet  [ 4 messages ] 
Auteur Message
MessagePosté: 01 Mai 2019, 12:09 
Hors ligne

Inscription: 24 Oct 2018, 21:54
Messages: 12
Greetings to all, a question, would it be possible in BASIC to print an image using GET and PUT with a transparent color?


Haut
 Profil  
Répondre en citant le message  
MessagePosté: 01 Mai 2019, 14:48 
Hors ligne

Inscription: 27 Juin 2006, 19:44
Messages: 1061
Localisation: France (24)
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.

_________________
Marche a suivre pour s'inscrire sur ce forum
Do not forget to contact one of the administrators to validate your registration.
Le site des démos de Puls
L'émulateur Teo


Haut
 Profil  
Répondre en citant le message  
MessagePosté: 01 Mai 2019, 19:21 
Hors ligne

Inscription: 21 Aoû 2006, 09:06
Messages: 1802
Localisation: Brest
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.

_________________
Good morning, that's a nice Tnetennba


Haut
 Profil  
Répondre en citant le message  
MessagePosté: 24 Fév 2020, 20:20 
Hors ligne

Inscription: 21 Fév 2020, 11:38
Messages: 366
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.


Haut
 Profil  
Répondre en citant le message  
Afficher les messages postés depuis:  Trier par  
Poster un nouveau sujet Répondre au sujet  [ 4 messages ] 

Heures au format UTC + 1 heure


Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 28 invités


Vous ne pouvez pas poster de nouveaux sujets
Vous ne pouvez pas répondre aux sujets
Vous ne pouvez pas éditer vos messages
Vous ne pouvez pas supprimer vos messages
Vous ne pouvez pas joindre des fichiers

Rechercher:
Aller à:  
Développé par phpBB® Forum Software © phpBB Group
Traduction par phpBB-fr.com