mirror of
https://github.com/mist64/perfect6502.git
synced 2025-02-11 07:30:28 +00:00
simplify pullup
This commit is contained in:
parent
fc74db2741
commit
830fb51453
3450
js/segdefs.js
3450
js/segdefs.js
File diff suppressed because it is too large
Load Diff
@ -52,12 +52,8 @@ function setup_part2(){
|
|||||||
function setupNodes(){
|
function setupNodes(){
|
||||||
var w = 0;
|
var w = 0;
|
||||||
for(var i in segdefs){
|
for(var i in segdefs){
|
||||||
var seg = segdefs[i];
|
nodes[w++] = {pullup: segdefs[i],
|
||||||
nodes[w] = {pullup: seg=='+',
|
|
||||||
state: 'fl', gates: new Array(), c1c2s: new Array()};
|
state: 'fl', gates: new Array(), c1c2s: new Array()};
|
||||||
w++;
|
|
||||||
if(w==ngnd) continue;
|
|
||||||
if(w==npwr) continue;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user