JonnyWalker/PySNES

Use page boundary crossing when computing CPU cycles

Opened this issue · 1 comments

Some instructions need a longer CPU cycle when a page boundary is crossed.

E.g. LDA ($10),Y

Analyse what a page boundary is and add it to the opcode cycle computation

already used in BXX and JMP instructions (method p in cpu.py), but not in LDA, STA, etc ...