-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
80 lines (71 loc) · 2.43 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>SaltyNES: A NES emulator in WebAssembly</title>
<link type="image/x-icon" href="favicon.ico" rel="shortcut icon" />
<link type="text/css" href="static/styles.css" media="screen" rel="Stylesheet" />
<script type="text/javascript" src="static/no_more_jquery.js"></script>
</head>
<body>
<h1>SaltyNES: A NES emulator in <a href="http://webassembly.org">WebAssembly</a></h1>
<div id="control_holder">
<div>
<input type="button" value="Zoom -" id="button_zoom_out" class="ui_button" disabled="disabled" />
<input type="button" value="Zoom +" id="button_zoom_in" class="ui_button" disabled="disabled" />
</div>
<div>
<input type="button" value="Fullscreen" id="button_full_screen" class="ui_button" disabled="disabled" />
</div>
<div>
<input type="button" value="Sound On" id="button_toggle_sound" class="ui_button" disabled="disabled" />
</div>
<div>
<input type="button" value="Console On" id="button_toggle_console" class="ui_button" />
</div>
</div>
<div id="screen_holder">
<canvas id="screen" class="hidden"></canvas>
<div id="status">Loading ...</div>
<div>
<progress value="0" max="100" id="progress"></progress>
</div>
</div>
<div id="game_holder">
<select id="select_game" class="ui_select hidden">
<option>Select a Game ...</option>
<option value="roms/dpadhero.nes">D-Pad Hero</option>
<option value="roms/dpadhero2.nes">D-Pad Hero 2</option>
<option value="roms/BladeBuster.nes">Blade Buster</option>
<option value="roms/mojon-twins--jet-paco.nes">Jet-Paco</option>
<option value="roms/tiger_1.nes">Tiger Jenny</option>
</select>
<input id="fileupload" type="file" class="hidden" />
</div>
<h3>Controls</h3>
<table>
<tr>
<td><b>Direction:</b></td>
<td>WASD</td>
</tr>
<tr>
<td><b>B / A:</b></td>
<td>J / K</td>
</tr>
<tr>
<td><b>Start / Select:</b></td>
<td>Enter / Shift</td>
</tr>
</table>
<textarea id="output" rows="8"></textarea>
<div id="footer">
Copyright © 2012-2017 Matthew Brennan Jones
<br />
Copyright © 2006-2011 Jamie Sanders
<br />
<a href="https://github.com/workhorsy/SaltyNES">https://github.com/workhorsy/SaltyNES</a>
</div>
<script type="text/javascript" src="static/setup.js"></script>
</body>
</html>