Quantcast
Channel: nesdev.org
Viewing all articles
Browse latest Browse all 746

Extra PPU cycle?

$
0
0
I'm comparing Mesen's logs with mine and I don't understand what is the logic behind this.

I have this 3 ROR in a row and according to my code each of these lines should increase H by 15, so in my code E5BD shows H:4 but Mesen is showing 5:

Code:

E5B9  A:36 X:05 Y:00 S:96 P:05 V:-1  H:315 Cycle:297797 A: V: = $12 ROR $15 66 15E5BB  A:36 X:05 Y:00 S:96 P:84 V:-1  H:330 Cycle:297802 A: V: = $6A ROR $14 66 14E5BD  A:36 X:05 Y:00 S:96 P:04 V:0   H:5 Cycle:297807 A: V: = $F0 ROR $13 66 13E5BF  A:36 X:05 Y:00 S:96 P:04 V:0   H:20 Cycle:297812 A: V:  ROR A  6A
In Mesen's debugger I see it's jumping from 336 to 340
Mesen3.png
Mesen4.png
Why is that?

Statistics: Posted by Radek — Tue Oct 15, 2024 9:21 am — Replies 2 — Views 122



Viewing all articles
Browse latest Browse all 746

Trending Articles