mirror of
https://github.com/trebonian/visual6502.git
synced 2025-08-09 06:24:56 +00:00
fixup single stepping function
This commit is contained in:
10
macros.js
10
macros.js
@@ -72,11 +72,15 @@ function goUntilSync(){
|
|||||||
|
|
||||||
function goUntilSyncOrWrite(){
|
function goUntilSyncOrWrite(){
|
||||||
halfStep();
|
halfStep();
|
||||||
|
cycle++;
|
||||||
while(
|
while(
|
||||||
!isNodeHigh(nodenames['clk0']) ||
|
!isNodeHigh(nodenames['clk0']) ||
|
||||||
( !isNodeHigh(nodenames['sync']) && isNodeHigh(nodenames['rw']) )
|
( !isNodeHigh(nodenames['sync']) && isNodeHigh(nodenames['rw']) )
|
||||||
)
|
) {
|
||||||
halfStep();
|
halfStep();
|
||||||
|
cycle++;
|
||||||
|
}
|
||||||
|
chipStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
function testNMI(n){
|
function testNMI(n){
|
||||||
|
Reference in New Issue
Block a user