How To: Connect NES controller to Famicom

Started by CkRtech, November 17, 2007, 10:12:39 pm

Previous topic - Next topic

133MHz

Quote from: Arnold101 on December 11, 2007, 10:47:01 pm
yeah pal territory. what are the quirks?
so if clock is different i don't think is good for famicom. or not?


It will work, but a little slower or faster. I think some games would not display some things correctly, but I'm not that familiar with PAL NES stuff, maybe somebody here knows more about it. Maybe a good idea could be installing a socket for the Famicom CPU, that way you could plug in and out CPUs easily without soldering.

Quote from: Arnold101 on December 11, 2007, 10:47:01 pm
i've tried with the screwdriver on the tv audio connector, the external side, it don't fit inside it, and it light up.

i've tested on samsung lcd and no light.


Careful! The TV is leaking current! That is a dangerous situation, it could damage equipment connected to it, or even worse, give you a shock. Touching the AV connector is like touching one of the wires in a wall plug! Imagine doing that to your Famicom! Sheer torture! :o

Try plugging the TV backwards and see if the problem goes away (the light doesn't light anymore).

Quote from: Arnold101 on December 11, 2007, 10:47:01 pm
if i find the cpu how i desolder it? i don't think i can do it  :-X


If unsure, read some tutorials on the Internet about how to solder, and practice with some junk circuit boards, taking components out and stuff. In a nutshell, you need some desoldering braid. You apply fresh solder to all of the CPU pins (to dislodge the old machine solder), then put the braid over it and apply the iron on top. The braid will absorb the solder in the hole, leaving the pin free for removal. You cut the used piece of braid and throw it away, then do it for the remaining pins until the CPU is easily removable. You can also do it with a desoldering pump (also called solder sucker).

If you don't feel like you can do it well, you can always go to some TV repair shop and they'll be happy to desolder it for you for a couple of bucks.

Arnold101

thanks for all the info ;)

for the tv i've touched connectors and i not feel current  ??? i'll try to disconnect the power as you said. damn tv  >:(

anyway i need info on pal cpu, to be sure that is ok for famicom, if not i don't know where find ntsc cpu

i've find only this about http://nesdevwiki.org/wiki/index.php/NES_CPU

Arnold101

i tried the screwdriver on samsung home theater HTDS900 dts 5.1 and it light up. i think it's normal

133MHz

No it's not normal. It's dangerous (for the equipment and for you).

Arnold101

you think i have problems at my home electrical system? it's very old  :-X
but on samsung lcd don't to this, maybe has an internal protection?

another doubt: i have connected the gnd of video and audio circuit, led and rca jack all together on the same gnd point of famicom. it's ok?

133MHz

Quote from: Arnold101 on December 12, 2007, 07:26:08 pm
you think i have problems at my home electrical system? it's very old  :-X
but on samsung lcd don't to this, maybe has an internal protection?


Maybe your house's plugs are lacking or have a defective ground connection. Check that. Meanwhile try reversing the plugs of the devices and see if the problem goes away (no light). That is assuming your country's plugs can be plugged in either way, for example US plugs are polarized (a prong is wider than the other) so they can only be plugged in one orientation. Here the plugs can be plugged either way, so if I see some appliance leaking current, I just flip the plug and the problem usually goes away. Try that.

The LCD doesn't have an internal protection, it's just working correctly, unlike the other things :P.

Quote from: Arnold101 on December 12, 2007, 07:26:08 pm
another doubt: i have connected the gnd of video and audio circuit, led and rca jack all together on the same gnd point of famicom. it's ok?


Yeah, actually that's how you do it ;).

Another thing: I checked the NESDev Wiki link you put before, very good info! ;D

It says that the only difference between the PAL and NTSC CPU is the clock speed and divider.

NTSC CPU uses a 21.477272 MHz clock signal, which gets divided by 12 internally to get 1.79 MHz
PAL CPU uses a 26.601712 MHz clock signal, which gets divided by 16 internally to get 1.66 MHz

If you plug a PAL CPU into your Famicom it will get the 21.477272 MHz signal, divide it by 16 and get 1.34 MHz
That's actually underclocking the CPU (running slower). The audio will have a lower pitch and you'll notice more slowdown in games due to the reduced processor speed.

I have an idea: Like on my Overclocked NES thread, find a crystal clock generator with the right frequency to make the CPU work at the normal 1.79MHz for a NTSC Famicom:

Doing the math: 1,789MHz (NTSC clock speed) x 16 (PAL clock divider) = 28.636362 MHz

That's the frequency you need ! If you can get a crystal clock generator with that frequency (or a close one) you can make the PAL CPU run at NTSC speed, and it will work perfectly! ;D. You bend the CLK pin on the CPU before installing it into the Famicom (so it doesn't take the original clock signal) and then you feed your own 28.6 MHz clock signal into the pin. That's all ;).

Arnold101

great your thread ;D

on cpu speed selector goes cable from cpu pin cutted, from original clock green cable (where it start?), and from crystal clock generator, right?

and if i want the clock of the overclocked ntsc nes on a pal cpu, can be done or not?

can you link a photo of a crystal clock generator? i have not understand what is from that photo, and if i want to buy it, electric shop have it?
(not online shop) thanks ;)

133MHz

