8SA1Sim/index.html

61 lines
1.9 KiB
HTML

<html>
<head>
<title>MatCat's 8SA1 CPU Simulator</title>
</head>
<body style="font-family: monospace; font-size: 1.5em;">
<div>
<input type="button" id ="btn_rst" value="RESET" />
</div>
<div>
<span>DATA: </span><span id="Data_BUS"></span>
</div>
<div>
<span>PC&nbsp;&nbsp;: </span><span id="PC_Register"></span>
</div>
<div>
<span>MCC : </span><span id="MCC_Register"></span>
</div>
<div>
<span>CO&nbsp;&nbsp;: </span><span id="CO_Register"></span>
</div>
<div>
<span>SP&nbsp;&nbsp;: </span><span id="SP_Register"></span>
</div>
<div>
<span>SR&nbsp;&nbsp;: </span><span id="SR_Register"></span>
</div>
<div>
<span>IR&nbsp;&nbsp;: </span><span id="IR_Register"></span>
</div>
<div>
<span>GPA : </span><span id="GPA_Register"></span>
</div>
<div>
<span>GPB : </span><span id="GPB_Register"></span>
</div>
<div>
<span>GPC : </span><span id="GPC_Register"></span>
</div>
<div>
<span>GPD : </span><span id="GPD_Register"></span>
</div>
<div>
<input type="button" id ="btn_clk" value="CLOCK" />
<span id="clk_counter">0</span><input type="button" id ="btn_runtil" value="BREAK AT:" /> 0x<input id="addrbrk" type="text" value="00" pattern="[a-fA-F\d]+" />
</div>
<div>
<span>Text Output (0x8000-0x83ff):</span><br />
<span id="TEXT_OUT"></span>
</div>
<div>
<span>RAM : [<span id="Address_BUS"></span>]</span><br /><span id="RAM"></brspan>
</div>
<div>
<span>RAM (STACK): </span><br /><span id="STACK-RAM"></brspan>
</div>
<script src="js/cpu.js"></script>
<script src="js/microcode_compiler.js"></script>
<script src="js/main.js"></script>
</body>
</html>