changeset 0:ed4b291fe247

Initial commit
author Mike Pavone <pavone@retrodev.com>
date Tue, 01 May 2012 00:46:34 -0700
parents
children ea41003cfa70
files Makefile filesystem/dummy.txt mainboot.s68 scd_header.s68 security.bin subboot.s68
diffstat 5 files changed, 52 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Tue May 01 00:46:34 2012 -0700
@@ -0,0 +1,10 @@
+
+ghero.iso : fs.iso boot.bin
+	tail -c +32769 fs.iso | cat boot.bin - > ghero.iso
+
+fs.iso : filesystem/*
+	mkisofs -o fs.iso filesystem
+
+boot.bin : scd_header.s68 mainboot.s68 subboot.s68 security.bin
+	vasmm68k_mot -Fbin scd_header.s68 -o boot.bin
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mainboot.s68	Tue May 01 00:46:34 2012 -0700
@@ -0,0 +1,2 @@
+MainMain
+	bra MainMain
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scd_header.s68	Tue May 01 00:46:34 2012 -0700
@@ -0,0 +1,28 @@
+	org $0
+	dc.b 'SEGADISCSYSTEM  '
+	dc.b 'FM HERO    ', 0
+	dc.l 0
+	dc.b 'FM HERO    ', 0
+	dc.l 0
+	dc.l $800
+	dc.l MainBootEnd-$800
+	dc.l $0
+	dc.l $0
+	dc.l SubBootStart
+	dc.l SubBootEnd-SubBootStart
+	rorg $100
+	dc.b 'SEGA GENESIS    '
+	dc.b '(C)RETRODEV 2012'
+	dc.b 'FM HERO         '
+	dc.b 'FM HERO         '
+	
+	rorg $200
+
+	incbin security.bin
+	include mainboot.s68
+	align 11
+MainBootEnd
+SubBootStart
+	include subboot.s68
+SubBootEnd
+	align 15
Binary file security.bin has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/subboot.s68	Tue May 01 00:46:34 2012 -0700
@@ -0,0 +1,12 @@
+SubHeaderStart
+	dc.b 'MAIN FOOBAR', 0
+	align 8
+	dc.l 0
+	dc.l SubHeaderEnd-SubHeaderStart
+	dc.l EntryPoints-SubHeaderStart
+EntryPoints
+	dc.l SubMain-EntryPoints
+	dc.l 0
+SubHeaderEnd
+SubMain
+	bra SubMain