add ability to override the databus by URL

This commit is contained in:
BigEd
2011-01-09 16:18:01 +00:00
parent d11cf44ae9
commit 51d0e99389
2 changed files with 5 additions and 1 deletions

View File

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