Page 1 of 3

1989 famicom with true rgb, s-video, stereo sound

Posted: Tue Jan 08, 2013 8:40 am
by Drakon
Basically this's all stuff I've done before but for the first time with an original famicom.

Early pics:

Image

Image

Mostly finished video:

http://www.youtube.com/watch?v=RdB36egh ... e=youtu.be

What's left to do: Build all the external ports and jacks into a project box.

Why I built this: I had the parts laying around and I thought it would be fun!

Specs:

This started out as an official nintendo 1989 famicom that I recently managed to repair (some random trace got damaged).

This system using an official nintendo rgb chip and produces almost completely jailbar free true rgb, s-video, and stereo sound with proper mixing and amping.

S-video is generated by a sony cxa2075 video encoder which produces the sharpest looking s-video I've ever seen, also I really like the colour encoding of the cxa2075.

I built a small circuit that divides the system master clock down to be able to drive the video encoder which removes colour bleeding over s-video.

You can realtime switch between the default and upgraded audio circuits using a hardware switch I installed.

I hardwired nes controller ports into the headers of where the famicom controllers normally connect, here's the schematic:

Image

P4 is player one and P5 is player two. Just do the same thing for p5 to wire up the second player controller (ignore the mic pin for nes controller port wiring). This nes controller port wiring is 100% compatible with all games, some people wired up nes controller ports to the famicom expansion port but that doesn't work with some games (mario 2 us). My wiring works with everything and you no longer need to live with stupid hardwired famicom controllers where the cord comes out the side of the controller instead of the top like it should.

The 74ls373n has been removed with a precision socket installed so I dropped in a 74hc373 to get the powerpak running with the rgb setup. Thanks to acem77 for making this discovery. The playchoice pcb uses the 74hc373, that's where the nes compatible rgb chip comes from so I guess it's just something the rgb ppu needs.

The rf box has been removed and I have the system running using just a power jack, 7805 regulator, small heatsink, and a fuse. The 7805 and heatsink are bolted near the front of the case to make room for the added circuitry at the back.

What I learned from building this:

I learned a lot about the famicom pcb and how it's wired. The edge of the pcb is 5v so be careful not to think it's ground like most consoles. The connector for the rf box is interesting, one pin is the 5v fed from the regulator, the other pin is the 5v feeding back into the rf box circuit after you connect it using the power switch.

Adding distance between the ppu and the video encoder adds jailbars. Adding 5 or so inches of distance for the rgb to travel before hitting the video encoder added really big jailbars. Potentially this's a universal jailbar fix across all models of the nes / famicom which is fantastic news! Having the ppu signals fed into the video encoder at point blank range completely fixed the jailbars on this system. This's an awesome discovery! Unfortunately this means that getting rid of jailbars in some pcb revisions means relocating the entire ppu socket to get all this custom circuitry to fit like I had to do with this system.

This particular famicom (something-something-gpm-02) has a very similar audio circuit to the av famicom. The only difference is there's a little more low pass filtering with this model producing more bass and a little more muffle.

The famicom case has literally no extra space inside to fit any extra stuff which is why all the added ports and whatnot are hanging out the back.

