Changes

Jump to navigation Jump to search

Overclocking

736 bytes added, 16:47, 16 June 2019
m
Chart
Overclocking is the process by which the CPU clockspeed clock speed is increased. The reason for doing this would be to reduce slowdown in games, or to increase the frame rate. However, as this is a hack and not intended by designers, it can result in many issues. Certain systems can have an overclocked CPU with few if any issues, while others can not overclock without major issues.
==Chart==
{| class="wikitable" style="text-align:center;"
|-
! scope="col" style="text-align: center;"|System! scope="col" style="text-align: center;"|Normal clock! scope="col" style="text-align: center;"|Hardware Overclock! scope="col" style="text-align: center;"|Emulation Overclock! scope="col" style="text-align: center;"|Overclock levels
|-
| style="text-align: center;"|[[Nintendo Entertainment System emulators|NES]]| style="text-align: center;"|1.79 MHz| style="text-align: center;"|Yes{{✓}}| style="text-align: center;"|Yes{{✓}}| style="text-align: center;"|?
|-
| style="text-align: center;"|[[Super Nintendo emulators|SNES]] (Main CPU)| style="text-align: center;"|3.58 MHz| style="text-align: center;"|Yes{{✓}}| style="text-align: center;"|Yes{{✓}}| style="text-align: center;"|4.1 -7.6 Mhz
|-
| style="text-align: center;"|[[Super Nintendo emulators|SNES]] (Super FX 1)| style="text-align: center;"|10.5 MHz| style="text-align: center;"|Yes{{✓}}| style="text-align: center;"|Yes{{✓}}| style="text-align: center;"|40-60 Mhz
|-
| style="text-align: center;"|[[Super Nintendo emulators|SNES]] (Super FX 2)| style="text-align: center;"|21 MHz| style="text-align: center;"|Yes{{✓}}| style="text-align: center;"|Yes{{✓}}| style="text-align: center;"|40-60 Mhz,
|-
| style="text-align: center;"|[[Sega Genesis emulators|Sega Genesis]]| style="text-align: center;"|7.7 MHz| style="text-align: center;"|Yes{{✓}}<ref name="kyorune">http://kyorune.com/modding/article.php?id=73</ref>| style="text-align: center;"|Yes{{✓}}| style="text-align: center;"|13.1-25.4 MHz<ref name="kyorune"/>
|-
| style="text-align: center;"|[[PlayStation emulators|PlayStation]]| style="text-align: center;"|33.8 MHz| style="text-align: center;"|Yes{{✓}}<ref name="kraut">https://www.youtube.com/watch?v=HapnSOseDfw</ref>| style="text-align: center;"|Yes{{✓}}| style="text-align: center;"|66Mhz<ref name="kraut"/>
|-
| style="text-align: center;"|[[Sega Saturn emulators|Sega Saturn]]| style="text-align: center;"|28.6 MHz*| style="text-align: center;"|No{{✗}}| style="text-align: center;"|No| style="text-align: center;"|-{{✗}}
|-
| style="text-align: center;"|[[Nintendo 64]]
| style="text-align: center;"|93.75 MHz
| style="text-align: center;"|Yes<ref name="n64oc">http://www.gamesx.com/misctech/n64oc.htm</ref>
| style="text-align: center;"|Yes
| style="text-align: center;"|125-187.5 Mhz<ref name="n64oc"/>
|-
| style[[Nintendo 64 emulators|Nintendo 64]]|93.75 MHz|{{✓}}<ref name="textn64oc">http://www.gamesx.com/misctech/n64oc.htm</ref>|{{✓}}|125-align: center;187.5 Mhz<ref name="n64oc"/>|-|[[Neo Geo emulators|Neo Geo]]| style="text-align: center;"|12 MHz| style="text-align: center;"|Yes{{✓}}<ref name="neooc">http://www.neo-geo.com/forums/showthread.php?158016-68K-s-guide-to-overclocking-your-Neo-Geo-AES</ref>| style="text-align: center;"|Yes{{✓}}| style="text-align: center;"|14-18 MHz<ref name="neooc"/>|-|[[3DO emulators|3DO]]|12.5 MHz|{{na|text=Unknown}}|{{✓}}|{{na}}
|-
|}
<nowiki>*</nowiki> Sega Saturn has two SH-2 CPUs
 
