mirror of
https://github.com/pkimpel/retro-b5500.git
synced 2026-02-12 11:17:29 +00:00
105 lines
3.2 KiB
HTML
105 lines
3.2 KiB
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<title>B5500 Emulator Operator Console</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<meta name="Author" content="Nigel Williams & Paul 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="../B5500SPOUnit.js"></script>
|
|
|
|
<script src="../../emulator/B5500SystemConfiguration.js"></script>
|
|
<script src="../../emulator/B5500CentralControl.js"></script>
|
|
<script src="../../emulator/B5500Processor.js"></script>
|
|
<script src="../../emulator/B5500IOUnit.js"></script>
|
|
|
|
<script>
|
|
"use strict";
|
|
var cc;
|
|
|
|
function testIt(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();
|
|
|
|
alert("Test completed");
|
|
}
|
|
|
|
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="testIt(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> |