Simulated Composite Video for PCXT Core
- spark2k06
- Core Developer
- Posts: 876
- Joined: Sat Jun 06, 2020 9:05 am
- Has thanked: 409 times
- Been thanked: 969 times
Simulated Composite Video for PCXT Core
Still in the testing phase...
Thank you @Mills for initiating this development and calculating the first RGB table from the corresponding patterns.
Thank you @Mills for initiating this development and calculating the first RGB table from the corresponding patterns.
- spark2k06
- Core Developer
- Posts: 876
- Joined: Sat Jun 06, 2020 9:05 am
- Has thanked: 409 times
- Been thanked: 969 times
Re: Simulated Composite Video for PCXT Core
I attach it so that you can try it out, there are several composite video games, You will also need the attached Main MiSTer, because this version also has the implementation of the new real FDD, and sorgelig has not yet released the release it needs:
http://nerdlypleasures.blogspot.com/201 ... phics.html
It is possible that when switching to composite video the colours do not come out well, deactivate and activate it until it comes out well... it is something that I have to correct, it has to do with the synchronisation of the OSD event.
Share screenshots!
http://nerdlypleasures.blogspot.com/201 ... phics.html
It is possible that when switching to composite video the colours do not come out well, deactivate and activate it until it comes out well... it is something that I have to correct, it has to do with the synchronisation of the OSD event.
Share screenshots!
- Attachments
-
- Main_MiSTer.zip
- (553.74 KiB) Downloaded 104 times
-
- PCXT_COMPOSITE.zip
- (1.3 MiB) Downloaded 107 times
-
- Top Contributor
- Posts: 1441
- Joined: Mon May 25, 2020 7:54 pm
- Has thanked: 497 times
- Been thanked: 467 times
Re: Simulated Composite Video for PCXT Core
VileR, of the ASCII art fame, is also quite an expert on all things CGA. Worth having a look perhaps: https://int10h.org/blog/2022/06/ibm-515 ... a-palette/
CRT SCR$ Project - building a collection of high-quality photos of CRT displays
CRT ART Books - retro-gaming books with authentic CRT photos
- spark2k06
- Core Developer
- Posts: 876
- Joined: Sat Jun 06, 2020 9:05 am
- Has thanked: 409 times
- Been thanked: 969 times
Re: Simulated Composite Video for PCXT Core
Issue with switching from normal mode to composite video solved. I attach the new binary and also provide the specific and experimental prerelease branch I have created:
https://github.com/MiSTer-devel/PCXT_Mi ... -composite
https://github.com/MiSTer-devel/PCXT_Mi ... -composite
- Attachments
-
- PCXT_COMPOSITE_02.zip
- (1.3 MiB) Downloaded 117 times
- LamerDeluxe
- Top Contributor
- Posts: 1239
- Joined: Sun May 24, 2020 10:25 pm
- Has thanked: 887 times
- Been thanked: 284 times
Re: Simulated Composite Video for PCXT Core
Great work! As an Amiga user at the time, I have no nostalgia for old PCs, but I have really been enjoying following the development of this core.
-
- Top Contributor
- Posts: 1311
- Joined: Mon Jul 06, 2020 9:37 pm
- Has thanked: 634 times
- Been thanked: 308 times
Re: Simulated Composite Video for PCXT Core
This is so completely awesome. Great job! I still haven't tried PCXT because I am way too busy working on constructing my arcade cabinet, but I am extremely excited about the core.
ao486 requires use of the scaler which adds a bit of lag. Does PCXT work with CRT VGA monitors when displaying CGA graphics with no lag, and does this composite simulation mode add any lag? Can CGA mode work on CRT TV's without the scaler and would this color mode work on that? Thanks!
ao486 requires use of the scaler which adds a bit of lag. Does PCXT work with CRT VGA monitors when displaying CGA graphics with no lag, and does this composite simulation mode add any lag? Can CGA mode work on CRT TV's without the scaler and would this color mode work on that? Thanks!
- spark2k06
- Core Developer
- Posts: 876
- Joined: Sat Jun 06, 2020 9:05 am
- Has thanked: 409 times
- Been thanked: 969 times
Re: Simulated Composite Video for PCXT Core
The colours are fixed when there are 16 colours on the screen:
On the other hand, as it is currently not possible to display the high-resolution screen properly or more than 16 colours, the composite mode (selectable from the OSD) is only applied in modes that support this display.
Now available in the pre-release branch:
https://github.com/MiSTer-devel/PCXT_Mi ... prerelease
I'm also attaching it here for you to try it out until I publish the next release.
On the other hand, as it is currently not possible to display the high-resolution screen properly or more than 16 colours, the composite mode (selectable from the OSD) is only applied in modes that support this display.
Now available in the pre-release branch:
https://github.com/MiSTer-devel/PCXT_Mi ... prerelease
I'm also attaching it here for you to try it out until I publish the next release.
- Attachments
-
- PCXT_COMPOSITE_03.zip
- (1.3 MiB) Downloaded 107 times
-
- Top Contributor
- Posts: 468
- Joined: Sun May 24, 2020 7:17 pm
- Has thanked: 35 times
- Been thanked: 99 times
Re: Simulated Composite Video for PCXT Core
Thanks for your hard work on this core !!!
CPC-Power Staff
Re: Simulated Composite Video for PCXT Core
That simulated output is great.
Going real, the Graphics Gremlin has a composite module which output could be activated. I'm testing it with the non-MiSTer ports and ATM I'm getting B&W image. I'm using an LCD so that might be the culprit. I suggest porting those changes to MiSTer so other people could test it also.
I'm getting composite output directly from a FPGA pin and just I'm adding a serial resistor of 170 Ohm aprox, so no higher voltage of 1V could reach the TV input.
Check one of the latest commits from the DeMiSTify devel branch.
Going real, the Graphics Gremlin has a composite module which output could be activated. I'm testing it with the non-MiSTer ports and ATM I'm getting B&W image. I'm using an LCD so that might be the culprit. I suggest porting those changes to MiSTer so other people could test it also.
I'm getting composite output directly from a FPGA pin and just I'm adding a serial resistor of 170 Ohm aprox, so no higher voltage of 1V could reach the TV input.
Check one of the latest commits from the DeMiSTify devel branch.
https://github.com/somhi/PCXT_DeMiSTify Non-MiSTer ports
https://github.com/sockitfpga/PCXT_SoCkit SoCkit FPGA (MiSTer) port
https://github.com/sockitfpga/PCXT_SoCkit SoCkit FPGA (MiSTer) port
-
- Top Contributor
- Posts: 1311
- Joined: Mon Jul 06, 2020 9:37 pm
- Has thanked: 634 times
- Been thanked: 308 times
Re: Simulated Composite Video for PCXT Core
Would this work for real composite output? It looks like PCXT is already supported: viewtopic.php?p=61543#p61543
- spark2k06
- Core Developer
- Posts: 876
- Joined: Sat Jun 06, 2020 9:05 am
- Has thanked: 409 times
- Been thanked: 969 times
Re: Simulated Composite Video for PCXT Core
In both the prerelease and main branches, I already left the original Graphics Gremlin file to handle the composite video output:somhi wrote: ↑Sat Oct 08, 2022 11:39 pm That simulated output is great.
Going real, the Graphics Gremlin has a composite module which output could be activated. I'm testing it with the non-MiSTer ports and ATM I'm getting B&W image. I'm using an LCD so that might be the culprit. I suggest porting those changes to MiSTer so other people could test it also.
I'm getting composite output directly from a FPGA pin and just I'm adding a serial resistor of 170 Ohm aprox, so no higher voltage of 1V could reach the TV input.
Check one of the latest commits from the DeMiSTify devel branch.
https://github.com/MiSTer-devel/PCXT_Mi ... omposite.v
Any developer who wants to test this module by taking the output to a MiSTer pin, just add the call in the cga.v module:
Code: Select all
// Composite video generation
cga_composite comp (
.clk(clk),
.lclk(lclk),
.hclk(hclk),
.video(video),
.hsync(hsync_int),
.vsync_l(vsync_l),
.bw_mode(bw_mode),
.comp_video(comp_video)
);
Re: Simulated Composite Video for PCXT Core
It's amazing. Your results show a satisfactory screen on a crt screen rather than an LCD monitor. However, the wrong timing on a 15khz rgb (ex. sony pvm) monitor is still not improving. I'm eagerly waiting for this. Is there anyone who can solve this?
- Newsdee
- Top Contributor
- Posts: 873
- Joined: Mon May 25, 2020 1:07 am
- Has thanked: 104 times
- Been thanked: 239 times
Re: Simulated Composite Video for PCXT Core
This is really amazing - I'm rediscovering the early PC game library when seen through this color mode!
Some games have a strong Apple II vibe (Adventure in Serenia), some are much better looking (Burger Time, Bruce Lee), others seem to not be designed for Composite but still show nice results (Buggy Rider).
Is there a list somewhere of compatible games?
Some games have a strong Apple II vibe (Adventure in Serenia), some are much better looking (Burger Time, Bruce Lee), others seem to not be designed for Composite but still show nice results (Buggy Rider).
Is there a list somewhere of compatible games?
- spark2k06
- Core Developer
- Posts: 876
- Joined: Sat Jun 06, 2020 9:05 am
- Has thanked: 409 times
- Been thanked: 969 times
Re: Simulated Composite Video for PCXT Core
Here is the listNewsdee wrote: ↑Mon Oct 17, 2022 1:36 pm This is really amazing - I'm rediscovering the early PC game library when seen through this color mode!
Some games have a strong Apple II vibe (Adventure in Serenia), some are much better looking (Burger Time, Bruce Lee), others seem to not be designed for Composite but still show nice results (Buggy Rider).
Is there a list somewhere of compatible games?
https://www.mobygames.com/attribute/she ... Id,29/p,4/
http://nerdlypleasures.blogspot.com/201 ... phics.html
- spark2k06
- Core Developer
- Posts: 876
- Joined: Sat Jun 06, 2020 9:05 am
- Has thanked: 409 times
- Been thanked: 969 times
Re: Simulated Composite Video for PCXT Core
New simulated composite video and up to 1K colours..., no huge tables, all formulas. Thanks again @Mills for your collaboration:
Soon in the official release, in the meantime, I attach binary for testing.
Soon in the official release, in the meantime, I attach binary for testing.
- Attachments
-
- PCXT_omposite_test.zip
- (1.21 MiB) Downloaded 126 times
- spark2k06
- Core Developer
- Posts: 876
- Joined: Sat Jun 06, 2020 9:05 am
- Has thanked: 409 times
- Been thanked: 969 times
Re: Simulated Composite Video for PCXT Core
Commit now available in the prerelease branch:
In case anyone wants to take a look at it, or find any point of improvement before releasing it for all users.
https://github.com/MiSTer-devel/PCXT_Mi ... 49cdb7e27d
In case anyone wants to take a look at it, or find any point of improvement before releasing it for all users.
https://github.com/MiSTer-devel/PCXT_Mi ... 49cdb7e27d