mirror of
https://github.com/mist64/perfect6502.git
synced 2025-02-06 04:30:10 +00:00
call kernel only on every clock, not every half-clock
This commit is contained in:
parent
e60fd38bbd
commit
f817390415
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user