Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:36 14 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 AND_PIXELS, PAGE OR_PIXELS, PAGE XOR_PIXELS

Author Message
capsikin
Guru

Joined: 30/06/2020
Location: Australia
Posts: 342
Posted: 01:08am 05 Aug 2020
Copy link to clipboard 
Print this post

I don't know if people have explored these yet. They are new for version 5.05.04, but I haven't seen much discussion on them yet. I haven't tried them, but I've been thinking about what they could be used for.

They seem like they could have potential to combine multiple layers of graphics in ways you can't do with blit transparency. For example, having a non-transparent colour 0. Or filtering out the red channel of colours in a page.

Another line of exploration: if you set an 8 bit colour map to interpret the high bits of a colour number as one layer, and the low bits of a colour number as another layer, then if you had these two layers in two separate pages you could combine into one page with OR or XOR. And the colour map could be set up to combine the layer colours however you want. e.g. the first layer could be mostly behind the second layer, but one colour in the second layer could be transparent, one could be semitransparent. One colour in the first layer could appear in front of the second layer, instead of behind.

You only get 16 colours per layer this way. I think it's a bit like the Amiga's dual playfield mode but with the colour map you can choose the result of every combination of layer colours.

I bet there's more but that's what I've thought of so far.
 
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