1
0
mirror of https://github.com/pkimpel/retro-b5500.git synced 2026-02-11 19:05:01 +00:00
Files
pkimpel.retro-b5500/webUI/B5500Console.html
paul 2bc5332a56 Implement first crude test harness for ConfigureSystem,
CentralControl, and Processor using webUI/B5500Console.html.
2012-06-30 23:33:41 +00:00

99 lines
3.0 KiB
HTML

<!DOCTYPE html>
<head>
<title>B5500 Emulator Operator Console</title>
<meta name="Author" content="Williams & Kimpel">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Style-Type" content="text/css">
<link id=defaultStyleSheet rel=stylesheet type="text/css" href="B5500DistributionAndDisplay.css">
<script src="../emulator/B5500SystemConfiguration.js"></script>
<script src="../emulator/B5500CentralControl.js"></script>
<script src="../emulator/B5500Processor.js"></script>
<script>
"use strict";
var cc;
function stackIt(e) {
/* Simple test driver for the Processor module */
cc.powerOn();
cc.clear();
e.style.backgroundColor = "white"; // a kludge, for now
cc.MemMod[0][0x10] = 0x00400C215415;// LITC 1, LITC 3, XCH, DUP
cc.P1.S = 0x100; // stack at @400
cc.P1.R = 0x005; // PRT at @500 (R has addr div 64)
cc.P1.C = 0x10; // execute from address @20
cc.P1.access(0x30); // P = [C]
cc.P1.T = cc.fieldIsolate(cc.P1.P, 0, 12);
cc.P1.TROF = 1;
cc.P1.L = 1; // point to the next instruction
cc.P1.step();
cc.P1.step();
cc.P1.step();
cc.P1.step();
}
window.onload = function() {
cc = new B5500CentralControl();
// window.open("B5500ProcessorPanel.html", "PAPanel", "resizable=yes,scrollbars=yes");
}
</script>
</head>
<body class=consoleBody>
<div style="position:relative; width:1300px; height:128px">
<div id=HaltBtn class=blackButton style="right:1200px">
<span class=buttonCaption>HALT</span>
</div>
<div id=NotReadyBtn class=yellowButton style="right:1050px">
<span class=buttonCaption>NOT READY</span>
</div>
<div id=LoadSelectBtn class=blackButton style="right:975px">
<span class=buttonCaption>LOAD SELECT</span>
</div>
<div id=LoadBtn class=blackButton style="right:900px">
<span class=buttonCaption>LOAD</span>
</div>
<div id=MemoryCheckBtn class=yellowButton style="right:750px">
<span class=buttonCaption>MEMORY CHECK</span>
</div>
<div id=ANormalBtn class=yellowButton style="right:675px">
<span class=buttonCaption>A NORMAL</span>
</div>
<div id=AControlBtn class=yellowButton style="right:600px">
<span class=buttonCaption>A CONTROL</span>
</div>
<div id=BNormalBtn class=yellowButton style="right:525px">
<span class=buttonCaption>B NORMAL</span>
</div>
<div id=BControlBtn class=yellowButton style="right:450px">
<span class=buttonCaption>B CONTROL</span>
</div>
<div id=PowerOnBtn class=whiteButton style="right:300px" onclick="stackIt(this)">
<span class=buttonCaption>POWER ON</span>
</div>
<div id=PowerOffBtn class=blackButton style="right:225px">
<span class=buttonCaption>POWER OFF</span>
</div>
<div id=BurroughsLogo>
<img id=BurroughsLogoImage src="Burroughs-Logo-Neg.jpg">
</div>
<div id=B5500Logo> B 5500 </div>
</div>
</body>
</html>