diff --git a/build/tests/RomTypeTest/ARM9/Makefile b/build/tests/RomTypeTest/ARM9/Makefile index b1ce400b..4009dbb7 100644 --- a/build/tests/RomTypeTest/ARM9/Makefile +++ b/build/tests/RomTypeTest/ARM9/Makefile @@ -19,7 +19,8 @@ SUBDIRS = SUBMAKES = Makefile.0 Makefile.1 Makefile.2 Makefile.3 Makefile.4 Makefile.5 \ Makefile.6 Makefile.7 Makefile.8 Makefile.9 Makefile.a Makefile.b \ - Makefile.c Makefile.d Makefile.e + Makefile.c Makefile.d Makefile.e Makefile.f Makefile.g Makefile.h \ + Makefile.i Makefile.j Makefile.k include $(TWL_IPL_RED_ROOT)/build/tests/RelocateChecker/buildtools/commondefs diff --git a/build/tests/RomTypeTest/ARM9/Makefile.0 b/build/tests/RomTypeTest/ARM9/Makefile.0 index 7cee5575..a0db88bd 100644 --- a/build/tests/RomTypeTest/ARM9/Makefile.0 +++ b/build/tests/RomTypeTest/ARM9/Makefile.0 @@ -28,7 +28,8 @@ TARGET_NUMBER = 0 TARGET_NAME = RomTypeTest$(TARGET_NUMBER) BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME) TARGET_BIN = $(TARGET_NAME).srl -TITLEID_LO = HN$(TARGET_NUMBER)A +TITLEID_LO = RT$(TARGET_NUMBER)A +#TARGET_TAD = $(BINDIR)/$(TITLEID_LO).$(TWL_BUILD_DIR)$(CODEGEN_ARCH).tad ROM_SPEC = main$(TARGET_NUMBER).rsf @@ -40,11 +41,13 @@ SRCS = main.c RomTypeTest.c \ LINCLUDES = $(MISC_DIR)/include MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' +#MAKETAD_FLAGS += -s include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe +#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe +#LDIRT_CLEAN = $(TARGET_TAD) #---------------------------------------------------------------------------- diff --git a/build/tests/RomTypeTest/ARM9/Makefile.1 b/build/tests/RomTypeTest/ARM9/Makefile.1 index f7d2ccae..295a0190 100644 --- a/build/tests/RomTypeTest/ARM9/Makefile.1 +++ b/build/tests/RomTypeTest/ARM9/Makefile.1 @@ -28,7 +28,8 @@ TARGET_NUMBER = 1 TARGET_NAME = RomTypeTest$(TARGET_NUMBER) BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME) TARGET_BIN = $(TARGET_NAME).srl -TITLEID_LO = HN$(TARGET_NUMBER)A +TITLEID_LO = RT$(TARGET_NUMBER)A +#TARGET_TAD = $(BINDIR)/$(TITLEID_LO).$(TWL_BUILD_DIR)$(CODEGEN_ARCH).tad ROM_SPEC = main$(TARGET_NUMBER).rsf @@ -40,11 +41,13 @@ SRCS = main.c RomTypeTest.c \ LINCLUDES = $(MISC_DIR)/include MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' +#MAKETAD_FLAGS += -s include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe +#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe +#LDIRT_CLEAN = $(TARGET_TAD) #---------------------------------------------------------------------------- diff --git a/build/tests/RomTypeTest/ARM9/Makefile.2 b/build/tests/RomTypeTest/ARM9/Makefile.2 index 05037690..fdb9e52e 100644 --- a/build/tests/RomTypeTest/ARM9/Makefile.2 +++ b/build/tests/RomTypeTest/ARM9/Makefile.2 @@ -28,7 +28,8 @@ TARGET_NUMBER = 2 TARGET_NAME = RomTypeTest$(TARGET_NUMBER) BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME) TARGET_BIN = $(TARGET_NAME).srl -TITLEID_LO = HN$(TARGET_NUMBER)A +TITLEID_LO = RT$(TARGET_NUMBER)A +#TARGET_TAD = $(BINDIR)/$(TITLEID_LO).$(TWL_BUILD_DIR)$(CODEGEN_ARCH).tad ROM_SPEC = main$(TARGET_NUMBER).rsf @@ -40,11 +41,13 @@ SRCS = main.c RomTypeTest.c \ LINCLUDES = $(MISC_DIR)/include MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' +#MAKETAD_FLAGS += -s include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe +#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe +#LDIRT_CLEAN = $(TARGET_TAD) #---------------------------------------------------------------------------- diff --git a/build/tests/RomTypeTest/ARM9/Makefile.3 b/build/tests/RomTypeTest/ARM9/Makefile.3 index 96127ae6..dceb5ad8 100644 --- a/build/tests/RomTypeTest/ARM9/Makefile.3 +++ b/build/tests/RomTypeTest/ARM9/Makefile.3 @@ -28,7 +28,8 @@ TARGET_NUMBER = 3 TARGET_NAME = RomTypeTest$(TARGET_NUMBER) BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME) TARGET_BIN = $(TARGET_NAME).srl -TITLEID_LO = HN$(TARGET_NUMBER)A +TITLEID_LO = RT$(TARGET_NUMBER)A +#TARGET_TAD = $(BINDIR)/$(TITLEID_LO).$(TWL_BUILD_DIR)$(CODEGEN_ARCH).tad ROM_SPEC = main$(TARGET_NUMBER).rsf @@ -40,11 +41,13 @@ SRCS = main.c RomTypeTest.c \ LINCLUDES = $(MISC_DIR)/include MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' +#MAKETAD_FLAGS += -s include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe +MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe +#LDIRT_CLEAN = $(TARGET_TAD) #---------------------------------------------------------------------------- diff --git a/build/tests/RomTypeTest/ARM9/Makefile.4 b/build/tests/RomTypeTest/ARM9/Makefile.4 index 80b8a6d8..023be1e1 100644 --- a/build/tests/RomTypeTest/ARM9/Makefile.4 +++ b/build/tests/RomTypeTest/ARM9/Makefile.4 @@ -28,7 +28,8 @@ TARGET_NUMBER = 4 TARGET_NAME = RomTypeTest$(TARGET_NUMBER) BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME) TARGET_BIN = $(TARGET_NAME).srl -TITLEID_LO = HN$(TARGET_NUMBER)A +TITLEID_LO = RT$(TARGET_NUMBER)A +#TARGET_TAD = $(BINDIR)/$(TITLEID_LO).$(TWL_BUILD_DIR)$(CODEGEN_ARCH).tad ROM_SPEC = main$(TARGET_NUMBER).rsf @@ -40,11 +41,13 @@ SRCS = main.c RomTypeTest.c \ LINCLUDES = $(MISC_DIR)/include MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' +#MAKETAD_FLAGS += -s include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe +MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe +#LDIRT_CLEAN = $(TARGET_TAD) #---------------------------------------------------------------------------- diff --git a/build/tests/RomTypeTest/ARM9/Makefile.5 b/build/tests/RomTypeTest/ARM9/Makefile.5 index cb8cb6db..d7701c52 100644 --- a/build/tests/RomTypeTest/ARM9/Makefile.5 +++ b/build/tests/RomTypeTest/ARM9/Makefile.5 @@ -28,7 +28,8 @@ TARGET_NUMBER = 5 TARGET_NAME = RomTypeTest$(TARGET_NUMBER) BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME) TARGET_BIN = $(TARGET_NAME).srl -TITLEID_LO = HN$(TARGET_NUMBER)A +TITLEID_LO = RT$(TARGET_NUMBER)A +TARGET_TAD = $(BINDIR)/$(TITLEID_LO).$(TWL_BUILD_DIR)$(CODEGEN_ARCH).tad ROM_SPEC = main$(TARGET_NUMBER).rsf @@ -40,11 +41,13 @@ SRCS = main.c RomTypeTest.c \ LINCLUDES = $(MISC_DIR)/include MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' +#MAKETAD_FLAGS += -s include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe +#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe +LDIRT_CLEAN = $(TARGET_TAD) #---------------------------------------------------------------------------- diff --git a/build/tests/RomTypeTest/ARM9/Makefile.6 b/build/tests/RomTypeTest/ARM9/Makefile.6 index 6b8d2ba4..e2513c24 100644 --- a/build/tests/RomTypeTest/ARM9/Makefile.6 +++ b/build/tests/RomTypeTest/ARM9/Makefile.6 @@ -28,7 +28,8 @@ TARGET_NUMBER = 6 TARGET_NAME = RomTypeTest$(TARGET_NUMBER) BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME) TARGET_BIN = $(TARGET_NAME).srl -TITLEID_LO = HN$(TARGET_NUMBER)A +TITLEID_LO = RT$(TARGET_NUMBER)A +TARGET_TAD = $(BINDIR)/$(TITLEID_LO).$(TWL_BUILD_DIR)$(CODEGEN_ARCH).tad ROM_SPEC = main$(TARGET_NUMBER).rsf @@ -40,11 +41,13 @@ SRCS = main.c RomTypeTest.c \ LINCLUDES = $(MISC_DIR)/include MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' +#MAKETAD_FLAGS += -s include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe +#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe +LDIRT_CLEAN = $(TARGET_TAD) #---------------------------------------------------------------------------- diff --git a/build/tests/RomTypeTest/ARM9/Makefile.7 b/build/tests/RomTypeTest/ARM9/Makefile.7 index 26981dc0..c20024b4 100644 --- a/build/tests/RomTypeTest/ARM9/Makefile.7 +++ b/build/tests/RomTypeTest/ARM9/Makefile.7 @@ -28,7 +28,8 @@ TARGET_NUMBER = 7 TARGET_NAME = RomTypeTest$(TARGET_NUMBER) BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME) TARGET_BIN = $(TARGET_NAME).srl -TITLEID_LO = HN$(TARGET_NUMBER)A +TITLEID_LO = RT$(TARGET_NUMBER)A +TARGET_TAD = $(BINDIR)/$(TITLEID_LO).$(TWL_BUILD_DIR)$(CODEGEN_ARCH).tad ROM_SPEC = main$(TARGET_NUMBER).rsf @@ -40,11 +41,13 @@ SRCS = main.c RomTypeTest.c \ LINCLUDES = $(MISC_DIR)/include MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' +#MAKETAD_FLAGS += -s include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe +#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe +LDIRT_CLEAN = $(TARGET_TAD) #---------------------------------------------------------------------------- diff --git a/build/tests/RomTypeTest/ARM9/Makefile.8 b/build/tests/RomTypeTest/ARM9/Makefile.8 index af42f8e6..11bd1b38 100644 --- a/build/tests/RomTypeTest/ARM9/Makefile.8 +++ b/build/tests/RomTypeTest/ARM9/Makefile.8 @@ -28,7 +28,8 @@ TARGET_NUMBER = 8 TARGET_NAME = RomTypeTest$(TARGET_NUMBER) BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME) TARGET_BIN = $(TARGET_NAME).srl -TITLEID_LO = HN$(TARGET_NUMBER)A +TITLEID_LO = RT$(TARGET_NUMBER)A +TARGET_TAD = $(BINDIR)/$(TITLEID_LO).$(TWL_BUILD_DIR)$(CODEGEN_ARCH).tad ROM_SPEC = main$(TARGET_NUMBER).rsf @@ -40,10 +41,13 @@ SRCS = main.c RomTypeTest.c \ LINCLUDES = $(MISC_DIR)/include MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' +#MAKETAD_FLAGS += -s include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe +#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe + +LDIRT_CLEAN = $(TARGET_TAD) #---------------------------------------------------------------------------- diff --git a/build/tests/RomTypeTest/ARM9/Makefile.9 b/build/tests/RomTypeTest/ARM9/Makefile.9 index 94b51979..c90dc81f 100644 --- a/build/tests/RomTypeTest/ARM9/Makefile.9 +++ b/build/tests/RomTypeTest/ARM9/Makefile.9 @@ -45,7 +45,7 @@ MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe +#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe LDIRT_CLEAN = $(TARGET_TAD) diff --git a/build/tests/RomTypeTest/ARM9/Makefile.a b/build/tests/RomTypeTest/ARM9/Makefile.a index f46cf130..d1df6583 100644 --- a/build/tests/RomTypeTest/ARM9/Makefile.a +++ b/build/tests/RomTypeTest/ARM9/Makefile.a @@ -45,7 +45,7 @@ MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe +#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe LDIRT_CLEAN = $(TARGET_TAD) diff --git a/build/tests/RomTypeTest/ARM9/Makefile.b b/build/tests/RomTypeTest/ARM9/Makefile.b index 72b15177..8cf84974 100644 --- a/build/tests/RomTypeTest/ARM9/Makefile.b +++ b/build/tests/RomTypeTest/ARM9/Makefile.b @@ -41,11 +41,11 @@ SRCS = main.c RomTypeTest.c \ LINCLUDES = $(MISC_DIR)/include MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' -MAKETAD_FLAGS += -s +#MAKETAD_FLAGS += -s include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe +#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe LDIRT_CLEAN = $(TARGET_TAD) diff --git a/build/tests/RomTypeTest/ARM9/Makefile.c b/build/tests/RomTypeTest/ARM9/Makefile.c index cf060256..c82d7931 100644 --- a/build/tests/RomTypeTest/ARM9/Makefile.c +++ b/build/tests/RomTypeTest/ARM9/Makefile.c @@ -41,11 +41,11 @@ SRCS = main.c RomTypeTest.c \ LINCLUDES = $(MISC_DIR)/include MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' -MAKETAD_FLAGS += -s +#MAKETAD_FLAGS += -s include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe +#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe LDIRT_CLEAN = $(TARGET_TAD) diff --git a/build/tests/RomTypeTest/ARM9/Makefile.d b/build/tests/RomTypeTest/ARM9/Makefile.d index 52cf2b38..46ea95d3 100644 --- a/build/tests/RomTypeTest/ARM9/Makefile.d +++ b/build/tests/RomTypeTest/ARM9/Makefile.d @@ -45,7 +45,7 @@ MAKETAD_FLAGS += -s include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe +MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe LDIRT_CLEAN = $(TARGET_TAD) diff --git a/build/tests/RomTypeTest/ARM9/Makefile.e b/build/tests/RomTypeTest/ARM9/Makefile.e index 3c09bd4b..cd703208 100644 --- a/build/tests/RomTypeTest/ARM9/Makefile.e +++ b/build/tests/RomTypeTest/ARM9/Makefile.e @@ -45,7 +45,7 @@ MAKETAD_FLAGS += -s include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe +MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe LDIRT_CLEAN = $(TARGET_TAD) diff --git a/build/tests/RomTypeTest/ARM9/Makefile.f b/build/tests/RomTypeTest/ARM9/Makefile.f new file mode 100644 index 00000000..fa76e80a --- /dev/null +++ b/build/tests/RomTypeTest/ARM9/Makefile.f @@ -0,0 +1,61 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlSDK - demos - simpleShoot-1 +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +SUBDIRS = + +#---------------------------------------------------------------------------- + +TARGET_FIRM = SYSTEMMENU +TARGET_PLATFORM = TWL +TWL_ARCHGEN = LIMITED + +TARGET_NUMBER = f +TARGET_NAME = RomTypeTest$(TARGET_NUMBER) +BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME) +TARGET_BIN = $(TARGET_NAME).srl +TITLEID_LO = RT$(TARGET_NUMBER)A +TARGET_TAD = $(BINDIR)/$(TITLEID_LO).$(TWL_BUILD_DIR)$(CODEGEN_ARCH).tad + +ROM_SPEC = main$(TARGET_NUMBER).rsf + +MISC_DIR = ../../../systemMenu_RED/misc + +SRCS = main.c RomTypeTest.c \ + $(MISC_DIR)/src/misc.c $(MISC_DIR)/src/cmn.c + +LINCLUDES = $(MISC_DIR)/include + +MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' +MAKETAD_FLAGS += -s + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe + +LDIRT_CLEAN = $(TARGET_TAD) + +#---------------------------------------------------------------------------- + +do-build : $(TARGETS) + + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- + +#===== End of Makefile ===== diff --git a/build/tests/RomTypeTest/ARM9/Makefile.g b/build/tests/RomTypeTest/ARM9/Makefile.g new file mode 100644 index 00000000..ce5b2087 --- /dev/null +++ b/build/tests/RomTypeTest/ARM9/Makefile.g @@ -0,0 +1,61 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlSDK - demos - simpleShoot-1 +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +SUBDIRS = + +#---------------------------------------------------------------------------- + +TARGET_FIRM = SYSTEMMENU +TARGET_PLATFORM = TWL +TWL_ARCHGEN = LIMITED + +TARGET_NUMBER = g +TARGET_NAME = RomTypeTest$(TARGET_NUMBER) +BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME) +TARGET_BIN = $(TARGET_NAME).srl +TITLEID_LO = RT$(TARGET_NUMBER)A +TARGET_TAD = $(BINDIR)/$(TITLEID_LO).$(TWL_BUILD_DIR)$(CODEGEN_ARCH).tad + +ROM_SPEC = main$(TARGET_NUMBER).rsf + +MISC_DIR = ../../../systemMenu_RED/misc + +SRCS = main.c RomTypeTest.c \ + $(MISC_DIR)/src/misc.c $(MISC_DIR)/src/cmn.c + +LINCLUDES = $(MISC_DIR)/include + +MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' +MAKETAD_FLAGS += -s + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe + +LDIRT_CLEAN = $(TARGET_TAD) + +#---------------------------------------------------------------------------- + +do-build : $(TARGETS) + + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- + +#===== End of Makefile ===== diff --git a/build/tests/RomTypeTest/ARM9/Makefile.h b/build/tests/RomTypeTest/ARM9/Makefile.h new file mode 100644 index 00000000..d43a97ce --- /dev/null +++ b/build/tests/RomTypeTest/ARM9/Makefile.h @@ -0,0 +1,61 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlSDK - demos - simpleShoot-1 +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +SUBDIRS = + +#---------------------------------------------------------------------------- + +TARGET_FIRM = SYSTEMMENU +TARGET_PLATFORM = TWL +TWL_ARCHGEN = LIMITED + +TARGET_NUMBER = h +TARGET_NAME = RomTypeTest$(TARGET_NUMBER) +BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME) +TARGET_BIN = $(TARGET_NAME).srl +TITLEID_LO = RT$(TARGET_NUMBER)A +TARGET_TAD = $(BINDIR)/$(TITLEID_LO).$(TWL_BUILD_DIR)$(CODEGEN_ARCH).tad + +ROM_SPEC = main$(TARGET_NUMBER).rsf + +MISC_DIR = ../../../systemMenu_RED/misc + +SRCS = main.c RomTypeTest.c \ + $(MISC_DIR)/src/misc.c $(MISC_DIR)/src/cmn.c + +LINCLUDES = $(MISC_DIR)/include + +MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' +MAKETAD_FLAGS += -s + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe + +LDIRT_CLEAN = $(TARGET_TAD) + +#---------------------------------------------------------------------------- + +do-build : $(TARGETS) + + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- + +#===== End of Makefile ===== diff --git a/build/tests/RomTypeTest/ARM9/Makefile.i b/build/tests/RomTypeTest/ARM9/Makefile.i new file mode 100644 index 00000000..655c5810 --- /dev/null +++ b/build/tests/RomTypeTest/ARM9/Makefile.i @@ -0,0 +1,61 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlSDK - demos - simpleShoot-1 +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +SUBDIRS = + +#---------------------------------------------------------------------------- + +TARGET_FIRM = SYSTEMMENU +TARGET_PLATFORM = TWL +TWL_ARCHGEN = LIMITED + +TARGET_NUMBER = i +TARGET_NAME = RomTypeTest$(TARGET_NUMBER) +BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME) +TARGET_BIN = $(TARGET_NAME).srl +TITLEID_LO = RT$(TARGET_NUMBER)A +TARGET_TAD = $(BINDIR)/$(TITLEID_LO).$(TWL_BUILD_DIR)$(CODEGEN_ARCH).tad + +ROM_SPEC = main$(TARGET_NUMBER).rsf + +MISC_DIR = ../../../systemMenu_RED/misc + +SRCS = main.c RomTypeTest.c \ + $(MISC_DIR)/src/misc.c $(MISC_DIR)/src/cmn.c + +LINCLUDES = $(MISC_DIR)/include + +MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' +MAKETAD_FLAGS += -s + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe + +LDIRT_CLEAN = $(TARGET_TAD) + +#---------------------------------------------------------------------------- + +do-build : $(TARGETS) + + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- + +#===== End of Makefile ===== diff --git a/build/tests/RomTypeTest/ARM9/Makefile.j b/build/tests/RomTypeTest/ARM9/Makefile.j new file mode 100644 index 00000000..ab92d982 --- /dev/null +++ b/build/tests/RomTypeTest/ARM9/Makefile.j @@ -0,0 +1,61 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlSDK - demos - simpleShoot-1 +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +SUBDIRS = + +#---------------------------------------------------------------------------- + +TARGET_FIRM = SYSTEMMENU +TARGET_PLATFORM = TWL +TWL_ARCHGEN = LIMITED + +TARGET_NUMBER = j +TARGET_NAME = RomTypeTest$(TARGET_NUMBER) +BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME) +TARGET_BIN = $(TARGET_NAME).srl +TITLEID_LO = RT$(TARGET_NUMBER)A +TARGET_TAD = $(BINDIR)/$(TITLEID_LO).$(TWL_BUILD_DIR)$(CODEGEN_ARCH).tad + +ROM_SPEC = main$(TARGET_NUMBER).rsf + +MISC_DIR = ../../../systemMenu_RED/misc + +SRCS = main.c RomTypeTest.c \ + $(MISC_DIR)/src/misc.c $(MISC_DIR)/src/cmn.c + +LINCLUDES = $(MISC_DIR)/include + +MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' +MAKETAD_FLAGS += -s + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe + +LDIRT_CLEAN = $(TARGET_TAD) + +#---------------------------------------------------------------------------- + +do-build : $(TARGETS) + + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- + +#===== End of Makefile ===== diff --git a/build/tests/RomTypeTest/ARM9/Makefile.k b/build/tests/RomTypeTest/ARM9/Makefile.k new file mode 100644 index 00000000..cfa8d097 --- /dev/null +++ b/build/tests/RomTypeTest/ARM9/Makefile.k @@ -0,0 +1,61 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlSDK - demos - simpleShoot-1 +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +SUBDIRS = + +#---------------------------------------------------------------------------- + +TARGET_FIRM = SYSTEMMENU +TARGET_PLATFORM = TWL +TWL_ARCHGEN = LIMITED + +TARGET_NUMBER = k +TARGET_NAME = RomTypeTest$(TARGET_NUMBER) +BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME) +TARGET_BIN = $(TARGET_NAME).srl +TITLEID_LO = RT$(TARGET_NUMBER)A +TARGET_TAD = $(BINDIR)/$(TITLEID_LO).$(TWL_BUILD_DIR)$(CODEGEN_ARCH).tad + +ROM_SPEC = main$(TARGET_NUMBER).rsf + +MISC_DIR = ../../../systemMenu_RED/misc + +SRCS = main.c RomTypeTest.c \ + $(MISC_DIR)/src/misc.c $(MISC_DIR)/src/cmn.c + +LINCLUDES = $(MISC_DIR)/include + +MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' +MAKETAD_FLAGS += -s + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe + +LDIRT_CLEAN = $(TARGET_TAD) + +#---------------------------------------------------------------------------- + +do-build : $(TARGETS) + + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- + +#===== End of Makefile ===== diff --git a/build/tests/RomTypeTest/ARM9/main0.rsf b/build/tests/RomTypeTest/ARM9/main0.rsf index d1699ca5..010c0532 100644 --- a/build/tests/RomTypeTest/ARM9/main0.rsf +++ b/build/tests/RomTypeTest/ARM9/main0.rsf @@ -130,6 +130,7 @@ Property # # SDCardAccess: sd card access control [TRUE/FALSE] # + #SDCardAccess TRUE SDCardAccess FALSE # @@ -153,6 +154,7 @@ AppendProperty # Application type : [USER/SYSTEM] # don't have to edit AppType USER + #AppType SYSTEM # # launch title on the launcher : [TRUE/FALSE] @@ -163,10 +165,12 @@ AppendProperty # Boot allowed Media: [GameCard/NAND] # Media GameCard + #Media NAND # # Secure title : [TRUE/FALSE] # don't have to edit + #Secure TRUE Secure FALSE # @@ -186,7 +190,7 @@ AppendProperty # # Enable SubBannerFile - SubBannerFile FALSE + #SubBannerFile TRUE } diff --git a/build/tests/RomTypeTest/ARM9/main1.rsf b/build/tests/RomTypeTest/ARM9/main1.rsf index 82d3e203..5f23d260 100644 --- a/build/tests/RomTypeTest/ARM9/main1.rsf +++ b/build/tests/RomTypeTest/ARM9/main1.rsf @@ -130,12 +130,13 @@ Property # # SDCardAccess: sd card access control [TRUE/FALSE] # - SDCardAccess TRUE + #SDCardAccess TRUE + SDCardAccess FALSE # # NandAccess: nand access control [TRUE/FALSE] # - #NANDAccess FALSE + NANDAccess TRUE ### #### END @@ -153,6 +154,7 @@ AppendProperty # Application type : [USER/SYSTEM] # don't have to edit AppType USER + #AppType SYSTEM # # launch title on the launcher : [TRUE/FALSE] @@ -163,10 +165,12 @@ AppendProperty # Boot allowed Media: [GameCard/NAND] # Media GameCard + #Media NAND # # Secure title : [TRUE/FALSE] # don't have to edit + #Secure TRUE Secure FALSE # @@ -186,7 +190,7 @@ AppendProperty # # Enable SubBannerFile - SubBannerFile FALSE + #SubBannerFile TRUE } diff --git a/build/tests/RomTypeTest/ARM9/main2.rsf b/build/tests/RomTypeTest/ARM9/main2.rsf index 03d5b20a..22b125b5 100644 --- a/build/tests/RomTypeTest/ARM9/main2.rsf +++ b/build/tests/RomTypeTest/ARM9/main2.rsf @@ -130,12 +130,13 @@ Property # # SDCardAccess: sd card access control [TRUE/FALSE] # - SDCardAccess FALSE + SDCardAccess TRUE + #SDCardAccess FALSE # # NandAccess: nand access control [TRUE/FALSE] # - NANDAccess TRUE + #NANDAccess TRUE ### #### END @@ -153,6 +154,7 @@ AppendProperty # Application type : [USER/SYSTEM] # don't have to edit AppType USER + #AppType SYSTEM # # launch title on the launcher : [TRUE/FALSE] @@ -163,10 +165,12 @@ AppendProperty # Boot allowed Media: [GameCard/NAND] # Media GameCard + #Media NAND # # Secure title : [TRUE/FALSE] # don't have to edit + #Secure TRUE Secure FALSE # @@ -186,7 +190,7 @@ AppendProperty # # Enable SubBannerFile - SubBannerFile FALSE + #SubBannerFile TRUE } diff --git a/build/tests/RomTypeTest/ARM9/main3.rsf b/build/tests/RomTypeTest/ARM9/main3.rsf index 97343f39..dff38c5a 100644 --- a/build/tests/RomTypeTest/ARM9/main3.rsf +++ b/build/tests/RomTypeTest/ARM9/main3.rsf @@ -130,12 +130,13 @@ Property # # SDCardAccess: sd card access control [TRUE/FALSE] # + #SDCardAccess TRUE SDCardAccess FALSE # # NandAccess: nand access control [TRUE/FALSE] # - #NANDAccess FALSE + NANDAccess TRUE ### #### END @@ -152,6 +153,7 @@ AppendProperty # # Application type : [USER/SYSTEM] # don't have to edit + #AppType USER AppType SYSTEM # @@ -163,11 +165,13 @@ AppendProperty # Boot allowed Media: [GameCard/NAND] # Media GameCard + #Media NAND # # Secure title : [TRUE/FALSE] # don't have to edit - Secure FALSE + Secure TRUE + #Secure FALSE # # GameCode for TitleID : Your GameCode in 4 ascii words @@ -186,7 +190,7 @@ AppendProperty # # Enable SubBannerFile - SubBannerFile FALSE + #SubBannerFile TRUE } diff --git a/build/tests/RomTypeTest/ARM9/main4.rsf b/build/tests/RomTypeTest/ARM9/main4.rsf index 98bcd253..61d15d6d 100644 --- a/build/tests/RomTypeTest/ARM9/main4.rsf +++ b/build/tests/RomTypeTest/ARM9/main4.rsf @@ -131,11 +131,12 @@ Property # SDCardAccess: sd card access control [TRUE/FALSE] # SDCardAccess TRUE + #SDCardAccess FALSE # # NandAccess: nand access control [TRUE/FALSE] # - #NANDAccess FALSE + #NANDAccess TRUE ### #### END @@ -152,6 +153,7 @@ AppendProperty # # Application type : [USER/SYSTEM] # don't have to edit + #AppType USER AppType SYSTEM # @@ -163,11 +165,13 @@ AppendProperty # Boot allowed Media: [GameCard/NAND] # Media GameCard + #Media NAND # # Secure title : [TRUE/FALSE] # don't have to edit - Secure FALSE + Secure TRUE + #Secure FALSE # # GameCode for TitleID : Your GameCode in 4 ascii words @@ -186,7 +190,7 @@ AppendProperty # # Enable SubBannerFile - SubBannerFile FALSE + #SubBannerFile TRUE } diff --git a/build/tests/RomTypeTest/ARM9/main5.rsf b/build/tests/RomTypeTest/ARM9/main5.rsf index 8fcc1194..0404d77f 100644 --- a/build/tests/RomTypeTest/ARM9/main5.rsf +++ b/build/tests/RomTypeTest/ARM9/main5.rsf @@ -130,12 +130,13 @@ Property # # SDCardAccess: sd card access control [TRUE/FALSE] # + #SDCardAccess TRUE SDCardAccess FALSE # # NandAccess: nand access control [TRUE/FALSE] # - NANDAccess TRUE + #NANDAccess FALSE ### #### END @@ -152,7 +153,8 @@ AppendProperty # # Application type : [USER/SYSTEM] # don't have to edit - AppType SYSTEM + AppType USER + #AppType SYSTEM # # launch title on the launcher : [TRUE/FALSE] @@ -162,11 +164,13 @@ AppendProperty # # Boot allowed Media: [GameCard/NAND] # - Media GameCard + #Media GameCard + Media NAND # # Secure title : [TRUE/FALSE] # don't have to edit + #Secure TRUE Secure FALSE # @@ -186,7 +190,7 @@ AppendProperty # # Enable SubBannerFile - SubBannerFile FALSE + SubBannerFile TRUE } diff --git a/build/tests/RomTypeTest/ARM9/main6.rsf b/build/tests/RomTypeTest/ARM9/main6.rsf index b6279538..b2070664 100644 --- a/build/tests/RomTypeTest/ARM9/main6.rsf +++ b/build/tests/RomTypeTest/ARM9/main6.rsf @@ -130,6 +130,7 @@ Property # # SDCardAccess: sd card access control [TRUE/FALSE] # + #SDCardAccess TRUE SDCardAccess FALSE # @@ -152,7 +153,8 @@ AppendProperty # # Application type : [USER/SYSTEM] # don't have to edit - AppType SYSTEM + AppType USER + #AppType SYSTEM # # launch title on the launcher : [TRUE/FALSE] @@ -162,12 +164,14 @@ AppendProperty # # Boot allowed Media: [GameCard/NAND] # - Media GameCard + #Media GameCard + Media NAND # # Secure title : [TRUE/FALSE] # don't have to edit - Secure TRUE + #Secure TRUE + Secure FALSE # # GameCode for TitleID : Your GameCode in 4 ascii words @@ -182,11 +186,11 @@ AppendProperty # # Private save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] # - #PrivateSaveDataSize 16K + PrivateSaveDataSize 16K # # Enable SubBannerFile - SubBannerFile FALSE + SubBannerFile TRUE } diff --git a/build/tests/RomTypeTest/ARM9/main7.rsf b/build/tests/RomTypeTest/ARM9/main7.rsf index 57cc8e56..7aef7cf9 100644 --- a/build/tests/RomTypeTest/ARM9/main7.rsf +++ b/build/tests/RomTypeTest/ARM9/main7.rsf @@ -130,7 +130,8 @@ Property # # SDCardAccess: sd card access control [TRUE/FALSE] # - SDCardAccess TRUE + #SDCardAccess TRUE + SDCardAccess FALSE # # NandAccess: nand access control [TRUE/FALSE] @@ -152,7 +153,8 @@ AppendProperty # # Application type : [USER/SYSTEM] # don't have to edit - AppType SYSTEM + AppType USER + #AppType SYSTEM # # launch title on the launcher : [TRUE/FALSE] @@ -162,12 +164,14 @@ AppendProperty # # Boot allowed Media: [GameCard/NAND] # - Media GameCard + #Media GameCard + Media NAND # # Secure title : [TRUE/FALSE] # don't have to edit - Secure TRUE + #Secure TRUE + Secure FALSE # # GameCode for TitleID : Your GameCode in 4 ascii words @@ -177,7 +181,7 @@ AppendProperty # # Public save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] # - #PublicSaveDataSize 32K + PublicSaveDataSize 32K # # Private save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] @@ -186,7 +190,7 @@ AppendProperty # # Enable SubBannerFile - SubBannerFile FALSE + SubBannerFile TRUE } diff --git a/build/tests/RomTypeTest/ARM9/main8.rsf b/build/tests/RomTypeTest/ARM9/main8.rsf index 5b33a4b3..202b4b85 100644 --- a/build/tests/RomTypeTest/ARM9/main8.rsf +++ b/build/tests/RomTypeTest/ARM9/main8.rsf @@ -130,12 +130,13 @@ Property # # SDCardAccess: sd card access control [TRUE/FALSE] # + #SDCardAccess TRUE SDCardAccess FALSE # # NandAccess: nand access control [TRUE/FALSE] # - NANDAccess TRUE + #NANDAccess FALSE ### #### END @@ -152,7 +153,8 @@ AppendProperty # # Application type : [USER/SYSTEM] # don't have to edit - AppType SYSTEM + AppType USER + #AppType SYSTEM # # launch title on the launcher : [TRUE/FALSE] @@ -162,12 +164,14 @@ AppendProperty # # Boot allowed Media: [GameCard/NAND] # - Media GameCard + #Media GameCard + Media NAND # # Secure title : [TRUE/FALSE] # don't have to edit - Secure TRUE + #Secure TRUE + Secure FALSE # # GameCode for TitleID : Your GameCode in 4 ascii words @@ -177,16 +181,16 @@ AppendProperty # # Public save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] # - #PublicSaveDataSize 32K + PublicSaveDataSize 32K # # Private save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] # - #PrivateSaveDataSize 16K + PrivateSaveDataSize 16K # # Enable SubBannerFile - SubBannerFile FALSE + SubBannerFile TRUE } diff --git a/build/tests/RomTypeTest/ARM9/main9.rsf b/build/tests/RomTypeTest/ARM9/main9.rsf index 9b1bd232..84ad7160 100644 --- a/build/tests/RomTypeTest/ARM9/main9.rsf +++ b/build/tests/RomTypeTest/ARM9/main9.rsf @@ -130,7 +130,8 @@ Property # # SDCardAccess: sd card access control [TRUE/FALSE] # - SDCardAccess FALSE + SDCardAccess TRUE + #SDCardAccess FALSE # # NandAccess: nand access control [TRUE/FALSE] @@ -153,6 +154,7 @@ AppendProperty # Application type : [USER/SYSTEM] # don't have to edit AppType USER + #AppType SYSTEM # # launch title on the launcher : [TRUE/FALSE] @@ -162,11 +164,13 @@ AppendProperty # # Boot allowed Media: [GameCard/NAND] # + #Media GameCard Media NAND # # Secure title : [TRUE/FALSE] # don't have to edit + #Secure TRUE Secure FALSE # @@ -186,7 +190,7 @@ AppendProperty # # Enable SubBannerFile - SubBannerFile FALSE + SubBannerFile TRUE } diff --git a/build/tests/RomTypeTest/ARM9/maina.rsf b/build/tests/RomTypeTest/ARM9/maina.rsf index 0920846b..8e91c4ce 100644 --- a/build/tests/RomTypeTest/ARM9/maina.rsf +++ b/build/tests/RomTypeTest/ARM9/maina.rsf @@ -131,6 +131,7 @@ Property # SDCardAccess: sd card access control [TRUE/FALSE] # SDCardAccess TRUE + #SDCardAccess FALSE # # NandAccess: nand access control [TRUE/FALSE] @@ -153,6 +154,7 @@ AppendProperty # Application type : [USER/SYSTEM] # don't have to edit AppType USER + #AppType SYSTEM # # launch title on the launcher : [TRUE/FALSE] @@ -162,11 +164,13 @@ AppendProperty # # Boot allowed Media: [GameCard/NAND] # + #Media GameCard Media NAND # # Secure title : [TRUE/FALSE] # don't have to edit + #Secure TRUE Secure FALSE # @@ -182,11 +186,11 @@ AppendProperty # # Private save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] # - #PrivateSaveDataSize 16K + PrivateSaveDataSize 16K # # Enable SubBannerFile - SubBannerFile FALSE + SubBannerFile TRUE } diff --git a/build/tests/RomTypeTest/ARM9/mainb.rsf b/build/tests/RomTypeTest/ARM9/mainb.rsf index 9a8b9d74..f6434faf 100644 --- a/build/tests/RomTypeTest/ARM9/mainb.rsf +++ b/build/tests/RomTypeTest/ARM9/mainb.rsf @@ -130,7 +130,8 @@ Property # # SDCardAccess: sd card access control [TRUE/FALSE] # - SDCardAccess FALSE + SDCardAccess TRUE + #SDCardAccess FALSE # # NandAccess: nand access control [TRUE/FALSE] @@ -152,7 +153,8 @@ AppendProperty # # Application type : [USER/SYSTEM] # don't have to edit - AppType SYSTEM + AppType USER + #AppType SYSTEM # # launch title on the launcher : [TRUE/FALSE] @@ -162,11 +164,13 @@ AppendProperty # # Boot allowed Media: [GameCard/NAND] # + #Media GameCard Media NAND # # Secure title : [TRUE/FALSE] # don't have to edit + #Secure TRUE Secure FALSE # @@ -177,7 +181,7 @@ AppendProperty # # Public save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] # - #PublicSaveDataSize 32K + PublicSaveDataSize 32K # # Private save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] @@ -186,7 +190,7 @@ AppendProperty # # Enable SubBannerFile - SubBannerFile FALSE + SubBannerFile TRUE } diff --git a/build/tests/RomTypeTest/ARM9/mainc.rsf b/build/tests/RomTypeTest/ARM9/mainc.rsf index 8fcdecec..b8251f64 100644 --- a/build/tests/RomTypeTest/ARM9/mainc.rsf +++ b/build/tests/RomTypeTest/ARM9/mainc.rsf @@ -131,6 +131,7 @@ Property # SDCardAccess: sd card access control [TRUE/FALSE] # SDCardAccess TRUE + #SDCardAccess FALSE # # NandAccess: nand access control [TRUE/FALSE] @@ -152,7 +153,8 @@ AppendProperty # # Application type : [USER/SYSTEM] # don't have to edit - AppType SYSTEM + AppType USER + #AppType SYSTEM # # launch title on the launcher : [TRUE/FALSE] @@ -162,11 +164,13 @@ AppendProperty # # Boot allowed Media: [GameCard/NAND] # + #Media GameCard Media NAND # # Secure title : [TRUE/FALSE] # don't have to edit + #Secure TRUE Secure FALSE # @@ -177,16 +181,16 @@ AppendProperty # # Public save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] # - #PublicSaveDataSize 32K + PublicSaveDataSize 32K # # Private save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] # - #PrivateSaveDataSize 16K + PrivateSaveDataSize 16K # # Enable SubBannerFile - SubBannerFile FALSE + SubBannerFile TRUE } diff --git a/build/tests/RomTypeTest/ARM9/maind.rsf b/build/tests/RomTypeTest/ARM9/maind.rsf index 9d705ab0..de8b8ca0 100644 --- a/build/tests/RomTypeTest/ARM9/maind.rsf +++ b/build/tests/RomTypeTest/ARM9/maind.rsf @@ -130,6 +130,7 @@ Property # # SDCardAccess: sd card access control [TRUE/FALSE] # + #SDCardAccess TRUE SDCardAccess FALSE # @@ -152,6 +153,7 @@ AppendProperty # # Application type : [USER/SYSTEM] # don't have to edit + #AppType USER AppType SYSTEM # @@ -162,12 +164,14 @@ AppendProperty # # Boot allowed Media: [GameCard/NAND] # + #Media GameCard Media NAND # # Secure title : [TRUE/FALSE] # don't have to edit - Secure TRUE + #Secure TRUE + Secure FALSE # # GameCode for TitleID : Your GameCode in 4 ascii words @@ -186,7 +190,7 @@ AppendProperty # # Enable SubBannerFile - SubBannerFile FALSE + SubBannerFile TRUE } diff --git a/build/tests/RomTypeTest/ARM9/maine.rsf b/build/tests/RomTypeTest/ARM9/maine.rsf index 81747dc3..885ca25f 100644 --- a/build/tests/RomTypeTest/ARM9/maine.rsf +++ b/build/tests/RomTypeTest/ARM9/maine.rsf @@ -130,7 +130,8 @@ Property # # SDCardAccess: sd card access control [TRUE/FALSE] # - SDCardAccess TRUE + #SDCardAccess TRUE + SDCardAccess FALSE # # NandAccess: nand access control [TRUE/FALSE] @@ -152,6 +153,7 @@ AppendProperty # # Application type : [USER/SYSTEM] # don't have to edit + #AppType USER AppType SYSTEM # @@ -162,12 +164,14 @@ AppendProperty # # Boot allowed Media: [GameCard/NAND] # + #Media GameCard Media NAND # # Secure title : [TRUE/FALSE] # don't have to edit - Secure TRUE + #Secure TRUE + Secure FALSE # # GameCode for TitleID : Your GameCode in 4 ascii words @@ -182,11 +186,11 @@ AppendProperty # # Private save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] # - #PrivateSaveDataSize 16K + PrivateSaveDataSize 16K # # Enable SubBannerFile - SubBannerFile FALSE + SubBannerFile TRUE } diff --git a/build/tests/RomTypeTest/ARM9/mainf.rsf b/build/tests/RomTypeTest/ARM9/mainf.rsf new file mode 100644 index 00000000..d3f5140f --- /dev/null +++ b/build/tests/RomTypeTest/ARM9/mainf.rsf @@ -0,0 +1,204 @@ +#---------------------------------------------------------------------------- +# Project: TwlSDK - include +# File: ROM-BB.rsf +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded insructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- +# +# TWL ROM SPEC FILE +# + +Arm9 +{ + Static "$(MAKEROM_ARM9:r).TWL.FLX.sbin$(COMPSUFFIX9)" + OverlayDefs "$(MAKEROM_ARM9:r)_defs.TWL.FLX.sbin$(COMPSUFFIX9)" + OverlayTable "$(MAKEROM_ARM9:r)_table.TWL.FLX.sbin$(COMPSUFFIX9)" + Elf "$(MAKEROM_ARM9:r).tef" +} + +Arm7 +{ + Static "$(MAKEROM_ARM7_BASE:r).TWL.FLX.sbin$(COMPSUFFIX7)" + OverlayDefs "$(MAKEROM_ARM7_BASE:r)_defs.TWL.FLX.sbin$(COMPSUFFIX7)" + OverlayTable "$(MAKEROM_ARM7_BASE:r)_table.TWL.FLX.sbin$(COMPSUFFIX7)" + Elf "$(MAKEROM_ARM7_BASE:r).tef" +} + +Arm9.Ltd +{ + Static "$(MAKEROM_ARM9:r).TWL.LTD.sbin$(COMPSUFFIX9)" + OverlayDefs "$(MAKEROM_ARM9:r)_defs.TWL.LTD.sbin$(COMPSUFFIX9)" + OverlayTable "$(MAKEROM_ARM9:r)_table.TWL.LTD.sbin$(COMPSUFFIX9)" +} + +Arm7.Ltd +{ + Static "$(MAKEROM_ARM7_BASE:r).TWL.LTD.sbin$(COMPSUFFIX7)" + OverlayDefs "$(MAKEROM_ARM7_BASE:r)_defs.TWL.LTD.sbin$(COMPSUFFIX7)" + OverlayTable "$(MAKEROM_ARM7_BASE:r)_table.TWL.LTD.sbin$(COMPSUFFIX7)" +} + +Property +{ + ### + ### Settings for FinalROM + ### + #### BEGIN + # + # TITLE NAME: Your product name within 12bytes + # + #TitleName "YourAppName" + + # + # MAKER CODE: Your company ID# in 2 ascii words + # issued by NINTENDO + # + #MakerCode "00" + + # + # REMASTER VERSION: Mastering version + # + #RomVersion 0 + + # + # ROM SPEED TYPE: [MROM/1TROM/UNDEFINED] + # + RomSpeedType $(MAKEROM_ROMSPEED) + + # + # ROM SIZE: in bit [64M/128M/256M/512M/1G/2G] + # + #RomSize 128M + #RomSize 256M + + # + # ROM PADDING: TRUE if finalrom + # + #RomFootPadding TRUE + + # + # ROM HEADER TEMPLATE: Provided to every product by NINTENDO + # + #RomHeaderTemplate ./etc/rom_header.template.sbin + + # + # BANNER FILE: generated from Banner Spec File + # + BannerFile ../banner/banner.bnr + + ### + ### Setting for TWL + ### + + # + # ROM HEADER Ltd: Provided to every product by NINTENDO + # + RomHeaderLtd $(TWLSDK_ROOT)/tools/bin/rom_header.LTD.sbin + + # + # Digest parameters: + # + DigestParam 1024 32 + + # + # WRAM mapping: [MAP_BB_HYB/MAP_BB_LTD/MAP_TS_HYB/MAP_TS_LTD] + # don't have to edit + # + WramMapping $(MAKEROM_WRAM_MAPPING) + + # + # CardRegion: card region [Japan/America/Europe/Australia/China/Korea] + # + CardRegion ALL + + # + # Codec mode: + # don't have to edit + # + CodecMode $(MAKEROM_CODEC_MODE) + + # + # SDCardAccess: sd card access control [TRUE/FALSE] + # + SDCardAccess TRUE + #SDCardAccess FALSE + + # + # NandAccess: nand access control [TRUE/FALSE] + # + #NANDAccess FALSE + + ### + #### END +} + + +AppendProperty +{ + # + # Publisher : "Nintendo" + # don't have to edit + Publisher Nintendo + + # + # Application type : [USER/SYSTEM] + # don't have to edit + #AppType USER + AppType SYSTEM + + # + # launch title on the launcher : [TRUE/FALSE] + # don't have to edit + Launch TRUE + + # + # Boot allowed Media: [GameCard/NAND] + # + #Media GameCard + Media NAND + + # + # Secure title : [TRUE/FALSE] + # don't have to edit + #Secure TRUE + Secure FALSE + + # + # GameCode for TitleID : Your GameCode in 4 ascii words + # + GameCode $(TITLEID_LO) + + # + # Public save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] + # + #PublicSaveDataSize 32K + + # + # Private save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] + # + #PrivateSaveDataSize 16K + + # + # Enable SubBannerFile + SubBannerFile TRUE +} + + +RomSpec +{ + Offset 0x00000000 + Segment ALL + HostRoot ../../../systemMenu_RED/data + Root /data + File NTR_IPL_font_m.NFTR +} diff --git a/build/tests/RomTypeTest/ARM9/maing.rsf b/build/tests/RomTypeTest/ARM9/maing.rsf new file mode 100644 index 00000000..a8682cb8 --- /dev/null +++ b/build/tests/RomTypeTest/ARM9/maing.rsf @@ -0,0 +1,204 @@ +#---------------------------------------------------------------------------- +# Project: TwlSDK - include +# File: ROM-BB.rsf +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded insructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- +# +# TWL ROM SPEC FILE +# + +Arm9 +{ + Static "$(MAKEROM_ARM9:r).TWL.FLX.sbin$(COMPSUFFIX9)" + OverlayDefs "$(MAKEROM_ARM9:r)_defs.TWL.FLX.sbin$(COMPSUFFIX9)" + OverlayTable "$(MAKEROM_ARM9:r)_table.TWL.FLX.sbin$(COMPSUFFIX9)" + Elf "$(MAKEROM_ARM9:r).tef" +} + +Arm7 +{ + Static "$(MAKEROM_ARM7_BASE:r).TWL.FLX.sbin$(COMPSUFFIX7)" + OverlayDefs "$(MAKEROM_ARM7_BASE:r)_defs.TWL.FLX.sbin$(COMPSUFFIX7)" + OverlayTable "$(MAKEROM_ARM7_BASE:r)_table.TWL.FLX.sbin$(COMPSUFFIX7)" + Elf "$(MAKEROM_ARM7_BASE:r).tef" +} + +Arm9.Ltd +{ + Static "$(MAKEROM_ARM9:r).TWL.LTD.sbin$(COMPSUFFIX9)" + OverlayDefs "$(MAKEROM_ARM9:r)_defs.TWL.LTD.sbin$(COMPSUFFIX9)" + OverlayTable "$(MAKEROM_ARM9:r)_table.TWL.LTD.sbin$(COMPSUFFIX9)" +} + +Arm7.Ltd +{ + Static "$(MAKEROM_ARM7_BASE:r).TWL.LTD.sbin$(COMPSUFFIX7)" + OverlayDefs "$(MAKEROM_ARM7_BASE:r)_defs.TWL.LTD.sbin$(COMPSUFFIX7)" + OverlayTable "$(MAKEROM_ARM7_BASE:r)_table.TWL.LTD.sbin$(COMPSUFFIX7)" +} + +Property +{ + ### + ### Settings for FinalROM + ### + #### BEGIN + # + # TITLE NAME: Your product name within 12bytes + # + #TitleName "YourAppName" + + # + # MAKER CODE: Your company ID# in 2 ascii words + # issued by NINTENDO + # + #MakerCode "00" + + # + # REMASTER VERSION: Mastering version + # + #RomVersion 0 + + # + # ROM SPEED TYPE: [MROM/1TROM/UNDEFINED] + # + RomSpeedType $(MAKEROM_ROMSPEED) + + # + # ROM SIZE: in bit [64M/128M/256M/512M/1G/2G] + # + #RomSize 128M + #RomSize 256M + + # + # ROM PADDING: TRUE if finalrom + # + #RomFootPadding TRUE + + # + # ROM HEADER TEMPLATE: Provided to every product by NINTENDO + # + #RomHeaderTemplate ./etc/rom_header.template.sbin + + # + # BANNER FILE: generated from Banner Spec File + # + BannerFile ../banner/banner.bnr + + ### + ### Setting for TWL + ### + + # + # ROM HEADER Ltd: Provided to every product by NINTENDO + # + RomHeaderLtd $(TWLSDK_ROOT)/tools/bin/rom_header.LTD.sbin + + # + # Digest parameters: + # + DigestParam 1024 32 + + # + # WRAM mapping: [MAP_BB_HYB/MAP_BB_LTD/MAP_TS_HYB/MAP_TS_LTD] + # don't have to edit + # + WramMapping $(MAKEROM_WRAM_MAPPING) + + # + # CardRegion: card region [Japan/America/Europe/Australia/China/Korea] + # + CardRegion ALL + + # + # Codec mode: + # don't have to edit + # + CodecMode $(MAKEROM_CODEC_MODE) + + # + # SDCardAccess: sd card access control [TRUE/FALSE] + # + SDCardAccess TRUE + #SDCardAccess FALSE + + # + # NandAccess: nand access control [TRUE/FALSE] + # + #NANDAccess FALSE + + ### + #### END +} + + +AppendProperty +{ + # + # Publisher : "Nintendo" + # don't have to edit + Publisher Nintendo + + # + # Application type : [USER/SYSTEM] + # don't have to edit + #AppType USER + AppType SYSTEM + + # + # launch title on the launcher : [TRUE/FALSE] + # don't have to edit + Launch TRUE + + # + # Boot allowed Media: [GameCard/NAND] + # + #Media GameCard + Media NAND + + # + # Secure title : [TRUE/FALSE] + # don't have to edit + #Secure TRUE + Secure FALSE + + # + # GameCode for TitleID : Your GameCode in 4 ascii words + # + GameCode $(TITLEID_LO) + + # + # Public save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] + # + #PublicSaveDataSize 32K + + # + # Private save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] + # + PrivateSaveDataSize 16K + + # + # Enable SubBannerFile + SubBannerFile TRUE +} + + +RomSpec +{ + Offset 0x00000000 + Segment ALL + HostRoot ../../../systemMenu_RED/data + Root /data + File NTR_IPL_font_m.NFTR +} diff --git a/build/tests/RomTypeTest/ARM9/mainh.rsf b/build/tests/RomTypeTest/ARM9/mainh.rsf new file mode 100644 index 00000000..1327931a --- /dev/null +++ b/build/tests/RomTypeTest/ARM9/mainh.rsf @@ -0,0 +1,204 @@ +#---------------------------------------------------------------------------- +# Project: TwlSDK - include +# File: ROM-BB.rsf +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded insructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- +# +# TWL ROM SPEC FILE +# + +Arm9 +{ + Static "$(MAKEROM_ARM9:r).TWL.FLX.sbin$(COMPSUFFIX9)" + OverlayDefs "$(MAKEROM_ARM9:r)_defs.TWL.FLX.sbin$(COMPSUFFIX9)" + OverlayTable "$(MAKEROM_ARM9:r)_table.TWL.FLX.sbin$(COMPSUFFIX9)" + Elf "$(MAKEROM_ARM9:r).tef" +} + +Arm7 +{ + Static "$(MAKEROM_ARM7_BASE:r).TWL.FLX.sbin$(COMPSUFFIX7)" + OverlayDefs "$(MAKEROM_ARM7_BASE:r)_defs.TWL.FLX.sbin$(COMPSUFFIX7)" + OverlayTable "$(MAKEROM_ARM7_BASE:r)_table.TWL.FLX.sbin$(COMPSUFFIX7)" + Elf "$(MAKEROM_ARM7_BASE:r).tef" +} + +Arm9.Ltd +{ + Static "$(MAKEROM_ARM9:r).TWL.LTD.sbin$(COMPSUFFIX9)" + OverlayDefs "$(MAKEROM_ARM9:r)_defs.TWL.LTD.sbin$(COMPSUFFIX9)" + OverlayTable "$(MAKEROM_ARM9:r)_table.TWL.LTD.sbin$(COMPSUFFIX9)" +} + +Arm7.Ltd +{ + Static "$(MAKEROM_ARM7_BASE:r).TWL.LTD.sbin$(COMPSUFFIX7)" + OverlayDefs "$(MAKEROM_ARM7_BASE:r)_defs.TWL.LTD.sbin$(COMPSUFFIX7)" + OverlayTable "$(MAKEROM_ARM7_BASE:r)_table.TWL.LTD.sbin$(COMPSUFFIX7)" +} + +Property +{ + ### + ### Settings for FinalROM + ### + #### BEGIN + # + # TITLE NAME: Your product name within 12bytes + # + #TitleName "YourAppName" + + # + # MAKER CODE: Your company ID# in 2 ascii words + # issued by NINTENDO + # + #MakerCode "00" + + # + # REMASTER VERSION: Mastering version + # + #RomVersion 0 + + # + # ROM SPEED TYPE: [MROM/1TROM/UNDEFINED] + # + RomSpeedType $(MAKEROM_ROMSPEED) + + # + # ROM SIZE: in bit [64M/128M/256M/512M/1G/2G] + # + #RomSize 128M + #RomSize 256M + + # + # ROM PADDING: TRUE if finalrom + # + #RomFootPadding TRUE + + # + # ROM HEADER TEMPLATE: Provided to every product by NINTENDO + # + #RomHeaderTemplate ./etc/rom_header.template.sbin + + # + # BANNER FILE: generated from Banner Spec File + # + BannerFile ../banner/banner.bnr + + ### + ### Setting for TWL + ### + + # + # ROM HEADER Ltd: Provided to every product by NINTENDO + # + RomHeaderLtd $(TWLSDK_ROOT)/tools/bin/rom_header.LTD.sbin + + # + # Digest parameters: + # + DigestParam 1024 32 + + # + # WRAM mapping: [MAP_BB_HYB/MAP_BB_LTD/MAP_TS_HYB/MAP_TS_LTD] + # don't have to edit + # + WramMapping $(MAKEROM_WRAM_MAPPING) + + # + # CardRegion: card region [Japan/America/Europe/Australia/China/Korea] + # + CardRegion ALL + + # + # Codec mode: + # don't have to edit + # + CodecMode $(MAKEROM_CODEC_MODE) + + # + # SDCardAccess: sd card access control [TRUE/FALSE] + # + #SDCardAccess TRUE + SDCardAccess FALSE + + # + # NandAccess: nand access control [TRUE/FALSE] + # + #NANDAccess FALSE + + ### + #### END +} + + +AppendProperty +{ + # + # Publisher : "Nintendo" + # don't have to edit + Publisher Nintendo + + # + # Application type : [USER/SYSTEM] + # don't have to edit + #AppType USER + AppType SYSTEM + + # + # launch title on the launcher : [TRUE/FALSE] + # don't have to edit + Launch TRUE + + # + # Boot allowed Media: [GameCard/NAND] + # + #Media GameCard + Media NAND + + # + # Secure title : [TRUE/FALSE] + # don't have to edit + Secure TRUE + #Secure FALSE + + # + # GameCode for TitleID : Your GameCode in 4 ascii words + # + GameCode $(TITLEID_LO) + + # + # Public save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] + # + #PublicSaveDataSize 32K + + # + # Private save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] + # + #PrivateSaveDataSize 16K + + # + # Enable SubBannerFile + SubBannerFile TRUE +} + + +RomSpec +{ + Offset 0x00000000 + Segment ALL + HostRoot ../../../systemMenu_RED/data + Root /data + File NTR_IPL_font_m.NFTR +} diff --git a/build/tests/RomTypeTest/ARM9/maini.rsf b/build/tests/RomTypeTest/ARM9/maini.rsf new file mode 100644 index 00000000..ca95cdb5 --- /dev/null +++ b/build/tests/RomTypeTest/ARM9/maini.rsf @@ -0,0 +1,204 @@ +#---------------------------------------------------------------------------- +# Project: TwlSDK - include +# File: ROM-BB.rsf +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded insructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- +# +# TWL ROM SPEC FILE +# + +Arm9 +{ + Static "$(MAKEROM_ARM9:r).TWL.FLX.sbin$(COMPSUFFIX9)" + OverlayDefs "$(MAKEROM_ARM9:r)_defs.TWL.FLX.sbin$(COMPSUFFIX9)" + OverlayTable "$(MAKEROM_ARM9:r)_table.TWL.FLX.sbin$(COMPSUFFIX9)" + Elf "$(MAKEROM_ARM9:r).tef" +} + +Arm7 +{ + Static "$(MAKEROM_ARM7_BASE:r).TWL.FLX.sbin$(COMPSUFFIX7)" + OverlayDefs "$(MAKEROM_ARM7_BASE:r)_defs.TWL.FLX.sbin$(COMPSUFFIX7)" + OverlayTable "$(MAKEROM_ARM7_BASE:r)_table.TWL.FLX.sbin$(COMPSUFFIX7)" + Elf "$(MAKEROM_ARM7_BASE:r).tef" +} + +Arm9.Ltd +{ + Static "$(MAKEROM_ARM9:r).TWL.LTD.sbin$(COMPSUFFIX9)" + OverlayDefs "$(MAKEROM_ARM9:r)_defs.TWL.LTD.sbin$(COMPSUFFIX9)" + OverlayTable "$(MAKEROM_ARM9:r)_table.TWL.LTD.sbin$(COMPSUFFIX9)" +} + +Arm7.Ltd +{ + Static "$(MAKEROM_ARM7_BASE:r).TWL.LTD.sbin$(COMPSUFFIX7)" + OverlayDefs "$(MAKEROM_ARM7_BASE:r)_defs.TWL.LTD.sbin$(COMPSUFFIX7)" + OverlayTable "$(MAKEROM_ARM7_BASE:r)_table.TWL.LTD.sbin$(COMPSUFFIX7)" +} + +Property +{ + ### + ### Settings for FinalROM + ### + #### BEGIN + # + # TITLE NAME: Your product name within 12bytes + # + #TitleName "YourAppName" + + # + # MAKER CODE: Your company ID# in 2 ascii words + # issued by NINTENDO + # + #MakerCode "00" + + # + # REMASTER VERSION: Mastering version + # + #RomVersion 0 + + # + # ROM SPEED TYPE: [MROM/1TROM/UNDEFINED] + # + RomSpeedType $(MAKEROM_ROMSPEED) + + # + # ROM SIZE: in bit [64M/128M/256M/512M/1G/2G] + # + #RomSize 128M + #RomSize 256M + + # + # ROM PADDING: TRUE if finalrom + # + #RomFootPadding TRUE + + # + # ROM HEADER TEMPLATE: Provided to every product by NINTENDO + # + #RomHeaderTemplate ./etc/rom_header.template.sbin + + # + # BANNER FILE: generated from Banner Spec File + # + BannerFile ../banner/banner.bnr + + ### + ### Setting for TWL + ### + + # + # ROM HEADER Ltd: Provided to every product by NINTENDO + # + RomHeaderLtd $(TWLSDK_ROOT)/tools/bin/rom_header.LTD.sbin + + # + # Digest parameters: + # + DigestParam 1024 32 + + # + # WRAM mapping: [MAP_BB_HYB/MAP_BB_LTD/MAP_TS_HYB/MAP_TS_LTD] + # don't have to edit + # + WramMapping $(MAKEROM_WRAM_MAPPING) + + # + # CardRegion: card region [Japan/America/Europe/Australia/China/Korea] + # + CardRegion ALL + + # + # Codec mode: + # don't have to edit + # + CodecMode $(MAKEROM_CODEC_MODE) + + # + # SDCardAccess: sd card access control [TRUE/FALSE] + # + #SDCardAccess TRUE + SDCardAccess FALSE + + # + # NandAccess: nand access control [TRUE/FALSE] + # + #NANDAccess FALSE + + ### + #### END +} + + +AppendProperty +{ + # + # Publisher : "Nintendo" + # don't have to edit + Publisher Nintendo + + # + # Application type : [USER/SYSTEM] + # don't have to edit + #AppType USER + AppType SYSTEM + + # + # launch title on the launcher : [TRUE/FALSE] + # don't have to edit + Launch TRUE + + # + # Boot allowed Media: [GameCard/NAND] + # + #Media GameCard + Media NAND + + # + # Secure title : [TRUE/FALSE] + # don't have to edit + Secure TRUE + #Secure FALSE + + # + # GameCode for TitleID : Your GameCode in 4 ascii words + # + GameCode $(TITLEID_LO) + + # + # Public save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] + # + #PublicSaveDataSize 32K + + # + # Private save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] + # + PrivateSaveDataSize 16K + + # + # Enable SubBannerFile + SubBannerFile TRUE +} + + +RomSpec +{ + Offset 0x00000000 + Segment ALL + HostRoot ../../../systemMenu_RED/data + Root /data + File NTR_IPL_font_m.NFTR +} diff --git a/build/tests/RomTypeTest/ARM9/mainj.rsf b/build/tests/RomTypeTest/ARM9/mainj.rsf new file mode 100644 index 00000000..b429a06b --- /dev/null +++ b/build/tests/RomTypeTest/ARM9/mainj.rsf @@ -0,0 +1,204 @@ +#---------------------------------------------------------------------------- +# Project: TwlSDK - include +# File: ROM-BB.rsf +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded insructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- +# +# TWL ROM SPEC FILE +# + +Arm9 +{ + Static "$(MAKEROM_ARM9:r).TWL.FLX.sbin$(COMPSUFFIX9)" + OverlayDefs "$(MAKEROM_ARM9:r)_defs.TWL.FLX.sbin$(COMPSUFFIX9)" + OverlayTable "$(MAKEROM_ARM9:r)_table.TWL.FLX.sbin$(COMPSUFFIX9)" + Elf "$(MAKEROM_ARM9:r).tef" +} + +Arm7 +{ + Static "$(MAKEROM_ARM7_BASE:r).TWL.FLX.sbin$(COMPSUFFIX7)" + OverlayDefs "$(MAKEROM_ARM7_BASE:r)_defs.TWL.FLX.sbin$(COMPSUFFIX7)" + OverlayTable "$(MAKEROM_ARM7_BASE:r)_table.TWL.FLX.sbin$(COMPSUFFIX7)" + Elf "$(MAKEROM_ARM7_BASE:r).tef" +} + +Arm9.Ltd +{ + Static "$(MAKEROM_ARM9:r).TWL.LTD.sbin$(COMPSUFFIX9)" + OverlayDefs "$(MAKEROM_ARM9:r)_defs.TWL.LTD.sbin$(COMPSUFFIX9)" + OverlayTable "$(MAKEROM_ARM9:r)_table.TWL.LTD.sbin$(COMPSUFFIX9)" +} + +Arm7.Ltd +{ + Static "$(MAKEROM_ARM7_BASE:r).TWL.LTD.sbin$(COMPSUFFIX7)" + OverlayDefs "$(MAKEROM_ARM7_BASE:r)_defs.TWL.LTD.sbin$(COMPSUFFIX7)" + OverlayTable "$(MAKEROM_ARM7_BASE:r)_table.TWL.LTD.sbin$(COMPSUFFIX7)" +} + +Property +{ + ### + ### Settings for FinalROM + ### + #### BEGIN + # + # TITLE NAME: Your product name within 12bytes + # + #TitleName "YourAppName" + + # + # MAKER CODE: Your company ID# in 2 ascii words + # issued by NINTENDO + # + #MakerCode "00" + + # + # REMASTER VERSION: Mastering version + # + #RomVersion 0 + + # + # ROM SPEED TYPE: [MROM/1TROM/UNDEFINED] + # + RomSpeedType $(MAKEROM_ROMSPEED) + + # + # ROM SIZE: in bit [64M/128M/256M/512M/1G/2G] + # + #RomSize 128M + #RomSize 256M + + # + # ROM PADDING: TRUE if finalrom + # + #RomFootPadding TRUE + + # + # ROM HEADER TEMPLATE: Provided to every product by NINTENDO + # + #RomHeaderTemplate ./etc/rom_header.template.sbin + + # + # BANNER FILE: generated from Banner Spec File + # + BannerFile ../banner/banner.bnr + + ### + ### Setting for TWL + ### + + # + # ROM HEADER Ltd: Provided to every product by NINTENDO + # + RomHeaderLtd $(TWLSDK_ROOT)/tools/bin/rom_header.LTD.sbin + + # + # Digest parameters: + # + DigestParam 1024 32 + + # + # WRAM mapping: [MAP_BB_HYB/MAP_BB_LTD/MAP_TS_HYB/MAP_TS_LTD] + # don't have to edit + # + WramMapping $(MAKEROM_WRAM_MAPPING) + + # + # CardRegion: card region [Japan/America/Europe/Australia/China/Korea] + # + CardRegion ALL + + # + # Codec mode: + # don't have to edit + # + CodecMode $(MAKEROM_CODEC_MODE) + + # + # SDCardAccess: sd card access control [TRUE/FALSE] + # + SDCardAccess TRUE + #SDCardAccess FALSE + + # + # NandAccess: nand access control [TRUE/FALSE] + # + #NANDAccess FALSE + + ### + #### END +} + + +AppendProperty +{ + # + # Publisher : "Nintendo" + # don't have to edit + Publisher Nintendo + + # + # Application type : [USER/SYSTEM] + # don't have to edit + #AppType USER + AppType SYSTEM + + # + # launch title on the launcher : [TRUE/FALSE] + # don't have to edit + Launch TRUE + + # + # Boot allowed Media: [GameCard/NAND] + # + #Media GameCard + Media NAND + + # + # Secure title : [TRUE/FALSE] + # don't have to edit + Secure TRUE + #Secure FALSE + + # + # GameCode for TitleID : Your GameCode in 4 ascii words + # + GameCode $(TITLEID_LO) + + # + # Public save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] + # + #PublicSaveDataSize 32K + + # + # Private save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] + # + #PrivateSaveDataSize 16K + + # + # Enable SubBannerFile + SubBannerFile TRUE +} + + +RomSpec +{ + Offset 0x00000000 + Segment ALL + HostRoot ../../../systemMenu_RED/data + Root /data + File NTR_IPL_font_m.NFTR +} diff --git a/build/tests/RomTypeTest/ARM9/maink.rsf b/build/tests/RomTypeTest/ARM9/maink.rsf new file mode 100644 index 00000000..f7929284 --- /dev/null +++ b/build/tests/RomTypeTest/ARM9/maink.rsf @@ -0,0 +1,204 @@ +#---------------------------------------------------------------------------- +# Project: TwlSDK - include +# File: ROM-BB.rsf +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded insructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- +# +# TWL ROM SPEC FILE +# + +Arm9 +{ + Static "$(MAKEROM_ARM9:r).TWL.FLX.sbin$(COMPSUFFIX9)" + OverlayDefs "$(MAKEROM_ARM9:r)_defs.TWL.FLX.sbin$(COMPSUFFIX9)" + OverlayTable "$(MAKEROM_ARM9:r)_table.TWL.FLX.sbin$(COMPSUFFIX9)" + Elf "$(MAKEROM_ARM9:r).tef" +} + +Arm7 +{ + Static "$(MAKEROM_ARM7_BASE:r).TWL.FLX.sbin$(COMPSUFFIX7)" + OverlayDefs "$(MAKEROM_ARM7_BASE:r)_defs.TWL.FLX.sbin$(COMPSUFFIX7)" + OverlayTable "$(MAKEROM_ARM7_BASE:r)_table.TWL.FLX.sbin$(COMPSUFFIX7)" + Elf "$(MAKEROM_ARM7_BASE:r).tef" +} + +Arm9.Ltd +{ + Static "$(MAKEROM_ARM9:r).TWL.LTD.sbin$(COMPSUFFIX9)" + OverlayDefs "$(MAKEROM_ARM9:r)_defs.TWL.LTD.sbin$(COMPSUFFIX9)" + OverlayTable "$(MAKEROM_ARM9:r)_table.TWL.LTD.sbin$(COMPSUFFIX9)" +} + +Arm7.Ltd +{ + Static "$(MAKEROM_ARM7_BASE:r).TWL.LTD.sbin$(COMPSUFFIX7)" + OverlayDefs "$(MAKEROM_ARM7_BASE:r)_defs.TWL.LTD.sbin$(COMPSUFFIX7)" + OverlayTable "$(MAKEROM_ARM7_BASE:r)_table.TWL.LTD.sbin$(COMPSUFFIX7)" +} + +Property +{ + ### + ### Settings for FinalROM + ### + #### BEGIN + # + # TITLE NAME: Your product name within 12bytes + # + #TitleName "YourAppName" + + # + # MAKER CODE: Your company ID# in 2 ascii words + # issued by NINTENDO + # + #MakerCode "00" + + # + # REMASTER VERSION: Mastering version + # + #RomVersion 0 + + # + # ROM SPEED TYPE: [MROM/1TROM/UNDEFINED] + # + RomSpeedType $(MAKEROM_ROMSPEED) + + # + # ROM SIZE: in bit [64M/128M/256M/512M/1G/2G] + # + #RomSize 128M + #RomSize 256M + + # + # ROM PADDING: TRUE if finalrom + # + #RomFootPadding TRUE + + # + # ROM HEADER TEMPLATE: Provided to every product by NINTENDO + # + #RomHeaderTemplate ./etc/rom_header.template.sbin + + # + # BANNER FILE: generated from Banner Spec File + # + BannerFile ../banner/banner.bnr + + ### + ### Setting for TWL + ### + + # + # ROM HEADER Ltd: Provided to every product by NINTENDO + # + RomHeaderLtd $(TWLSDK_ROOT)/tools/bin/rom_header.LTD.sbin + + # + # Digest parameters: + # + DigestParam 1024 32 + + # + # WRAM mapping: [MAP_BB_HYB/MAP_BB_LTD/MAP_TS_HYB/MAP_TS_LTD] + # don't have to edit + # + WramMapping $(MAKEROM_WRAM_MAPPING) + + # + # CardRegion: card region [Japan/America/Europe/Australia/China/Korea] + # + CardRegion ALL + + # + # Codec mode: + # don't have to edit + # + CodecMode $(MAKEROM_CODEC_MODE) + + # + # SDCardAccess: sd card access control [TRUE/FALSE] + # + SDCardAccess TRUE + #SDCardAccess FALSE + + # + # NandAccess: nand access control [TRUE/FALSE] + # + #NANDAccess FALSE + + ### + #### END +} + + +AppendProperty +{ + # + # Publisher : "Nintendo" + # don't have to edit + Publisher Nintendo + + # + # Application type : [USER/SYSTEM] + # don't have to edit + #AppType USER + AppType SYSTEM + + # + # launch title on the launcher : [TRUE/FALSE] + # don't have to edit + Launch TRUE + + # + # Boot allowed Media: [GameCard/NAND] + # + #Media GameCard + Media NAND + + # + # Secure title : [TRUE/FALSE] + # don't have to edit + Secure TRUE + #Secure FALSE + + # + # GameCode for TitleID : Your GameCode in 4 ascii words + # + GameCode $(TITLEID_LO) + + # + # Public save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] + # + #PublicSaveDataSize 32K + + # + # Private save data size: [16K/32K/64K/128K/256K/512K/1M/2M/4M/8M] + # + PrivateSaveDataSize 16K + + # + # Enable SubBannerFile + SubBannerFile TRUE +} + + +RomSpec +{ + Offset 0x00000000 + Segment ALL + HostRoot ../../../systemMenu_RED/data + Root /data + File NTR_IPL_font_m.NFTR +}