Does the NESRGB preserve the picture quality of the NES?

The place for all discussion on gaming hardware
Post Reply
User avatar
erik343
Posts: 118
Joined: Sat Jan 13, 2018 8:41 pm
Location: California, USA

Does the NESRGB preserve the picture quality of the NES?

Post by erik343 »

Does the NESRGB mod change (or corrupt) the picture quality of the Nintendo NES?
I know that RGB looks way better than composite video, but I am referring to the internal picture quality instead.

What I am specifically asking is this...
With an unmodified Nintendo NES, are the red, green, blue, and sync signals that go into the yellow RCA composite video cable the exact same as the red, green, blue, and CSYNC signals that come out of the RGB port on a NESRGB modded Nintendo NES?

I am just asking out of curiosity before I start some new projects where I will be reworking and modifying retro Nintendo consoles. :o
nmalinoski
Posts: 1974
Joined: Wed Jul 19, 2017 1:52 pm

Re: Does the NESRGB preserve the picture quality of the NES?

Post by nmalinoski »

erik343 wrote:With an unmodified Nintendo NES, are the red, green, blue, and sync signals that go into the yellow RCA composite video cable the exact same as the red, green, blue, and CSYNC signals that come out of the RGB port on a NESRGB modded Nintendo NES?
I would think it's difficult answer that, because, to my [limited] understanding, the NES's PPU directly generates composite video, so I'd say it's somewhere between difficult and impossible for us to compare any RGB video inside the PPU to what comes out of the NESRGB. (Might be possible to build a virtual version of the PPU in an emulator and peek inside, but I imagine that would be impractical with real hardware.)

As for how the output of an unmodified NES compares to the NESRGB, the NESRGB is going to be clearer and sharper, because it's not going to be composite video; and the color palettes may not be 100% spot-on. (Admittedly, I haven't personally compared any of the color palettes to stock composite video output.)
User avatar
FBX
Posts: 2347
Joined: Wed Feb 18, 2015 10:18 am
Location: DFW area, Texas
Contact:

Re: Does the NESRGB preserve the picture quality of the NES?

Post by FBX »

Because there is no RGB generated by the NES, the colors have to be approximated in the RGB color space. What's worse is any given TV will do its own conversion of the composite video signal and you end up with different color variations from set to set. Check out my web page of various NTSC palettes I made:

http://www.firebrandx.com/nespalette.html

Note the first image is a good approximation of PAL (on the left) versus typical NTSC behavior (on the right).
User avatar
mikejmoffitt
Posts: 629
Joined: Fri Jan 08, 2016 7:26 am
Location: Tokyo, Japan

Re: Does the NESRGB preserve the picture quality of the NES?

Post by mikejmoffitt »

As the NES generates colors in the NTSC domain directly, it doesn’t operate on RGB at any point originally, unlike later systems that encode RGB. So, just as with every emulator, creating an appropriate RGB palette is an interpretive exercise. This is often informed by captures from real systems, but it is intrinsically not exactly the same. In theory, an RGB palette can represent exactly how it appears on a given television. After all, the television itself decides composite into RGB.
Image
User avatar
FBX
Posts: 2347
Joined: Wed Feb 18, 2015 10:18 am
Location: DFW area, Texas
Contact:

Re: Does the NESRGB preserve the picture quality of the NES?

Post by FBX »

mikejmoffitt wrote: After all, the television itself decides composite into RGB.
Although I ran into a problem with this in that there was no way to reproduce the "SMB Sky" on a PVM with RGB feed. I ran an unmodded NES through the same PVM, and that sky has an almost neon blue glow. Any attempt to replicate it in RGB feed resulted in either too dark a color, or a washed out color. It was as if the blue intensity was outside the range of 0 - 255 RGB scale. So if it were simply a case of the TV doing a simple clipped conversion to RGB, I should have been able to easily replicate the color. It was in fact impossible to replicate.
User avatar
Lawfer
Posts: 2283
Joined: Fri Dec 01, 2006 3:30 am

Re: Does the NESRGB preserve the picture quality of the NES?

Post by Lawfer »

FBX wrote:What's worse is any given TV will do its own conversion of the composite video signal and you end up with different color variations from set to set.
Hum interesting I didn't know that, is it the same thing with S-Video?
fernan1234
Posts: 2175
Joined: Mon Aug 14, 2017 8:34 pm

