2 ms·
The netlist simulation of visual6502.org [1] works like this, it basically runs the simulation in a loop until the node network reaches a steady state, which me
by flohofwoe 2y ago
The netlist simulation of visual6502.org [1] works like this, it basically runs the simulation in a loop until the node network reaches a steady state, which means the current clock cycle is 'done'. This is a C port of that inner loop [2].
[1] http://visual6502.org/JSSim/index.html http://visual6502.org/JSSim/index.html
[2] https://github.com/mist64/perfect6502/blob/268d16647c6b9cb0c6859cae230fd55ad98ff689/netlist_sim.c#L392-L461 https://github.com/mist64/perfect6502/blob/268d16647c6b9cb0c...