diff --git a/build/debugsoft/NotLaunch/Makefile b/build/debugsoft/NotLaunch/Makefile new file mode 100644 index 00000000..39f3be22 --- /dev/null +++ b/build/debugsoft/NotLaunch/Makefile @@ -0,0 +1,124 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlSDK - tests - NotLaunch +# File: Makefile +# +# Copyright 2008 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:$ +#---------------------------------------------------------------------------- +override TARGET_PLATFORM = TWL +override TWL_ARCHGEN = LIMITED + +ifeq ($(APP_TYPE),) + +include $(TWLSDK_ROOT)/build/buildtools/commondefs + +do-build: do-something +clean: do-something +clobber: do-something +install: do-something +do-build: MY_GOAL=default +clean: MY_GOAL=clean +clobber: MY_GOAL=clobber +install: MY_GOAL=install + +do-something: + +$(REMAKE) -B APP_TYPE=SYSTEM CARD_REGION=ALL $(MY_GOAL) + +$(REMAKE) -B APP_TYPE=SYSTEM CARD_REGION=Japan $(MY_GOAL) + +$(REMAKE) -B APP_TYPE=SYSTEM CARD_REGION=America $(MY_GOAL) + +$(REMAKE) -B APP_TYPE=SYSTEM CARD_REGION=Europe $(MY_GOAL) + +$(REMAKE) -B APP_TYPE=SYSTEM CARD_REGION=Australia $(MY_GOAL) +# +$(REMAKE) -B APP_TYPE=USER CARD_REGION=ALL $(MY_GOAL) +# +$(REMAKE) -B APP_TYPE=USER CARD_REGION=Japan $(MY_GOAL) +# +$(REMAKE) -B APP_TYPE=USER CARD_REGION=America $(MY_GOAL) +# +$(REMAKE) -B APP_TYPE=USER CARD_REGION=Europe $(MY_GOAL) +# +$(REMAKE) -B APP_TYPE=USER CARD_REGION=Australia $(MY_GOAL) + +include $(TWLSDK_ROOT)/build/buildtools/modulerules + +else + +TWL_NANDAPP = TRUE +TARGET_BIN = NotLaunch_$(APP_TYPE)_$(CARD_REGION).tad + +SRCDIR = ./src + +SRCS = main.c + +ROM_SPEC = NotLaunch.autogen.rsf + +ROM_SPEC_TEMPLATE = $(ROOT)/include/twl/specfiles/ROM-TS_sys.rsf + +#---------------------------------------------------------------------------- +# decide gamecode (region) + +ifeq ($(CARD_REGION),ALL) +GAME_CODE_R = A +endif + +ifeq ($(CARD_REGION),Japan) +GAME_CODE_R = J +endif + +ifeq ($(CARD_REGION),America) +GAME_CODE_R = E +endif + +ifeq ($(CARD_REGION),Europe) +GAME_CODE_R = P +endif + +ifeq ($(CARD_REGION),Australia) +GAME_CODE_R = U +endif + +ifeq ($(CARD_REGION),China) +GAME_CODE_R = C +endif + +ifeq ($(CARD_REGION),Korea) +GAME_CODE_R = K +endif +#---------------------------------------------------------------------------- + +ROM_SPEC_PARAM = MakerCode=01 \ + GameCode=457$(GAME_CODE_R) \ + Media=NAND \ + Launch=FALSE \ + CardRegion=$(CARD_REGION) + +ifeq ($(APP_TYPE),USER) +ROM_SPEC_PARAM += AppType=User +endif + +endif # ifeq ($(APP_TYPE),) + +#---------------------------------------------------------------------------- +include $(TWLSDK_ROOT)/build/buildtools/commondefs + +ifeq ($(APP_TYPE),SYSTEM) +MAKEROM := $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe +MAKETAD_OPTION := -s +endif + +do-build: $(TARGETS) + +INSTALL_TARGETS = $(BINDIR)/$(TARGET_BIN) +INSTALL_DIR = ./roms + +include $(TWLSDK_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- + +#===== End of Makefile ===== + + diff --git a/build/debugsoft/NotLaunch/src/main.c b/build/debugsoft/NotLaunch/src/main.c new file mode 100644 index 00000000..f84e0652 --- /dev/null +++ b/build/debugsoft/NotLaunch/src/main.c @@ -0,0 +1,41 @@ +/*---------------------------------------------------------------------------* + Project: TwlSDK - tests - NotLaunch + File: main.c + + Copyright 2008 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:$ + *---------------------------------------------------------------------------*/ +#include + + +/*---------------------------------------------------------------------------* + 変数 定義 + *---------------------------------------------------------------------------*/ + +/*---------------------------------------------------------------------------* + Prototype + *---------------------------------------------------------------------------*/ + +/*---------------------------------------------------------------------------*/ + +void TwlMain(void) +{ + OS_Init(); + + + + OS_Terminate(); +} + +/*---------------------------------------------------------------------------* + End of file + *---------------------------------------------------------------------------*/ diff --git a/debugsoft/NotLaunch/NotLaunch_SYSTEM_ALL.tad b/debugsoft/NotLaunch/NotLaunch_SYSTEM_ALL.tad new file mode 100644 index 00000000..0387ca1a Binary files /dev/null and b/debugsoft/NotLaunch/NotLaunch_SYSTEM_ALL.tad differ diff --git a/debugsoft/NotLaunch/NotLaunch_SYSTEM_America.tad b/debugsoft/NotLaunch/NotLaunch_SYSTEM_America.tad new file mode 100644 index 00000000..a7f1a261 Binary files /dev/null and b/debugsoft/NotLaunch/NotLaunch_SYSTEM_America.tad differ diff --git a/debugsoft/NotLaunch/NotLaunch_SYSTEM_Australia.tad b/debugsoft/NotLaunch/NotLaunch_SYSTEM_Australia.tad new file mode 100644 index 00000000..b4102d0a Binary files /dev/null and b/debugsoft/NotLaunch/NotLaunch_SYSTEM_Australia.tad differ diff --git a/debugsoft/NotLaunch/NotLaunch_SYSTEM_Europe.tad b/debugsoft/NotLaunch/NotLaunch_SYSTEM_Europe.tad new file mode 100644 index 00000000..3e5f04ba Binary files /dev/null and b/debugsoft/NotLaunch/NotLaunch_SYSTEM_Europe.tad differ diff --git a/debugsoft/NotLaunch/NotLaunch_SYSTEM_Japan.tad b/debugsoft/NotLaunch/NotLaunch_SYSTEM_Japan.tad new file mode 100644 index 00000000..ef311b51 Binary files /dev/null and b/debugsoft/NotLaunch/NotLaunch_SYSTEM_Japan.tad differ diff --git a/debugsoft/NotLaunch/ReadMe_NotLaunch.BAK b/debugsoft/NotLaunch/ReadMe_NotLaunch.BAK new file mode 100644 index 00000000..86cfe840 --- /dev/null +++ b/debugsoft/NotLaunch/ReadMe_NotLaunch.BAK @@ -0,0 +1,19 @@ +NotLaunch + +ランチャー上に表示されないシステムNANDアプリです。 +=================================================================== + +各リージョン版を用意しています。 + +NotLaunch_SYSTEM_ALL.tad 457A +NotLaunch_SYSTEM_Japan.tad 457J +NotLaunch_SYSTEM_America.tad 457E +NotLaunch_SYSTEM_Europe.tad 457P +NotLaunch_SYSTEM_Austraila.tad 457U + + + +======================================================== +なにか問題がありましたら、環境制作部 西本まで。 +nishimoto_takashi@nintendo.co.jp + diff --git a/debugsoft/NotLaunch/ReadMe_NotLaunch.txt b/debugsoft/NotLaunch/ReadMe_NotLaunch.txt new file mode 100644 index 00000000..9c2c12b7 --- /dev/null +++ b/debugsoft/NotLaunch/ReadMe_NotLaunch.txt @@ -0,0 +1,22 @@ +NotLaunch + +ランチャー上に表示されないシステムNANDアプリです。 +=================================================================== + +各リージョン版を用意しています。 + +NotLaunch_SYSTEM_ALL.tad 457A +NotLaunch_SYSTEM_Japan.tad 457J +NotLaunch_SYSTEM_America.tad 457E +NotLaunch_SYSTEM_Europe.tad 457P +NotLaunch_SYSTEM_Austraila.tad 457U + + + +======================================================== +なにか問題がありましたら、環境制作部 西本まで。 +nishimoto_takashi@nintendo.co.jp + +======================================================== +2008/08/25 新規追加 +