<html>
<head>
<title>Gameboy LR35902 WebAssembly</title>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
<link rel="stylesheet" href="//unpkg.com/@sakun/system.css" />
</head>
<style type="text/css">
html, body { height: 100%; overflow: hidden }
#game {border: 1px solid black; width: 160px; height: 144px; background: black;}
</style>
<body>
<div class="window">
<div class="title-bar">
<button aria-label="Close" class="close"></button>
<h1 class="title">Gameboy LR35902 WebAssembly</h1>
<button aria-label="Resize" class="resize"></button>
</div>
<div class="separator"></div>
<div class="window-pane">
<details class="dropdown">
<summary class="dd-toggle">
File
</summary>
<ul class="dd-menu">
<li>Not</li>
<li>Everything</li>
<li>Was implemented yet</li>
<li class="divider"></li>
<li>
<a href="https://twitter.com/raphamorims">raphamorims twitter</a>
</li>
</ul>
</details>
<p>
<label for="rom">Select a rom file</label>
<input type="file" id="file" />
</p>
<p>
<button id="play" disabled class="btn">Load Game</button>
</p>
<p>
<div id="game"></div>
</p>
<p>
<h1>Buttons</h1>
</p>
<p>
Directional: Up, Down, Left, Right<br/>
A: A<br/>
B: S<br/>
Select: Z<br/>
Start: X
</p>
</div>
</div>
</body>
</html>