-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
25 lines (22 loc) · 839 Bytes
/
test.html
File metadata and controls
25 lines (22 loc) · 839 Bytes
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
<!DOCTYPE html>
<html>
<head>
<script src="dist/bundle.js"></script>
</head>
<body>
<button onclick="WebGecko.connect()">Connect</button>
<button onclick="WebGecko.pause()">Pause</button>
<button onclick="WebGecko.resume()">Resume</button>
<button onclick="WebGecko.step()">Step</button>
<hr/>
<label>Address:</label>
<input type="text" id="mem_addr" name="mem_addr" pattern="#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?" maxlength="8" value="80578A04" /><br />
<label>Value:</label>
<input type="number" id="mem_value" name="mem_value" /><br />
<button onclick="WebGecko.pokemem()">Poke32</button>
<button onclick="WebGecko.peekmem()">Peek32</button>
<hr />
<button onclick="WebGecko.dumpScreen()">Screenshot</button> <br/>
<canvas width="365" height="463" id="screen" />
</body>
</html>