nfg.forums

NFG Forums => RGB + Video Discussions => Topic started by: marquisor on June 11, 2010, 02:16:02 AM

Title: Sega Mega Drive 1 PAL S-Video 50Hz color fine, 60Hz B/W
Post by: marquisor on June 11, 2010, 02:16:02 AM
hello!

as the RGB mod for 1084S-D1 still not working, i tried another one on my own.

as seen in this picture: 
(http://img188.imageshack.us/img188/5272/immagine1d.th.jpg) (http://img188.imageshack.us/i/immagine1d.jpg/)

i built two cinch cables (similar to the c64 ones) for connecting to the 1084S-D1 luma/chroma ports.

luma: pin 16 "Y OUT" + 220 µF + 75 Ohm tocinch  "signal" and pin 24 "GND2" to ground
chroma: pin 15 "C OUT" + 220 µF + 75 Ohm to "signal" and no ground (doesn't matter for my issue if GND2 is connected or not, as luma GND seems sufficient)

50Hz mode working fine, pristine display. but if switched to 60Hz it all gets black/white. what's the fault??
(with RGB mod 60Hz works flawlessly, except sync issues in another thread from me)
Title: Re: Sega Mega Drive 1 PAL S-Video 50Hz color fine, 60Hz B/W
Post by: Midori on June 11, 2010, 07:46:54 AM
If you switch the console to 60 Hz, you change the clock in the system which is used for the PAL encoding. RGB is pure and has no encoding, therefore you still get colour :-)

You can probably fix this though by going to your cxa1145 encoder in your Mega Drive, disconnect the system clock and installing a dedicated crystal providing PAL clock for it. That is the only real solution however. You must add a crystal for it.
Title: Re: Sega Mega Drive 1 PAL S-Video 50Hz color fine, 60Hz B/W
Post by: marquisor on June 11, 2010, 09:14:12 AM
thx for quick answer:

alright, so i need an "asynchronous" clock with 4,43361875 MHz. is that right? how to apply that?
and are you sure, that it simply DOES display less lines in 60Hz mode?

the clock is calculated by

PAL: 15625 Hz * 283,75 Periods + 25 Hz = 4,43361875 MHz ;
NTSC: 4,5 MHz / 286 * 227,5 Periods = 3,57954545 MHz
(source wikipedia)

though i'm not sure about PAL60, yet!
Title: Re: Sega Mega Drive 1 PAL S-Video 50Hz color fine, 60Hz B/W
Post by: Midori on June 11, 2010, 11:29:28 AM
I'm no expert on crystals and the clock they provide really, so I won't pretend that either :-) But I do know that they are used in the system and sort of what for. And switching the Hz operation of the MD/GEN changes the clock divider which produces this problem. As to applying the stuff Phreak here wrote in this thread how he did it:

http://nfggames.com/forum2/index.php?topic=894.0 (http://nfggames.com/forum2/index.php?topic=894.0)

Like the datasheet that you linked in the first post says :-) Although, I'd disconnect pin 5 and 6 from the board. Not sure why he didn't... Perhaps I'm missing something...

And yes, it sure does display fewer lines when operating in 60 Hz, otherwise the TV wouldn't be able to display the signal :-) At all. You'd get a rolling picture or something even less useful.
Title: Re: Sega Mega Drive 1 PAL S-Video 50Hz color fine, 60Hz B/W
Post by: adamj1664 on July 19, 2010, 08:30:13 AM
you can do 2 things here

the easy one is buying a rgb cable and use that, look on ebay one seller is selling the cheap, i bought one.

the tricky one. look up mmmonkeys guide on it, just find the link on the home page, there is a guide on what to do there.
Title: Re: Sega Mega Drive 1 PAL S-Video 50Hz color fine, 60Hz B/W
Post by: l_oliveira on July 23, 2010, 02:55:32 PM
Here's why it gets B&W:

NTSC =  53.639Mhz   3.57595x15
PAL    =  53.203Mhz   4,43361x12

When you switch to 60hz the VDP changes divider from 12 to 15 and the clock it gets is 3.546Mhz.

So yes, only solution is asynchronous clock.

Here's what you do:

1- Cut the copper tracks which connect to  pins 6 (Chroma clock) and 7 (NTSC/PAL) of the CXA1145.
2- Connect pin 7 of the CXA1145 to GND (this forces it to stay on PAL mode. the track that comes from the VDP changes to +5V when in 60hz)
3- Connect the PAL 4mhz crystal to pins 5 and 6 of the CXA1145 chip.
4- Test and if it does not work verify the connections.

