mirror of
https://github.com/trebonian/visual6502.git
synced 2024-12-22 12:29:20 +00:00
6800 fixup single stepping
This commit is contained in:
parent
94b306bace
commit
6ceae74e4a
@ -50,6 +50,19 @@ function halfStep(){
|
|||||||
else {setHigh('phi1'); setLow('phi1'); setHigh('phi2'); setHigh('dbe'); handleBusWrite();}
|
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(){
|
function initChip(){
|
||||||
var start = now();
|
var start = now();
|
||||||
for(var nn in nodes) {
|
for(var nn in nodes) {
|
||||||
|
Loading…
Reference in New Issue
Block a user