MegaDrive 1 CXA1645 mod

Discussion in 'Modding and Hacking - Consoles and Electronics' started by Bearking, Mar 29, 2011.

  1. Bearking

    Bearking Konsolkongen

    Joined:
    Aug 2, 2010
    Messages:
    856
    Likes Received:
    100
    Awsum! Alles klapt in the end...

    This is probably as good as it gets. I'm very happy with it :)
     
  2. Emperor Udan

    Emperor Udan Spirited Member

    Joined:
    May 12, 2011
    Messages:
    100
    Likes Received:
    1
    The same for me, my picture is near perfect. So near that for me it don't need to be better, and i'm a perfectionnist.
     
  3. Druidic teacher

    Druidic teacher Officer at Arms

    Joined:
    Jun 6, 2006
    Messages:
    3,643
    Likes Received:
    129
    x
     
    Last edited: Jun 22, 2017
  4. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,888
    Likes Received:
    249
    I think I mentioned it already ...

    Two things:
    VRAM is too close to the encoder

    And I was not sure about the chroma carrier but it seems like the chroma carrier clock on the MD is too strong. On other machines using the CXA1145 the image is perfect or near perfect.

    On my own personal designs using the CXA1145 (SUPERGUN), I have dot crawl problem but that's caused by thermal fluctuations on the quartz oscillator crystal.

    If I change the circuit for an square wave generator (just like the square wave signal the MD sends to the CXA chip) I'll get rid of the dot crawl but I'll get JAGGIES and crappy RGB output on the buffer ....

    Nice, huh ? :shrug:
     
  5. Druidic teacher

    Druidic teacher Officer at Arms

    Joined:
    Jun 6, 2006
    Messages:
    3,643
    Likes Received:
    129
    x
     
    Last edited: Jun 22, 2017
  6. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,888
    Likes Received:
    249

    Maybe tinkering with the values of the existing parts on the circuitry already on the MD... Maybe reducing the value of the capacitor which sends the Chroma clock to the encoder IC is a good start ...
     
  7. TmEE

    TmEE Peppy Member

    Joined:
    Aug 13, 2008
    Messages:
    362
    Likes Received:
    1
    You need a RC filter to cut down the corners of the square wave. There actually should be one in MD, but the capacitor is on the weak side.
    VRAM too close to video is one thing to consider, but then again, MDs in same board version have it and don't have it so there's more to it...
     
  8. SGGG2

    SGGG2 Active Member

    Joined:
    Dec 30, 2010
    Messages:
    40
    Likes Received:
    0
    Hey, this worked for me, too! Thanks link83!!! :clap::clap::clap:

    There's still a hint of jailbars, but they're invisible when I set noise reduction on the Optoma HD3000 at maximum.

    (Scaler chain is XRGB-3 > Gefen VGA to DVI Scaler plus > Optoma)
     
  9. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,888
    Likes Received:
    249
    It's impossible to completely get rid of the jailbars because all Yamaha VDPs are based on the Texas Instruments TMS9918 and that chip do suffer of the jailbars effect too ... :lol:

    The MSX2/2+ (V9938/V9958) is also plagged with the jailbars stuff. Even the V9990 chip (does not have anything from the TMS9918 in it) has some issues with these jailbars.

    Oh well. Glad to know you guys could figure out means of making it acceptable. :thumbsup:
     
  10. Druidic teacher

    Druidic teacher Officer at Arms

    Joined:
    Jun 6, 2006
    Messages:
    3,643
    Likes Received:
    129
    x
     
    Last edited: Jun 22, 2017
  11. SGGG2

    SGGG2 Active Member

    Joined:
    Dec 30, 2010
    Messages:
    40
    Likes Received:
    0
    Yeah, that's far better. I slightly warped pin 49, and I was very careful. I've been looking for a way to get rid of the jailbars for a year now, and nothing was going to stop me.
     
  12. Lum

    Lum Officer at Arms

    Joined:
    Sep 30, 2010
    Messages:
    3,234
    Likes Received:
    43
    Then that striking revelation is true after all? I thought I was just coming off as a naysayer when I'd suggested the possibility... Such a MD graphics architecture flaw gone largely unexplained so long after release, is big news! Too bad any involved chip designers have likely moved on. I doubt we'll ever get confirmation from the source.:-(

    What you're saying would suggest all standard MD based devices have identical RGB artifacts under equal conditions. (proper cables, no outside interference like TV settings, etc). No matter its model and revision. Whether or not 32X, Sega CD, SMS mode, or other upgrades are involved. Given those still must use the console's VDP. I don't recall any significant VDP improvements being done in MD's life. Perhaps it may have messed with game compatibility too much?

    Which leads me to another question I never even considered to ask. Do the Pico, MegaPlay, or MegaTech also experience these bars? They're just different enough it might be fun to look into.
     
    Last edited: Nov 21, 2011
  13. bart_simpson

    bart_simpson Dauntless Member

    Joined:
    May 13, 2011
    Messages:
    768
    Likes Received:
    18
    Ok with my offical rgb cable for my model one it reduces the lines aka jail bars.

    I can post a nice picture of the board of my rgb cable and what chips are one there.
     
  14. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,888
    Likes Received:
    249
    [​IMG]

    This awful image is output from a Yamaha YM2302C chip (V9938) composite output pin.

    Board layout is pretty poor. The computer in question is an NMS-8020 that was converted (by myself) into an MSX2. I used leftover parts and the VDP was salvaged from an 80 columns expansion cartridge which was meant to be used on MSX1 computers (what a waste of a great VDP chip lol :lol:).

    There's a LOT of room for improvement but I would need to use RGB instead.

    Edit: If you look at the picture closely you will notice that along with the usual jailbars from the VDP DRAM refresh cycle you see fuzzy noise. That's noise coming from the Z80 bus. ^_^



    (oh and also there's a bit of fuzziness from JPEG compression too) ;)
     
    Last edited: Nov 22, 2011
  15. sdekaar

    sdekaar Rapidly Rising Member

    Joined:
    Apr 15, 2011
    Messages:
    95
    Likes Received:
    0
    Without pin 50 connected no more jailbars on my plasma.
    thanks for the tips guys :)


    (japanese megadrive (haa-2510 ic bd m5 VA1 837-6832)
    rgb cable
    original ac adaptator 9v/1.2a +step-down converter 220/110
    rgb cable
    tv 60pk250)
     
    Last edited: Apr 8, 2012
  16. keropi

    keropi Familiar Face

    Joined:
    Feb 2, 2011
    Messages:
    1,071
    Likes Received:
    70
    can the same workaround be applied on the SMS2? I added an rgb-out on my console and I get those lines, IIRC the sms2 uses the same sony chip... has anyone looked at this by any chance?
     
    Last edited: May 3, 2012
  17. bart_simpson

    bart_simpson Dauntless Member

    Joined:
    May 13, 2011
    Messages:
    768
    Likes Received:
    18
    Try a crt tv and there are no jailbars on a crt tv with scart rgb.
     
  18. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,888
    Likes Received:
    249
    Actually the original complaint from Bearking (the OP) was how the blue had jailbars on RGB. Turns out we discovered that the CHROMA carrier frequency was being irradiated to the bue input pin of the encoder and was being aplified by the RGB buffer. That was the whole problem here.

    Pin 4 of the encoder chip is the blue input ... Guess what, pins 5 and 6 are the CHROMA carrier input pins. :)
     
    Last edited: May 12, 2012
  19. Lum

    Lum Officer at Arms

    Joined:
    Sep 30, 2010
    Messages:
    3,234
    Likes Received:
    43
    Hardware engineers missed that back in the 80s and we're only now discovering the problem... Geez.
     
  20. Druidic teacher

    Druidic teacher Officer at Arms

    Joined:
    Jun 6, 2006
    Messages:
    3,643
    Likes Received:
    129
    x
     
    Last edited: Jun 22, 2017

Share This Page