Color $1D - Black or dark grey?

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

Moderator: Moderators

User avatar
Sivak
Posts: 316
Joined: Tue Jul 17, 2007 9:04 am
Location: Somewhere
Contact:

Color $1D - Black or dark grey?

Post by Sivak »

I recently got a copy of one of my games, and it has a palette tester as an easter egg. Anyway, on the screen displaying the "D" colors, $0D and $1D both appeared as black (yeah, I know $0D is a bad color. It didn't cause any problems while looking at it, though) and $2D and $3D were some different greys.

I think I've heard that $1D is SUPPOSED to be a dark grey, but seeing it on a TV seems to contradict that.

Is it TV-dependent or is $1D really black?
User avatar
tokumaru
Posts: 12106
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Post by tokumaru »

You just described a perfectly normal NES palette:

Image

There is a discussion about colors $2D and $3D though... it seems that in RGB PPUs they are black.
User avatar
Sivak
Posts: 316
Joined: Tue Jul 17, 2007 9:04 am
Location: Somewhere
Contact:

Post by Sivak »

Well, looking at that image and at my TV (I know this is not a relevant point since all TVs vary), some of those are similar but obviously a few differences are there.

For instance, $15 and $16 look pretty similar on mine. The $X8 have a little more greenish tint to them, but not as much as the $X9 ones.

But $2D and $3D were definitely not black.

For emulators, I use the ascquire.pal I found at some site, which is fairly good.
User avatar
BMF54123
Posts: 410
Joined: Mon Aug 28, 2006 2:52 am
Contact:

Post by BMF54123 »

Pretty sure $1D is black. It might not output the same voltage levels as the others, but it looks black on every TV and monitor I've tried, and that's all that really matters...
Celius
Posts: 2159
Joined: Sun Jun 05, 2005 2:04 pm
Location: Minneapolis, Minnesota, United States
Contact:

Post by Celius »

Are any of the $xD colors safe to use? I stay away from them as I'm not sure.
User avatar
BMF54123
Posts: 410
Joined: Mon Aug 28, 2006 2:52 am
Contact:

Post by BMF54123 »

$1D-$3D are safe to use, but as tokumaru said, they aren't present in RGB PPUs.

Did the official Famicom/NES documentation make any mention of these oddball colors, aside from $0D? They almost seem like an artifact of the way the PPU is designed, rather than legitimate colors, especially since the RGB PPU omits them entirely.
User avatar
blargg
Posts: 3717
Joined: Mon Sep 27, 2004 8:33 am
Location: Central Texas, USA
Contact:

Post by blargg »

BMF54123 wrote:They [$xD colors] almost seem like an artifact of the way the PPU is designed, rather than legitimate colors, especially since the RGB PPU omits them entirely.
Yes, they are an artifact. The PPU doesn't have any lookup table, just some clever, minimal logic to generate a composite-like video waveform. No need to waste any logic when software can just avoid $0D.
User avatar
Dwedit
Posts: 4470
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Post by Dwedit »

Three Stooges uses the xD colors frequently, and includes no protection against "Blacker than black" during fades.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
User avatar
Memblers
Site Admin
Posts: 3901
Joined: Mon Sep 20, 2004 6:04 am
Location: Indianapolis
Contact:

Post by Memblers »

The first Garage Cart used the $0D color in it somewhere, probably in the intro (based on an old palette file that I neglected to change). But just out of the first (maybe 10?) carts there was one person's TV it messed up on. So the later ones are a revision with those palette bytes changed.

I don't know about the other xD colors, but 0D is one to avoid.
User avatar
Sivak
Posts: 316
Joined: Tue Jul 17, 2007 9:04 am
Location: Somewhere
Contact:

Post by Sivak »

Well, I liked $1D as I had thought it was a dark grey color, but apparently not it seems. Heh. I guess $00 is as close to dark grey as I'll get.
User avatar
Dwedit
Posts: 4470
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Post by Dwedit »

Isn't 2D darker than 00?
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
ccovell
Posts: 1041
Joined: Sun Mar 19, 2006 9:44 pm
Location: Japan
Contact:

Post by ccovell »

Yes, it is [ link: http://nesdev.com/bbs/viewtopic.php?t=2113 ]

I tend to want to use 2D for the darkest grey in demos/games, but as mentioned before, both 2D and 3D are black on RGB PPUs. So, just a caveat.
Celius
Posts: 2159
Joined: Sun Jun 05, 2005 2:04 pm
Location: Minneapolis, Minnesota, United States
Contact:

Post by Celius »

Call me stupid, but what/where are these RGB PPUs you all speak of?
smkd
Posts: 101
Joined: Sun Apr 22, 2007 6:07 am

Post by smkd »

It outputs RGB instead of composite video. You'd find it in a playchoice-10 and an obscure piece of hardware I forgot.
User avatar
tokumaru
Posts: 12106
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Post by tokumaru »

smkd wrote:You'd find it in a playchoice-10 and an obscure piece of hardware I forgot.
That subtitler thing, right?
Post Reply