Search
lxdream.org :: lxdream/src/bootstrap.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/bootstrap.h
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.h Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/bootstrap.h Sun Jan 31 18:28:24 2010 +1000
1.3 @@ -28,6 +28,31 @@
1.4 extern "C" {
1.5 #endif
1.6
1.7 +#define BOOTSTRAP_LOAD_ADDR 0x8C008000
1.8 +#define BOOTSTRAP_SIZE 32768
1.9 +#define BOOTSTRAP_MAGIC "SEGA SEGAKATANA SEGA ENTERPRISES"
1.10 +
1.11 +#define BINARY_LOAD_ADDR 0x8C010000
1.12 +
1.13 +/**
1.14 + * Bootstrap header structure
1.15 + */
1.16 +typedef struct dc_bootstrap_head {
1.17 + char magic[32];
1.18 + char crc[4];
1.19 + char padding; /* normally ascii space */
1.20 + char gdrom_id[6];
1.21 + char disc_no[5];
1.22 + char regions[8];
1.23 + char peripherals[8];
1.24 + char product_id[10];
1.25 + char product_ver[6];
1.26 + char product_date[16];
1.27 + char boot_file[16];
1.28 + char vendor_id[16];
1.29 + char product_name[128];
1.30 +} *dc_bootstrap_head_t;
1.31 +
1.32 /**
1.33 * Dump the bootstrap info to the output log for infomational/debugging
1.34 * purposes.
.