mirror of
https://github.com/pret/pokered.git
synced 2024-10-22 22:55:31 +00:00
outsource the ROM header to rgbfix
hg-commit-id: 0a810b8fee68
This commit is contained in:
parent
df2b3b739c
commit
63a594a3c5
2 changed files with 10 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -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:
|
||||
|
|
10
pokered.asm
10
pokered.asm
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue