Hi, i recently started work on a NES emulator, which is coming along very well actually with only minor issues that i am sorting out as i go along.
what i am trying to clarify is not major stuff but it would greatly help me as i am coding this emulator so that i have as accurate emulation as humanly possible.
from all that i have read, a scanline lasts roughly 113 2/3 cpu clock cycles or 341 ppu cycles, except on odd frames(unless rendering is turned off) correct? also total ppu cycles per frame is roughly 89341 ppu cycles or 29780 2/3 cpu cycles correct? reason i ask is at these numbers, the total clock cycles after 60 frames does not add up to the speed of the cpu, its almost 3000 cycles short, is it safe to just leave those out without any real problems? as if some games have tight timing than i would think it would have a very negative affect on such games.
i would be very grateful for any answers to these questions someone could give me.
what i am trying to clarify is not major stuff but it would greatly help me as i am coding this emulator so that i have as accurate emulation as humanly possible.
from all that i have read, a scanline lasts roughly 113 2/3 cpu clock cycles or 341 ppu cycles, except on odd frames(unless rendering is turned off) correct? also total ppu cycles per frame is roughly 89341 ppu cycles or 29780 2/3 cpu cycles correct? reason i ask is at these numbers, the total clock cycles after 60 frames does not add up to the speed of the cpu, its almost 3000 cycles short, is it safe to just leave those out without any real problems? as if some games have tight timing than i would think it would have a very negative affect on such games.
i would be very grateful for any answers to these questions someone could give me.