outsource the ROM header to rgbfix

hg-commit-id: 0a810b8fee68
This commit is contained in:
IIMarckus 2010-01-04 20:17:37 -07:00
parent df2b3b739c
commit 63a594a3c5
2 changed files with 10 additions and 2 deletions

View file

@ -1,7 +1,7 @@
pokered.gbc: pokered.asm
rgbasm -opokered.obj pokered.asm
xlink -z0 pokered.link
rgbfix -p -v pokered.gbc
rgbfix -p0 "-tPOKEMON RED" -k01 -s -j -b13 -m3 -v pokered.gbc
cmp baserom.gbc pokered.gbc
clean:

View file

@ -1,5 +1,13 @@
SECTION "bank0",HOME[0]
INCBIN "baserom.gbc",$0,$4000
INCBIN "baserom.gbc",$0,$100
SECTION "romheader",HOME[$100]
nop
jp Start
Section "start",HOME[$150]
Start:
INCBIN "baserom.gbc",$150,$4000 - $150
SECTION "bank1",DATA,BANK[$1]
INCBIN "baserom.gbc",$4000,$4000