Re: Does the NESRGB preserve the picture quality of the NES?

Post by fernan1234 »

Lawfer wrote:
FBX wrote:What's worse is any given TV will do its own conversion of the composite video signal and you end up with different color variations from set to set.
Hum interesting I didn't know that, is it the same thing with S-Video?
In my experience, all other factors being equal, compared to RGB, S-video should result in colors closer to composite output.

Composite (when wired that way) and S-video output from the NESRGB are both encoded from the RGB output, but with the former two you are still letting the NTSC decoder of your TV/monitor do the main work. Lately I've found S-video from the NESRGB, combined with the right palette, to be the best compromise of picture clarity and "NTSC colors" (of my particular monitor).
User avatar
erik343
Posts: 118
Joined: Sat Jan 13, 2018 8:41 pm
Location: California, USA

Re: Does the NESRGB preserve the picture quality of the NES?

Post by erik343 »

Thank you so much, I was very curious lol.
My next project is to recap my NES and then RGB mod it.
I bought a very nice Hakko soldering station and desoldering station.
User avatar
mikejmoffitt
Posts: 629
Joined: Fri Jan 08, 2016 7:26 am
Location: Tokyo, Japan

Re: Does the NESRGB preserve the picture quality of the NES?

Post by mikejmoffitt »

FBX wrote:
mikejmoffitt wrote: After all, the television itself decides composite into RGB.
Although I ran into a problem with this in that there was no way to reproduce the "SMB Sky" on a PVM with RGB feed. I ran an unmodded NES through the same PVM, and that sky has an almost neon blue glow. Any attempt to replicate it in RGB feed resulted in either too dark a color, or a washed out color. It was as if the blue intensity was outside the range of 0 - 255 RGB scale. So if it were simply a case of the TV doing a simple clipped conversion to RGB, I should have been able to easily replicate the color. It was in fact impossible to replicate.
In this situation, you could reduce the intensity of other colors, so as to make this one stand out in proportion. The 0-255 RGB scale is only a scale of proportions.
Image
User avatar
austin532
Posts: 842
Joined: Wed Mar 12, 2014 12:44 am
Location: Arizona, US

Re: Does the NESRGB preserve the picture quality of the NES?

Post by austin532 »

But then the colors will appear too dark. As of now the colors look pretty good and to be honest the darker blue is not really noticeable unless you do a side by side comparison.
Framemeister 240p scanline settings: http://shmups.system11.org/viewtopic.ph ... start=9600
User avatar
Syntax
Posts: 1774
Joined: Wed Aug 09, 2017 12:10 am
Location: Australia

Re: Does the NESRGB preserve the picture quality of the NES?

Post by Syntax »

It's not colors, I believe it's the subcarrier haze coming thru causing the fluro neon effect
User avatar
FBX
Posts: 2347
Joined: Wed Feb 18, 2015 10:18 am
Location: DFW area, Texas
Contact:

Re: Does the NESRGB preserve the picture quality of the NES?

Post by FBX »

mikejmoffitt wrote:
In this situation, you could reduce the intensity of other colors, so as to make this one stand out in proportion. The 0-255 RGB scale is only a scale of proportions.
You should know me by now that I would have exhausted this and all other methods before giving up. ;-)

None of them work. For whatever the reason, there's 4 entries in that blue spectrum that CANNOT be reproduced in the RGB feed, with the SMB sky being the most blatant. Maybe it is subcarrier haze, or maybe it's how the voltage is handled for the RGB lines from the internal encoder versus external RGB feed, but whatever the reason, it can't be replicated. Toning down the rest of the palette to compensate only makes everything look wrong. In all reality, my 'Smooth' palette is the closest one can get on a PVM to unmodded NTSC feed.
User avatar
austin532
Posts: 842
Joined: Wed Mar 12, 2014 12:44 am
Location: Arizona, US

Re: Does the NESRGB preserve the picture quality of the NES?

Post by austin532 »

All we can hope for is that someone discovers a mod that safely overdrives the blue like a stock NES...if that's even possible.

