mirror of
https://github.com/transistorfet/moa.git
synced 2024-12-01 09:49:39 +00:00
941c793523
The hope was that this would reduce the amount of copying and bit shifting required by the frontend to get the data on screen, but it doesn't seem to offer much advantage, surprisingly. I'll leave it in though. There are a few other minor tweaks included here to try to improve the performance a bit
34 lines
1.1 KiB
HTML
34 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" href="style.css">
|
|
<title>Sega Genesis - Moa</title>
|
|
<script type="module" src="./interface.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="config">
|
|
<label>ROM File (only .bin format)</label>
|
|
<input type="file" id="rom-file" accept=".bin,.smd,.md" />
|
|
<input type="button" id="reset" value="Reset" />
|
|
<input type="button" id="power" value="Power" />
|
|
<input type="text" id="speed" value="4.0" />
|
|
<select id="scale">
|
|
<option value="1">320 x 224</option>
|
|
<option value="2" selected>640 x 448</option>
|
|
<option value="3">960 x 672</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div id="metrics">
|
|
<label>FrameRate</label>
|
|
<input type="text" id="frame-rate" disabled />
|
|
</div>
|
|
|
|
<div id="video-screen">
|
|
<canvas id="video" tabindex="0" draw-raw-handle="1" style="width: 640px; height: 448px;" width="640" height="448" />
|
|
</div>
|
|
</body>
|
|
</html>
|