1
0
mirror of https://github.com/pkimpel/retro-b5500.git synced 2026-02-12 11:17:29 +00:00

1. Commit emulator release 0.10.

2. Inhibit peripheral device windows from being closed while emulator is active.
3. Shut down peripheral devices and close their windows as part of cc.powerOff().
4. Add shut-down code to peripheral drivers.
5. Ensure SPO is ready in cc.load().
6. Enable emulator version display on B5500Console.
7. Clear DummyPrinter window when it is double-clicked (finally got this working).
8. Fix problem with "/" not accepted by SPO input in Google Chrome.
9. Commit ESPOL binary card loader image.
10. Fix problem with intensity levels in B5500Console NORMAL/CONTROL lights.
11. Attempt to enable emulator and utilities for Safari-style IndexedDB.
This commit is contained in:
paul.kimpel@digm.com
2013-07-15 03:31:34 +00:00
parent bd97a664eb
commit 27bd443f7c
14 changed files with 287 additions and 99 deletions

View File

@@ -24,6 +24,10 @@
<script>
"use strict";
if (!window.indexedDB) { // for Safari, mostly
window.indexedDB = window.webkitIndexedDB || window.mozIndexedDB;
}
var runningCycles = 1000; // Number of instructions per run-mode interval
var cc;
@@ -877,12 +881,29 @@ function fileSelector_onChange(ev) {
function hardwareLoad_onClick(ev) {
/* Handle the "Hardware Load" button click */
var result;
cc.clear();
cc.P1.clear();
cc.cardLoadSelect = $$("CardLoadSelect").checked;
cc.load(true);
displaySystemState();
result = cc.load(true);
switch (result) {
case 0: // load initiated successfully
cc.P1.clear();
cc.cardLoadSelect = $$("CardLoadSelect").checked;
displaySystemState();
break;
case 1:
alert("P1 busy or not available");
break;
case 2:
alert("SPO is not ready");
break;
case 3:
alert("SPO is busy");
break;
default:
alert("cc.load() result = " + result);
break;
}
}
function checkBrowser() {