Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions perfect6502.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,8 @@ step(void *state)
{
BOOL clk = isNodeHigh(state, clk0);

/* invert clock */
/* invert clock; setNode settles the netlist itself */
setNode(state, clk0, !clk);
recalcNodeList(state);

/* handle memory reads and writes */
if (!clk)
Expand Down Expand Up @@ -191,7 +190,6 @@ initAndResetChip(void)

/* release RESET */
setNode(state, res, 1);
recalcNodeList(state);

cycle = 0;

Expand Down