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!

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top