readjust timing of URL-scheduled events to match published version

This commit is contained in:
BigEd 2011-01-10 10:45:52 +00:00
parent c02d181d5c
commit cb29fb4fad
1 changed files with 1 additions and 1 deletions

View File

@ -224,9 +224,9 @@ fetchTriggers={};
// simulate a single clock phase with no update to graphics or trace // simulate a single clock phase with no update to graphics or trace
function halfStep(){ function halfStep(){
var clk = isNodeHigh(nodenames['clk0']); var clk = isNodeHigh(nodenames['clk0']);
eval(clockTriggers[cycle]);
if (clk) {setLow('clk0'); handleBusRead(); } if (clk) {setLow('clk0'); handleBusRead(); }
else {setHigh('clk0'); handleBusWrite();} else {setHigh('clk0'); handleBusWrite();}
eval(clockTriggers[cycle]);
} }
function handleBusRead(){ function handleBusRead(){