New feature: YPbPr/RGsB output

https://github.com/mist-devel/mist-board/wiki

Moderators: Mug UK, Zorro 2, spiny, Greenious, Moderator Team

User avatar
DrOG
Captain Atari
Captain Atari
Posts: 423
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: New feature: YPbPr/RGsB output

Postby DrOG » Tue Sep 11, 2018 2:47 pm

MasterOfGizmo wrote:
DrOG wrote:You're right, but I'm not familiar with FPGA programming, and there are some abandoned cores, like Apple ][ or ColecoVision, which have non-standard (reversed) sync polarity...


I just adjusted the sync polarity of the apple ][ core
....
But i am too stupid to use it. How does one load/run a nib image? Or has this been broken by firmware updates?

Once it's working it should be rather easy to add YPbPr support. Adding 15kHz support is a little more work as the scandoubler includes vital parts of the video circuitry and cannot just be omitted.

Now sync signal's polarity seems to be OK, but .NIB load does not work, tried it with the earlier core version from 2016 as well, bad also. It certainly worked, I remember that played Choplifter some months (a year?) ago. Perhaps some of the firmware updates broke it as you suspects.

Thanks for your effort!

User avatar
MasterOfGizmo
Atari God
Atari God
Posts: 1167
Joined: Fri Feb 08, 2013 12:15 pm
Contact:

Re: New feature: YPbPr/RGsB output

Postby MasterOfGizmo » Wed Sep 12, 2018 6:32 am

DrOG wrote:NIB load does not work, tried it with the earlier core version from 2016 as well, bad also. It certainly worked, I remember that played Choplifter some months (a year?) ago. Perhaps some of the firmware updates broke it as you suspects.


Someone willing to help may test earlier firmware versions and figure out when exactly NIB loading broke. That may help finding the root cause.

Edit: Nevermind, I "fixed" the problem. There have been recent changes in the firmware which allow to support multiple disk images to be used simultaneously in one core (i think). I hoped this would have been done in a backward compatible way. But now it works again, anyway. So next is YPbPr support for the apple II.
MIST board, FPGA based Atari STE and more: https://github.com/mist-devel/mist-board/wiki

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2603
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: New feature: YPbPr/RGsB output

Postby Sorgelig » Wed Sep 12, 2018 7:37 am

MasterOfGizmo wrote:I hoped this would have been done in a backward compatible way.

Actually it is backward compatible if core uses correct S parameter. Some cores have strange parameter like S1 which never supposed to be correct as indexes are set by submenu number. Actually there are just couple cores used this strange parameters and can be easily corrected (as you already did). Otherwise multiple images are compatible.

slingshot
Captain Atari
Captain Atari
Posts: 180
Joined: Mon Aug 06, 2018 3:05 pm

Re: New feature: YPbPr/RGsB output

Postby slingshot » Wed Sep 12, 2018 8:45 am

MasterOfGizmo wrote:
DrOG wrote:NIB load does not work, tried it with the earlier core version from 2016 as well, bad also. It certainly worked, I remember that played Choplifter some months (a year?) ago. Perhaps some of the firmware updates broke it as you suspects.


Someone willing to help may test earlier firmware versions and figure out when exactly NIB loading broke. That may help finding the root cause.

Edit: Nevermind, I "fixed" the problem. There have been recent changes in the firmware which allow to support multiple disk images to be used simultaneously in one core (i think). I hoped this would have been done in a backward compatible way. But now it works again, anyway. So next is YPbPr support for the apple II.

When I did the change, I didn't know that cores are using S1 as the first disk. The 1 was simply ignored by the old firmware. It could be used as "1" for the first drive, "2" as second instead of "0" and "1", but it's too late to revert, I think. And as Sorgelig wrote, S1 was not really correct anyway.

User avatar
MasterOfGizmo
Atari God
Atari God
Posts: 1167
Joined: Fri Feb 08, 2013 12:15 pm
Contact:

Re: New feature: YPbPr/RGsB output

Postby MasterOfGizmo » Wed Sep 12, 2018 11:33 am

slingshot wrote:When I did the change


Turned out it's not related to that string but a general build-to-build instability of the apple core. I just released a apple ii core that seems to work fine with loading NIBs and also has (untested) support for ypbpr.
MIST board, FPGA based Atari STE and more: https://github.com/mist-devel/mist-board/wiki

slingshot
Captain Atari
Captain Atari
Posts: 180
Joined: Mon Aug 06, 2018 3:05 pm

Re: New feature: YPbPr/RGsB output

Postby slingshot » Wed Sep 12, 2018 11:52 am

MasterOfGizmo wrote:Turned out it's not related to that string but a general build-to-build instability of the apple core.

A proper sdc file in this case can help a lot (decoupling async clocks - but synchronizers still has to be used, which are missing at least from user_io in a lot of cores, this can result in unstable sd reading - , give the delays to the input-output ports, mostly to the SDRAM).

DanyPPC
Captain Atari
Captain Atari
Posts: 300
Joined: Tue Feb 21, 2017 7:02 am

Re: New feature: YPbPr/RGsB output

Postby DanyPPC » Wed Sep 12, 2018 12:45 pm

Gehstock wrote:[ColecoVision_MiST]
Edit : Sound should repaired


Now it works with correct colors and sound, but USB joypad doesn't work on games, and games have graphic problems, like Antarctic Adventure.

User avatar
MasterOfGizmo
Atari God
Atari God
Posts: 1167
Joined: Fri Feb 08, 2013 12:15 pm
Contact:

Re: New feature: YPbPr/RGsB output

Postby MasterOfGizmo » Wed Sep 12, 2018 2:04 pm

slingshot wrote:A proper sdc file in this case can help a lot (decoupling async clocks - but synchronizers still has to be used, which are missing at least from user_io in a lot of cores, this can result in unstable sd reading - , give the delays to the input-output ports, mostly to the SDRAM).


Yes, the user_io wasn't a master piece and is likely to be the culprit in the apple core as well as the msx core. Are there improved versions?
MIST board, FPGA based Atari STE and more: https://github.com/mist-devel/mist-board/wiki

slingshot
Captain Atari
Captain Atari
Posts: 180
Joined: Mon Aug 06, 2018 3:05 pm

Re: New feature: YPbPr/RGsB output

Postby slingshot » Wed Sep 12, 2018 4:20 pm

MasterOfGizmo wrote:
slingshot wrote:A proper sdc file in this case can help a lot (decoupling async clocks - but synchronizers still has to be used, which are missing at least from user_io in a lot of cores, this can result in unstable sd reading - , give the delays to the input-output ports, mostly to the SDRAM).


Yes, the user_io wasn't a master piece and is likely to be the culprit in the apple core as well as the msx core. Are there improved versions?

Try the one from the C16 core, it should be a drop-in replacement. Or Sorgelig's mist_io version, but it has a slight interface change.

slingshot
Captain Atari
Captain Atari
Posts: 180
Joined: Mon Aug 06, 2018 3:05 pm

Re: New feature: YPbPr/RGsB output

Postby slingshot » Wed Sep 12, 2018 7:23 pm

I've peeked at the core, I think the spi_controller.vhd can be replaced with the same direct approach as in the 1541. It would make the disk much more reliable.

User avatar
DrOG
Captain Atari
Captain Atari
Posts: 423
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: New feature: YPbPr/RGsB output

Postby DrOG » Sun Sep 23, 2018 6:55 am

Hi!

I was very busy in the last two weeks (private life and work as well), so had no time to test the new features thoroughly.

The Apple II core works flawless with YUV output (screenshot attached).

Found a new arcade 'Dominos' from Gehstock, works nice over VGA (see second screenshot), it' similar to TRON:
https://github.com/Gehstock/Mist_FPGA/t ... ST/release

Found in his repository 2 new Sega console cores as well, a Game Gear and an SG-1000. Tried both, although they have a 640x480@60Hz video out, they are not compatible with my picky TV - used my homemade adapter to convert the RGB video to YUV, sorry for the poor picture quality. The second one is not working, but the first works with some games, tried Frogger, but was unable ot start (Start button is inoperational, which is a known bug).

I want to thank to all who are participating in these projects: MasterOfGizmo is back, thanks to him Gehstock has a working MiST again, slingshot is improving the VIC20 core, GreyRogue and Sorgelig are improving the PC Engine core on MiSTer - perhaps someday someone will port their work to MIST. It was untimely to bury this FPGA, maybe this is the beginning of a second Renaissance?

Cheers: Gábor
You do not have the required permissions to view the files attached to this post.

User avatar
MasterOfGizmo
Atari God
Atari God
Posts: 1167
Joined: Fri Feb 08, 2013 12:15 pm
Contact:

Re: New feature: YPbPr/RGsB output

Postby MasterOfGizmo » Sun Sep 23, 2018 9:53 am

Here's an image of the setup i use for my Samsung TV. Those short cables going to the TV came with the TV.

Image

I've made a little PCB for this. I'll ask lotharek if he'd like to produce a few.
MIST board, FPGA based Atari STE and more: https://github.com/mist-devel/mist-board/wiki

User avatar
DrOG
Captain Atari
Captain Atari
Posts: 423
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: New feature: YPbPr/RGsB output

Postby DrOG » Sun Sep 23, 2018 10:59 am

Nice!

I use my own-manufactured converter described in this topic earlier, if cores are not native compatible with my TV's (rather picky) VGA (or less sensitive) SCART or component input:
viewtopic.php?f=115&t=31006&start=50#p333402

It gives a nice sharp picture if input is interlaced, but washed video if the source is progressive.

Cheers: Gábor


Return to “MiST”

Who is online

Users browsing this forum: goran and 4 guests