Changes

Jump to navigation Jump to search

Overclocking

1,334 bytes added, 00:27, 25 February 2018
Main CPU: Changed section to provide more in-depth explanation of the SNES CPU speed. Added mention of Libretro SNES9x cores having overclocking and a bit of info on it and how it works.
==SNES==
===Main CPU===
The main For an NTSC SNES , the master clock rate is approximately ~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 being 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 - Nocash SNES 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.
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 200% clock speed, which isn't enough to fully get rid of slowdowns in some games.
 
The latest builds of all SNES9x Libretro cores 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 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===
5
edits

Navigation menu