mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
デバッグ用ロム NotLaunch とそのソースコードをコミット
nishimoto @ PSEG1 git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2258 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
182c05ccdb
commit
2fbcd7c486
124
build/debugsoft/NotLaunch/Makefile
Normal file
124
build/debugsoft/NotLaunch/Makefile
Normal file
@ -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 =====
|
||||||
|
|
||||||
|
|
||||||
41
build/debugsoft/NotLaunch/src/main.c
Normal file
41
build/debugsoft/NotLaunch/src/main.c
Normal file
@ -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 <twl.h>
|
||||||
|
|
||||||
|
|
||||||
|
/*---------------------------------------------------------------------------*
|
||||||
|
•Ï<EFBFBD>” ’è‹`
|
||||||
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
/*---------------------------------------------------------------------------*
|
||||||
|
Prototype
|
||||||
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
/*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
void TwlMain(void)
|
||||||
|
{
|
||||||
|
OS_Init();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
OS_Terminate();
|
||||||
|
}
|
||||||
|
|
||||||
|
/*---------------------------------------------------------------------------*
|
||||||
|
End of file
|
||||||
|
*---------------------------------------------------------------------------*/
|
||||||
BIN
debugsoft/NotLaunch/NotLaunch_SYSTEM_ALL.tad
Normal file
BIN
debugsoft/NotLaunch/NotLaunch_SYSTEM_ALL.tad
Normal file
Binary file not shown.
BIN
debugsoft/NotLaunch/NotLaunch_SYSTEM_America.tad
Normal file
BIN
debugsoft/NotLaunch/NotLaunch_SYSTEM_America.tad
Normal file
Binary file not shown.
BIN
debugsoft/NotLaunch/NotLaunch_SYSTEM_Australia.tad
Normal file
BIN
debugsoft/NotLaunch/NotLaunch_SYSTEM_Australia.tad
Normal file
Binary file not shown.
BIN
debugsoft/NotLaunch/NotLaunch_SYSTEM_Europe.tad
Normal file
BIN
debugsoft/NotLaunch/NotLaunch_SYSTEM_Europe.tad
Normal file
Binary file not shown.
BIN
debugsoft/NotLaunch/NotLaunch_SYSTEM_Japan.tad
Normal file
BIN
debugsoft/NotLaunch/NotLaunch_SYSTEM_Japan.tad
Normal file
Binary file not shown.
19
debugsoft/NotLaunch/ReadMe_NotLaunch.BAK
Normal file
19
debugsoft/NotLaunch/ReadMe_NotLaunch.BAK
Normal file
@ -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
|
||||||
|
|
||||||
22
debugsoft/NotLaunch/ReadMe_NotLaunch.txt
Normal file
22
debugsoft/NotLaunch/ReadMe_NotLaunch.txt
Normal file
@ -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 新規追加
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user