bugfix - macros.js - pre-apply clock triggers for corrected display

This commit is contained in:
BigEd 2013-06-25 22:31:53 +02:00
parent 7d90b33187
commit dd2241d3de

View File

@ -226,9 +226,10 @@ fetchTriggers={};
// simulate a single clock phase with no update to graphics or trace
function halfStep(){
var clk = isNodeHigh(nodenames['clk0']);
if (clk) {setLow('clk0'); handleBusRead(); }
else {setHigh('clk0'); handleBusWrite();}
eval(clockTriggers[cycle+1]); // pre-apply next tick's inputs now, so the updates are displayed
function handleBusRead(){