-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathromformats.html
86 lines (82 loc) · 1.98 KB
/
romformats.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
81
82
83
84
85
86
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>N64 ROM format reference</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.block { padding: 10em auto; }
.block:nth-child(odd) { background-color: #aaaaff; }
.block:nth-child(even) { background-color: #b2b2b2; }
</style>
</head>
<body>
<div id="parent">
<h2>N64 ROM formats</h2>
<h3>File extensions</h3>
<table>
<thead>
<tr>
<th>Extension</th>
<th>Usual byte order</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
<tr>
<td>.n64</td>
<td>Byte-swapped</td>
<td>Previously used by No-Intro</td>
</tr>
<tr>
<td>.n64</td>
<td>Little-endian</td>
<td>Very rare</td>
</tr>
<tr>
<td>.v64</td>
<td>Byte-swapped</td>
<td>Named after the Doctor V64 backup device</td>
</tr>
<tr>
<td>.z64</td>
<td>Native</td>
<td>Named after the Z64 backup device</td>
</tr>
</tbody>
</table>
<p>
Note that the actual byte order of a ROM may not always be the one expected from its file extension.
</p>
<h3>Byte orders</h3>
<table>
<thead>
<tr>
<th>Format</th>
<th>Order</th>
<th>Header (hex)</th>
<th>Example string</th>
</tr>
<tr>
<td>Native</td>
<td>ABCD</td>
<td><tt>80 37 12 40</tt></td>
<td><tt><span class="block">SUPE</span><span class="block">R␣MA</span><span class="block">RIO␣</span><span class="block">64␣␣</span></tt></td>
</tr>
<tr>
<td>Byte-swapped</td>
<td>BADC</td>
<td><tt>37 80 40 12</tt></td>
<td><tt><span class="block">USEP</span><span class="block">␣RAM</span><span class="block">IR␣O</span><span class="block">46␣␣</span></tt></td>
</tr>
<tr>
<td>Little-endian (rare)</td>
<td>DCBA</td>
<td><tt>40 12 37 80</tt></td>
<td><tt><span class="block">EPUS</span><span class="block">AM␣R</span><span class="block">␣OIR</span><span class="block">␣␣46</span></tt></td>
</tr>
</table>
</div>
</body>
</html>