Incorrect tint on Dendy

A place for your artistic side. Discuss techniques and tools for pixel art on the NES, GBC, or similar platforms.

Moderator: Moderators

Drag
Posts: 1615
Joined: Mon Sep 27, 2004 2:57 pm
Contact:

Incorrect tint on Dendy

Post by Drag »

I was interested in seeing what causes that strange green-tint problem that the Dendy Chronicles host mentioned in Lion King and Aladdin. Obviously, I don't have a Dendy, and I only have the rom image for Lion King, but I had a hunch. :P

On the title screen, the game writes $3E to $2001. Of particular interest is the fact that the red emphasis bit is active...

Apparently, when this bit is active, the Dendy will apply a green tint to the screen, and the amount of tinting depends on the console; for some it's barely noticable, on others it's extremely obnoxious.

I imagine if we looked at Aladdin (from Super Game), we'd see the same thing.

Just what we need, more clone incompatibilities. :P
User avatar
Dwedit
Posts: 4924
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Post by Dwedit »

So between the RGB PPU and Dendy, are the color emphasis bits now at "don't use these"?

At least you can detect a Dendy easily.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
Drag
Posts: 1615
Joined: Mon Sep 27, 2004 2:57 pm
Contact:

Post by Drag »

Dwedit wrote:So between the RGB PPU and Dendy, are the color emphasis bits now at "don't use these"?
I think you could still use them, it's not your problem if a clone implements a feature incorrectly. It's still better to be aware of the issue though, if your game is intolerable due to it, then you can release a special Dendy version of it.
3gengames
Formerly 65024U
Posts: 2284
Joined: Sat Mar 27, 2010 12:57 pm

Post by 3gengames »

I didn't know Nintendos RGB was a clone. lol. Don't use them, subtract 10 and don't be lazy.
Drag
Posts: 1615
Joined: Mon Sep 27, 2004 2:57 pm
Contact:

Post by Drag »

3gengames wrote:I didn't know Nintendos RGB was a clone. lol. Don't use them, subtract 10 and don't be lazy.
Insert a long, drawn out argument as to why one way isn't better than the other here.

The point is, the software is designed for canonical NES hardware. Non-canonical NES hardware is being used. Ergo, compatibility issues that aren't the fault of the designer. I could just as easily say "get a real NES and don't be lazy" right back at you. :P
User avatar
tokumaru
Posts: 12427
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Post by tokumaru »

3gengames wrote:Don't use them, subtract 10 and don't be lazy.
Not all uses of the emphasis bits can be substituted by "subtracting $10" of each color value. For example, the color emphasis bits are nice for making water of variable depth (such as in Noah's Ark), because these bits can be changed during rendering without problems, while modifying the palette mid-frame is near impossible without severe visual glitches.
User avatar
Jeroen
Posts: 1048
Joined: Tue Jul 03, 2007 1:49 pm

Post by Jeroen »

Drag wrote:
3gengames wrote:I didn't know Nintendos RGB was a clone. lol. Don't use them, subtract 10 and don't be lazy.
Insert a long, drawn out argument as to why one way isn't better than the other here.

The point is, the software is designed for canonical NES hardware. Non-canonical NES hardware is being used. Ergo, compatibility issues that aren't the fault of the designer. I could just as easily say "get a real NES and don't be lazy" right back at you. :P
We might wanna split this if it goes on long enough.

But what about those of us that develop for famicom? There was at least 1 famicom (the famicom titler) that used an rgb ppu.
tepples
Posts: 22708
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

That and the Sharp TVs with a built-in Famicom. The box of Just Breed apparently has a warning that it won't work on Famicom TVs.

Split as requested.
User avatar
rainwarrior
Posts: 8734
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Post by rainwarrior »

Ha ha, just looked at the Just Breed box. What it says is:

シャープのC-1ではご使用になれません.

(Don't use with Sharp C-1.)
ccovell
Posts: 1045
Joined: Sun Mar 19, 2006 9:44 pm
Location: Japan
Contact:

Post by ccovell »

Famiclone systems have long been known to have overly-strong colour emphasis behaviour compared to the regular NES/Fami PPU. This means games like Bubble Bobble (FDS), Felix the Cat, Magician, etc. are sometimes a bit unclear and harder to play on clones.
Shiru
Posts: 1161
Joined: Sat Jan 23, 2010 11:41 pm

Post by Shiru »

Felix the Cat suffered a lot on the Famiclones indeed, the brightness was much lower than in other games.
Drag
Posts: 1615
Joined: Mon Sep 27, 2004 2:57 pm
Contact:

Post by Drag »

ccovell wrote:Famiclone systems have long been known to have overly-strong colour emphasis behaviour compared to the regular NES/Fami PPU. This means games like Bubble Bobble (FDS), Felix the Cat, Magician, etc. are sometimes a bit unclear and harder to play on clones.
On the RGB PPU, the games would be completely unplayable due to a completely white screen. :P

Though, this brings up another point of interest, lots of European-developed games will intentionally leave the palette darkened via the emphasis bits. This isn't just on the NES either, several European-developed SNES games have super dark palettes as well. Why is this? It must have something to do with the PAL standard or something...
ccovell
Posts: 1045
Joined: Sun Mar 19, 2006 9:44 pm
Location: Japan
Contact:

Post by ccovell »

Drag wrote:On the RGB PPU, the games would be completely unplayable due to a completely white screen. :P
Yes, very unfortunate. I can only speculate why Nintendo made PPUs that had features incompatible with each other. My guess, then, is that the original designers of the PPU (at Ricoh?) implemented the emphasis bits and 1) never explained their use in docs for programmers, or 2) told programmers they existed but NOT to use them in regular operation, or 3) told programmers, said "go wild", but then forgot about the emphasis bits when they had to go back and make an RGB version of the PPU. Or, 3) plus 4) since they apparently used a 6-bit DAC for rather lame colour decoding on RGB PPUs, the engineers at Ricoh couldn't be bothered to expend extra die space to implement proper mapping tables for the emphasis bits. (They could have at least had a "halfbrite" function per RGB channel at little additional cost and still keep it totally compatible with the composite PPU...)
Drag wrote:Though, this brings up another point of interest, lots of European-developed games will intentionally leave the palette darkened via the emphasis bits. This isn't just on the NES either, several European-developed SNES games have super dark palettes as well. Why is this? It must have something to do with the PAL standard or something...
Again, just speculation, but most likely European programmers never used official Nintendo docs for NES programming. All of their knowledge was based on reverse-engineering (as RARE confirmed doing it this way). Most likely another programming house (probe, Eurocom...) reverse-engineered the PPU and made docs but thought that the emphasis bits were supposed always to be on.

As for the SNES, it probably just comes down to the highly-shaded, glossy European graphics look at the time. (Contrasted with the MS Paint look of US-developed games.)
Shiru
Posts: 1161
Joined: Sat Jan 23, 2010 11:41 pm

Post by Shiru »

Neil Baldwin mentioned that they got a photocopy of original docs in Japanese (it is in the Magician section).
User avatar
tokumaru
Posts: 12427
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Post by tokumaru »

I seem to remember, back from the NESDEV mailing list days, Andrew Davie saying that all the knowledge he had when coding for the NES was obtained through reverse engineering.
Post Reply