==MAME==
By default [[MAME]] allows you to change the clock speed of the systems it emulates (including consoles) to anything between 50% to 250% of the original clock speed, the only requirement is that you enable cheats for that game/system.
==NES==
[[Mesen]] as of 0.2.2 includes the same feature, as well as CPU overclocking. Both are found under Options > Emulation > Overclocking.
For PPU Overclocking, the number of additional scanlines is user -defined. 240 Post-render Scanlines (Referred to as "Before NMI" in Mesen) should be more than enough for most games. If you happen to experience graphical glitching or crashes with a PPU overclock, try the VBlank Scanlines ("After NMI" in Mesen) option instead. Though uncommon, this is required for some games, a notable example being Contra Force.
==SNES==
===Main CPU===
The main For an NTSC SNES , the master clock rate is approximate ~21.477 MHz, but the CPU ran at 's effective clock rates are ~3.58 MHz , ~2.68 MHz, or ~1.79 MHz. This is because any CPU operation takes 6 master cycles (i.e. 21.477/6 = 3.58) and memory access can be overclockedtake 6, 8, or 12, depending on the area of RAM is accessed. However In the case of ROM access, it causes issuesalso depends on whether bit 0 of CPU register 420D is set to 0 (SlowROM, 8) or 1 (FastROM, 6).<ref name="Fullsnes - No$SNS Specs">http://problemkaputt.de/fullsnes. With those who have tested ithtm#cpuclockcycles</ref> In testing overclocks on the original hardware, the following issues occur(speeds listed represent the maximum effective clock rate):
* 4.1 MHz: Small amounts of sprite breakup occasionally; very little slowdown.
* 7.6 MHz: Color palette errors; sprites fail to render. Freezes after a few minutes.<ref name="SNES overclock">http://web.archive.org/web/20070629163744/http://www.undergroundcm.com/index.php?option=com_content&task=view&id=15&Itemid=38</ref>
Only MAME has an option to change the main CPU frequency, which requires you to enable cheats. MAME SNES emulation is very demanding by default, and activating the overclock only makes it worse. It is more stable than the real hardware while overclocked and won't exhibit the same issues, but it is still very unstable especially if you adjust the frequency multiple times. It also does not allow you to go over 200250% clock speed, which isn't enough to fully get rid of slowdowns in some games. The latest standalone version of [[Snes9x]] and all of the [[libretro]] cores builds can overclock by reducing the number of emulated CPU/memory access cycles from 6, 8, and 12 to either 4, 5, and 6 (Compatible) or 3, 3, and 3 (Max) respectively. Just for comparison, that means the Max option is effectively 7.16 MHz. Gameplay is not sped up (assuming the game is not in a constant state of some slowdown, to begin with, like Out of This World) and the issues experienced on real hardware are not present, though stability will vary depending on the game and which option you use. Also to note, some games may work better with the Max option rather than Compatible, as appears to be the case for Mega Man X1 which has a bit of graphical corruption under very specific conditions when using the Compatible option, so try both if you encounter issues.
===Super FX chip===
The SFX chip can be overclocked on real hardware or emulation with fewer issues than overclocking the CPU. However, tests have shown that overclocking can increase the speed of the game, in addition to increasing the frame rate and removing slowdown.<ref name="Dragon50hztest">https://www.youtube.com/watch?v=tfNI3HpUt-4</ref>
{| class="wikitable" style="text-align:center;"
|-
! scope="col" style="text-align: center;"|Clock speed! scope="col" style="text-align: center;"|Time! scope="col" style="text-align: center;"|Increase
|-
| style="text-align: center;"|Normal| style="text-align: center;"|1'46'02| style="text-align: center&mdash;"|-------
|-
| style="text-align: center;"|50hz50Hz| style="text-align: center;"|1'23'78| style="text-align: center;"|27.711%<ref name="Dragon50hztest"/> 
|}
The latest standalone version of [[Snes9x]], as well as [[RetroArch|Snes9x-Next]] allows for SFX overclocking, as well as and [[higan|bsnes-mercury]], though allows for SFX overclocking. Though in the latter the increase in CPU requirements can be noticeable.
==PC-Engine (TG-16)==
==N64==
Some emulators like the [[Libretro|libretro]] port of [[Mupen64Plus]] have an overclocking option called "VI Refresh", and [[1964 ]] UltraFast (a very old fork of 1964) have an option to overclock the CPU.
Some games (see the list below) can take advantage of overclocking and improves frame rate, while most others (such as Super Mario 64) have built-in frame rate limiter and unaffected by overclocking.<ref>http://forum.pj64-emu.com/showpost.php?p=51810&postcount=6</ref><ref>http://www.emucr.com/2011/02/1964-ultrafast-v3.html</ref>
[[Dolphin]] supports overclocking and underclocking the CPU. Overclocking can remove slowdown from games that have them, pushing them closer to their actual target frame rate. It causes several issues with many games, so don't expect it to be a perfect solution.
Dolphin used to have a VBeam Speed Hack that doubled GPU clock rate. This has since been removed, as the developers found that it didn't really help in any many cases.
==PlayStation==
On real hardware, overclocking is possible using [http://djky2k3.tripod.com/psx_oc.html this modification].
On emulators, [https://github.com/SonofUgly/PCSX-Reloaded/releases this modified build] of [[PCSX-Reloaded|PCSX-R]] as well as [http://ngemu.com/threads/pcsxr-pgxp.186369/ this fork] allow for overclocking, though most games will break past 1.5x clock speed. Recent builds of Beetle PSX (the libretro fork of Mednafen's PS1 core) also support overclocking, by way of removing timing penalties instead of increasing clock speed.
==PS2==
On original model PS2s , you can overclock by a small amount without too much problem, but the biggest issue will be sped-up audio. Slim model PS2s use the GPU's clock rate as a base for the CPU (multiplying the GPU's clock by 2), so overclocking the CPU will also overclock the GPU resulting in many visual problems.<ref name="PS2OC">http://nfggames.com/forum2/index.php?topic=2220.0</ref>
All recent builds of [[PCSX2]] have a speed hack that allows you to increase the EE cycle-rate without having any effect on the audio, although it does still break a few games most of them run fine and with less slowdown. The emulator also has a speed hack called VU Cycle Stealing, which allows for increased GPU performance at the cost of CPU cycles. It gives an incorrect FPS readout, though.
==Neo Geo==
[[Final Burn FinalBurn Alpha]] allows for overclocking of Neo Geo games. MAMEUIFX (aka MAME32FX) also allows for overclocking.<ref>http://mame32fx.altervista.org/home.htm</ref> All Neo Geo should run at full speed when overclocked.
==Sega Genesis==
Most Genesis emulators don't allow overclocking. The [[Genesis Plus GX]] developer, for instance, says that implementing overclocking is "not easy to add without potentially break other things. <ref>https://code.google.com/p/genplus-gx/issues/detail?id=223</ref>
[http://aamirm.hacking-cult.org/www/regen.html Regen] allows overclocking in the dev build version.<ref>http://segaretro.org/Regen</ref> Games with sprite flicker, like Altered Beast, and games with some slowdown, like Rambo III or Mega Man: The Wily Wars, play perfectly with Regen's "Overclock M68000" setting at 732 (1.5x original speed). The game speed and audio are unaffected by overclocking. BlastEm and HazeMD also allow for overclocking but neither are really recommended for normal usage.
==3DO==
Standalone [[Phoenix (emulator)|Phoenix]] and standalone Windows version of [[4DO ]] allows up to 4.0/400% of the original 3DO clock speed, making some low frame rate titles such as [[wikipedia:Doctor_Hauzer|Doctor Hauzer ]] and [[wikipedia:Killing_Time_(video_game)|Killing Time]] more playable. The Also possible to overclock CPU in [[libretro ]] version of [[4DO does not ]]<ref>https://docs.libretro.com/library/4do/#core-options</ref> in options in core's quick menu after game launch, but only to 2.0x speed, that still may seem slow. The possibility of this function to contain overclocking featuresbreak games (like incorrect physic and unplayable speed) is unknown.
==References==
1,009
edits

Navigation menu