Change core clock from 59.18 hz to 60 hz

joseupp
Posts: 6
Joined: Sun Oct 25, 2020 2:07 pm
Been thanked: 2 times

Change core clock from 59.18 hz to 60 hz

Unread post by joseupp »

Hello
I want to change the clock of the neo geo system from the current 59.18 hz to 60 hz, I have downloaded quartus and the files to compile the core but I do not know what parameter the clock changes.

The problem I have is that the tv where it is connected mister is not able to synchronize with the pixel clock of neo geo and you get a scroll stutter every x seconds, and I tried all the vsync options and it is the same in all.

If someone is so kind to indicate me and apologize for my English, thanks in advance.
paulbnl
Posts: 117
Joined: Sun May 24, 2020 8:48 pm
Has thanked: 9 times
Been thanked: 49 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by paulbnl »

At Project Navigator at top left select IP Components.
Right click Entity "pll" -> Edit in parameter editor.

There you see Desired Frequency 96.0 & 48.0 Mhz. For 60Hz you need 60/59.18 x 96Mhz = 97.330180 and 48.665090. Enter those both at Desired Frequency and then make sure Actual Frequency matches exactly. Finally click Finish.
retrorepair
Posts: 257
Joined: Sun May 24, 2020 9:06 pm
Has thanked: 64 times
Been thanked: 13 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by retrorepair »

Just to add to this, I'm not sure it will help you. 59.18 isn't an unusual frequency for 15khz capable displays so I'd be more inclined to believe you have other issues.

Do any other cores work on this display? What is it?
joseupp
Posts: 6
Joined: Sun Oct 25, 2020 2:07 pm
Been thanked: 2 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by joseupp »

paulbnl wrote: Mon Oct 26, 2020 12:31 pm At Project Navigator at top left select IP Components.
Right click Entity "pll" -> Edit in parameter editor.

There you see Desired Frequency 96.0 & 48.0 Mhz. For 60Hz you need 60/59.18 x 96Mhz = 97.330180 and 48.665090. Enter those both at Desired Frequency and then make sure Actual Frequency matches exactly. Finally click Finish.
Thank you very much, it works perfect, now I have smooth scrolling without stuttering. Again, thank you very much
Insert Disk Two
Posts: 99
Joined: Sun May 24, 2020 7:59 pm
Has thanked: 6 times
Been thanked: 15 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by Insert Disk Two »

Can you please share the compiled core? I also have the same stuttering problem on my TV. Thanks!
joseupp
Posts: 6
Joined: Sun Oct 25, 2020 2:07 pm
Been thanked: 2 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by joseupp »

Insert Disk Two wrote: Sat Dec 05, 2020 1:53 pm Can you please share the compiled core? I also have the same stuttering problem on my TV. Thanks!
Hi

https://mega.nz/file/BFJUXRIS#ANTV25gld ... zLK3heeaZs
Insert Disk Two
Posts: 99
Joined: Sun May 24, 2020 7:59 pm
Has thanked: 6 times
Been thanked: 15 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by Insert Disk Two »

That's awesome, thank you so much!

Do you plan to keep it updated in the future?
joseupp
Posts: 6
Joined: Sun Oct 25, 2020 2:07 pm
Been thanked: 2 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by joseupp »

Insert Disk Two wrote: Sat Dec 05, 2020 2:57 pm That's awesome, thank you so much!

Do you plan to keep it updated in the future?
Yes
Insert Disk Two
Posts: 99
Joined: Sun May 24, 2020 7:59 pm
Has thanked: 6 times
Been thanked: 15 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by Insert Disk Two »

Great :)
Insert Disk Two
Posts: 99
Joined: Sun May 24, 2020 7:59 pm
Has thanked: 6 times
Been thanked: 15 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by Insert Disk Two »

Neogeo core got updated today. Anyone got a 60hz corrected version of it please? Thanks.
joseupp
Posts: 6
Joined: Sun Oct 25, 2020 2:07 pm
Been thanked: 2 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by joseupp »

Insert Disk Two wrote: Thu Jan 14, 2021 8:17 pm Neogeo core got updated today. Anyone got a 60hz corrected version of it please? Thanks.
Update 60hz
https://mega.nz/file/JIp0yQoZ#VvSgmo_Q2 ... eAaAV6RLWw
MostroW
Posts: 93
Joined: Tue Aug 18, 2020 3:32 pm
Has thanked: 26 times
Been thanked: 15 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by MostroW »

