1
0
mirror of https://github.com/pkimpel/retro-220.git synced 2026-05-01 13:57:29 +00:00

Commit retro-220 version 0.02:

1. Finish implementation of Cardatron input and output units.
2. Minor corrections to BAC-Assembler script and BALGOL-Generator transcription.
3. Apply band-select "punches" in column 1 of WINTER.PI.card assembler deck.
4. Implement striping on Console register displays to highlight the opcode (62) fields.
5. Implement List-Cards utility to read cards from CR1 and list them on LP2.
This commit is contained in:
Paul Kimpel
2017-05-24 09:09:08 -07:00
parent 33c195ae84
commit 8b6199afd8
13 changed files with 471 additions and 310 deletions

View File

@@ -827,10 +827,10 @@ PanelRegister.prototype.drawBox = function drawBox(col, lamps, rows, leftStyle,
var rightBias = (rightStyle ? 1 : 0);
box.style.position = "absolute";
box.style.left = (this.xCoord(col) - (PanelRegister.hSpacing-PanelRegister.lampDiameter)/2).toString() + "px";
box.style.width = (PanelRegister.hSpacing*lamps - rightBias).toString() + "px";
box.style.left = (this.xCoord(col) - (PanelRegister.hSpacing-PanelRegister.lampDiameter)/2 + 1).toString() + "px";
box.style.width = (PanelRegister.hSpacing*lamps - 2).toString() + "px";
box.style.top = this.yCoord(1).toString() + "px";
box.style.height = (this.yCoord(rows) - this.yCoord(1) + PanelRegister.lampDiameter).toString() + "px";
box.style.height = (this.yCoord(rows+1) - this.yCoord(1)).toString() + "px";
box.style.borderLeft = leftStyle;
box.style.borderRight = rightStyle;
box.appendChild(document.createTextNode("\xA0"));