-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
78 lines (74 loc) · 2.03 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>NES Reader</title>
<link rel="stylesheet" href="dist/css/style.css">
</head>
<body>
<main id="orex"></main>
<script type="x-template" id="main">
<main id="orex">
<input type="file" id="nes-file" accept=".nes" v-on:change="initReader">
<div class="row">
<table v-if="nes">
<tbody>
<tr>
<td>Header Format</td>
<td>{{ nes.version }}</td>
</tr>
<tr>
<td>iNES Mapper</td>
<td>{{ nes.mapper }}</td>
</tr>
<tr>
<td>TV System</td>
<td>{{ nes.tvSystem }}</td>
</tr>
<tr>
<td>PRG ROM Size</td>
<td>{{ `${nes.prgRomSize * 16} KiB` }}</td>
</tr>
<tr>
<td>CHR ROM Size</td>
<td>{{ `${nes.chrRomSize * 8} KiB` }}</td>
</tr>
<tr>
<td>PRG RAM Size</td>
<td>{{ `${nes.prgRamSize * 8} KiB` }}</td>
</tr>
<tr>
<td>Mirroring</td>
<td>{{ nes.mirroring }}</td>
</tr>
<tr>
<td>Battery?</td>
<td>{{ nes.battery }}</td>
</tr>
<tr>
<td>Trainer?</td>
<td>{{ nes.trainer }}</td>
</tr>
<tr>
<td>4 Screen VRAM?</td>
<td>{{ nes.fourScreenVram }}</td>
</tr>
<tr>
<td>VS Unisystem?</td>
<td>{{ nes.vsUnisystem }}</td>
</tr>
<tr>
<td>PlayChoice 10?</td>
<td>{{ nes.playChoice10 }}</td>
</tr>
</tbody>
</table>
<canvas id="canvas"></canvas>
<canvas id="zoom"></canvas>
</div>
</main>
</script>
<script src="dist/js/orex.js"></script>
</body>
</html>