re-simplify kiosk mode status panel

This commit is contained in:
BigEd 2010-11-22 15:18:55 +00:00
parent 398060f56b
commit b51b5c4398
1 changed files with 8 additions and 6 deletions

View File

@ -460,12 +460,14 @@ function chipStatus(){
' SP:' + hexByte(readSP()) + ' SP:' + hexByte(readSP()) +
' ' + readPstring(); ' ' + readPstring();
var machine3 = var machine3 =
'Hz: ' + estimatedHz().toFixed(1) + 'Hz: ' + estimatedHz().toFixed(1);
' Exec: ' + busToString('Execute') + '(' + busToString('State') + ')'; if(typeof expertMode != "undefined") {
if(isNodeHigh(nodenames['sync'])) machine3 += ' Exec: ' + busToString('Execute') + '(' + busToString('State') + ')';
machine3 += ' (Fetch: ' + busToString('Fetch') + ')'; if(isNodeHigh(nodenames['sync']))
if(goldenChecksum != undefined) machine3 += ' (Fetch: ' + busToString('Fetch') + ')';
machine3 += " Chk:" + traceChecksum + ((traceChecksum==goldenChecksum)?" OK":" no match"); if(goldenChecksum != undefined)
machine3 += " Chk:" + traceChecksum + ((traceChecksum==goldenChecksum)?" OK":" no match");
}
setStatus(machine1, machine2, machine3); setStatus(machine1, machine2, machine3);
if (loglevel>0) { if (loglevel>0) {
updateLogbox(logThese); updateLogbox(logThese);