chemboy icon indicating copy to clipboard operation
chemboy copied to clipboard

Jump instruction timing is incorrect

Open simon-whitehead opened this issue 7 years ago • 0 comments

Blarggs CPU test for the Interrupts says the Timer isn't working properly.

I have a suspicion this is due to the way branching is handled in the CPU at the moment. Currently, all branches return the same flat number of cycles whether the branch happened or not. Really, they should return 12 cycles if the branch is not taken, and 16 if it is.

simon-whitehead avatar Aug 22 '17 07:08 simon-whitehead