Maybe ask the developer to make it an switchable option in the MiSTer OSD?
Insert Disk Two
Posts: 99
Joined: Sun May 24, 2020 7:59 pm
Has thanked: 6 times
Been thanked: 15 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by Insert Disk Two »

Updates on Neogeo are done by Sorgelig himself and he does not want to include this option.
MostroW
Posts: 93
Joined: Tue Aug 18, 2020 3:32 pm
Has thanked: 26 times
Been thanked: 15 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by MostroW »

Ahhh ok, if he doesn't want to include that change i'd say there must be a perfectly good reason for that?
Then it's left to people themselves to recompile their custom core i guess.
Insert Disk Two
Posts: 99
Joined: Sun May 24, 2020 7:59 pm
Has thanked: 6 times
Been thanked: 15 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by Insert Disk Two »

Well when I asked him if he could implement it I was told "to buy a good TV" :)

Unfortunately it doesn't really have to do with a TV being good or not. So at least they are people out there who are doing it themselves. Pity this has to be done manually with every release
Insert Disk Two
Posts: 99
Joined: Sun May 24, 2020 7:59 pm
Has thanked: 6 times
Been thanked: 15 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by Insert Disk Two »

Any chance this can be patched for 60hz. This is a custom core with cropping.

http://temlib.org/pub/mister/crop/
Insert Disk Two
Posts: 99
Joined: Sun May 24, 2020 7:59 pm
Has thanked: 6 times
Been thanked: 15 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by Insert Disk Two »

Official NeoGeo core with 1080p crop is out. Looking forward for a 60hz patched version :mrgreen:
joseupp
Posts: 6
Joined: Sun Oct 25, 2020 2:07 pm
Been thanked: 2 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by joseupp »

Insert Disk Two wrote: Thu Feb 11, 2021 10:42 am Official NeoGeo core with 1080p crop is out. Looking forward for a 60hz patched version :mrgreen:
Update 60hz
https://mega.nz/file/wRwEgAxC#c99a8LP5Z ... NR0eWhs-Ug
Insert Disk Two
Posts: 99
Joined: Sun May 24, 2020 7:59 pm
Has thanked: 6 times
Been thanked: 15 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by Insert Disk Two »

Thanks for the awesome work, I do hope that at one point Sorgelig implements the option within the official core.
User avatar
uberyoji
Posts: 25
Joined: Sun May 24, 2020 11:03 pm
Has thanked: 1 time
Been thanked: 7 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by uberyoji »

I wish this option was included as well. 60hz fixes my wavy picture.
Also I wonder why Sorgelig says to buy a good tv. I have a Sony KV32FV310, I don't think it is bad lol.
There is an option like this on the cave core and it works great.
Thanks for the update joseupp.
Insert Disk Two
Posts: 99
Joined: Sun May 24, 2020 7:59 pm
Has thanked: 6 times
Been thanked: 15 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by Insert Disk Two »

Meanwhile there is another Neo Geo official core update :/ This cat and mouse game will never end
User avatar
uberyoji
Posts: 25
Joined: Sun May 24, 2020 11:03 pm
Has thanked: 1 time
Been thanked: 7 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by uberyoji »

Maybe joseupp will update us again.

Now if only jotego would add the option with the cps system. I see from his jtbin github that he is aware of the 60hz issue. Even had a twitter poll about it.
Insert Disk Two
Posts: 99
Joined: Sun May 24, 2020 7:59 pm
Has thanked: 6 times
Been thanked: 15 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by Insert Disk Two »

Yes, I have talked to him about 60hz and he decided to do a poll about it :)
glenfiay
Posts: 6
Joined: Sun May 24, 2020 7:41 pm
Been thanked: 3 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by glenfiay »

I haven't had any issue on PVM and BVM but I know some CRT such as Barco CRTs have synch issues with Neogeo MiSTer or legit Neogeo hardware
User avatar
uberyoji
Posts: 25
Joined: Sun May 24, 2020 11:03 pm
Has thanked: 1 time
Been thanked: 7 times

Re: Change core clock from 59.18 hz to 60 hz

Unread post by uberyoji »

joseupp wrote: Sat Feb 13, 2021 12:12 am
Insert Disk Two wrote: Thu Feb 11, 2021 10:42 am Official NeoGeo core with 1080p crop is out. Looking forward for a 60hz patched version :mrgreen:
Update 60hz
https://mega.nz/file/wRwEgAxC#c99a8LP5Z ... NR0eWhs-Ug
joseupp, do you think you could update us? Otherwise I might try to setup myself and provide an update on a regular basis.
If anyone has pointers to get me running up fast, please let me know. I will start by looking at the official GitHub page.
Post Reply