Hi 亲们,

Need some clarification on the reduced/indexed color mode of the display.
Call
Code:
Bdisp_EnableColor(0)
, then what? Should I still write pixel data to VRAM? If yes, then what's the pixel format of VRAM, still 2 bytes per pixel, or one byte per pixel, with the LSB 3 bits for color?

Thanks. Peace,

--
si
si wrote:
Hi 亲们,

Need some clarification on the reduced/indexed color mode of the display.
Call
Code:
Bdisp_EnableColor(0)
, then what? Should I still write pixel data to VRAM? If yes, then what's the pixel format of VRAM, still 2 bytes per pixel, or one byte per pixel, with the LSB 3 bits for color?

Thanks. Peace,

--
si

AFAIK, You should be able to write to VRAM as normal.
The wiki does mention it's supposed to save memory, so I'm not sure. (Especially since writing large amounts of data to VRAM is a common bottleneck, due to the limited RAM writing speed.)

What I'm sure is Bdisp functions keep working like normal in 16-bit mode without querying the flag.
hmmm... still not get the point. forget it for now, and stick with rgb565.
thanks anyway, @Lephe @dr-carlos

--
si
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement