shmups.system11.org

Shmups Forum
 
* FAQ    * Search
 * Register  * Login 
It is currently Sat Jun 24, 2017 8:40 pm View unanswered posts
View active topics



Post new topic Reply to topic  [ 20 posts ] 
Author Message
 Post subject: CPS2 digital AV interface
PostPosted: Mon Feb 27, 2017 9:20 pm 


User avatar

Joined: 15 Dec 2012
Posts: 426
Location: Finland
CPS2 mainboard has digital video (384x224, 4bpc) and audio (24kHz i2s) readily available, making it relatively easy to losslessly hook the system up to a modern display. I've been working on a small add-on board that handles necessary format conversions, currently implementing integer scaling to HDTV formats (480p/720p/1080p/1200p) and audio upsampling to 48kHz.

There are some extra features that are planned which should be doable with little or no additional hardware:

-CEA timings compliancy (excl. refresh rate)
-non-integer scaling
-scanline overlay
-OSD plus control via CPS2 side buttons

The PCB still needs 1-2 revisions before it can be considered release quality. Ideally it could be fitted inside CPS2 case with just one extra hole for HDMI connector. Board design files, gerbers, firmware etc. will all be freely available once the project is more mature. Below is a couple photos of the current prototype (click for bigger versions).

Image Image Image

Also, big thanks for undamned for providing CPS2 hardware for the project.


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Mon Feb 27, 2017 10:54 pm 


User avatar

Joined: 26 Jan 2005
Posts: 336
Location: Paris=>HK=>Tokyo=>HK
Hooray ! Digital audio on CPS2 !
Well digital video will also be very nice.

Keep up the good work !
_________________
My sales thread (arcade PCBs, game OSTs & DVDs) : 2016/11/27..MASTER.VER. => added Kyuukyoku Tiger II F3


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Mon Feb 27, 2017 11:24 pm 



Joined: 16 Nov 2013
Posts: 256
Location: Tokyo, Japan
awesome!


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Mon Feb 27, 2017 11:30 pm 


User avatar

Joined: 04 Aug 2007
Posts: 455
Location: Europe
Amazing as usual :wink:
_________________
Image


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Tue Feb 28, 2017 12:15 am 


User avatar

Joined: 10 Feb 2015
Posts: 29
Incredible work. That's a beautiful board design. I'd love to add this to my Darksoft rig.


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Tue Feb 28, 2017 6:28 pm 


User avatar

Joined: 08 Mar 2015
Posts: 7
Location: Philly
SmokeMonster wrote:
Incredible work. That's a beautiful board design. I'd love to add this to my Darksoft rig.


I was just thinking the same thing. My gosh, all CPS2 games--arcade-perfect--on virtually any display. Sounds awesome.


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Tue Feb 28, 2017 7:09 pm 



Joined: 16 Apr 2015
Posts: 32
Very impressive!


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Tue Feb 28, 2017 8:13 pm 



Joined: 06 Dec 2011
Posts: 5
As long as sub-frame input lag, <3 this. Can't wait for the schematics so I can possibly stick this on a breadboard myself.


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Thu Mar 02, 2017 5:52 pm 



Joined: 13 Apr 2008
Posts: 97
Location: Herndon, VA
I need to follow this closely. Great work! Let me know if you want/need any help with manufacturing, etc. Between this, the CPS2 MultiKit, and the new case I designed for them I see a very slick DIY (easily built) kit possible.

Jasen
_________________
Jasen Hicks
http://www.JasensCustoms.com
http://www.facebook.com/jasenscustoms


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Thu Mar 02, 2017 5:59 pm 


User avatar

Joined: 08 Jan 2016
Posts: 256
This looks great. Are you scaling with a buffer to 1080p, or are you doing a line multiplier with tight timings?


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Fri Mar 03, 2017 9:39 am 


User avatar

Joined: 01 Feb 2005
Posts: 3700
Location: Almere, Netherlands
This is awesome news.
The resolution could be upscaled by 500%
That will get
1920X1120
It means you will lose (1120-1080) 40 lines on the top and bottom of the screen.
But regarding the source it would be just horizontal 8 lines less.
Not sure how bad the cps-II video will look with 4 lines cropped from the top and 4 lines cropped from the bottom.

300% will get you.
1152X672
_________________
Pixel_Outlaw wrote:
Good, hopefully it will return us to the dark ages of gaming where multiple people could play on one television and you actually had to have real friends.


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Fri Mar 03, 2017 9:54 am 


User avatar

Joined: 06 Mar 2006
Posts: 10388
Location: Germany
Quote:
The resolution could be upscaled by 500%
That will get 1920X1120

not all displays support 4:3 AR for 16:9 source material and many users prefer to play CPS2 slightly wider than 4:3.


Top
 Online Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Sun Mar 05, 2017 5:58 pm 


User avatar

