mirror of
https://github.com/trebonian/visual6502.git
synced 2026-04-24 08:17:15 +00:00
[dev]add singlestepping functions (no UI)
This commit is contained in:
@@ -64,6 +64,21 @@ function go(){
|
||||
}
|
||||
}
|
||||
|
||||
function goUntilSync(){
|
||||
halfStep();
|
||||
while(!isNodeHigh(nodenames['sync']) || isNodeHigh(nodenames['clk0']))
|
||||
halfStep();
|
||||
}
|
||||
|
||||
function goUntilSyncOrWrite(){
|
||||
halfStep();
|
||||
while(
|
||||
!isNodeHigh(nodenames['clk0']) ||
|
||||
( !isNodeHigh(nodenames['sync']) && isNodeHigh(nodenames['rw']) )
|
||||
)
|
||||
halfStep();
|
||||
}
|
||||
|
||||
function testNMI(n){
|
||||
initChip();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user