I was replying to your post when my computer BSODed by overheating!!!  >:( >:( >:( >:( >:( >:( I lost everything I wrote !!! >:( >:( >:( >:( Man I was so angry.... well I'll try again.

Quote from: Arnold101 on December 12, 2007, 09:08:59 pm
great your thread ;D
on cpu speed selector goes cable from cpu pin cutted, from original clock green cable (where it start?), and from crystal clock generator, right?


Right ;). I get the original clock from the PPU clock pin.

Quote from: Arnold101 on December 12, 2007, 09:08:59 pm
and if i want the clock of the overclocked ntsc nes on a pal cpu, can be done or not?


Yes, it can be done, you just have to compensate for the PAL clock divider (divide by 16 instead of by 12 :P).

Quote from: Arnold101 on December 12, 2007, 09:08:59 pm
can you link a photo of a crystal clock generator? i have not understand what is from that photo, and if i want to buy it, electric shop have it?
(not online shop) thanks ;)


Here you go! (this was prepared for my coming AV Famicom Overclocking thread)
High resolution picture of the various types of crystal clock generators (248KB JPG).

There you can see the most common packages. Any of them will do, they're all the same in functionality, just the package varies, but the metal can ones are easier to solder wires to them. The number you see in them is the frequency in MHz, so 30.0000 is 30 MHz.

Any decent electronics shop carries them in a wide variety of frequencies.

Arnold101

December 13, 2007, 04:02:42 am #38 Last Edit: December 13, 2007, 05:32:03 am by Arnold101
Quote
can you link a photo of a crystal clock generator? i have not understand what is from that photo, and if i want to buy it, electric shop have it?
(not online shop) thanks ;)


Here you go! (this was prepared for my coming AV Famicom Overclocking thread)
High resolution picture of the various types of crystal clock generators (248KB JPG).

There you can see the most common packages. Any of them will do, they're all the same in functionality, just the package varies, but the metal can ones are easier to solder wires to them. The number you see in them is the frequency in MHz, so 30.0000 is 30 MHz.

Any decent electronics shop carries them in a wide variety of frequencies.

thanks  ;) so i have to buy a 28.6 or 29 mhz one. if i find only a 30 one it will change the sound? or is a little difference (normal sound)? (1,875 mhz)

Quote
great your thread ;D
on cpu speed selector goes cable from cpu pin cutted, from original clock green cable (where it start?), and from crystal clock generator, right?


Right ;). I get the original clock from the PPU clock pin.

where is this pin on ppu?  :) and where is the clock pin of the cpu?

great idea the clock fix for pal cpu  ;D

133MHz

Quote from: Arnold101 on December 13, 2007, 04:02:42 am
thanks  ;) so i have to buy a 28.6 or 29 mhz one. if i find only a 30 one it will change the sound? or is a little difference (normal sound)? (1,875 mhz)


Yup. Yeah a 30MHz one will work, the sound difference will be minuscule. You can also get them from old ISA computer motherboards, cards and such.

Quote from: Arnold101 on December 13, 2007, 04:02:42 am
where is this pin on ppu?  :) and where is the clock pin of the cpu?
great idea the clock fix for pal cpu  ;D


CPU Clock pin is pin 29
PPU Clock pin is pin 18

http://nesdev.parodius.com/2A03_pinout.txt
http://nesdev.parodius.com/nes_ppu.txt

Hope that helps! ;)

Arnold101

December 13, 2007, 01:43:27 pm #40 Last Edit: December 13, 2007, 01:49:05 pm by Arnold101
Quote from: 133MHz on December 13, 2007, 01:06:55 pm
Quote from: Arnold101 on December 13, 2007, 04:02:42 am
thanks  ;) so i have to buy a 28.6 or 29 mhz one. if i find only a 30 one it will change the sound? or is a little difference (normal sound)? (1,875 mhz)


Yup. Yeah a 30MHz one will work, the sound difference will be minuscule. You can also get them from old ISA computer motherboards, cards and such.

Quote from: Arnold101 on December 13, 2007, 04:02:42 am
where is this pin on ppu?  :) and where is the clock pin of the cpu?
great idea the clock fix for pal cpu  ;D


CPU Clock pin is pin 29
PPU Clock pin is pin 18

http://nesdev.parodius.com/2A03_pinout.txt
http://nesdev.parodius.com/nes_ppu.txt

Hope that helps! ;)

minuscule but hearable the difference to the original or not with the 30 one?

thanks for the pins ;)

all the crystal clock have the 3 pin that i need? or 4? how i have to connect them to 5v, ground and output in the correct order?

133MHz

Quoteminuscule but hearable the difference to the original or not with the 30 one?


Minuscule? Yes. Hearable? I think it depends on the person listening :P.

Quoteall the crystal clock have the 3 pin that i need? or 4? how i have to connect correctly to them?


They have four pins, but only three are used. The one near the dot on the package is unused.

+5V in
  |
  \/
___________
|   XTAL OSC | <--- Clock out
| 28.636362    |
\ o   CHINA    |  <--- Ground
  ¯¯¯¯¯¯¯¯¯¯¯   
/\
|
Unused

Arnold101

perfect  ;D

one more thing 133mhz, i do not want the switch, so i need to connect clock out from crystal generator to clock pin of the cpu cutted and nothing more right?  ;)

133MHz

Yes, and you don't even need to cut the clock trace on the board. Just bend the clock pin outwards before installing the new CPU and then solder directly to the pin ;).

Arnold101

ok  :)
QuoteJust bend the clock pin outwards before installing the new CPU

yeah, i mean that  ;D

i'll take the power from the power point( ;D) of the board, the same of the av mod, correct?