<html>
<body>
  <div id="body" style="background-color:#ffffff;" >
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head" style="border-bottom-width:1px;border-bottom-style:solid;" ><td class="headtd" style="padding:0;padding-top:.2em;" colspan="4">Commit in <b><tt>lxdream/src</tt></b></td></tr>
<tr><td><tt><a href="#file1">bootstrap.c</a></tt></td><td></td><td id="removed" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ffdddd;" align="right">-20</td><td class="headtd2" style="padding-left:.3em;padding-right:.3em;" nowrap="nowrap">d2324eb67223 -> a8b798030464</td></tr>
<tr class="alt" style=";" ><td><tt><a href="#file2">bootstrap.h</a></tt></td><td id="addedalt" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ccf7cc;" align="right">+25</td><td></td><td class="headtd2" style="padding-left:.3em;padding-right:.3em;" nowrap="nowrap">d2324eb67223 -> a8b798030464</td></tr>
<tr><td><tt><a href="#file3">loader.c</a></tt></td><td></td><td id="removed" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ffdddd;" align="right">-5</td><td class="headtd2" style="padding-left:.3em;padding-right:.3em;" nowrap="nowrap">d2324eb67223 -> a8b798030464</td></tr>
<tr><td></td><td id="added" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ddffdd;" align="right">+25</td><td id="removed" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ffdddd;" align="right">-25</td><td></td></tr>
</table>
<small id="info" style="color: #888888;" >3 modified files</small><br />
<pre class="comment" style="white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;padding:4px;border:1px dashed #000000;background-color:#ffffdd;" >
Move bootstrap structure and defines into bootstrap.h
</pre>
<hr /><a name="file1" /><div class="file" style="border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;" >
<span class="pathname" style="font-family:monospace; float:right;" >lxdream/src</span><br />
<div class="fileheader" style="margin-bottom:.5em;" ><big><b>bootstrap.c</b></big> <small id="info" style="color: #888888;" >d2324eb67223 -> a8b798030464</small></div>
<pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >--- lxdream/src/bootstrap.c
+++ lxdream/src/bootstrap.c
@@ -19,26 +19,6 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > #include "dream.h"
 #include "bootstrap.h"
 
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >-/**
- * Bootstrap header structure
- */
-typedef struct dc_bootstrap_head {
-    char hardware_id[16]; /* must be "SEGA SEGAKATANA " */ 
-    char maker_id[16];    /* ditto,  "SEGA ENTERPRISES" */
-    char crc[4];
-    char padding;         /* normally ascii space */
-    char gdrom_id[6];
-    char disc_no[5];
-    char regions[8];
-    char peripherals[8];
-    char product_id[10];
-    char product_ver[6];
-    char product_date[16];
-    char boot_file[16];
-    char vendor_id[16];
-    char product_name[128];
-} *dc_bootstrap_head_t;
-
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > static uint32_t compute_crc16( dc_bootstrap_head_t h )
 {
     /* Note: Algorithm taken from http://mc.pp.se/dc/ip0000.bin.html */
</pre></div>
<hr /><a name="file2" /><div class="file" style="border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;" >
<span class="pathname" style="font-family:monospace; float:right;" >lxdream/src</span><br />
<div class="fileheader" style="margin-bottom:.5em;" ><big><b>bootstrap.h</b></big> <small id="info" style="color: #888888;" >d2324eb67223 -> a8b798030464</small></div>
<pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >--- lxdream/src/bootstrap.h
+++ lxdream/src/bootstrap.h
@@ -28,6 +28,31 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > extern "C" {
 #endif
 
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+#define BOOTSTRAP_LOAD_ADDR 0x8C008000
+#define BOOTSTRAP_SIZE 32768
+#define BOOTSTRAP_MAGIC "SEGA SEGAKATANA SEGA ENTERPRISES"
+
+#define BINARY_LOAD_ADDR 0x8C010000
+
+/**
+ * Bootstrap header structure
+ */
+typedef struct dc_bootstrap_head {
+    char magic[32];
+    char crc[4];
+    char padding;         /* normally ascii space */
+    char gdrom_id[6];
+    char disc_no[5];
+    char regions[8];
+    char peripherals[8];
+    char product_id[10];
+    char product_ver[6];
+    char product_date[16];
+    char boot_file[16];
+    char vendor_id[16];
+    char product_name[128];
+} *dc_bootstrap_head_t;
+
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > /**
  * Dump the bootstrap info to the output log for infomational/debugging
  * purposes.
</pre></div>
<hr /><a name="file3" /><div class="file" style="border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;" >
<span class="pathname" style="font-family:monospace; float:right;" >lxdream/src</span><br />
<div class="fileheader" style="margin-bottom:.5em;" ><big><b>loader.c</b></big> <small id="info" style="color: #888888;" >d2324eb67223 -> a8b798030464</small></div>
<pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >--- lxdream/src/loader.c
+++ lxdream/src/loader.c
@@ -38,11 +38,6 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >         { "bin", "SH4 Bin file" },
         { NULL, NULL } };
 
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >-#define BOOTSTRAP_LOAD_ADDR 0x8C008000
-#define BOOTSTRAP_SIZE 32768
-
-#define BINARY_LOAD_ADDR 0x8C010000
-
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > #define CDI_V2 0x80000004
 #define CDI_V3 0x80000005
 
</pre></div>
<center><small>Chaos Theory</small></center>
</div></body></html>