Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 19:26 17 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : CMM2: PAGE COPY dont copy black only sometimes works

Author Message
bar1010
Senior Member

Joined: 10/08/2020
Location: United States
Posts: 197
Posted: 11:18pm 22 Feb 2021
Copy link to clipboard 
Print this post

Why does using PAGE COPY 1 TO 0, B, 1 work with a blank screen,
but does not work when put on top of a PNG file?

One can put a PNG file on top of another, but the black pixels are displayed.
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3477
Posted: 12:16am 23 Feb 2021
Copy link to clipboard 
Print this post

Don't know your specific issue, but "rgb(black)" is transparent. To make a near-enough black, use rgb(notblack).
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
bar1010
Senior Member

Joined: 10/08/2020
Location: United States
Posts: 197
Posted: 10:31pm 23 Feb 2021
Copy link to clipboard 
Print this post

  lizby said  on't know your specific issue, but "rgb(black)" is transparent. To make a near-enough black, use rgb(notblack).


Discovered that using BLIT with optional orientation parameter value &B100 does what I was looking to accomplish, namely not show black pixels.  Note that I am using mode 9, 16.


 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10591
Posted: 10:37pm 23 Feb 2021
Copy link to clipboard 
Print this post

That screen looks great  
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4147
Posted: 11:33pm 23 Feb 2021
Copy link to clipboard 
Print this post

+1

yes it does.

John
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025