From 48faec287b3dc08c2c715bd40c21834e2c515082 Mon Sep 17 00:00:00 2001 From: TheFakeMateo Date: Mon, 23 Nov 2015 20:21:10 -0600 Subject: [PATCH] Prepare to build Pokemon Forever as well --- Makefile | 10 ++++++---- forever.asm | 2 ++ forever/audio.asm | 2 ++ forever/main.asm | 2 ++ forever/text.asm | 2 ++ forever/wram.asm | 2 ++ 6 files changed, 16 insertions(+), 4 deletions(-) create mode 100755 forever.asm create mode 100755 forever/audio.asm create mode 100755 forever/main.asm create mode 100755 forever/text.asm create mode 100755 forever/wram.asm diff --git a/Makefile b/Makefile index 7220c5a507..56d4d9c062 100755 --- a/Makefile +++ b/Makefile @@ -1,15 +1,16 @@ # Build Red/Blue. Yellow is WIP. -roms := pokered.gbc pokeblue.gbc +roms := pokered.gbc pokeblue.gbc pokeforever.gbc -.PHONY: all clean red blue yellow compare +.PHONY: all clean red blue forever yellow compare all: $(roms) red: pokered.gbc blue: pokeblue.gbc yellow: pokeyellow.gbc +forever:pokeforever.gbc -versions := red blue yellow +versions := red blue forever yellow # Header options for rgbfix. @@ -18,6 +19,7 @@ cgb_opt = -cjsv -k 01 -l 0x33 -m 0x1b -p 0 -r 03 red_opt = $(dmg_opt) -t "POKEMON RED" blue_opt = $(dmg_opt) -t "POKEMON BLUE" +forever_opt= $(dmg_opt) -t "POKEMON FOREVER" yellow_opt = $(cgb_opt) -t "POKEMON YELLOW" @@ -32,7 +34,7 @@ MD5 := md5sum -c --quiet # The compare target is a shortcut to check that the build matches the original roms exactly. # This is for contributors to make sure a change didn't affect the contents of the rom. # More thorough comparison can be made by diffing the output of hexdump -C against both roms. -compare: red blue +compare: red blue forever @$(MD5) roms.md5 diff --git a/forever.asm b/forever.asm new file mode 100755 index 0000000000..3db2d44454 --- /dev/null +++ b/forever.asm @@ -0,0 +1,2 @@ +_FOREVER EQU 1 +INCLUDE "charmap.asm" diff --git a/forever/audio.asm b/forever/audio.asm new file mode 100755 index 0000000000..095063b358 --- /dev/null +++ b/forever/audio.asm @@ -0,0 +1,2 @@ +INCLUDE "forever.asm" +INCLUDE "audio.asm" diff --git a/forever/main.asm b/forever/main.asm new file mode 100755 index 0000000000..016a127570 --- /dev/null +++ b/forever/main.asm @@ -0,0 +1,2 @@ +INCLUDE "forever.asm" +INCLUDE "main.asm" diff --git a/forever/text.asm b/forever/text.asm new file mode 100755 index 0000000000..7d6b85a76b --- /dev/null +++ b/forever/text.asm @@ -0,0 +1,2 @@ +INCLUDE "forever.asm" +INCLUDE "text.asm" diff --git a/forever/wram.asm b/forever/wram.asm new file mode 100755 index 0000000000..0c768a959c --- /dev/null +++ b/forever/wram.asm @@ -0,0 +1,2 @@ +INCLUDE "forever.asm" +INCLUDE "wram.asm"