Neo Geo CPU Overclocking?
Neo Geo CPU Overclocking?
Some really good NEO-GEO games (like Metal Slug or Shock Troopers series) are suffering from slowdowns... Is it possible to overclock the NEO-GEO core to make 68000 CPU 2x faster like some MAME emulators can do? How much work is required to do that? Something like Turbo mode of SNES core
-
- Posts: 237
- Joined: Sat Aug 22, 2020 3:08 am
- Has thanked: 27 times
- Been thanked: 50 times
Re: Neo Geo CPU Overclocking?
Great question! Metal Slug 2 is an outstanding game and even while playing the optimized hack of Metal Slug 2 Turbo, the game still has significant slowdown. I can't help you when it comes to the feasibility of a Turbo CPU mode for the NeoGeo core, but I certainly second your motion! If possible, a Turbo mode on the NeoGeo core would be a gamechanger.
Re: Neo Geo CPU Overclocking?
Hi there,
Here is a modified NeoGeo_MiSTer core updated so that most components have a double clock speed ( MC68000 will run at 24MHz ).
This nearly eliminates all slow downs in Metal Slug 2 .
This is a quick and dirty hack while waiting for a better implementation from one of our expert FPGA developers.
I have attached the .rbf file as well as the modified source code ( .patch file ) if anyone is interested in checking the modifications I have done.
The source code has been forked from the official github at release 20200928.
Be aware that this core does only work on a handful of games, for the same reason an overclocked MVS hardware would: the LSPC ( GPU ) is not overclocked to keep the video synchronization and that may result in video glitches depending on how the game was programmed at the first place.
So please install this .rbf file alongside the official one and use it only on specific games.
Here is a modified NeoGeo_MiSTer core updated so that most components have a double clock speed ( MC68000 will run at 24MHz ).
This nearly eliminates all slow downs in Metal Slug 2 .
This is a quick and dirty hack while waiting for a better implementation from one of our expert FPGA developers.
I have attached the .rbf file as well as the modified source code ( .patch file ) if anyone is interested in checking the modifications I have done.
The source code has been forked from the official github at release 20200928.
Be aware that this core does only work on a handful of games, for the same reason an overclocked MVS hardware would: the LSPC ( GPU ) is not overclocked to keep the video synchronization and that may result in video glitches depending on how the game was programmed at the first place.
So please install this .rbf file alongside the official one and use it only on specific games.
- Attachments
-
- 20200928_24MHz.patch.zip
- (2.2 KiB) Downloaded 818 times
-
- NeoGeo-24MHz_20201216.rbf.zip
- (1.21 MiB) Downloaded 735 times
Re: Neo Geo CPU Overclocking?
A different patch, this time with only the CPU overclocked to 24MHz.
It seems to remove some subtle visual glitches in Metal Slug 2. Not sure if this affects the performance negatively compared to the previous patch (which overclocks more components).
It seems to remove some subtle visual glitches in Metal Slug 2. Not sure if this affects the performance negatively compared to the previous patch (which overclocks more components).
- Attachments
-
- 20200928_24MHz_cpu_only.patch.zip
- (4.5 KiB) Downloaded 743 times
-
- NeoGeo-24MHz-cpu-only_20201217.rbf.zip
- (1.22 MiB) Downloaded 749 times
Re: Neo Geo CPU Overclocking?
Hi. Yes, Metal Slug 2 is well known for its terrible slowdowns (some people like them though). Multiple other games are impacted as well, like Storm Troopers 2 for example.
Take a look at the following video, shot from real hardware: https://youtu.be/VY9oFmTF_PM.
Re: Neo Geo CPU Overclocking?
I've just seen video.. it's very visible!Cyril1980 wrote: ↑Fri Dec 18, 2020 2:04 pm Take a look at the following video, shot from real hardware: https://youtu.be/VY9oFmTF_PM.
Re: Neo Geo CPU Overclocking?
There's a metal slug 2 turbo patch floating about on the internet: some of the problem is an error in the game's code that can be fixed.
I believe it is in mame as mslug2t.
I'm not sure if it is in the various darksoft packs
Edit: It's in the mister romset.xml as 'Metal Slug 2 (Turbo Hack)'
I believe it is in mame as mslug2t.
I'm not sure if it is in the various darksoft packs
Edit: It's in the mister romset.xml as 'Metal Slug 2 (Turbo Hack)'
Re: Neo Geo CPU Overclocking?
Partially fixed, sadly. There are still slowdowns with it...zakk4223 wrote: ↑Fri Dec 18, 2020 5:01 pm There's a metal slug 2 turbo patch floating about on the internet: some of the problem is an error in the game's code that can be fixed.
I believe it is in mame as mslug2t.
I'm not sure if it is in the various darksoft packs
Edit: It's in the mister romset.xml as 'Metal Slug 2 (Turbo Hack)'
- Aspie
- Posts: 188
- Joined: Sat Sep 26, 2020 1:07 pm
- Location: Manchester
- Has thanked: 20 times
- Been thanked: 47 times
- Contact:
Re: Neo Geo CPU Overclocking?
Thanks for this Cyril. Metal Slug mission 5 when there are loads of soldiers on screen trying to jump on your tank, this version certainly makes a difference with no slow down.
-
- Posts: 237
- Joined: Sat Aug 22, 2020 3:08 am
- Has thanked: 27 times
- Been thanked: 50 times
Re: Neo Geo CPU Overclocking?
Absolutely brilliant work. From what I can tell this doesn't seem to affect any other games negatively, meaning everything runs much smoother and optimized. Metal Slug 2 with this CPU overclock and using the Turbo ROM hack removes 90% of the slowdown. Essentially, the game is much more enjoyable now.
Is there a way you can add this to the main repo of the official core? This feature is a gamechanger and I just want everyone to be able to experience it with ease.
Is there a way you can add this to the main repo of the official core? This feature is a gamechanger and I just want everyone to be able to experience it with ease.
Re: Neo Geo CPU Overclocking?
It is really a hack, it would not be great to include this in the current state into the main repo IMHO.KremlingKuthroat19 wrote: ↑Fri Dec 18, 2020 8:14 pm Absolutely brilliant work. From what I can tell this doesn't seem to affect any other games negatively, meaning everything runs much smoother and optimized. Metal Slug 2 with this CPU overclock and using the Turbo ROM hack removes 90% of the slowdown. Essentially, the game is much more enjoyable now.
Is there a way you can add this to the main repo of the official core? This feature is a gamechanger and I just want everyone to be able to experience it with ease.
The best would probably be to track down the clock signals inside the LSPC and also overclock those that do not alter the video synchronization.
This would require a developer with very good understanding of the neogeo internals I suppose.
But thanks a lot for your super positive feedback!
-
- Posts: 237
- Joined: Sat Aug 22, 2020 3:08 am
- Has thanked: 27 times
- Been thanked: 50 times
Re: Neo Geo CPU Overclocking?
As you saw in my other thread about Windjammers, there are some issues that arise when using the CPU overclock hack.
However, Metal Slug 2 was such a better experience and is my favorite Neo Geo game so it'd be really cool to get this officially added to the core, but it'd need to be implemented correctly so that game compatibility isn't affected.
Are there any other games that have slowdown issues besides the Metal Slug series that any of you are aware of? Regardless, maybe Furtek or Jotego could look to see if this could be implemented as a side project. It'd be really cool and would be the cherry on top for this core as it's pretty amazing as is.
However, Metal Slug 2 was such a better experience and is my favorite Neo Geo game so it'd be really cool to get this officially added to the core, but it'd need to be implemented correctly so that game compatibility isn't affected.
Are there any other games that have slowdown issues besides the Metal Slug series that any of you are aware of? Regardless, maybe Furtek or Jotego could look to see if this could be implemented as a side project. It'd be really cool and would be the cherry on top for this core as it's pretty amazing as is.
- Alkadian
- Top Contributor
- Posts: 728
- Joined: Thu May 28, 2020 9:55 am
- Has thanked: 294 times
- Been thanked: 119 times
Re: Neo Geo CPU Overclocking?
@Cyril1980,
I have finally managed to try your patch. It's fantastic! Many thanks for that. I have experienced no slow down at all with MSL2 which is one of my favourite games of all times! Well done!
Re: Neo Geo CPU Overclocking?
yeah, I've just beaten this game. Gameplay totally changed, nice and smooth. Love it
Re: Neo Geo CPU Overclocking?
To be honest I am completely lost here... I've been running emulators since 20 years and just a short while ago I moved to FPGA only because I've been surrounded by people in my community that moved beyond emulation and started using FPGA and convincing me of its pure way of playing the good old games. Not because it is easy but because the hard work setting it up leads to the 1:1 experience I once had.
I played Metal Slug when it came out on the Neo Geo back in the day and it had slowdowns...
Now 24 years later we moved passed emulation and we're on a forum because we want the 1:1 experience and there is talk about how shitty the slowdown in Metal Slug is? Didn't you play the game back in the day? If yes, and you still want to "turbo boost" so that you're not bothered with the 1:1 expierence, please buy an 5K pc with a 3090 and an 8K monitor and run an emulator.
My 2 cents
I played Metal Slug when it came out on the Neo Geo back in the day and it had slowdowns...
Now 24 years later we moved passed emulation and we're on a forum because we want the 1:1 experience and there is talk about how shitty the slowdown in Metal Slug is? Didn't you play the game back in the day? If yes, and you still want to "turbo boost" so that you're not bothered with the 1:1 expierence, please buy an 5K pc with a 3090 and an 8K monitor and run an emulator.
My 2 cents
Re: Neo Geo CPU Overclocking?
Hi.Jinxz wrote: ↑Fri Jan 01, 2021 12:26 pm To be honest I am completely lost here... I've been running emulators since 20 years and just a short while ago I moved to FPGA only because I've been surrounded by people in my community that moved beyond emulation and started using FPGA and convincing me of its pure way of playing the good old games. Not because it is easy but because the hard work setting it up leads to the 1:1 experience I once had.
I played Metal Slug when it came out on the Neo Geo back in the day and it had slowdowns...
Now 24 years later we moved passed emulation and we're on a forum because we want the 1:1 experience and there is talk about how shitty the slowdown in Metal Slug is? Didn't you play the game back in the day? If yes, and you still want to "turbo boost" so that you're not bothered with the 1:1 expierence, please buy an 5K pc with a 3090 and an 8K monitor and run an emulator.
My 2 cents
We play on FPGA for different reasons.
My own reason is input lag. If emulators could emulate without adding multiple frames of input lag and destroy the original experience, I would certainly play on raspberry pi. But this is not the case as of today. And please do not come up with the retroarch hack to shave up frames of lag through fast forwarding, this is really not great. Ever tried that on Tetris for example? It’s awful.
That’s my 2 cents.
-
- Posts: 237
- Joined: Sat Aug 22, 2020 3:08 am
- Has thanked: 27 times
- Been thanked: 50 times
Re: Neo Geo CPU Overclocking?
That's exactly why I'm here too. Input lag and playing old games as close to authentically as possible on a modern TV under one platform.Cyril1980 wrote: ↑Fri Jan 01, 2021 12:26 pm Hi.
We play on FPGA for different reasons.
My own reason is input lag. If emulators could emulate without adding multiple frames of input lag and destroy the original experience, I would certainly play on raspberry pi. But this is not the case as of today. And please do not come up with the retroarch hack to shave up frames of lag through fast forwarding, this is really not great. Ever tried that on Tetris for example? It’s awful.
That’s my 2 cents.
Adding a turbo feature is simply an option. One that you can choose to use or choose not to use if you so please. It's always better to have options. If you want an authentic experience then you don't need to use a turbo feature, if it's ever added.
The GBA core has fast forward, rewind, and save state support. It also has a turbo feature, and a 2X resolution feature. Should we remove those options too because it's not authentic? No because they're options that you can ignore if you don't like them.
If the game's timings are off-kilter and running too fast then the turbo feature becomes a hindrance, but in the case of minimizing frame rate dips to give the game a reliable framerate, I think that a turbo feature is a great option.
I'm no expert on CPU clock speeds and whatnot, but if a turbo feature could focus on just keeping the framerate from dipping and minimize increasing timings in various games, then it'd be ideal.
Re: Neo Geo CPU Overclocking?
And you're still lost. You don't get the whole idea of FPGA. It is not about 1:1 experience, it is about 1:1 accuracy of hardware replication. You've been using emulators for 20 years? Are you sure you are the right person to talk about "1:1 experience"? 1:1 experience is about having an old console and an old TV.
Why don't you blame filters, turbo modes, extra sprites in other cores then?
I love MiSTer. We now have an accurate console replicas in one box with all the advantages of modern emulators, i.e. hdmi output, scanlines, turbo CPUs, extra sprites and cheat codes. If you don't like any of that - just don't use these features...
- kathleen
- Top Contributor
- Posts: 421
- Joined: Fri Jun 26, 2020 4:23 am
- Location: Belgium
- Has thanked: 243 times
- Been thanked: 138 times
Re: Neo Geo CPU Overclocking?
@Jimxz
I won't say that your statement is wrong because it is your point of view and I respect it, but I totally disagree with.
It is a chance that we have the Mister which allows us to run games or apps on machines which are not findable anymore or if they are, at a horrible price, it is a chance that we can play games from 70-80-90's for most of them on CRT or LCD, And it is a great chance that the devs have been working hard to enhanced the results either by proposing filters, different speeds, turbos etc. They are always options that you can activate or deactivate, see this like a bonus. If I do not like a TV series I do not watch it full stop. Same here if you do no want turbo mode, simply do not use it. But think that what is maybe useless for you is more that useful for others. I can tell you that since I'm dealing with the Mister, any new core, option, enhancement that I saw have all a big sense to be.
I won't say that your statement is wrong because it is your point of view and I respect it, but I totally disagree with.
It is a chance that we have the Mister which allows us to run games or apps on machines which are not findable anymore or if they are, at a horrible price, it is a chance that we can play games from 70-80-90's for most of them on CRT or LCD, And it is a great chance that the devs have been working hard to enhanced the results either by proposing filters, different speeds, turbos etc. They are always options that you can activate or deactivate, see this like a bonus. If I do not like a TV series I do not watch it full stop. Same here if you do no want turbo mode, simply do not use it. But think that what is maybe useless for you is more that useful for others. I can tell you that since I'm dealing with the Mister, any new core, option, enhancement that I saw have all a big sense to be.
かすりん
-
- Posts: 11
- Joined: Tue Sep 22, 2020 7:09 am
- Has thanked: 2 times
- Been thanked: 2 times
Re: Neo Geo CPU Overclocking?
I would love to have this implemented as a toggleable option for the official NEOGEO core.
As long as it's not enabled by default than it doesn't matter if it breaks compatibility/accuracy. This is the same as the sprite limit hack on other cores, cool option but I want it off by default.
As long as it's not enabled by default than it doesn't matter if it breaks compatibility/accuracy. This is the same as the sprite limit hack on other cores, cool option but I want it off by default.
Re: Neo Geo CPU Overclocking?
People would tinker with and overclock original systems too. Wanting to have the option on a FPGA system isn't that strange. I have played a lot of NeoGeo on a real MVS system. Usually the slowdown isn't bothersome but Metal Slug 2 is some top tier slowdown. Sure there is Metal Slug X which isn't as bad in that aspect but it would be nice if Metal Slug 2 didn't have to suffer so much when it's clearly possible to do something about it.Jinxz wrote: ↑Fri Jan 01, 2021 12:26 pm To be honest I am completely lost here... I've been running emulators since 20 years and just a short while ago I moved to FPGA only because I've been surrounded by people in my community that moved beyond emulation and started using FPGA and convincing me of its pure way of playing the good old games. Not because it is easy but because the hard work setting it up leads to the 1:1 experience I once had.
I played Metal Slug when it came out on the Neo Geo back in the day and it had slowdowns...
Now 24 years later we moved passed emulation and we're on a forum because we want the 1:1 experience and there is talk about how shitty the slowdown in Metal Slug is? Didn't you play the game back in the day? If yes, and you still want to "turbo boost" so that you're not bothered with the 1:1 expierence, please buy an 5K pc with a 3090 and an 8K monitor and run an emulator.
My 2 cents
Re: Neo Geo CPU Overclocking?
Input lag is the biggest problem with emulators 5K pc won't do anything to correct this unless the specific emulator supports frames in advance which is relatively new and not many emulators have itJinxz wrote: ↑Fri Jan 01, 2021 12:26 pm To be honest I am completely lost here... I've been running emulators since 20 years and just a short while ago I moved to FPGA only because I've been surrounded by people in my community that moved beyond emulation and started using FPGA and convincing me of its pure way of playing the good old games. Not because it is easy but because the hard work setting it up leads to the 1:1 experience I once had.
I played Metal Slug when it came out on the Neo Geo back in the day and it had slowdowns...
Now 24 years later we moved passed emulation and we're on a forum because we want the 1:1 experience and there is talk about how shitty the slowdown in Metal Slug is? Didn't you play the game back in the day? If yes, and you still want to "turbo boost" so that you're not bothered with the 1:1 expierence, please buy an 5K pc with a 3090 and an 8K monitor and run an emulator.
My 2 cents