1
0
mirror of https://github.com/pkimpel/retro-220.git synced 2026-04-18 08:57:01 +00:00

Release retro-220 emulator version 1.02:

1. Redesign and correct implementation of the "normalization limiter
digit" in floating add/subtract.
2. Correct final value of A register when floating-overflow occurs in
floating multiply.
3. Correct final value of A register when D register is not normalized
for floating divide.
4. Correct register setup and post-divide normalization for floating
divide.
5. Implement double-click handler on Cardatron reader and printer
background panel areas to temporarily toggle their speeds by 1000
cards/lines per minute. This is intended only for testing, not for
regular use.
6. Implement double-click handler on Console Burroughs logo to toggle
lamp intensity averaging on and off temporarily.
7. Implement validation of magnetic tape image files during loading;
reject image files that do not pass.
8. Minor changes to comments and cosmetics for multiple other scripts.
This commit is contained in:
Paul Kimpel
2020-05-06 17:24:47 -07:00
parent bf226cd990
commit 1893b8a2c0
10 changed files with 290 additions and 145 deletions

View File

@@ -563,6 +563,18 @@ B220CardatronInput.prototype.finishCardRead = function finishCardRead() {
}
};
/**************************************/
B220CardatronInput.prototype.CIDiv_dblClick = function CIDiv_dblClick(ev) {
/* Handle the double-click event for the background panel. If the card
reader is ready, toggles the speed by 1000 operations per minute. This is
not intended for regular use, but as a way to speed up the 220 during long
emulator runs */
if (this.ready) {
this.linesPerMinute += (this.linesPerMinute > 1000 ? -1000 : +1000);
}
};
/**************************************/
B220CardatronInput.prototype.initiateCardRead = function initiateCardRead() {
/* Initiates the read of the next card into the buffer drum */
@@ -645,6 +657,8 @@ B220CardatronInput.prototype.readerOnLoad = function readerOnLoad(ev) {
B220CardatronInput.prototype.ClearBtn_onClick.bind(this), false);
this.hopperBar.addEventListener("click",
B220CardatronInput.prototype.CIHopperBar_onClick.bind(this), false);
this.$$("CIDiv").addEventListener("dblclick",
B220CardatronInput.prototype.CIDiv_dblClick.bind(this), false);
this.window.resizeBy(de.scrollWidth - this.window.innerWidth + 4, // kludge for right-padding/margin
de.scrollHeight - this.window.innerHeight);