-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdisasm.html
30 lines (30 loc) · 917 Bytes
/
disasm.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>z80 disasm</title>
<script type="text/javascript" src="disasm.js"></script>
<style type="text/css">
#decoded {
font-family: Monaco, Courier;
font-size: 14px;
}
.L0x {
text-decoration: underline;
color: red;
font-weight: bold;
}
</style>
</head>
<body>
<p>
Base Address: 0x<input id="BaseAddr" type="text" value="100" size="4"/>
<input type="button" id="reload" name="reload" value="reload" style="display:none;" onclick="javascript:disasm(lastBlob);"/>
</p>
Click the button then choose a file to see its contents displayed below.
<button onclick="openFile()">Open a file</button>
<input id="inp" type='file' style="visibility:hidden;" onchange="readFile(event)" />
<pre id="contents"></pre>
<div id="decoded"></div>
</body>
</html>