mirror of
https://github.com/pkimpel/retro-220.git
synced 2026-04-27 12:30:12 +00:00
Commit retro-220 emulator version 0.07:
1. Implement centralized pop-up window opening mechanism to enforce a delay between pop-up opens. This is to satisfy new restrictions on multiple pop-ups imposed by the Apple Safari 11.0 browser. 2. Correct Reload-Lockout behavior and format band 6 initialization in B220CardatronInput. 3. Correct translation of sign digits and skip-to-channel behavior in B220CardatronOutput. 4. Strip sign digit from search/scan argument word when storing into B220MagTapeControl T register. 5. Remove option for 1000-word system memory size and correct handling of memory size list selection in B220SystemConfig. 6. Change reel-to-reel magnetic tape name from DataReader to TSU in B220SystemConfig.
This commit is contained in:
@@ -26,11 +26,11 @@ function B220CardatronControl(p) {
|
||||
// Do not call this.clear() here -- call from onLoad instead
|
||||
|
||||
this.doc = null;
|
||||
this.window = window.open("../webUI/B220CardatronControl.html", this.mnemonic,
|
||||
this.window = null;
|
||||
B220Util.openPopup(window, "../webUI/B220CardatronControl.html", this.mnemonic,
|
||||
"location=no,scrollbars=no,resizable,width=140,height=140,left=" + left +
|
||||
",top=" + (screen.availHeight-140));
|
||||
this.window.addEventListener("load",
|
||||
B220CardatronControl.prototype.cardatronOnLoad.bind(this), false);
|
||||
",top=" + (screen.availHeight-140),
|
||||
this, B220CardatronControl.prototype.cardatronOnLoad);
|
||||
|
||||
// Set up the I/O devices from the system configuration
|
||||
this.inputUnit = [
|
||||
@@ -127,14 +127,15 @@ B220CardatronControl.prototype.beforeUnload = function beforeUnload(ev) {
|
||||
};
|
||||
|
||||
/**************************************/
|
||||
B220CardatronControl.prototype.cardatronOnLoad = function cardatronOnLoad() {
|
||||
B220CardatronControl.prototype.cardatronOnLoad = function cardatronOnLoad(ev) {
|
||||
/* Initializes the Cardatron Control window and user interface */
|
||||
var body;
|
||||
var box;
|
||||
var e;
|
||||
var x;
|
||||
|
||||
this.doc = this.window.document;
|
||||
this.doc = ev.target;
|
||||
this.window = this.doc.defaultView;
|
||||
body = this.$$("PanelSurface");
|
||||
|
||||
this.bufferReadLamp = new NeonLampBox(body, null, null, "BufferReadLamp");
|
||||
|
||||
Reference in New Issue
Block a user