Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:17 01 Aug 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 : Map command and CLUT

Author Message
Ian_lett
Newbie

Joined: 21/08/2020
Location: United Kingdom
Posts: 6
Posted: 09:37pm 29 Sep 2020
Copy link to clipboard 
Print this post

Hi

does anyone know if it is posible to read the values in the CLUT somthing like clo%=map(0) i cant find anything in the manuals and i want to manipulate the CLUT but before i do i want to back it up to an array.

thanks

Ian
 
Sasquatch

Guru

Joined: 08/05/2020
Location: United States
Posts: 377
Posted: 10:45pm 29 Sep 2020
Copy link to clipboard 
Print this post

  Ian_lett said  Hi

does anyone know if it is posible to read the values in the CLUT somthing like clo%=map(0) i cant find anything in the manuals and i want to manipulate the CLUT but before i do i want to back it up to an array.

thanks

Ian


Clo = map(0)
map(0) = Clo

Clo(x) = map(x)
map(x) = Clo(x)

Should all work.  I use this to roll the colors in the MandelbrotEXP program (the original not the 16bit color version)
-Carl
 
Ian_lett
Newbie

Joined: 21/08/2020
Location: United Kingdom
Posts: 6
Posted: 08:25pm 30 Sep 2020
Copy link to clipboard 
Print this post

many thanks the manual is great but does have a few ommisions
 
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