Joined: 15 Dec 2012
Posts: 426
Location: Finland
Dragon Warrior Jasen wrote:
I need to follow this closely. Great work! Let me know if you want/need any help with manufacturing, etc. Between this, the CPS2 MultiKit, and the new case I designed for them I see a very slick DIY (easily built) kit possible.
Thanks for the proposal. I was planning to just release the project as a DIY design once it's nearer completition, but if there's enough interest then it might make sense to look into manufacuring pre-assembled boards as well.

mikejmoffitt wrote:
This looks great. Are you scaling with a buffer to 1080p, or are you doing a line multiplier with tight timings?
Currently it's a simple line multiplier, so basically no latency but not perfect display compatibility either. The FPGA has enough block RAM to store at least 40 input scanlines, so buffering can be used to resolve line count discrepancies up to 1080p. Generation of suitable pixel clock will be more challenging: e.g. for frame-locked 1080p output, 2200*1125=2475000 pixel clock cycles should ideally be generated each frame while CPS2 outputs 512*262=134144 cycles. Exact (2475000/134144)=(309375/16768) ratio is probably unattainable even with a cascade of fractional PLLs, but I have 2 ideas I've been planning to try out:

1. Generation of near-ideal pixel clock (e.g. 147.6MHz for 1080p), and then dynamically adjusting one blanking line length to keep output frame-locked. Not sure how displays will react to this. Probably at least some will accept that fine if adjustment is no more than a couple pixels.

2. Slightly relaxed CEA timings to allow suitable PLL ratio. In thet 1080p example, total output width of 2227 would allow ratio of (2505375/134144)=(19125/1024)=(153/32)*(125/32) which should be implementable with 2 cascaded PLLs.

Fudoh wrote:
not all displays support 4:3 AR for 16:9 source material and many users prefer to play CPS2 slightly wider than 4:3.
Suitable integer-multiplied resolutions for near-correct aspect ratio are 1152x896 and 1536x1120, the former fitting nicely into 1280x960 frame and the latter almost nicely into 1920x1080 frame.


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Mon Mar 06, 2017 2:40 am 



Joined: 13 Apr 2008
Posts: 97
Location: Herndon, VA
marqs wrote:
Thanks for the proposal. I was planning to just release the project as a DIY design once it's nearer competition, but if there's enough interest then it might make sense to look into manufacturing pre-assembled boards as well.


Any time. I have a number of good quality manufacturing contacts both inside the US and out that I have used for my small contributions to the hobby. Might be a good resource for those that are a bit less adept at soldering, manufacturing, and sourcing parts or simply don't want to deal with it. In any case, Ill be getting at least one made up to install and test out.
_________________
Jasen Hicks
http://www.JasensCustoms.com
http://www.facebook.com/jasenscustoms


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Wed Mar 08, 2017 4:09 pm 



Joined: 30 Nov 2015
Posts: 63
Thank you marqs for just another amazing project! :mrgreen:


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Wed Mar 08, 2017 7:45 pm 


User avatar

Joined: 05 Nov 2013
Posts: 4894
Location: EU
Most cps games at 1120 fit amazingly well on a 1080 panel... IF you can switch/pan the image up or down a few lines.
Because sometimes health bars/meters are placed either at the top or the bottom.
_________________
Image
Goompaolo9500 wrote:
Puyos are basically the things that you should shoot to counter nuisance puyos


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Sat Mar 11, 2017 5:28 am 



Joined: 30 May 2016
Posts: 37
Location: USA - West Coast
Very cool. Looking foreward to this. CPS II is my favorite arcade hardware.


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Tue Apr 11, 2017 5:29 pm 


User avatar

Joined: 29 Jan 2005
Posts: 3244
Location: Phoenix
Brief discussion about the board and installation:

https://www.youtube.com/watch?v=xfkiiweuuns

-ud
_________________
Righteous Super Hero / Righteous Love


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Tue Apr 11, 2017 8:58 pm 


User avatar

Joined: 18 Aug 2008
Posts: 7192
Location: Alingsås, Sweden
This is amazing.
_________________
Image | My games - http://www.emphatic.se | Custom shmup move strips! | Now featuring Storm Blade English move strip!
RegalSin wrote:
Street Fighters. We need to aviod them when we activate time accellerator.


Top
 Offline Profile  
 
 Post subject: Re: CPS2 digital AV interface
PostPosted: Wed May 03, 2017 1:43 pm 


User avatar

Joined: 29 Jan 2005
Posts: 3244
Location: Phoenix
Rough 1080p Demo (on a BenQ RL2460):

https://www.youtube.com/watch?v=jZYCWEWsxYw

-ud
_________________
Righteous Super Hero / Righteous Love


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ] 

All times are UTC


Who is online

Users browsing this forum: 4fxtwin, Fudoh, Yahoo [Bot] and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Space Pilot 3K template by Jakob Persson
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group