diff --git a/6502N.svg b/6502N.svg new file mode 100644 index 0000000..2b2f21d --- /dev/null +++ b/6502N.svg @@ -0,0 +1,2 @@ + + diff --git a/index.html b/index.html index d5b9370..13a845f 100644 --- a/index.html +++ b/index.html @@ -72,7 +72,7 @@ More information in the
- + diff --git a/kiosk.css b/kiosk.css index 185b6df..b6439a9 100644 --- a/kiosk.css +++ b/kiosk.css @@ -50,6 +50,13 @@ canvas.chip { height: 600px; } +object.chipbg { + position: absolute; + width: 600px; + height: 600px; +} + + div.buttons{ position: absolute; top: -5px; @@ -91,4 +98,4 @@ table.memtable { #title { font-size:30px; font-weight:bold; -} \ No newline at end of file +} diff --git a/wires.js b/wires.js index f7145f2..70284f2 100644 --- a/wires.js +++ b/wires.js @@ -73,8 +73,9 @@ function setupLayerVisibility(){ function setupBackground(){ chipbg = document.getElementById('chipbg'); - chipbg.width = grCanvasSize; - chipbg.height = grCanvasSize; + chipbg.width = 4000; + chipbg.height = 4000; + return; var ctx = chipbg.getContext('2d'); ctx.fillStyle = '#000000'; ctx.strokeStyle = 'rgba(255,255,255,0.5)'; @@ -137,10 +138,10 @@ function hexdigit(n){return '0123456789ABCDEF'.charAt(n);} function refresh(){ if(!chipLayoutIsVisible) return; - ctx.clearRect(0,0,grCanvasSize,grCanvasSize); - for(i in nodes){ - if(isNodeHigh(i)) overlayNode(nodes[i].segs); - } +// ctx.clearRect(0,0,grCanvasSize,grCanvasSize); +// for(i in nodes){ +// if(isNodeHigh(i)) overlayNode(nodes[i].segs); +// } hiliteNode(hilited); }