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!

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top