# HG changeset patch # User Mike Pavone # Date 1335858394 25200 # Node ID ed4b291fe247ce06aa64713c90e43b8e68b0985e Initial commit diff -r 000000000000 -r ed4b291fe247 Makefile --- /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 + diff -r 000000000000 -r ed4b291fe247 filesystem/dummy.txt diff -r 000000000000 -r ed4b291fe247 mainboot.s68 --- /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 diff -r 000000000000 -r ed4b291fe247 scd_header.s68 --- /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 diff -r 000000000000 -r ed4b291fe247 security.bin Binary file security.bin has changed diff -r 000000000000 -r ed4b291fe247 subboot.s68 --- /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