Color manipulation

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems.

Moderator: Moderators

Post Reply
CKY-2K/Clay Man
Posts: 214
Joined: Sun Apr 01, 2007 2:10 pm

Color manipulation

Post by CKY-2K/Clay Man »

Some games, or some effects minipulate the color spectrum into different tinting. How is this and why?

You're supposed to be limited to about 56 colors but in some situations you can manipulate the palette into a tint, like this one "blue tint" Game Genie code for Super Mario Bros.
Image
Here to at least get an idea of how the NES works. I mean I know alot of the basic things, but this place'll help me grasp more how NES functions.
Major respect to NES developers.
strangenesfreak
Posts: 155
Joined: Thu May 03, 2007 3:07 pm
Contact:

Post by strangenesfreak »

The color emphasis bits in PPU register $2001 can sort of "emphasize" red, green, and blue, or combinations of those (red+green= yellow, red+blue= magenta, green+blue= cyan, all bits set= just darkens the palette). You can see those bits at the $2001 section in the NES PPU wiki article.

I've read that the PPU actually darkens the colors when those bits are set, so "emphasizing red" is really deemphasizing cyan, "emphasizing green" is really deemphasizing magenta, "emphasizing blue" is really deemphasizing yellow, etc. More information on that is at the NTSC Video article's Color Tint Bits section and at the PPU Voltages thread here.
User avatar
Zepper
Formerly Fx3
Posts: 3264
Joined: Fri Nov 12, 2004 4:59 pm
Location: Brazil
Contact:

Post by Zepper »

Probably because a lot of sites bring wrong information about the NES. Usually, they copy/paste the things without any strict argumentation.
User avatar
jwdonal
Posts: 719
Joined: Sat Jun 27, 2009 11:05 pm
Location: New Mexico, USA
Contact:

link update

Post by jwdonal »

FYI: The color tint bits section on the wiki has been moved here.
Post Reply