gyurco / Next186

GNU General Public License v3.0
13 stars 10 forks source link

Simulated composite video for CGA modes #16

Open spark2k06 opened 2 years ago

spark2k06 commented 2 years ago

I am opening a new issue, but it is rather a feature that may be of interest to you for this core.

This would be to simulate composite video. For this, starting from some posts published in the vogons forum by user VileR, in which he refers to the composite_test.cpp by Andrew Jenner sources, the user @mills helped me to interpret it and finally I have implemented it in the PCXT core that I started back in March of this year, this would be the key file:

https://github.com/MiSTer-devel/PCXT_MiSTer/blob/main/rtl/video/cga_vgaport.v

There is an interesting catalogue of exclusive games for this type of video, this alone makes it worthwhile:

https://www.mobygames.com/attribute/sheet/attributeId,29/p,4/

And here are some examples of composite video simulated from the PCXT core :-)

03 05 02 01

gyurco commented 2 years ago

That looks really good. I'll investigate to use your cga_vgaport module in Next186.

somhi commented 2 years ago

Hi Gyurco!
It may be of interest to you that there is also a MiST port for PCXT core. https://github.com/somhi/PCXT_DeMiSTify/tree/main/mist It's been a while I haven't asked a friend to test it in MiST/MiSTica, but I assume it should run. The only caveat of the MiST port is that at the moment we are still using an UART port to load the OS through serdrive (XT IDE) and MiST board does not have external UART pins available.