To the OP question, Composite looks better on a RGB modded NES compared to a stock one. It looks cleaner with less noticeable dot crawl.
Framemeister 240p scanline settings: http://shmups.system11.org/viewtopic.ph ... start=9600
mikechi2
Posts: 269
Joined: Sat Jul 01, 2017 6:56 am

Re: Does the NESRGB preserve the picture quality of the NES?

Post by mikechi2 »

I believe later model PVMs and certainly consumer TVs decode composite video in the digital domain and output a BT.656 YPbPr stream to a DAC that drives the guns. Assuming the final output still looks 'okay' then it should be possible to recreate the corresponding RGB values?
User avatar
FBX
Posts: 2347
Joined: Wed Feb 18, 2015 10:18 am
Location: DFW area, Texas
Contact:

Re: Does the NESRGB preserve the picture quality of the NES?

Post by FBX »

mikechi2 wrote:I believe later model PVMs and certainly consumer TVs decode composite video in the digital domain and output a BT.656 YPbPr stream to a DAC that drives the guns. Assuming the final output still looks 'okay' then it should be possible to recreate the corresponding RGB values?
Well I tried on a 20M2U and it wasn't possible. Not sure if that counts as a later model.
mikechi2
Posts: 269
Joined: Sat Jul 01, 2017 6:56 am

Re: Does the NESRGB preserve the picture quality of the NES?

Post by mikechi2 »

FBX wrote:
mikechi2 wrote:I believe later model PVMs and certainly consumer TVs decode composite video in the digital domain and output a BT.656 YPbPr stream to a DAC that drives the guns. Assuming the final output still looks 'okay' then it should be possible to recreate the corresponding RGB values?
Well I tried on a 20M2U and it wasn't possible. Not sure if that counts as a later model.
I just skimmed the manual and it seems like it's an analog design. What did you try exactly?
fernan1234
Posts: 2175
Joined: Mon Aug 14, 2017 8:34 pm

Re: Does the NESRGB preserve the picture quality of the NES?

Post by fernan1234 »

It would actually be pretty funny if it turns out to be relatively simple to get those RGB values, after it had been presumed to be impossible all this time. Hopefully it is because honestly there's no satisfactory RGB palette currently available.
User avatar
FBX
Posts: 2347
Joined: Wed Feb 18, 2015 10:18 am
Location: DFW area, Texas
Contact:

Re: Does the NESRGB preserve the picture quality of the NES?

Post by FBX »

mikechi2 wrote:
I just skimmed the manual and it seems like it's an analog design. What did you try exactly?
I used an unmodded NES running a fullscreen color test ROM fed into the composite jack of the PVM. I then simultaneously ran an Nt Mini into the RGB feed with the same color test rom. Then from there, I used the SD card to load in palette changes until each color was as close as could be matched as possible. That resulted in the "Smooth" palette, but again, the SMB sky color had to be approximated because it was impossible to dial in with direct RGB. The blue phosphor was very intense on the composite video for that sky color, whereas you could never get it anywhere near that intense on the RGB video input.
fernan1234 wrote:It would actually be pretty funny if it turns out to be relatively simple to get those RGB values, after it had been presumed to be impossible all this time. Hopefully it is because honestly there's no satisfactory RGB palette currently available.
It's not presumed. It's a technological FACT. Case in point is the Playchoice-10 color palette. Since the PPU for those machines did have internally generated RGB, the values were quickly documented.
User avatar
Link83
Posts: 342
Joined: Tue May 21, 2013 2:39 am

Re: Does the NESRGB preserve the picture quality of the NES?

Post by Link83 »

FBX wrote:I used an unmodded NES running a fullscreen color test ROM fed into the composite jack of the PVM. I then simultaneously ran an Nt Mini into the RGB feed with the same color test rom. Then from there, I used the SD card to load in palette changes until each color was as close as could be matched as possible.
From what I have read online the Nt Mini is an FPGA design, so I guess its not possible to know exactly how the RGB is generated internally. For instance maybe the Nt Mini is deliberately clipping the RGB values somewhere in the pipeline, perhaps so that limited range HDMI or the OSD can be used? (Please note that this is not a criticism but merely a suggestion)
User avatar
FBX
Posts: 2347
Joined: Wed Feb 18, 2015 10:18 am
Location: DFW area, Texas
Contact:

Re: Does the NESRGB preserve the picture quality of the NES?

Post by FBX »

