mirror of
https://github.com/mist64/perfect6502.git
synced 2024-12-28 11:31:50 +00:00
Fixed console references for Firefox
This commit is contained in:
parent
470080015d
commit
ef88fdeb90
@ -35,7 +35,7 @@ function recalcNodeList(list){
|
||||
list = recalclist;
|
||||
recalclist = new Array();
|
||||
}
|
||||
console.log(n,'looping...');
|
||||
if(ctrace) console.log(n,'looping...');
|
||||
}
|
||||
|
||||
function recalcNode(node, recalclist){
|
||||
@ -131,7 +131,7 @@ function getNodeValue(group){
|
||||
if((n.state=='fl')&&(flstate==undefined)) flstate = 'fl';
|
||||
if(n.state=='fh') flstate = 'fh';
|
||||
}
|
||||
if(flstate==undefined) console.log(group);
|
||||
if(flstate==undefined && ctrace) console.log(group);
|
||||
return flstate;
|
||||
}
|
||||
|
||||
|
@ -104,7 +104,7 @@ function initChip(){
|
||||
cycle = 0;
|
||||
trace = Array();
|
||||
chipStatus();
|
||||
console.log('initChip done after', now()-start);
|
||||
if(ctrace)console.log('initChip done after', now()-start);
|
||||
}
|
||||
|
||||
function step(){
|
||||
@ -275,7 +275,7 @@ function chipStatus(){
|
||||
' clearIR:' + readBit('clearIR') +
|
||||
' D1x1:' + readBit('D1x1');
|
||||
setStatus(machine1 + "<br>" + machine2);
|
||||
if (loglevel>2) {
|
||||
if (loglevel>2 && ctrace) {
|
||||
console.log(machine1 + " " + machine2 + " " + machine3 + " " + machine4 + " " + machine5);
|
||||
}
|
||||
selectCell(ab);
|
||||
|
Loading…
Reference in New Issue
Block a user