Mercurial > repos > ghero
changeset 1:ea41003cfa70
Improvements to skeleton
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 01 May 2012 17:47:00 -0700 |
parents | ed4b291fe247 |
children | bbfa7bf69620 |
files | Makefile mainboot.s68 scd_header.s68 subboot.s68 |
diffstat | 4 files changed, 22 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Tue May 01 00:46:34 2012 -0700 +++ b/Makefile Tue May 01 17:47:00 2012 -0700 @@ -5,6 +5,15 @@ fs.iso : filesystem/* mkisofs -o fs.iso filesystem -boot.bin : scd_header.s68 mainboot.s68 subboot.s68 security.bin +boot.bin : scd_header.s68 mainboot.bin subboot.bin security.bin vasmm68k_mot -Fbin scd_header.s68 -o boot.bin + +mainboot.bin : mainboot.s68 + vasmm68k_mot -Fbin mainboot.s68 -o mainboot.bin +subboot.bin : subboot.s68 + vasmm68k_mot -Fbin subboot.s68 -o subboot.bin + +clean : + rm subboot.bin mainboot.bin boot.bin + rm *.iso
--- a/mainboot.s68 Tue May 01 00:46:34 2012 -0700 +++ b/mainboot.s68 Tue May 01 17:47:00 2012 -0700 @@ -1,2 +1,4 @@ + org $FFFF0000 + incbin security.bin MainMain bra MainMain
--- a/scd_header.s68 Tue May 01 00:46:34 2012 -0700 +++ b/scd_header.s68 Tue May 01 17:47:00 2012 -0700 @@ -10,19 +10,17 @@ dc.l $0 dc.l SubBootStart dc.l SubBootEnd-SubBootStart - rorg $100 + org $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 + org $200 + incbin mainboot.bin align 11 MainBootEnd SubBootStart - include subboot.s68 + incbin subboot.bin SubBootEnd align 15
--- a/subboot.s68 Tue May 01 00:46:34 2012 -0700 +++ b/subboot.s68 Tue May 01 17:47:00 2012 -0700 @@ -1,3 +1,4 @@ + org $6000 SubHeaderStart dc.b 'MAIN FOOBAR', 0 align 8 @@ -6,7 +7,12 @@ dc.l EntryPoints-SubHeaderStart EntryPoints dc.l SubMain-EntryPoints + dc.l SubMain-EntryPoints + dc.l Int2Handler-EntryPoints dc.l 0 SubHeaderEnd SubMain bra SubMain + +Int2Handler + rte