-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (38 loc) · 1.21 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MOS 6502</title>
<link rel="stylesheet" href="style.css" />
<script defer src="./index.js"></script>
</head>
<body>
<div class="flex">
<div class="registers">
<div class="flex">
<div class="container__registers">
<p class="a"></p>
<p class="x"></p>
<p class="y"></p>
<p class="pc"></p>
<p class="sp"></p>
<p class="p"></p>
</div>
<div class="flex__buttons">
<button onclick="step()">STEP</button>
<button onclick="runProg()">RUN</button>
<button onclick="reset()">RESET</button>
</div>
</div>
<code><pre id="disasm"></pre></code>
</div>
<textarea name="memory" id="memory" cols="60" rows="30"></textarea>
</div>
<form name="myForm" action="/" onsubmit="event.preventDefault(); loadFormData()" method="post">
Program: <br />
<textarea name="data" id="bin_data"></textarea><br />
<input type="submit" value="Submit" />
</form>
</body>
</html>