Search
lxdream.org :: lxdream/src/bootstrap.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/bootstrap.c
changeset 1095:a8b798030464
prev736:a02d1475ccfd
next1099:566cdeb157ec
author nkeynes
date Sun Jan 31 18:28:24 2010 +1000 (10 years ago)
permissions -rw-r--r--
last change Move bootstrap structure and defines into bootstrap.h
file annotate diff log raw
1.1 --- a/src/bootstrap.c Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/bootstrap.c Sun Jan 31 18:28:24 2010 +1000
1.3 @@ -19,26 +19,6 @@
1.4 #include "dream.h"
1.5 #include "bootstrap.h"
1.6
1.7 -/**
1.8 - * Bootstrap header structure
1.9 - */
1.10 -typedef struct dc_bootstrap_head {
1.11 - char hardware_id[16]; /* must be "SEGA SEGAKATANA " */
1.12 - char maker_id[16]; /* ditto, "SEGA ENTERPRISES" */
1.13 - char crc[4];
1.14 - char padding; /* normally ascii space */
1.15 - char gdrom_id[6];
1.16 - char disc_no[5];
1.17 - char regions[8];
1.18 - char peripherals[8];
1.19 - char product_id[10];
1.20 - char product_ver[6];
1.21 - char product_date[16];
1.22 - char boot_file[16];
1.23 - char vendor_id[16];
1.24 - char product_name[128];
1.25 -} *dc_bootstrap_head_t;
1.26 -
1.27 static uint32_t compute_crc16( dc_bootstrap_head_t h )
1.28 {
1.29 /* Note: Algorithm taken from http://mc.pp.se/dc/ip0000.bin.html */
.