Quantcast

Results 1 to 12 of 12

Thread: Pixel perfect lagless Neo Geo on an HDTV (WIP)

  1. #1
    Road Rasher Bibin's Avatar
    Join Date
    Jun 2010
    Posts
    438
    Rep Power
    34

    Neogeo Pixel perfect lagless Neo Geo on an HDTV (WIP)

    Cross-posted from nesdev, sorry, I'm lazy.
    -----------

    I'll go into details when I have more of a chance to do a proper write-up, but I'm working on a solution that scales up the Neo Geo RGB output to exactly double the resolution to allow for unencumbered use on a modern display, like a TFT monitor or HDTV. The targeted output is DVI/HDMI, but for now I am using VGA since my FPGA dev board has the DAC on board, but not TMDS-capable outputs.

    The timings are exactly double that of the Neo Geo MVS, with a horizontal scan rate of ~31KHz and a vertical scan rate of 60Hz. There are absolutely zero frames of lag as an entire frame is not buffered but rather an alternating line buffer is used. Right now I am busy doing some rewiring to get all the colors working, so my initial tests only use a few bits from each color channel (initially just one!)

    Here are some progress pictures:






    I will post as I make more progress. I will be moving this to a different FPGA platform as this Altera DE2 isn't actually mine and it would be awful to have to stop half way through because I had to return a rented FPGA.

  2. #2
    ToeJam is a wiener Hero of Algol Guntz's Avatar
    Join Date
    Nov 2009
    Location
    Canada
    Age
    31
    Posts
    8,522
    Rep Power
    87

    Default

    That is really awesome! Any hope this proof of concept could be consolidated into a converter box for regular gamers?

  3. #3
    Road Rasher Bibin's Avatar
    Join Date
    Jun 2010
    Posts
    438
    Rep Power
    34

    Default

    Quote Originally Posted by Guntz View Post
    That is really awesome! Any hope this proof of concept could be consolidated into a converter box for regular gamers?
    I don't think it can be so easily packaged for an end user, as the way I'm doing it relies on clocking in pixels from the pixel clock (or some relation thereof). This could theoretically be adapted for any system that has similar timings and has an external DAC with the RGB bits separated (Sega System C comes to mind). This could work for any home console, but you'd have to provide 1) a good ADC for the analogue RGB and 2) a phase-locked loop to generate double the horizontal scan rate based on the console's TTL sync output. This design manages to be simple because the Neo Geo makes these signals available without any conversion. It also means I can probably fit this on a somewhat cheap CPLD and not have much trouble packaging it onto something tiny instead of a big FPGA dev board.

    We will cross that road when we get to it, though.

    On that note, here is the blue channel working 100% with the timings fixed to work nicely on both a modern LCD monitor and an old CRT monitor:




    The only thing stopping me from using full color right now is that I'm out of female header pins to use... other than that, it's pretty far along!
    Last edited by Bibin; 05-08-2014 at 01:44 AM.

  4. #4
    Road Rasher Bibin's Avatar
    Join Date
    Jun 2010
    Posts
    438
    Rep Power
    34

    Default

    I'm pretty much done with the development phase of this project:




    Optional scanlines as well:




    With the scanlines turned on, on a PC CRT monitor, it looks very authentic:



    Last edited by Bibin; 05-08-2014 at 02:20 PM. Reason: why the fuck won't the images show up

  5. #5
    Road Rasher Bibin's Avatar
    Join Date
    Jun 2010
    Posts
    438
    Rep Power
    34

    Default

    Here is it working:

  6. #6
    Newbie Nameless One
    Join Date
    Sep 2011
    Location
    Denmark
    Posts
    79
    Rep Power
    14

    Default

    This is an absurdly cool and innovative project. 'scribed.

  7. #7
    Wildside Expert fluxcore's Avatar
    Join Date
    Aug 2013
    Posts
    240
    Rep Power
    12

    Default

    I'm interested in this.

    I guess I kind of prefer the idea of an external line doubler (such as the BitBlitz which is some kind of development hell by the looks of things) though, since it would be much more universal. This appears to require a large number of connections (specifically in the bowels of the system) which probably isn't very externalisable/reusable. For instance, I have both an MVS and an AES - I can't imagine being able to swap it between the two very easily.

    Of course, I suppose it should be fairly cheap if it's just a CPLD.

  8. #8
    ToeJam is a wiener Hero of Algol Guntz's Avatar
    Join Date
    Nov 2009
    Location
    Canada
    Age
    31
    Posts
    8,522
    Rep Power
    87

    Default

    What's the big deal about modding an MVS board with this VGA add-on? It's completely worth it. I don't know if drilling more AES shells is though. I wouldn't do that even for component, not when RGB is easily available on the AV out port.

  9. #9
    Road Rasher Bibin's Avatar
    Join Date
    Jun 2010
    Posts
    438
    Rep Power
    34

    Default

    Quote Originally Posted by fluxcore View Post
    I'm interested in this.

    I guess I kind of prefer the idea of an external line doubler (such as the BitBlitz which is some kind of development hell by the looks of things) though, since it would be much more universal. This appears to require a large number of connections (specifically in the bowels of the system) which probably isn't very externalisable/reusable. For instance, I have both an MVS and an AES - I can't imagine being able to swap it between the two very easily.

    Of course, I suppose it should be fairly cheap if it's just a CPLD.
    Yeah, this is the sort of thing you'd build into the system. For a dedicated system though, anything that is doing conversion from the analogue format will be objectively worse than one that doesn't do that. With a good PLL and a decent ADC, this same concept could be utilized to make a lag-free generic RGB line doubler.

  10. #10
    Wildside Expert fluxcore's Avatar
    Join Date
    Aug 2013
    Posts
    240
    Rep Power
    12

    Default

    Quote Originally Posted by Guntz View Post
    What's the big deal about modding an MVS board with this VGA add-on? It's completely worth it. I don't know if drilling more AES shells is though. I wouldn't do that even for component, not when RGB is easily available on the AV out port.
    Oh sure, completely agree. I may have fiddled with the innards of my AES, but I really don't want to drill holes into the case. And MVSes are totally ripe for defamation I'm certainly looking to replace my GBS-8200 wherever possible (it has a few undesirable behaviours, including some lag), and this could do the trick nicely for the MVS, would just be nice for it to be a bit more generic

  11. #11
    Road Rasher Bibin's Avatar
    Join Date
    Jun 2010
    Posts
    438
    Rep Power
    34

    Default

    Quote Originally Posted by fluxcore View Post
    Oh sure, completely agree. I may have fiddled with the innards of my AES, but I really don't want to drill holes into the case. And MVSes are totally ripe for defamation I'm certainly looking to replace my GBS-8200 wherever possible (it has a few undesirable behaviours, including some lag), and this could do the trick nicely for the MVS, would just be nice for it to be a bit more generic
    Oh boy, don't get me started on the GBS-8200, there's just too much to go over...

  12. #12
    Wildside Expert fluxcore's Avatar
    Join Date
    Aug 2013
    Posts
    240
    Rep Power
    12

    Default

    Saw this on Hack-a-day today, nice!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •