mirror of
https://github.com/trebonian/visual6502.git
synced 2025-04-13 03:38:20 +00:00
fixup single stepping function
This commit is contained in:
parent
da7ec1f3e3
commit
633a2693ac
10
macros.js
10
macros.js
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user