-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (48 loc) · 2.18 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
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>6502 Emulator</title>
<script type="module" src="index.js"></script>
</head>
<body style="text-align: center; padding-top: 20px">
<div style="display: inline-block; text-align: justify">
<div style="margin-bottom: 5px">
<button id="load">Load</button>
<button id="run">Run</button>
<button id="reset">Reset</button>
</div>
<textarea id="input" cols="80" rows="45"></textarea>
</div>
<div style="display: inline-block; text-align: justify; padding-left: 35px">
<div>
<h3>Output</h3>
<textarea id="output" cols="80" rows="3" readonly></textarea>
<h3>Memory Dump</h3>
<div style="margin-bottom: 5px">
<input id="range_start" type="text" value="0" style="margin-right: 5px; width: 50px" />
<input id="range_end" type="text" value="FFFF" style="margin-right: 5px; width: 50px" />
<select id="presets" style="margin-right: 5px;">
<option value="0,FFFF">All</option>
<option value="0,3FFF">RAM</option>
<option value="0,FF">Zero Page</option>
<option value="100,1FF">Stack</option>
<option value="4000,7FFF">I/O</option>
<option value="8000,FFFF">ROM</option>
</select>
<button id="dump">Dump</button>
</div>
<textarea id="memorydump" cols="80" rows="10" style="display: block" readonly></textarea>
</div>
<div>
<h3>Debugger</h3>
<div style="margin-bottom: 5px">
<button id="step">Step</button>
<button id="clear">Clear</button>
</div>
<textarea id="debug_output" cols="80" rows="18" readonly></textarea>
</div>
</div>
</body>
</html>