Link83 wrote:
FBX wrote:I used an unmodded NES running a fullscreen color test ROM fed into the composite jack of the PVM. I then simultaneously ran an Nt Mini into the RGB feed with the same color test rom. Then from there, I used the SD card to load in palette changes until each color was as close as could be matched as possible.
From what I have read online the Nt Mini is an FPGA design, so I guess its not possible to know exactly how the RGB is generated internally. For instance maybe the Nt Mini is deliberately clipping the RGB values somewhere in the pipeline, perhaps so that limited range HDMI or the OSD can be used? (Please note that this is not a criticism but merely a suggestion)
That really shouldn't matter. The Nt Mini's RGB output matches the intended color values I fed it when you re-capture back into a lossless card like the E1S. So whether it's FPGA or not, the color output is accurate to the hex value used.
User avatar
Lawfer
Posts: 2283
Joined: Fri Dec 01, 2006 3:30 am

Re: Does the NESRGB preserve the picture quality of the NES?

Post by Lawfer »

FBX wrote:Case in point is the Playchoice-10 color palette. Since the PPU for those machines did have internally generated RGB, the values were quickly documented.
Here are some of the most common the RGB PPU:

RP2C03B: Playchoice-10
RC2C05-99: Sharp Famicom Titler AN-510
copy
Posts: 232
Joined: Fri Apr 29, 2016 10:38 pm

Re: Does the NESRGB preserve the picture quality of the NES?

Post by copy »

It's interesting: when I use FBX's Composite Direct palette on my NESRGB outputting to an RGB cable, the SMB sky is purple, as we all know. But if I instead use the NESRGB's (RGB-encoded) composite output with the same palette, the sky ends up blue again.

You could perhaps consider the blue sky to be just another artifact of composite video, like dot crawl or color bleed.
fernan1234
Posts: 2175
Joined: Mon Aug 14, 2017 8:34 pm

Re: Does the NESRGB preserve the picture quality of the NES?

Post by fernan1234 »

copy wrote:It's interesting: when I use FBX's Composite Direct palette on my NESRGB outputting to an RGB cable, the SMB sky is purple, as we all know. But if I instead use the NESRGB's (RGB-encoded) composite output with the same palette, the sky ends up blue again.

You could perhaps consider the blue sky to be just another artifact of composite video, like dot crawl or color bleed.
Yes this is expected because as mentioned earlier, when you use composite (and S-video) the colors you see are not the direct result of the NESRGB palette used but also the NTSC decoder in your TV or monitor. That's why while I don't enjoy any of the palettes when used directly through RGB, several can look quite good (better matching what I'm used to) via composite and S-video.
User avatar
vol.2
Posts: 2439
Joined: Mon Oct 31, 2016 3:13 pm
Location: bmore

Re: Does the NESRGB preserve the picture quality of the NES?

Post by vol.2 »

erik343 wrote:Thank you so much, I was very curious lol.
My next project is to recap my NES and then RGB mod it.
I bought a very nice Hakko soldering station and desoldering station.
I just did it about 6 months ago and I think it looks great.

Depending on what you are using as a monitor, you may prefer one of the non-standard color pallets. When I'm using my projector, I think the "improved" color pallet looks the best. Because the NES wasn't designed with newer displays in mind, trying to make it look perfectly like a composite CRT just doesn't make sense to me. Newer display technologies have their own strengths and weaknesses and you're never going to get the 1:1 experience of a CRT.
User avatar
austin532
Posts: 842
Joined: Wed Mar 12, 2014 12:44 am
Location: Arizona, US

Re: Does the NESRGB preserve the picture quality of the NES?

Post by austin532 »

vol.2 wrote:
Depending on what you are using as a monitor, you may prefer one of the non-standard color pallets. When I'm using my projector, I think the "improved" color pallet looks the best. Because the NES wasn't designed with newer displays in mind, trying to make it look perfectly like a composite CRT just doesn't make sense to me. Newer display technologies have their own strengths and weaknesses and you're never going to get the 1:1 experience of a CRT.
It's mostly for nostalgia. There is no right or wrong answer as to which palette you use since the NES never supported RGB and every tv would give a slightly different result.
Framemeister 240p scanline settings: http://shmups.system11.org/viewtopic.ph ... start=9600
Post Reply