sony trinitron + color emphasis bits = scrambled image?

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems. See the NESdev wiki for more information.

Moderator: Moderators

User avatar
GradualGames
Posts: 1106
Joined: Sun Nov 09, 2008 9:18 pm
Location: Pennsylvania, USA
Contact:

sony trinitron + color emphasis bits = scrambled image?

Post by GradualGames »

Recently I decided to dim the screen when you hit "pause," in Nomolos. I used all three color emphasis bits. Works great in emulators, looks fine on a little 13 inch TV I have, but on my Sony Trinitron, it causes an extremely ugly bunch of scanline artifacts. I tried mucking with the settings on the TV, to no avail. Has anyone else seen this sort of thing on a crt tv, in a game that uses color emphasis?

I decided to use the monochrome bit instead for the pause screen, but it would have been slick to dim the screen with color emphasis.
tepples
Posts: 22603
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

Then perhaps the warning in some older documents against using more than one emphasis bit wasn't full of crap. RGB units (Famicom Titler, PlayChoice, some TVs with a built-in Famicom) don't take very well to multiple emphasis bits turned on either.

What you can do to simulate the old effect is dim all elements of the palette by subtracting $10.
User avatar
Dwedit
Posts: 4833
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Post by Dwedit »

I have an ancient Trinitron that's older than I am, and Battle Kid's pause effect works fine.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
User avatar
MottZilla
Posts: 2837
Joined: Wed Dec 06, 2006 8:18 pm

Post by MottZilla »

Don't some other games do this? I have a Sony Trinitron too and never saw anything like this.
lidnariq
Posts: 11320
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Post by lidnariq »

If all preemphasis bits are set, then color 1D ("black") becomes blacker-than-black and 01-0C no longer decode to a valid RGB color from the received YIQ values (Their brightness is approximately equal to unattenuated color 1D). So if it looks like scanlines restarting all over the place, maybe that's why?
User avatar
Bregalad
Posts: 8029
Joined: Fri Nov 12, 2004 2:49 pm
Location: Divonne-les-bains, France

Post by Bregalad »

The game Just Breed have all the emphasis bits set (most of the time, I think sometimes during lightning effects the game might briefly clear them).
Noah's Ark it like that too if I remember.
Useless, lumbering half-wits don't scare us.
bunnyboy
Posts: 449
Joined: Thu Oct 27, 2005 1:44 pm
Location: CA
Contact:

Post by bunnyboy »

Many clones also do not support the emphasis bits, if that is something you care about.
3gengames
Formerly 65024U
Posts: 2284
Joined: Sat Mar 27, 2010 12:57 pm

Post by 3gengames »

Using the emphasis bits is the lazy mans way of dimming the screen IMO. Plus, good luck porting your game to any RGB NES arcade system. (Which I want to do one day, sue me.)
User avatar
Memblers
Site Admin
Posts: 3995
Joined: Mon Sep 20, 2004 6:04 am
Location: Indianapolis
Contact:

Post by Memblers »

If it's not much trouble, maybe you could post the palette values you're using when that happens. But I guess it's specific to your TV, or some certain TV types.

I believe Super Spy Hunter sets all emphasis bits when you pause it. Munchie Attack does it when you lose all your lives (and yeah it didn't look too hot on the Playchoice, everything goes grey).
User avatar
tokumaru
Posts: 12385
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Post by tokumaru »

bunnyboy wrote:Many clones also do not support the emphasis bits, if that is something you care about.
Really? I didn't know about that. I guess I'll have to test my clones!
sdwave
Posts: 27
Joined: Mon Feb 13, 2012 1:20 am

Post by sdwave »

Yep, I see some bending myself in one of the palette demos (pal test) on my Trinitron.

Try using $3f for black instead of $0d if possible and see if it helps any.
bunnyboy
Posts: 449
Joined: Thu Oct 27, 2005 1:44 pm
Location: CA
Contact:

Post by bunnyboy »

tokumaru wrote:
bunnyboy wrote:Many clones also do not support the emphasis bits, if that is something you care about.
Really? I didn't know about that. I guess I'll have to test my clones!
I noticed it in one of Sivaks early games, so it was probably one of Yobo/NEX/RetroDuo. The 3 system clones weren't out yet.
User avatar
Jeroen
Posts: 1048
Joined: Tue Jul 03, 2007 1:49 pm

Post by Jeroen »

They don't support it in what way? Simply not working or don't give expected behavior?
User avatar
thefox
Posts: 3134
Joined: Mon Jan 03, 2005 10:36 am
Location: 🇫🇮
Contact:

Re: sony trinitron + color emphasis bits = scrambled image?

Post by thefox »

Gradualore wrote:I decided to use the monochrome bit instead for the pause screen, but it would have been slick to dim the screen with color emphasis.
Why not dim it by rewriting the palette instead?
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
User avatar
thefox
Posts: 3134
Joined: Mon Jan 03, 2005 10:36 am
Location: 🇫🇮
Contact:

Post by thefox »

3gengames wrote:Plus, good luck porting your game to any RGB NES arcade system. (Which I want to do one day, sue me.)
Screen turning white when pausing the game hardly is game breaking behavior. Of course if the emphasis bits are used for other purposes (like keeping the palette dimmed all the time, like in Jungle Book, James Bond Jr and Felix the Cat), it's an entirely different deal.
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
Post Reply