Question

How can I generate the NES palette entirely in C# code, without using any constant values?

I want to precalculate the palette in the same way that the PPU does.

Thanks!

Was it helpful?

Solution

You can simulate the chip based on the YPbPr signals the NES sents, but just make it easy for yourself and pre-program the colors using the hex values from wikipedia or some other source.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top