8SA1Sim/index.html

63 lines
2.1 KiB
HTML
Raw Normal View History

2021-04-03 22:03:47 -04:00
<html>
<head>
<title>MatCat's 8SA1 CPU Simulator</title>
</head>
2021-04-04 05:16:38 -04:00
<body style="font-family: monospace; font-size: 1.5em;">
2021-04-04 06:40:30 -04:00
<div>
<input type="button" id ="btn_rst" value="RESET" />
</div>
2021-04-04 05:16:38 -04:00
<div>
<span>DATA: </span><span id="Data_BUS"></span>
</div>
<div>
<span>PC&nbsp;&nbsp;: </span><span id="PC_Register"></span>
2021-04-04 05:16:38 -04:00
</div>
<div>
<span>MCC : </span><span id="MCC_Register"></span>
2021-04-04 05:16:38 -04:00
</div>
<div>
<span>CO&nbsp;&nbsp;: </span><span id="CO_Register"></span>
2021-04-04 05:16:38 -04:00
</div>
<div>
<span>SP&nbsp;&nbsp;: </span><span id="SP_Register"></span>
2021-04-04 05:16:38 -04:00
</div>
<div>
<span>SR&nbsp;&nbsp;: </span><span id="SR_Register"></span>
2021-04-04 05:16:38 -04:00
</div>
<div>
<span>IR&nbsp;&nbsp;: </span><span id="IR_Register"></span>
2021-04-04 05:16:38 -04:00
</div>
<div>
<span>GPA : </span><span id="GPA_Register"></span>
2021-04-04 05:16:38 -04:00
</div>
<div>
<span>GPB : </span><span id="GPB_Register"></span>
2021-04-04 05:16:38 -04:00
</div>
<div>
<span>GPC : </span><span id="GPC_Register"></span>
2021-04-04 05:16:38 -04:00
</div>
<div>
<span>GPD : </span><span id="GPD_Register"></span>
2021-04-04 05:16:38 -04:00
</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="05" pattern="[a-fA-F\d]+" />
<span>Clock Interval: </span><input id="clkinterval" type="text" value="1" />mS
</div>
<div>
<span>Text Output (0x8000-0x83ff):</span><br />
<span id="TEXT_OUT" style="border: 1px solid black; min-width: 48em; min-height: 2.2em; display: inline-block;"></span>
2021-04-04 05:16:38 -04:00
</div>
<div>
<span>RAM : [<span id="Address_BUS"></span>]</span><br /><span id="RAM"></brspan>
2021-04-04 05:16:38 -04:00
</div>
<div>
<span>RAM (STACK): </span><br /><span id="STACK-RAM"></brspan>
</div>
2021-04-04 05:16:38 -04:00
<script src="js/cpu.js"></script>
2021-04-03 23:36:17 -04:00
<script src="js/microcode_compiler.js"></script>
2021-04-04 05:16:38 -04:00
<script src="js/main.js"></script>
<script src="js/asm_compiler.js"></script>
2021-04-03 22:03:47 -04:00
</body>
</html>