krabobmkd / amigamame

Port of Mame106 (2006) to Amiga classic 68060, using bebbo gcc6.5 crosscompiler and cmake.
GNU General Public License v2.0
4 stars 0 forks source link

Frameskip #6

Closed Jeff-Bootonic closed 3 months ago

Jeff-Bootonic commented 3 months ago

A frameskip option would be great. Maybe with the option to choose between individual steps and automatic mode.

krabobmkd commented 3 months ago

Hello. With emulation, skipping half the frames will not gain 50% speed, it will actually gain around 10% or 5% speed, because your 68k cpu emulating resource are used like: 60% taken to emulate cpu + 20% taken to emulate sound + 20% to emulate video.) Frameskip consists in "not emulating video" for a given frame, but you can't escape 80% of the work for frames you will not see. So there will be a "display half the frame on 2." options, but no automatic frameskip. Optimisation will always be a better solution.

krabobmkd commented 3 months ago

Fun thing to do: When you pause with "P" and display the speed stats with "Help", what MAME does is "stop to emulate CPU and sound, but continue to emulate video chip." ; This gives an interesting information on how much of the emulation is used for CPU and video.

krabobmkd commented 3 months ago

corrected in beta2