1
0
mirror of https://github.com/mist64/perfect6502.git synced 2024-06-11 16:29:29 +00:00

call kernel only on every clock, not every half-clock

This commit is contained in:
Michael Steil 2010-09-22 15:40:26 +00:00
parent e60fd38bbd
commit f817390415

View File

@ -873,7 +873,7 @@ step()
chipStatus();
PC = readPC();
if (PC >= 0xFF90 && ((PC - 0xFF90) % 3 == 0)) {
if (PC >= 0xFF90 && ((PC - 0xFF90) % 3 == 0) && isNodeHigh(clk0)) {
A = readA();
X = readX();
Y = readY();