-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (48 loc) · 2.25 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
<html lang="en"><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Grid Template for Bootstrap</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/sugar/1.4.1/sugar-full.min.js"></script>
<script src="src/Binary.js"></script>
<script src="src/Rom.js"></script>
<script src="src/MemoryBankControllers.js"></script>
<script src="src/MMU.js"></script>
<script src="src/LR35902.js"></script>
<script src="src/Gameboy.js"></script>
<script src="src/ui/UI.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="page-header">
<h1><span style="color:darkbluec;text-shadow: 2px 2px #dcdcdc;">jgb</span> - Gameboy emulator</h1>
<p class="lead">You can grab the <a href="https://github.com/leandromoreira/jgb/">source code</a>.</p>
</div>
<div class="row">
<div class="col-md-2">Upload rom<input type="file" id="input" onchange="jgb.FileHandler(this.files)"></div>
<div class="col-md-2">
<canvas id="gameboyLCD" width="160" height="144"
style="border:1px solid #000000;">
</canvas>
</div>
<div class="col-md-2">
<h5>Rom</h5>
<p id="rom-info"></p>
</div>
</div>
</div> <!-- /container -->
</body></html>