如何用 C# 代码生成 NES 调色板
如何完全用 C# 代码生成 NES 调色板,而不使用任何常量值?
我想以与 PPU 相同的方式预先计算调色板。
谢谢!
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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

您可以根据 NES 发送的 YPbPr 信号来模拟芯片,但只需让自己变得简单,并使用维基百科或其他来源的十六进制值对颜色进行预编程即可。
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.