fixup single stepping function

This commit is contained in:
BigEd 2010-11-01 18:02:52 +00:00
parent da7ec1f3e3
commit 633a2693ac
1 changed files with 7 additions and 3 deletions

View File

@ -72,11 +72,15 @@ function goUntilSync(){
function goUntilSyncOrWrite(){
halfStep();
cycle++;
while(
!isNodeHigh(nodenames['clk0']) ||
( !isNodeHigh(nodenames['sync']) && isNodeHigh(nodenames['rw']) )
)
!isNodeHigh(nodenames['clk0']) ||
( !isNodeHigh(nodenames['sync']) && isNodeHigh(nodenames['rw']) )
) {
halfStep();
cycle++;
}
chipStatus();
}
function testNMI(n){