Would I do this again?: Probably not unless someone is willing to pay a small fortune or if I somehow kill my system (it has a fuse so if something shorts it's easy to fix). I had to relocate the entire ppu socket to the back by wiring up 40 ide wires, I had to do so much extra work that it would be cheaper just buying an av famicom.

Was it fun making this?: F#ck yes! The results were fantastic, I learned so much about these systems and getting rid of jailbars and other video interference from doing this, wiring the nes controller ports worked out great too. The audio circuit on this kit I use sounds great with this pcb model, hopefully someday I can rework the av famicom audio circuit so I can re-create it on any model of the nes / famicom. I honestly didn't expect this to turn out so nicely.

Re: 1989 famicom with true rgb, s-video, stereo sound

Posted: Tue Jan 08, 2013 9:02 am
by Bregalad
I think this was pointed out already, but any NES or Famicom cannot have any kind of "stereo sound" and never will. The console was designed to be mono. Separating bass and trebles and send each one to each speaker is NOT "true stereo sound".

RGB and S-video can be a nice to have though, even if I don't personally care.

Re: 1989 famicom with true rgb, s-video, stereo sound

Posted: Tue Jan 08, 2013 10:05 am
by Dwedit
The two NES controller ports support 4 player games, right?

Re: 1989 famicom with true rgb, s-video, stereo sound

Posted: Tue Jan 08, 2013 10:38 am
by tepples
For a device with NES controller ports, you'd need a Four Score. It works by sending the first 8 bits from controller 1 or 2 on D0, then the first 8 bits from controller 3 or 4 on D0, then a signature byte on D0. I don't see any reason why it wouldn't work, as it just uses the clock, D0 out, and D0 in wires, unlike the Famicom expansion controllers that use D1 in. However, you would have to use games compatible with the Four Score; Japanese versions of 4-player games might assume Famicom expansion controllers.

As for comparisons between the Four Score and stereo sound, the SPI-like bit-serial protocol allows the program to tell the difference between the controllers through the sequence: it's always 1, then 3, then signature on $4016, or 2, then 4, then signature on $4017. Audio, on the other hand, is summed before being sent to the APU's audio output pins.

Re: 1989 famicom with true rgb, s-video, stereo sound

Posted: Tue Jan 08, 2013 10:41 am
by mikejmoffitt
Bregalad wrote:I think this was pointed out already, but any NES or Famicom cannot have any kind of "stereo sound" and never will. The console was designed to be mono. Separating bass and trebles and send each one to each speaker is NOT "true stereo sound".
This... "Stereo" in this scenario is anything but an upgrade.
Otherwise, good work on the video encoding.

Re: 1989 famicom with true rgb, s-video, stereo sound

Posted: Tue Jan 08, 2013 1:05 pm
by Drakon
mikejmoffitt wrote:
Bregalad wrote:I think this was pointed out already, but any NES or Famicom cannot have any kind of "stereo sound" and never will. The console was designed to be mono. Separating bass and trebles and send each one to each speaker is NOT "true stereo sound".
This... "Stereo" in this scenario is anything but an upgrade.
Otherwise, good work on the video encoding.
Haha thanks. I set my amp to mono so I don't get any stereo separation. I just like the circuit because it balances everything great including carts with audio chips. I havn't tested it with any peripherals just regular nes controllers.

*edit*

pic of the pcb:

Image

Re: 1989 famicom with true rgb, s-video, stereo sound

Posted: Tue Jan 08, 2013 2:05 pm
by koitsu
Drakon wrote:
mikejmoffitt wrote:
Bregalad wrote:I think this was pointed out already, but any NES or Famicom cannot have any kind of "stereo sound" and never will. The console was designed to be mono. Separating bass and trebles and send each one to each speaker is NOT "true stereo sound".
This... "Stereo" in this scenario is anything but an upgrade.
Otherwise, good work on the video encoding.
Haha thanks. I set my amp to mono so I don't get any stereo separation. I just like the circuit because it balances everything great including carts with audio chips.
No, it doesn't "balance everything great". I will repeat the same thing that has already been said by others: you do not get stereo, or anything even close to it, with this modification. Instead, what you get is crap-sounding audio where both square channels come out either the left or right speaker (your choice), and the triangle/noise/PCM channel comes out the other (see pins AD1 and AD2). The end result is crap; it sounds absolutely awful solely because all the audio on NES/Famicom games was mixed/intended to be heard in mono. The composers/musicians actually sequenced and designed their music with that in mind. Honest.

As far as expansion/audio chips (as in VRC6, etc.) go -- those output all their audio to a single pin (see pin 45). No resistor array possible (for "splitting" frequency ranges) will turn that into stereo -- all it will put out is "split" audio which has the same problem as I mentioned above.

The video modifications you've done are really great though, as others have also said. Kudos!

Re: 1989 famicom with true rgb, s-video, stereo sound

Posted: Tue Jan 08, 2013 2:51 pm
by blargg
Yeah, this stereo mod is in the realm of enhancements, things which bring out some quality at a cost to others, and are subjectively either improvements or detriments. The stereo mod is interesting because it's able to recover some information that is otherwise lost in the mono output, that of separating the channels into two sets. It reminds me of the old 4-channel mods on Amiga computers, where each side had two channels, totally separated. It's unnatural sounding. A stereo mod that mostly mixed them, with only slight separation, might be more pleasing. One thing I noticed is that if you tap into the separate channel groups, you must attenuate one, otherwise it's a lot louder than it should be. The mono mixdown in the NES does this (look at the differing resistors used for the two groups).

Re: 1989 famicom with true rgb, s-video, stereo sound

Posted: Tue Jan 08, 2013 3:41 pm
by koitsu
Haha, original 4-channel Amiga MODs (i.e. "M.K." format), which also had the awesome design of the individual channels being set to L/R/R/L. I still want to know what the reason for that is, in other words, why LRRL and not LRLR. I'd love to ask Karsten Obarski or Michael Kleps what the reasoning was.

Re: 1989 famicom with true rgb, s-video, stereo sound

Posted: Tue Jan 08, 2013 4:34 pm
by Drakon
I wasn't talking about stereo separation I meant bass, treble, and mixing of the audio in certain carts. I already said I play with my amp set to mono I don't experience any stereo separation. It's really easy just to set your amp to mono if you don't like it. And thanks for the compliment! I wish I knew more about designing audio circuits, I've gotten s-video pretty perfected in every console, now I gotta learn how to design audio stuff for my favourite consoles.

Re: 1989 famicom with true rgb, s-video, stereo sound

Posted: Wed Jan 09, 2013 4:20 pm
by Drakon

Re: 1989 famicom with true rgb, s-video, stereo sound

Posted: Wed Jan 09, 2013 6:09 pm
by ccovell
Good stuff! It's a Famicom choo-choo train!

Re: 1989 famicom with true rgb, s-video, stereo sound

Posted: Thu Jan 10, 2013 1:12 am
by lidnariq
Two thoughts: 1- it's really sad that you can't genlock your camera to the FC; I find the rolling bars distracting.
2- That's an awful lot of hot glue inside—if anything ever goes wrong it'll be hard to fix it.

Where does the expansion audio go in the dual mono mix?

Re: 1989 famicom with true rgb, s-video, stereo sound

Posted: Thu Jan 10, 2013 6:29 am
by Drakon
lidnariq wrote:Two thoughts: 1- it's really sad that you can't genlock your camera to the FC; I find the rolling bars distracting.
2- That's an awful lot of hot glue inside—if anything ever goes wrong it'll be hard to fix it.

Where does the expansion audio go in the dual mono mix?
Sorry about the camera I don't think it has that setting. The glue is very easy to get off I've fixed many things with just as much hot glue. Actually I had something break because it wasn't glued into place, so I repaired it, glued it, and now it's fine.

With the dual audio circuit the expansion audio pins (45 and 46) are disconnected from the famicom pcb and routed into the audio circuit. The audio circuit is a couple of opamps, a virtual ground, some inductors, and a network of resistors and caps.

Re: 1989 famicom with true rgb, s-video, stereo sound

Posted: Thu Jan 10, 2013 7:03 am
by mikejmoffitt
Hot glue is great because it does a good job of holding projects together, but if you need to do work a little isopropyl alcohol will do the job to remove it.