6800 fixup single stepping

This commit is contained in:
BigEd 2011-04-02 07:57:15 +00:00
parent 94b306bace
commit 6ceae74e4a

View File

@ -50,6 +50,19 @@ function halfStep(){
else {setHigh('phi1'); setLow('phi1'); setHigh('phi2'); setHigh('dbe'); handleBusWrite();}
}
function goUntilSyncOrWrite(){
halfStep();
cycle++;
while(
!isNodeHigh(nodenames['phi2']) ||
( !isNodeHigh(nodenames['sync']) && isNodeHigh(nodenames['rw']) )
) {
halfStep();
cycle++;
}
chipStatus();
}
function initChip(){
var start = now();
for(var nn in nodes) {