Title: Re: Sega Mega Drive 1 PAL S-Video 50Hz color fine, 60Hz B/W
Post by: phreak97 on July 31, 2010, 10:06:29 AM
the mod i did wasnt my own creation, someone helped me with it, so i cant verify its accuracy, only that it does work. I did that years ago before i had much understanding of clock signals etc. There may be a better way to do it.

I didnt think you could just connect in a crystal like that, dont you need a couple of capacitors to get it oscillating?
Title: Re: Sega Mega Drive 1 PAL S-Video 50Hz color fine, 60Hz B/W
Post by: dadou on August 02, 2010, 07:19:32 AM
for md1 here's the solution: http://www.zipplet.co.uk/index.php/content/electronics_mdpal60 (http://www.zipplet.co.uk/index.php/content/electronics_mdpal60)  ;)

Title: Re: Sega Mega Drive 1 PAL S-Video 50Hz color fine, 60Hz B/W
Post by: marquisor on August 03, 2010, 10:33:59 PM
@dadou:

very nice link, i will order parts and see how i can get it done! i love s-video, good compromise between sharpness and blurryness on sega megadrive and its games :D

thx!
Title: Re: Sega Mega Drive 1 PAL S-Video 50Hz color fine, 60Hz B/W
Post by: MangledLeg on August 20, 2010, 12:05:21 PM
FWIW, I wrote a tute a few years back following help from Viletim! and others on this forum, and recently re-added it to my blog. You can view it (complete with crappy pics :P) here (http://www.retro-otaku.com/2010/07/pal-sega-mega-drive-colour-correction-60hz-in-full-colour-in-rf-composite-and-s-video/).
Title: Re: Sega Mega Drive 1 PAL S-Video 50Hz color fine, 60Hz B/W
Post by: dadou on August 26, 2010, 07:38:24 AM
do you know how to do this mod for mega drive model 2?
Title: Re: Sega Mega Drive 1 PAL S-Video 50Hz color fine, 60Hz B/W
Post by: albino_vulpix on August 26, 2010, 08:49:22 AM
The only reason this does not work with the Mega Drive II is because the video IC doesn't have a crystal oscillator driver built in. Making your own, if you know what you're doing, should be a trivial matter. It seems no one who has this knowledge has gotten around to doing it :p
Title: Re: Sega Mega Drive 1 PAL S-Video 50Hz color fine, 60Hz B/W
Post by: dadou on September 07, 2010, 11:07:10 PM
i tried to do a crystal oscillator but i didn't suceed  :-\ i'm sure that someone can do it but i didn't find this guy yet ^^
Title: Re: Sega Mega Drive 1 PAL S-Video 50Hz color fine, 60Hz B/W
Post by: mamejay on January 12, 2011, 01:44:11 PM
Hi guys,

First time poster so please be gentle.

i know this is an old thread but doing the PAL colour fix is pretty easy if you get a pre-made crystal oscillator
http://www.retro-otaku.com/category/hardware-modifications/ (http://www.retro-otaku.com/category/hardware-modifications/)

Check out this mod on a MD1.  Very easy and no adjusting of any pots.  just works.

I have done this one a MD2 myself.  Its pretty easy.
If you have a look at the video encoder and follow pin 6 there us a resister call R61.  you need to cut the trace to R61 and then feed the new signal from the oscillator to R61.  this will feed the new 4.33 clock signal in and get perfect colour in every mode.
Title: Re: Sega Mega Drive 1 PAL S-Video 50Hz color fine, 60Hz B/W
Post by: EreWeGo on March 18, 2012, 10:33:51 AM
Quote from: mamejay on January 12, 2011, 01:44:11 PM
Hi guys,

First time poster so please be gentle.

i know this is an old thread but doing the PAL colour fix is pretty easy if you get a pre-made crystal oscillator
http://www.retro-otaku.com/category/hardware-modifications/ (http://www.retro-otaku.com/category/hardware-modifications/)

Check out this mod on a MD1.  Very easy and no adjusting of any pots.  just works.

I have done this one a MD2 myself.  Its pretty easy.
If you have a look at the video encoder and follow pin 6 there us a resister call R61.  you need to cut the trace to R61 and then feed the new signal from the oscillator to R61.  this will feed the new 4.33 clock signal in and get perfect colour in every mode.
Hey mamejay,
thanks for the link - I found that one myself a few weeks ago. I recently tried this version of the mod, which "seems" easier as it only involves a new oscillator and cutting the trace, then soldering etc, but it didn't work for me - still get no colour in US or Jap modes...I checked that when in Eu mode it was definitely using the new crystal, (disconnected the wires to the new crystal while running, and would then get no colour in Eu mode as well), so not sure what's going on...My Megadrive also has the "one switch" re the new crystal region mod, which works fine. It seems that when in US or Jap mode it's not using the new crystal... In your one, are you using the standard "two switch" region mod?