From f39b2b31fc8a604d7a3972cd15473bc8cab28684 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sat, 12 Sep 2015 14:11:23 -0500 Subject: tool to create saturn boot sector --- src/bootinfo.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/bootinfo.h (limited to 'src/bootinfo.h') diff --git a/src/bootinfo.h b/src/bootinfo.h new file mode 100644 index 0000000..976f8e1 --- /dev/null +++ b/src/bootinfo.h @@ -0,0 +1,23 @@ +#ifndef SATTOOLS_BOOT_BOOTINFO_H +#define SATTOOLS_BOOT_BOOTINFO_H + +#include + +struct systemid { + char title [112]; + char maker [ 16]; + char product [ 10]; + char version [ 6]; + char reldate [ 8]; + char device [ 8]; + char regions [ 10]; + char peripherals[ 16]; + + uint32_t bootsize; + uint32_t stack_master; + uint32_t stack_slave; + uint32_t load_addr; + uint32_t load_size; +}; + +#endif -- cgit v1.2.3