git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@115 385bec56-5757-e545-9c3a-d8741f4650f1

This commit is contained in:
mizu 2011-03-13 23:57:46 +00:00
parent 777e9b5aac
commit f3c71a06e3
180 changed files with 1021512 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1 @@
*** omake: the project was last locked by pc1017ex:1972.

Binary file not shown.

View File

@ -0,0 +1 @@
*** omake: the project was last locked by pc1017ex:1972.

View File

@ -0,0 +1,16 @@
BasicInfo:
Title : $(TITLE)
BackupMemoryType: None
Logo : Nintendo
# Companycode: "00"
ProductCode : "CTR-N-22MA"
# MediaSize: 2GB
Rom:
HostRoot : ../common/romfiles
TitleInfo:
# UniqueId: 0xffff6
UniqueId: 0xf8015
Version: 0

View File

@ -0,0 +1,16 @@
BasicInfo:
Title : $(TITLE)
BackupMemoryType: None
Logo : Nintendo
# Companycode: "00"
ProductCode : "CTR-N-22MA"
# MediaSize: 2GB
Rom:
HostRoot : $(ROMFS_ROOT)
TitleInfo:
# UniqueId: 0xffff6
UniqueId: 0xf8015
Version: 0

View File

@ -0,0 +1,65 @@
#!/usr/bin/env omake
#----------------------------------------------------------------------------
# Project: Horizon
# File: OMakefile
#
# Copyright (C)2009 Nintendo Co., Ltd. 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.
#
# $Rev: 31765 $
#----------------------------------------------------------------------------
SUPPORTED_TARGETS = CTR-*.Process.MPCore.*
#demoライブラリ位置指定
#SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir ../common/include)
#SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir ../CTR_SDK/sampledemos/common/include)
#INCLUDES += $(SAMPLED_DEMOS_COMMON_INCLUDE_DIR)
SOURCES[] =
./source/main.cpp
./source/test_data.cpp
../common/sleep.cpp
../common/common.cpp
../common/shfnt.cpp
TARGET_PROGRAM = CtrSaveDataMover_imp
TITLE = CSM_imp
#LIBS += libnn_am
IMPORTEE_CIA = importee.cia
#SRC_IMPORTEE_PATH = ../body/images/$(BUILD_TARGET_DIR)/$(BUILD_TYPE_DIR)/CtrSaveDataMover.cia
#とりあえず、マスタリング時は直おき、配置時に改名
SRC_IMPORTEE_PATH = CtrSaveDataMover_master.cia
# ビルドタイプ別に romfs を作る
#ROMFS_ROOT = $`(TARGET.getObjectDirectory)/romfsroot
ROMFS_ROOT = ./romfiles
DEST_IMPORTEE_PATH = $(ROMFS_ROOT)/$(IMPORTEE_CIA)
foreach(TARGET, $(BUILDER.getTargets $(SUPPORTED_TARGETS)))
$(DEST_IMPORTEE_PATH): $(SRC_IMPORTEE_PATH) $(makeDirectory $(ROMFS_ROOT))
cp $< $@
ROMFS_DEPENDENCIES = $(DEST_IMPORTEE_PATH)
# プログラムから参照するためのROMFSのパスとプログラムIDを定義する
ROMFS_IMPORTEE_PATH = L\"rom:/$(IMPORTEE_CIA)\"
CCFLAGS += -DROMFS_IMPORTEE_PATH=$(ROMFS_IMPORTEE_PATH)
ROM_SPEC_FILE = Imp.rsf
DESCRIPTOR = $(CTRSDK_ROOT)/resources/specfiles/repairtool.desc
# バナー、アイコン
CTR_BANNER_SPEC = banner.bsf
include $(ROOT_OMAKE)/modulerules
build: $(DEFAULT_TARGETS)

View File

@ -0,0 +1,65 @@
#!/usr/bin/env omake
#----------------------------------------------------------------------------
# Project: Horizon
# File: OMakefile
#
# Copyright (C)2009 Nintendo Co., Ltd. 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.
#
# $Rev: 31765 $
#----------------------------------------------------------------------------
SUPPORTED_TARGETS = CTR-*.Process.MPCore.*
#demoライブラリ位置指定
#SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir ../common/include)
#SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir ../CTR_SDK/sampledemos/common/include)
#INCLUDES += $(SAMPLED_DEMOS_COMMON_INCLUDE_DIR)
SOURCES[] =
./source/main.cpp
./source/test_data.cpp
../common/sleep.cpp
../common/common.cpp
../common/shfnt.cpp
TARGET_PROGRAM = CtrSaveDataMover_imp
TITLE = CSM_imp
#LIBS += libnn_am
IMPORTEE_CIA = importee.cia
SRC_IMPORTEE_PATH = ../body/images/$(BUILD_TARGET_DIR)/$(BUILD_TYPE_DIR)/CtrSaveDataMover.cia
#とりあえず、マスタリング時は直おき、配置時に改名
#SRC_IMPORTEE_PATH = CtrSaveDataMover_master.cia
# ビルドタイプ別に romfs を作る
#ROMFS_ROOT = $`(TARGET.getObjectDirectory)/romfsroot
ROMFS_ROOT = ./romfiles
DEST_IMPORTEE_PATH = $(ROMFS_ROOT)/$(IMPORTEE_CIA)
foreach(TARGET, $(BUILDER.getTargets $(SUPPORTED_TARGETS)))
$(DEST_IMPORTEE_PATH): $(SRC_IMPORTEE_PATH) $(makeDirectory $(ROMFS_ROOT))
cp $< $@
ROMFS_DEPENDENCIES = $(DEST_IMPORTEE_PATH)
# プログラムから参照するためのROMFSのパスとプログラムIDを定義する
ROMFS_IMPORTEE_PATH = L\"rom:/$(IMPORTEE_CIA)\"
CCFLAGS += -DROMFS_IMPORTEE_PATH=$(ROMFS_IMPORTEE_PATH)
ROM_SPEC_FILE = Imp.rsf
DESCRIPTOR = $(CTRSDK_ROOT)/resources/specfiles/repairtool.desc
# バナー、アイコン
CTR_BANNER_SPEC = banner.bsf
include $(ROOT_OMAKE)/modulerules
build: $(DEFAULT_TARGETS)

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,274 @@
<?xml version="1.0" encoding="utf-8"?>
<NintendoWareIntermediateFile>
<GraphicsContentCtr Version="1.3.0" Namespace="">
<EditData>
<MetaData>
<Key>MetaData</Key>
<Create Author="" Date="2010-12-02T15:21:10" Source="COMMON.mb">
<ToolDescriptions Name="NW4C_Export for Maya 2009 Service Pack 1" Version="1.2.0" />
</Create>
<Modify Date="2011-02-28T13:27:46">
<ToolDescriptions Name="NintendoWare Creative Studio For Banner." Version="1.3.0.30235" />
</Modify>
</MetaData>
<ContentSummaryMetaData>
<Key>ContentSummaries</Key>
<Values>
<ContentSummary ContentTypeName="GraphicsContent">
<ObjectSummaries>
<ObjectSummary TypeName="SkeletalModel" Name="">
<Notes>
<Note Name="MaterialCount" Value="1" />
<Note Name="ShapeCount" Value="1" />
<Note Name="MeshCount" Value="1" />
<Note Name="BoneCount" Value="1" />
<Note Name="TotalPrimitiveSetCount" Value="1" />
<Note Name="TotalNoneSkinningPrimitiveSetCount" Value="1" />
<Note Name="TotalRigidSkinningPrimitiveSetCount" Value="0" />
<Note Name="TotalSmoothSkinningPrimitiveSetCount" Value="0" />
<Note Name="TotalIndexStreamCount" Value="1" />
<Note Name="TotalPolygonCount" Value="2" />
<Note Name="TotalVertexCount" Value="4" />
</Notes>
</ObjectSummary>
</ObjectSummaries>
</ContentSummary>
</Values>
</ContentSummaryMetaData>
</EditData>
<Models>
<SkeletalModel Name="" IsBranchVisible="true" IsVisible="true" CullingMode="Dynamic" IsNonuniformScalable="false" LayerId="0" NeededBoneCapacity="20">
<EditData>
<ModelDccToolExportOption ExportStartFrame="0" Magnify="1" AdjustSkinning="None" MeshVisibilityMode="BindByIndex">
<Key>ModelDccToolInfo</Key>
</ModelDccToolExportOption>
<OptimizationLogArrayMetaData Size="1">
<Key>OptimizationLogs</Key>
<Values>
<OptimizationLog Date="2010-12-02T15:21" EditorVersion="1.2.0.27817">
<Options NodeCompressionMode="None" IsMergeMeshOwnerBoneEnabled="false" IsCombineMeshEnabled="false" IsCompressMaterialEnabled="false" IsOptimizePlygonPrimitiveEnabled="false" IsConvertOneBoneSkeletalModelToModel="true" IsDeleteUnusedVertexEnabled="false" PositionQuantizeMode="Float" NormalQuantizeMode="Float" TextureQuantizeMode="Float" GroupByIndexStream="false" />
</OptimizationLog>
</Values>
</OptimizationLogArrayMetaData>
</EditData>
<AnimationGroupDescriptions>
<GraphicsAnimationGroupDescription Name="SkeletalAnimation" EvaluationTiming="AfterSceneCulling">
<MemberInformationSet>
<AnimationMemberDescription BlendOperationName="CalculatedTransform" IsBinarized="true">
<Path>Skeleton.Bones["*"].AnimatedTransform</Path>
</AnimationMemberDescription>
</MemberInformationSet>
</GraphicsAnimationGroupDescription>
<GraphicsAnimationGroupDescription Name="VisibilityAnimation" EvaluationTiming="BeforeWorldUpdate">
<MemberInformationSet>
<AnimationMemberDescription BlendOperationName="Bool" IsBinarized="true">
<Path>IsVisible</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="Bool" IsBinarized="true">
<Path>Meshes["*"].IsVisible</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="Bool" IsBinarized="true">
<Path>IsBranchVisible</Path>
</AnimationMemberDescription>
</MemberInformationSet>
</GraphicsAnimationGroupDescription>
<GraphicsAnimationGroupDescription Name="MaterialAnimation" EvaluationTiming="AfterSceneCulling">
<MemberInformationSet>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Emission</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Ambient</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Diffuse</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Specular0</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Specular1</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Constant0</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Constant1</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Constant2</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Constant3</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Constant4</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Constant5</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].TextureMappers["*"].Sampler.BorderColor</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="Int" IsBinarized="true">
<Path>Materials["*"].TextureMappers["*"].Texture</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].FragmentOperation.BlendOperation.BlendColor</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="Vector2" IsBinarized="true">
<Path>Materials["*"].TextureCoordinators["*"].Scale</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="Float" IsBinarized="true">
<Path>Materials["*"].TextureCoordinators["*"].Rotate</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="Vector2" IsBinarized="true">
<Path>Materials["*"].TextureCoordinators["*"].Translate</Path>
</AnimationMemberDescription>
</MemberInformationSet>
</GraphicsAnimationGroupDescription>
</AnimationGroupDescriptions>
<Transform>
<Scale X="1" Y="1" Z="1" />
<Rotate X="0" Y="0" Z="0" />
<Translate X="0" Y="0" Z="0" />
</Transform>
<Shapes>
<SeparateDataShapeCtr>
<OrientedBoundingBox>
<CenterPosition X="0" Y="0" Z="6.5" />
<OrientationMatrix M00="1" M01="0" M02="0" M10="0" M11="1" M12="0" M20="0" M21="0" M22="1" />
<Size X="24" Y="12" Z="0" />
</OrientedBoundingBox>
<PositionOffset X="0" Y="0" Z="0" />
<PrimitiveSets>
<PrimitiveSetCtr SkinningMode="None">
<BoneIndexTable>0</BoneIndexTable>
<Primitives>
<PrimitiveCtr>
<IndexStreams>
<UbyteIndexStreamCtr PrimitiveMode="Triangles" Size="6">0 1 2 1 3 2</UbyteIndexStreamCtr>
</IndexStreams>
</PrimitiveCtr>
</Primitives>
</PrimitiveSetCtr>
</PrimitiveSets>
<VertexAttributes>
<Vector3VertexStreamCtr Usage="Position" VertexSize="4" Scale="1" QuantizedMode="Float">
-12 -6 6.5
12 -6 6.5
-12 6 6.5
12 6 6.5
</Vector3VertexStreamCtr>
<Vector3VertexAttributeCtr Usage="Normal">0 0 1</Vector3VertexAttributeCtr>
<Vector2VertexStreamCtr Usage="TextureCoordinate0" VertexSize="4" Scale="1" QuantizedMode="Float">
0 0
1 0
0 1
1 1
</Vector2VertexStreamCtr>
</VertexAttributes>
</SeparateDataShapeCtr>
</Shapes>
<Materials>
<MaterialCtr Name="MT_00" IsCompressible="true" LightSetIndex="0" FogIndex="0" IsFragmentLightEnabled="false" IsVertexLightEnabled="false" IsHemiSphereLightEnabled="false" IsHemiSphereOcclusionEnabled="false" IsFogEnabled="false" TextureCoordinateConfig="Config0120" TranslucencyKind="Layer1" ShaderProgramDescriptionIndex="-1" ShaderBinaryKind="Default">
<ShaderReference />
<MaterialColor VertexColorScale="1">
<Emission R="0" G="0" B="0" A="0" />
<Ambient R="1" G="1" B="1" A="0" />
<Diffuse R="1" G="1" B="1" A="1" />
<Specular0 R="1" G="1" B="1" A="0" />
<Specular1 R="0" G="0" B="0" A="0" />
<Constant0 R="0" G="0" B="0" A="1" />
<Constant1 R="0" G="0" B="0" A="1" />
<Constant2 R="0" G="0" B="0" A="1" />
<Constant3 R="0" G="0" B="0" A="1" />
<Constant4 R="0" G="0" B="0" A="1" />
<Constant5 R="0" G="0" B="0" A="1" />
</MaterialColor>
<Rasterization CullingMode="BackFace" IsPolygonOffsetEnabled="false" PolygonOffsetUnit="0" />
<TextureCoordinators>
<TextureCoordinatorCtr SourceCoordinate="0" MappingMethod="UvCoordinateMap" ReferenceCamera="0" MatrixMode="DccMaya" ScaleS="1" ScaleT="1" Rotate="0" TranslateS="0" TranslateT="0" />
</TextureCoordinators>
<TextureMappers>
<PixelBasedTextureMapperCtr>
<TextureReference>Textures["banner_imp"]@file:Textures/banner_imp.ctex</TextureReference>
<StandardTextureSamplerCtr MinFilter="Linear" MagFilter="Linear" WrapS="ClampToEdge" WrapT="ClampToEdge" MinLod="0" LodBias="0">
<BorderColor R="0" G="0" B="0" A="1" />
</StandardTextureSamplerCtr>
</PixelBasedTextureMapperCtr>
</TextureMappers>
<FragmentShader LayerConfig="ConfigurationType0">
<BufferColor R="0" G="0" B="0" A="1" />
<FragmentBump BumpTextureIndex="Texture0" BumpMode="NotUsed" IsBumpRenormalize="false" />
<FragmentLighting FresnelConfig="No" IsClampHighLight="false" IsDistribution0Enabled="false" IsDistribution1Enabled="false" IsGeometricFactor0Enabled="false" IsGeometricFactor1Enabled="false" IsReflectionEnabled="false" />
<FragmentLightingTable>
<ReflectanceRSampler IsAbs="true" Input="CosNormalHalf" Scale="One">
<NullLookupTableCtr />
</ReflectanceRSampler>
<ReflectanceGSampler IsAbs="true" Input="CosNormalHalf" Scale="One">
<NullLookupTableCtr />
</ReflectanceGSampler>
<ReflectanceBSampler IsAbs="true" Input="CosNormalHalf" Scale="One">
<NullLookupTableCtr />
</ReflectanceBSampler>
<Distribution0Sampler IsAbs="true" Input="CosNormalHalf" Scale="One">
<NullLookupTableCtr />
</Distribution0Sampler>
<Distribution1Sampler IsAbs="true" Input="CosNormalHalf" Scale="One">
<NullLookupTableCtr />
</Distribution1Sampler>
<FresnelSampler IsAbs="true" Input="CosNormalHalf" Scale="One">
<NullLookupTableCtr />
</FresnelSampler>
</FragmentLightingTable>
<TextureCombiners>
<TextureCombinerCtr CombineRgb="Replace" CombineAlpha="Replace" ScaleRgb="One" ScaleAlpha="One" Constant="Constant0" BufferInputRgb="PreviousBuffer" BufferInputAlpha="PreviousBuffer">
<SourceRgb Source0="Texture0" Source1="FragmentPrimaryColor" Source2="FragmentSecondaryColor" />
<OperandRgb Operand0="Color" Operand1="Color" Operand2="Color" />
<SourceAlpha Source0="Texture0" Source1="Constant" Source2="Constant" />
<OperandAlpha Operand0="Alpha" Operand1="Alpha" Operand2="Alpha" />
</TextureCombinerCtr>
</TextureCombiners>
<AlphaTest IsTestEnabled="false" TestFunction="Always" TestReference="0" />
</FragmentShader>
<FragmentOperation>
<DepthOperation IsTestEnabled="true" TestFunction="Less" IsMaskEnabled="false" />
<BlendOperation Mode="Blend" LogicOperation="Copy">
<RgbParameter BlendFunctionSource="SourceAlpha" BlendFunctionDestination="OneMinusSourceAlpha" BlendEquation="FuncAdd" />
<AlphaParameter BlendFunctionSource="One" BlendFunctionDestination="Zero" BlendEquation="FuncAdd" />
<BlendColor R="0" G="0" B="0" A="1" />
</BlendOperation>
<StencilOperation IsTestEnabled="false" TestFunction="Never" TestReference="0" TestMask="255" FailOperation="Keep" ZFailOperation="Keep" PassOperation="Keep" />
</FragmentOperation>
</MaterialCtr>
</Materials>
<Meshes>
<Mesh IsVisible="true" RenderPriority="0" MeshNodeName="BONE_00">
<EditData>
<DccToolSourceNodeMetaData>
<Key>DccToolSourceNode</Key>
<Values>
<NodeName>BONE_00</NodeName>
</Values>
</DccToolSourceNodeMetaData>
</EditData>
<SeparateShapeReference>Shapes[0]</SeparateShapeReference>
<MaterialReference>Materials["MT_00"]</MaterialReference>
</Mesh>
</Meshes>
<Skeleton RootBoneName="BONE_00" ScalingRule="Standard" IsTranslateAnimationEnabled="true">
<Bones>
<Bone Name="BONE_00" ParentBoneName="" IsSegmentScaleCompensate="false" IsCompressible="true" IsNeededRendering="true" HasSkinningMatrix="false" BillboardMode="YAxial">
<Transform>
<Scale X="1" Y="1" Z="1" />
<Rotate X="0" Y="0" Z="0" />
<Translate X="0" Y="0" Z="0" />
</Transform>
</Bone>
</Bones>
</Skeleton>
</SkeletalModel>
</Models>
</GraphicsContentCtr>
</NintendoWareIntermediateFile>

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,213 @@
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\build\\linker\\CTR.Process.MPCore.ldscript.template"
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/os_MemoryMapSelect.h"
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/os_MemoryMapSelect.h"
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/MPCore/os_MemoryMap.h"
# 78 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/MPCore/os_MemoryMap.h"
# 22 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/os_MemoryMapSelect.h"
# 22 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/os_MemoryMapSelect.h"
# 21 "d:\\ctr_project\\ctr_sdk\\Horizon\\build\\linker\\CTR.Process.MPCore.ldscript.template"
TEXT_SECTION 0x00100000 (0x04000000 - 0x00100000)
{
STUP_ENTRY 0x00100000
{
* (:gdef:__ctr_start, +FIRST)
* (+RO-CODE)
}
STATIC_INIT +0
{
* (.static_init)
}
INIT_ARRAY +0
{
* (.init_array)
init_aeabi.o(+RO)
}
}
RO_SECTION +0 ALIGN 0x1000
{
RO +0
{
* (+RO-DATA)
}
}
RW_SECTION +0 ALIGN 0x1000
{
RW +0
{
* (+RW-DATA)
}
ZI +0
{
* (+ZI)
}
}
END_SECTION +ImageLength(ZI) ALIGN 0x1000
{
STATIC_END +0
{
* (.nn.dummy)
}
}
MODULE_INFO (0x00100000 + (0x04000000 - 0x00100000))
{
.module_id (0x00100000 + (0x04000000 - 0x00100000))
{
* (.module_id)
}
}

View File

@ -0,0 +1,61 @@
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\crt0.fast.o
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\lib_demo.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libgles2.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_ac.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_am.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_applet.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_boss.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_camera.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_cec.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_cfg.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_crypto.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_cx.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_dbg.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_dbm.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_dev.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_dlp.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_dsp.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_err.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_fnd.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_font.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_friends.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_fs.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_fshio.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_gd.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_gr.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_gxlow.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_hid.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_hidlow.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_hio.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_http.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_init.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_jpegmp.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_math.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_mic.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_midi.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_ndm.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_news.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_ngc.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_nstd.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_nwm.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_os.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_pl.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_ptm.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_rdt.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_snd.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_socket.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_srv.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_svc.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_svcDbg.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_tpl.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_ubl.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_uds.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_ulcd.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_util.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_y2r.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\librtport.fast.a
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.fast\Development\common\common.o
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.fast\Development\common\shfnt.o
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.fast\Development\common\sleep.o
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.fast\Development\source\main.o
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.fast\Development\source\test_data.o

View File

@ -0,0 +1,21 @@
<?xml version="1.0"?>
<CciInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Contents>
<ContentsInfo>
<Title>CSM_imp</Title>
<RomFsInfo>
<Root>d:\ctr_project\cardsavedatamover\Imp\romfiles</Root>
<Files>
<Name>\importee.cia</Name>
<Name>\nnfont_RectDrawerShader.shbin</Name>
</Files>
</RomFsInfo>
<CodeInfo>
<Compressed>true</Compressed>
<OriginalSize>393,216 byte</OriginalSize>
<CompressedSize>216,752 byte</CompressedSize>
<CompressedRate>55.1 %</CompressedRate>
</CodeInfo>
</ContentsInfo>
</Contents>
</CciInfo>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,213 @@
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\build\\linker\\CTR.Process.MPCore.ldscript.template"
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/os_MemoryMapSelect.h"
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/os_MemoryMapSelect.h"
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/MPCore/os_MemoryMap.h"
# 78 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/MPCore/os_MemoryMap.h"
# 22 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/os_MemoryMapSelect.h"
# 22 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/os_MemoryMapSelect.h"
# 21 "d:\\ctr_project\\ctr_sdk\\Horizon\\build\\linker\\CTR.Process.MPCore.ldscript.template"
TEXT_SECTION 0x00100000 (0x04000000 - 0x00100000)
{
STUP_ENTRY 0x00100000
{
* (:gdef:__ctr_start, +FIRST)
* (+RO-CODE)
}
STATIC_INIT +0
{
* (.static_init)
}
INIT_ARRAY +0
{
* (.init_array)
init_aeabi.o(+RO)
}
}
RO_SECTION +0 ALIGN 0x1000
{
RO +0
{
* (+RO-DATA)
}
}
RW_SECTION +0 ALIGN 0x1000
{
RW +0
{
* (+RW-DATA)
}
ZI +0
{
* (+ZI)
}
}
END_SECTION +ImageLength(ZI) ALIGN 0x1000
{
STATIC_END +0
{
* (.nn.dummy)
}
}
MODULE_INFO (0x00100000 + (0x04000000 - 0x00100000))
{
.module_id (0x00100000 + (0x04000000 - 0x00100000))
{
* (.module_id)
}
}

View File

@ -0,0 +1,57 @@
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\crt0.fast.o
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\lib_demo.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libgles2.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_ac.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_am.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_applet.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_boss.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_camera.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_cec.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_cfg.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_crypto.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_cx.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_dbg.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_dbm.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_dlp.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_dsp.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_err.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_fnd.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_font.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_friends.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_fs.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_gd.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_gr.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_gxlow.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_hid.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_hidlow.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_http.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_init.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_jpegmp.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_math.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_mic.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_ndm.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_news.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_ngc.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_nstd.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_nwm.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_os.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_pl.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_ptm.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_rdt.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_snd.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_socket.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_srv.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_svc.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_svcDbg.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_tpl.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_ubl.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_uds.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_ulcd.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_util.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_y2r.fast.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\librtport.fast.a
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.fast\Release\common\common.o
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.fast\Release\common\shfnt.o
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.fast\Release\common\sleep.o
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.fast\Release\source\main.o
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.fast\Release\source\test_data.o

View File

@ -0,0 +1,21 @@
<?xml version="1.0"?>
<CciInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Contents>
<ContentsInfo>
<Title>CSM_imp</Title>
<RomFsInfo>
<Root>d:\ctr_project\cardsavedatamover\Imp\romfiles</Root>
<Files>
<Name>\importee.cia</Name>
<Name>\nnfont_RectDrawerShader.shbin</Name>
</Files>
</RomFsInfo>
<CodeInfo>
<Compressed>true</Compressed>
<OriginalSize>290,816 byte</OriginalSize>
<CompressedSize>159,604 byte</CompressedSize>
<CompressedRate>54.9 %</CompressedRate>
</CodeInfo>
</ContentsInfo>
</Contents>
</CciInfo>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,213 @@
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\build\\linker\\CTR.Process.MPCore.ldscript.template"
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/os_MemoryMapSelect.h"
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/os_MemoryMapSelect.h"
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/MPCore/os_MemoryMap.h"
# 78 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/MPCore/os_MemoryMap.h"
# 22 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/os_MemoryMapSelect.h"
# 22 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/os_MemoryMapSelect.h"
# 21 "d:\\ctr_project\\ctr_sdk\\Horizon\\build\\linker\\CTR.Process.MPCore.ldscript.template"
TEXT_SECTION 0x00100000 (0x04000000 - 0x00100000)
{
STUP_ENTRY 0x00100000
{
* (:gdef:__ctr_start, +FIRST)
* (+RO-CODE)
}
STATIC_INIT +0
{
* (.static_init)
}
INIT_ARRAY +0
{
* (.init_array)
init_aeabi.o(+RO)
}
}
RO_SECTION +0 ALIGN 0x1000
{
RO +0
{
* (+RO-DATA)
}
}
RW_SECTION +0 ALIGN 0x1000
{
RW +0
{
* (+RW-DATA)
}
ZI +0
{
* (+ZI)
}
}
END_SECTION +ImageLength(ZI) ALIGN 0x1000
{
STATIC_END +0
{
* (.nn.dummy)
}
}
MODULE_INFO (0x00100000 + (0x04000000 - 0x00100000))
{
.module_id (0x00100000 + (0x04000000 - 0x00100000))
{
* (.module_id)
}
}

View File

@ -0,0 +1,61 @@
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\crt0.small.o
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\lib_demo.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libgles2.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_ac.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_am.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_applet.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_boss.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_camera.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_cec.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_cfg.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_crypto.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_cx.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_dbg.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_dbm.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_dev.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_dlp.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_dsp.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_err.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_fnd.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_font.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_friends.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_fs.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_fshio.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_gd.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_gr.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_gxlow.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_hid.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_hidlow.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_hio.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_http.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_init.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_jpegmp.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_math.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_mic.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_midi.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_ndm.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_news.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_ngc.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_nstd.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_nwm.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_os.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_pl.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_ptm.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_rdt.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_snd.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_socket.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_srv.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_svc.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_svcDbg.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_tpl.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_ubl.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_uds.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_ulcd.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_util.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\libnn_y2r.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\verbose\librtport.small.a
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.small\Development\common\common.o
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.small\Development\common\shfnt.o
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.small\Development\common\sleep.o
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.small\Development\source\main.o
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.small\Development\source\test_data.o

View File

@ -0,0 +1,21 @@
<?xml version="1.0"?>
<CciInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Contents>
<ContentsInfo>
<Title>CSM_imp</Title>
<RomFsInfo>
<Root>d:\ctr_project\cardsavedatamover\Imp\romfiles</Root>
<Files>
<Name>\importee.cia</Name>
<Name>\nnfont_RectDrawerShader.shbin</Name>
</Files>
</RomFsInfo>
<CodeInfo>
<Compressed>true</Compressed>
<OriginalSize>307,200 byte</OriginalSize>
<CompressedSize>193,428 byte</CompressedSize>
<CompressedRate>63.0 %</CompressedRate>
</CodeInfo>
</ContentsInfo>
</Contents>
</CciInfo>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,213 @@
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\build\\linker\\CTR.Process.MPCore.ldscript.template"
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/os_MemoryMapSelect.h"
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/os_MemoryMapSelect.h"
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/MPCore/os_MemoryMap.h"
# 78 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/MPCore/os_MemoryMap.h"
# 22 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/os_MemoryMapSelect.h"
# 22 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/os_MemoryMapSelect.h"
# 21 "d:\\ctr_project\\ctr_sdk\\Horizon\\build\\linker\\CTR.Process.MPCore.ldscript.template"
TEXT_SECTION 0x00100000 (0x04000000 - 0x00100000)
{
STUP_ENTRY 0x00100000
{
* (:gdef:__ctr_start, +FIRST)
* (+RO-CODE)
}
STATIC_INIT +0
{
* (.static_init)
}
INIT_ARRAY +0
{
* (.init_array)
init_aeabi.o(+RO)
}
}
RO_SECTION +0 ALIGN 0x1000
{
RO +0
{
* (+RO-DATA)
}
}
RW_SECTION +0 ALIGN 0x1000
{
RW +0
{
* (+RW-DATA)
}
ZI +0
{
* (+ZI)
}
}
END_SECTION +ImageLength(ZI) ALIGN 0x1000
{
STATIC_END +0
{
* (.nn.dummy)
}
}
MODULE_INFO (0x00100000 + (0x04000000 - 0x00100000))
{
.module_id (0x00100000 + (0x04000000 - 0x00100000))
{
* (.module_id)
}
}

View File

@ -0,0 +1,57 @@
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\crt0.small.o
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\lib_demo.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libgles2.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_ac.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_am.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_applet.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_boss.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_camera.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_cec.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_cfg.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_crypto.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_cx.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_dbg.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_dbm.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_dlp.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_dsp.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_err.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_fnd.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_font.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_friends.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_fs.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_gd.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_gr.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_gxlow.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_hid.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_hidlow.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_http.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_init.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_jpegmp.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_math.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_mic.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_ndm.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_news.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_ngc.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_nstd.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_nwm.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_os.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_pl.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_ptm.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_rdt.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_snd.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_socket.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_srv.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_svc.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_svcDbg.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_tpl.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_ubl.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_uds.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_ulcd.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_util.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\libnn_y2r.small.a
d:\ctr_project\ctr_sdk\Horizon\libraries\CTR-TS.Process.MPCore\release\librtport.small.a
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.small\Release\common\common.o
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.small\Release\common\shfnt.o
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.small\Release\common\sleep.o
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.small\Release\source\main.o
d:\ctr_project\cardsavedatamover\Imp\objects\CTR-TS.Process.MPCore.small\Release\source\test_data.o

View File

@ -0,0 +1,21 @@
<?xml version="1.0"?>
<CciInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Contents>
<ContentsInfo>
<Title>CSM_imp</Title>
<RomFsInfo>
<Root>d:\ctr_project\cardsavedatamover\Imp\romfiles</Root>
<Files>
<Name>\importee.cia</Name>
<Name>\nnfont_RectDrawerShader.shbin</Name>
</Files>
</RomFsInfo>
<CodeInfo>
<Compressed>true</Compressed>
<OriginalSize>225,280 byte</OriginalSize>
<CompressedSize>143,916 byte</CompressedSize>
<CompressedRate>63.9 %</CompressedRate>
</CodeInfo>
</ContentsInfo>
</Contents>
</CciInfo>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1,223 @@
/*---------------------------------------------------------------------------*
Project: Horizon
File: main.cpp
Copyright (C)2009 Nintendo Co., Ltd. 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.
$Rev: 32842 $
*---------------------------------------------------------------------------*/
#include <nn.h>
//#include <nn/srv.h>
#include <nn/fs.h>
//#include <nn/ns/CTR/ns_ApiShell.h>
//#include <nn/ns/CTR/ns_Shell.h>
#include <nn/am/am_ApiLocalImporter.h>
#include <nn/am/am_ApiSystemMenu.h>
#include <nn/applet.h>
#include <nn/ndm.h>
#include <stdio.h>
#include "demo.h"
#include "../common/ver.h"
#include "../common/sleep.h"
#include "../common/common.h"
#include "../common/shfnt.h"
#include "test_data.h"
demo::RenderSystemDrawing s_RenderSystem;
nn::fnd::ExpHeap appHeap;
uptr heapForGx;
namespace
{
bit8 readBuf[64 * 1024];
}
bool ImportFile(nn::fs::MediaType mediaType, wchar_t* filename)
{
nn::Result result;
nn::fs::FileOutputStream* stream;
result = nn::am::BeginImportProgram(&stream, mediaType);
if (result.IsSuccess())
{
//NN_LOG("Importing: %ls...", filename);
nn::fs::FileInputStream in(filename);
while(s32 read = in.Read(readBuf, sizeof(readBuf)))
{
stream->Write(readBuf, read);
}
result = nn::am::EndImportProgram(stream);
}
return result.IsSuccess();
}
//#define setColor(r,g,b,a) s_RenderSystem.SetColor(r,g,b,a)
void setColor(f32 r,f32 g,f32 b,f32 a){ shf_SetColor(r,g,b,a);}
//#define setText(x,y,s) s_RenderSystem.DrawText(x,y,s)
void drawText(u16 x,u16 y,char *s){ shf_DrawText_0( x,y,s);}
nn::hid::PadReader *hpr;
//---------------------------------------------------------------- 入力待ち
nn::hid::PadStatus padStatus;
u32 WaitKey(u32 mask)
{
while(1){
hpr->ReadLatest(&padStatus);
if(padStatus.trigger & mask)return padStatus.trigger;
CheckSysBreak();
}
}
void endfunc()
{
nn::hid::Finalize();
SharedFontFinalize();
nngxWaitVSync(NN_GX_DISPLAY_BOTH);//SDK2.0以降では不要かも?
s_RenderSystem.Finalize();
}
char ver[16];
void nnMain( void )
{
nn::Result result;
nn::os::Initialize();
nn::fs::Initialize();
//DEA-SUPにて推奨のフリーズ暫定対策無線デーモンを停止 (2011.3.1 現在)
//ただし、スリープ時の"いつのまに通信"は止まらない
//無線は使わないが念の為、本体スイッチで切っとくのが確実
nn::ndm::SuspendScheduler();
//中断処理の準備
InitSysBreak((uptr)endfunc);
// グラフィックスライブラリの初期化は、以降で行わなければならない
// 他、アプリケーションの初期化処理
nn::hid::Initialize();
nn::hid::PadReader padReader;
hpr = &padReader;
//result = nn::ns::CTR::InitializeForShell();
//if (result.IsSuccess())
result = nn::am::InitializeForLocalImporter();
nn::applet::DisableSleep();//スリープ非対応
const size_t ROMFS_BUFFER_SIZE = 1024 * 64;
static char buffer[ROMFS_BUFFER_SIZE];
// ヒープの確保
appHeap.Initialize(nn::os::GetDeviceMemoryAddress(), nn::os::GetDeviceMemorySize(), nn::os::ALLOCATE_OPTION_LINEAR);
const u32 s_GxHeapSize = 0x800000;
// RenderSystem の準備
heapForGx = reinterpret_cast<uptr>(appHeap.Allocate(s_GxHeapSize));
s_RenderSystem.Initialize(heapForGx, s_GxHeapSize);
SharedFontInit();
// スリープ要求に対する返答を有効にする
// また、蓋の状態チェックを行い蓋が閉じられているならスリープ要求が発生する
// nn::applet::EnableSleep(true);
s_RenderSystem.SetRenderTarget(NN_GX_DISPLAY0);
s_RenderSystem.Clear();
// s_RenderSystem.SetFontSize(12);
shf_SetScale(0.8,0.6);
setColor(1.0,1.0,1.0,1.0);
drawText(20,20,"CTR Card Savedata Mover Setup");
s_RenderSystem.SwapBuffers();
shf_SetScale(0.5,0.5);
sprintf(ver,"version %.2f",VERSION);
drawText(250,40,ver);
shf_SetScale(0.7,0.7);
if (result.IsFailure()){//初期化に失敗
setColor(1.0, 0.0, 0.0,1.0);
drawText(10,70,"Initialize Error");
drawText(10,90,"check *.desc file");
drawText(10,110,"Push B : Quit");
s_RenderSystem.SwapBuffers();
while(1){
padReader.ReadLatest(&padStatus);
if(padStatus.trigger & nn::hid::BUTTON_B)break;
}
finish();
}
nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE);
drawText(80,100,"Push X : Inport");
drawText(80,140,"Push Y : Delete");
drawText(80,160,"Push R : Test Data");
s_RenderSystem.SwapBuffers();
u32 trg = WaitKey(nn::hid::BUTTON_X | nn::hid::BUTTON_Y | nn::hid::BUTTON_R);
if (trg & nn::hid::BUTTON_R){
shf_SetScale(0.6,0.6);
TestMain();//テストデータへ
}
shf_SetScale(0.8,0.8);
// CIA のプログラム ID を取得する。
nn::am::ProgramInfo programInfo;
if (nn::am::GetProgramInfoFromCia(&programInfo, ROMFS_IMPORTEE_PATH).IsFailure())
{
s_RenderSystem.Clear();
setColor(1.0, 0.0, 0.0,1.0);
drawText(10,50,"cia infomation Error");
drawText(10,120,"Push B : Quit");
s_RenderSystem.SwapBuffers();
while(1){
padReader.ReadLatest(&padStatus);
if(padStatus.trigger & nn::hid::BUTTON_B)break;
}
} else
{
s_RenderSystem.Clear();
if(padStatus.trigger & nn::hid::BUTTON_X)
drawText(10,120,"Inporting");
else drawText(10,120,"Delete");
s_RenderSystem.SwapBuffers();
// 既に存在するものをインポートするとエラーが返ってくるので、あらかじめ消しておく。
nn::am::DeleteProgram(nn::fs::MEDIA_TYPE_NAND, programInfo.id);
// タイトル鍵が違うケースに対応するために、チケットも消しておく。
nn::am::DeleteTicket(programInfo.id);
if(padStatus.trigger & nn::hid::BUTTON_X)
{
// CIA をインポート
if (ImportFile(nn::fs::MEDIA_TYPE_NAND, ROMFS_IMPORTEE_PATH)==false)
{
s_RenderSystem.Clear();
setColor(1.0, 0.0, 0.0,1.0);
drawText(10,50,"Impoprt fail");
s_RenderSystem.SwapBuffers();
}
}
s_RenderSystem.Clear();
drawText(10,50,"Complate");
}
drawText(10,120,"Push Power Button & Power Off");
s_RenderSystem.SwapBuffers();
WaitKey(0);
}

View File

@ -0,0 +1,223 @@
/*---------------------------------------------------------------------------*
Project: Horizon
File: main.cpp
Copyright (C)2009 Nintendo Co., Ltd. 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.
$Rev$
*---------------------------------------------------------------------------*/
#include <nn.h>
//#include <nn/srv.h>
#include <nn/fs.h>
//#include <nn/ns/CTR/ns_ApiShell.h>
//#include <nn/ns/CTR/ns_Shell.h>
#include <nn/am/am_ApiLocalImporter.h>
#include <nn/am/am_ApiSystemMenu.h>
#include <nn/applet.h>
#include <nn/ndm.h>
#include <stdio.h>
#include "demo.h"
#include "../common/ver.h"
#include "../common/sleep.h"
#include "../common/common.h"
#include "../common/shfnt.h"
#include "test_data.h"
demo::RenderSystemDrawing s_RenderSystem;
nn::fnd::ExpHeap appHeap;
uptr heapForGx;
namespace
{
bit8 readBuf[64 * 1024];
}
bool ImportFile(nn::fs::MediaType mediaType, wchar_t* filename)
{
nn::Result result;
nn::fs::FileOutputStream* stream;
result = nn::am::BeginImportProgram(&stream, mediaType);
if (result.IsSuccess())
{
//NN_LOG("Importing: %ls...", filename);
nn::fs::FileInputStream in(filename);
while(s32 read = in.Read(readBuf, sizeof(readBuf)))
{
stream->Write(readBuf, read);
}
result = nn::am::EndImportProgram(stream);
}
return result.IsSuccess();
}
//#define setColor(r,g,b,a) s_RenderSystem.SetColor(r,g,b,a)
void setColor(f32 r,f32 g,f32 b,f32 a){ shf_SetColor(r,g,b,a);}
//#define setText(x,y,s) s_RenderSystem.DrawText(x,y,s)
void drawText(u16 x,u16 y,char *s){ shf_DrawText_0( x,y,s);}
nn::hid::PadReader *hpr;
//---------------------------------------------------------------- 入力待ち
nn::hid::PadStatus padStatus;
u32 WaitKey(u32 mask)
{
while(1){
hpr->ReadLatest(&padStatus);
if(padStatus.trigger & mask)return padStatus.trigger;
CheckSysBreak();
}
}
void endfunc()
{
nn::hid::Finalize();
SharedFontFinalize();
nngxWaitVSync(NN_GX_DISPLAY_BOTH);//SDK2.0以降では不要かも?
s_RenderSystem.Finalize();
}
char ver[16];
void nnMain( void )
{
nn::Result result;
nn::os::Initialize();
nn::fs::Initialize();
//DEA-SUPにて推奨のフリーズ暫定対策無線デーモンを停止 (2011.3.1 現在)
//ただし、スリープ時の"いつのまに通信"は止まらない
//無線は使わないが念の為、本体スイッチで切っとくのが確実
nn::ndm::SuspendScheduler();
//中断処理の準備
InitSysBreak((uptr)endfunc);
// グラフィックスライブラリの初期化は、以降で行わなければならない
// 他、アプリケーションの初期化処理
nn::hid::Initialize();
nn::hid::PadReader padReader;
hpr = &padReader;
//result = nn::ns::CTR::InitializeForShell();
//if (result.IsSuccess())
result = nn::am::InitializeForLocalImporter();
nn::applet::DisableSleep();//スリープ非対応
const size_t ROMFS_BUFFER_SIZE = 1024 * 64;
static char buffer[ROMFS_BUFFER_SIZE];
// ヒープの確保
appHeap.Initialize(nn::os::GetDeviceMemoryAddress(), nn::os::GetDeviceMemorySize(), nn::os::ALLOCATE_OPTION_LINEAR);
const u32 s_GxHeapSize = 0x800000;
// RenderSystem の準備
heapForGx = reinterpret_cast<uptr>(appHeap.Allocate(s_GxHeapSize));
s_RenderSystem.Initialize(heapForGx, s_GxHeapSize);
SharedFontInit();
// スリープ要求に対する返答を有効にする
// また、蓋の状態チェックを行い蓋が閉じられているならスリープ要求が発生する
// nn::applet::EnableSleep(true);
s_RenderSystem.SetRenderTarget(NN_GX_DISPLAY0);
s_RenderSystem.Clear();
// s_RenderSystem.SetFontSize(12);
shf_SetScale(0.8,0.6);
setColor(1.0,1.0,1.0,1.0);
drawText(20,20,"CTR Card Savedata Mover Setup");
s_RenderSystem.SwapBuffers();
shf_SetScale(0.5,0.5);
sprintf(ver,"version %.2f",VERSION);
drawText(250,40,ver);
shf_SetScale(0.7,0.7);
if (result.IsFailure()){//初期化に失敗
setColor(1.0, 0.0, 0.0,1.0);
drawText(10,70,"Initialize Error");
drawText(10,90,"check *.desc file");
drawText(10,110,"Push B : Quit");
s_RenderSystem.SwapBuffers();
while(1){
padReader.ReadLatest(&padStatus);
if(padStatus.trigger & nn::hid::BUTTON_B)break;
}
finish();
}
nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE);
drawText(80,100,"Push X : Import");
drawText(80,140,"Push Y : Delete");
drawText(80,160,"Push R : Test Data");
s_RenderSystem.SwapBuffers();
u32 trg = WaitKey(nn::hid::BUTTON_X | nn::hid::BUTTON_Y | nn::hid::BUTTON_R);
if (trg & nn::hid::BUTTON_R){
shf_SetScale(0.6,0.6);
TestMain();//テストデータへ
}
shf_SetScale(0.8,0.8);
// CIA のプログラム ID を取得する。
nn::am::ProgramInfo programInfo;
if (nn::am::GetProgramInfoFromCia(&programInfo, ROMFS_IMPORTEE_PATH).IsFailure())
{
s_RenderSystem.Clear();
setColor(1.0, 0.0, 0.0,1.0);
drawText(10,50,"cia infomation Error");
drawText(10,120,"Push B : Quit");
s_RenderSystem.SwapBuffers();
while(1){
padReader.ReadLatest(&padStatus);
if(padStatus.trigger & nn::hid::BUTTON_B)break;
}
} else
{
s_RenderSystem.Clear();
if(padStatus.trigger & nn::hid::BUTTON_X)
drawText(10,120,"Importing");
else drawText(10,120,"Delete");
s_RenderSystem.SwapBuffers();
// 既に存在するものをインポートするとエラーが返ってくるので、あらかじめ消しておく。
nn::am::DeleteProgram(nn::fs::MEDIA_TYPE_NAND, programInfo.id);
// タイトル鍵が違うケースに対応するために、チケットも消しておく。
nn::am::DeleteTicket(programInfo.id);
if(padStatus.trigger & nn::hid::BUTTON_X)
{
// CIA をインポート
if (ImportFile(nn::fs::MEDIA_TYPE_NAND, ROMFS_IMPORTEE_PATH)==false)
{
s_RenderSystem.Clear();
setColor(1.0, 0.0, 0.0,1.0);
drawText(10,50,"Impoprt fail");
s_RenderSystem.SwapBuffers();
}
}
s_RenderSystem.Clear();
drawText(10,50,"Complate");
}
drawText(10,120,"Push Power Button & Power Off");
s_RenderSystem.SwapBuffers();
WaitKey(0);
}

View File

@ -0,0 +1,673 @@
/*---------------------------------------------------------------------------*
Project: Horizon
File: main.cpp
Copyright (C)2010 Nintendo Co., Ltd. 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.
*---------------------------------------------------------------------------*/
#include <wchar.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <nn.h>
#include <nn/hid.h>
#include "demo.h"
nn::Result res;
nn::fs::FileOutputStream fout;
nn::fs::FileInputStream fin;
nn::fs::Directory dc[256];
wchar_t file_pathw[1024];
char file_path[1024];
char file_path2[1024];
char src_buff[1024*1024];
char get_buff[1024*1024];
char str[512];
extern demo::RenderSystemDrawing s_RenderSystem;
//終了処理
extern void finish(void);
extern u32 WaitKey(u32 mask);
extern void setColor(f32 r,f32 g,f32 b,f32 a);
extern void drawText(u16 x,u16 y,char *s);
void drawText(u16 x,u16 y,char *s,int v)
{
sprintf(str,s,v);
drawText( x,y,str);
}
//----------------------------------------  テストパターン
void make_pattern()
{
int i,j;
j=0;
for (i=0;i<1024*1024;i++){
src_buff[i] = j+i;
if (i & 0x100)j++;
}
}
//TEST ライト
s32 size;
#define SIZE_TEST1 421888
//#define SIZE_TEST1 244736 //dup
bool Test1_W()
{
int total,size2;
res = nn::fs::FormatSaveData(1,0,false);
if (res.IsFailure()){
drawText(8,100,"format Fail");
return false;
}
res =nn::fs::MountSaveData();
if (res.IsFailure()){
drawText(8,100,"Mount Fail");
return false;
}
res = nn::fs::TryCreateFile(L"data:/test1.bin",SIZE_TEST1);
if (res.IsFailure()){
drawText(8,100,"Create Fail");
nn::fs::Unmount("data:");
return false;
}
res = fout.TryInitialize(L"data:/test1.bin",true);
if (res.IsFailure()){
drawText(8,100,"open Fail");
nn::fs::Unmount("data:");
return false;
}
total =0;
size2 = 512;
//size2 = 4096;
//size2 = SIZE_TEST1;
while(1){
res = fout.TryWrite( &size,&src_buff[total],size2);
if (res.IsFailure()){
drawText(8,100,"write Fail");
fout.Finalize();
nn::fs::Unmount("data:");
return false;
}
total += size;
sprintf(str,"size %d",total);
s_RenderSystem.Clear();
drawText(10,80,str);
s_RenderSystem.SwapBuffers();
//if (size<512)break;
if (total >= SIZE_TEST1)break;
if ((SIZE_TEST1 - total) < 512)size2 = SIZE_TEST1 - total ;
}
fout.Finalize();
nn::fs::CommitSaveData();
nn::fs::Unmount("data:");
NN_LOG("total %d",total);
drawText(10,100,"end");
s_RenderSystem.SwapBuffers();
nngxWaitVSync(NN_GX_DISPLAY0);
return true;
}
//ベリファイ
bool Test1_V()
{
int i,total;
res = fin.TryInitialize(L"data:/test1.bin");
if (res.IsFailure()){
drawText(8,100,"open Fail");
nn::fs::Unmount("data:");
return false;
}
total =0;
while(1){
res = fin.TryRead( &size,&get_buff[total],512);
if (res.IsFailure()){
drawText(8,100,"read Fail");
fin.Finalize();
nn::fs::Unmount("data:");
return false;
}
//if (size == 0)break;
for (i=0;i<size;i++) if (src_buff[total+i] != get_buff[total+i])
{
drawText(8,100,"verifi Fail at %d",total+i);
fin.Finalize();
nn::fs::Unmount("data:");
return false;
}
if (total >= SIZE_TEST1)break;
total += size;
s_RenderSystem.Clear();
sprintf(str,"now %d",total);
drawText(10,80,str);
s_RenderSystem.SwapBuffers();
if (size<512)break;
}
fout.Finalize();
nn::fs::Unmount("data:");
drawText(10,100,"end");
s_RenderSystem.SwapBuffers();
nngxWaitVSync(NN_GX_DISPLAY0);
return true;
}
//ファイル数
bool Test2_W(int n)
{
int total,size2;
res = nn::fs::FormatSaveData(680,1,false);//dupなしファイル680
if (res.IsFailure()){
drawText(8,100,"format Fail");
return false;
}
res =nn::fs::MountSaveData();
if (res.IsFailure()){
drawText(8,100,"Mount Fail");
return false;
}
total =0;
int num = 0;
size2 = 512;
while(1){
sprintf(file_path,"data:/test%d.bin",num);
// res = nn::fs::TryCreateFile(L"data:/test2.bin",SIZE_TEST1);
// if (res.IsFailure()){
// drawText(8,100,"Create Fail");
// nn::fs::Unmount("data:");
// return false;
// }
res = fout.TryInitialize(file_path,true);
if (res.IsFailure()){
drawText(8,100,"open Fail");
nn::fs::Unmount("data:");
return false;
}
res = fout.TryWrite( &size,&src_buff[total],size2);
if (res.IsFailure()){
drawText(8,100,"write Fail");
fout.Finalize();
nn::fs::Unmount("data:");
return false;
}
fout.Finalize();
total += size;
num++;
sprintf(str,"size %d , num %d",total,num);
s_RenderSystem.Clear();
drawText(10,80,str);
s_RenderSystem.SwapBuffers();
//if (size<512)break;
if (num == n)break;
}
fout.Finalize();
nn::fs::CommitSaveData();
nn::fs::Unmount("data:");
NN_LOG("total %d",total);
drawText(10,100,"end");
s_RenderSystem.SwapBuffers();
nngxWaitVSync(NN_GX_DISPLAY0);
return true;
}
bool Test2_V(int n)
{
int total,size2,i;
total =0;
int num = 0;
size2 = 512;
while(1){
sprintf(file_path,"data:/test%d.bin",num);
res = fin.TryInitialize(file_path);
if (res.IsFailure()){
drawText(8,100,"open Fail");
nn::fs::Unmount("data:");
return false;
}
res = fin.TryRead( &size,&get_buff[total],size2);
if (res.IsFailure()){
drawText(8,100,"read Fail");
fin.Finalize();
nn::fs::Unmount("data:");
return false;
}
for (i=0;i<size;i++) if (src_buff[total+i] != get_buff[total+i])
{
drawText(8,100,"verifi Fail at %d",total+i);
fin.Finalize();
nn::fs::Unmount("data:");
return false;
}
fin.Finalize();
total += size;
num++;
sprintf(str,"size %d , num %d",total,num);
s_RenderSystem.Clear();
drawText(10,80,str);
s_RenderSystem.SwapBuffers();
//if (size<512)break;
if (num == n)break;
}
fin.Finalize();
nn::fs::Unmount("data:");
NN_LOG("total %d",total);
drawText(10,100,"end");
s_RenderSystem.SwapBuffers();
nngxWaitVSync(NN_GX_DISPLAY0);
return true;
}
#define DirDepth 80
//ディレクトリ深度
bool Test3_W()
{
int total,size2;
res = nn::fs::FormatSaveData(200,200,false);
if (res.IsFailure()){
drawText(8,100,"format Fail");
return false;
}
res =nn::fs::MountSaveData();
if (res.IsFailure()){
drawText(8,100,"Mount Fail");
return false;
}
int num = 0;
total =0;
size2 = 512;
strcpy(file_path,"data:");
while(1){
sprintf(str,"/%d",num);
strcat(file_path,str);
res = nn::fs::TryCreateDirectory(file_path);
if (res.IsFailure()){
sprintf(str,"length = %d",(int)strlen(file_path));
drawText(8,110,str);
drawText(8,100,"Dir create Fail");
nn::fs::Unmount("data:");
return false;
}
strcpy(file_path2,file_path);
sprintf(str,"/t%d.bin",num);
strcat(file_path2,str);
res = fout.TryInitialize(file_path2,true);
if (res.IsFailure()){
drawText(8,100,"open Fail");
nn::fs::Unmount("data:");
return false;
}
res = fout.TryWrite( &size,&src_buff[total],size2);
if (res.IsFailure()){
drawText(8,100,"write Fail");
fout.Finalize();
nn::fs::Unmount("data:");
return false;
}
fout.Finalize();
num++;
total+=size;
s_RenderSystem.Clear();
sprintf(str,"num %d",num);
drawText(10,80,str);
s_RenderSystem.SwapBuffers();
if (num == DirDepth)break;
}
nn::fs::CommitSaveData();
nn::fs::Unmount("data:");
drawText(10,100,"end");
sprintf(str,"length = %d",(int)strlen(file_path2));
drawText(8,110,str);
s_RenderSystem.SwapBuffers();
nngxWaitVSync(NN_GX_DISPLAY0);
return true;
}
bool Test3_V()
{
int i,total,size2;
int num = 0;
total =0;
size2 = 512;
strcpy(file_path,"data:");
while(1){
sprintf(str,"/%d",num);
strcat(file_path,str);
strcpy(file_path2,file_path);
sprintf(str,"/t%d.bin",num);
strcat(file_path2,str);
res = fin.TryInitialize(file_path2);
if (res.IsFailure()){
drawText(8,100,"open Fail");
nn::fs::Unmount("data:");
return false;
}
res = fin.TryRead( &size,&get_buff[total],size2);
if (res.IsFailure()){
drawText(8,100,"read Fail");
fin.Finalize();
nn::fs::Unmount("data:");
return false;
}
for (i=0;i<size;i++) if (src_buff[total+i] != get_buff[total+i])
{
drawText(8,100,"verifi Fail at %d",total+i);
fin.Finalize();
nn::fs::Unmount("data:");
return false;
}
fin.Finalize();
num++;
total+=size;
s_RenderSystem.Clear();
sprintf(str,"num %d",num);
drawText(10,80,str);
s_RenderSystem.SwapBuffers();
if (num == DirDepth) break;
}
nn::fs::Unmount("data:");
drawText(10,100,"end");
sprintf(str,"length = %d",(int)strlen(file_path2));
drawText(8,110,str);
s_RenderSystem.SwapBuffers();
nngxWaitVSync(NN_GX_DISPLAY0);
return true;
}
//max size of name
#define max_len 16
bool Test4_W()
{
int i;
res = nn::fs::FormatSaveData(1,0,true);
if (res.IsFailure()){
drawText(8,100,"format Fail");
return false;
}
res =nn::fs::MountSaveData();
if (res.IsFailure()){
drawText(8,100,"Mount Fail");
return false;
}
strcpy(str,"data:/");
for (i =6;i<max_len+6;i++)str[i] = '-';
str[i] = 0;
res = fout.TryInitialize(str,true);
if (res.IsFailure()){
drawText(8,100,"Open Fail");
nn::fs::Unmount("data:");
return false;
}
res = fout.TryWrite( &size,&src_buff[0],512);
if (res.IsFailure()){
drawText(8,100,"Write Fail");
fout.Finalize();
nn::fs::Unmount("data:");
return false;
}
fout.Finalize();
nn::fs::CommitSaveData();
nn::fs::Unmount("data:");
return (size == 512);
}
bool Test4_V()
{
int i;
strcpy(str,"data:/");
for (i =6;i<max_len+6;i++)str[i] = '-';
str[i] = 0;
res = fin.TryInitialize(str);
if (res.IsFailure()){
drawText(8,100,"Open Fail");
nn::fs::Unmount("data:");
return false;
}
res = fin.TryRead( &size,&get_buff[0],512);
if (res.IsFailure()){
drawText(8,100,"Read Fail");
fin.Finalize();
nn::fs::Unmount("data:");
return false;
}
fin.Finalize();
nn::fs::Unmount("data:");
if (size != 512)return false;
for (i=0;i<size;i++) if (src_buff[i] != get_buff[i])
{
drawText(8,100,"verifi Fail at %d",i);
return false;
}
return true;
}
#define SIZE_TEST5 (512*100)
//生成サイズに満たないデータ
bool Test5_W()
{
int pos;
res = nn::fs::FormatSaveData(1,0,true);
if (res.IsFailure()){
drawText(8,100,"format Fail");
return false;
}
res =nn::fs::MountSaveData();
if (res.IsFailure()){
drawText(8,100,"Mount Fail");
return false;
}
res = nn::fs::TryCreateFile(L"data:/test5.bin",SIZE_TEST5);
if (res.IsFailure()){
drawText(8,100,"Create Fail");
nn::fs::Unmount("data:");
return false;
}
res = fout.TryInitialize(L"data:/test5.bin",true);
if (res.IsFailure()){
drawText(8,100,"open Fail");
nn::fs::Unmount("data:");
return false;
}
pos =0;
while(1){
fout.SetPosition(pos);
res = fout.TryWrite( &size,&src_buff[pos],512);
if (res.IsFailure() || (size!=512)){
drawText(8,100,"write Fail");
fout.Finalize();
nn::fs::Unmount("data:");
return false;
}
sprintf(str,"position %d",pos);
s_RenderSystem.Clear();
drawText(10,80,str);
s_RenderSystem.SwapBuffers();
pos += 1024;//512飛ばす
if (pos >= SIZE_TEST5)break;
}
fout.Finalize();
nn::fs::CommitSaveData();
nn::fs::Unmount("data:");
drawText(10,100,"end");
s_RenderSystem.SwapBuffers();
nngxWaitVSync(NN_GX_DISPLAY0);
return true;
}
bool Test5_V()
{
int i,pos;
res = fin.TryInitialize(L"data:/test5.bin");
if (res.IsFailure()){
drawText(8,100,"open Fail");
nn::fs::Unmount("data:");
return false;
}
pos =0;
while(1){
fin.SetPosition(pos);
res = fin.TryRead( &size,&get_buff[pos],512);
if (res.IsFailure() || (size!=512)){
drawText(8,100,"read Fail");
fin.Finalize();
nn::fs::Unmount("data:");
return false;
}
sprintf(str,"position %d",pos);
s_RenderSystem.Clear();
drawText(10,80,str);
s_RenderSystem.SwapBuffers();
for (i=0;i<512;i++) if (src_buff[pos+i] != get_buff[pos+i])
{
drawText(8,100,"verifi Fail at %d",i);
return false;
}
pos += 1024;//512飛ばす
if (pos >= SIZE_TEST5)break;
}
fin.Finalize();
nn::fs::Unmount("data:");
drawText(10,100,"end");
s_RenderSystem.SwapBuffers();
nngxWaitVSync(NN_GX_DISPLAY0);
return true;
}
#define menu_ct 6
#define menu_max (menu_ct-1)
char* menu_str[menu_ct] = {"Casual check","Large size","many files","Deep directry","max size name","data < create size"};
#define menu_top_Y 80
#define menu_top_X 60
#define menu_spc 14
//---------------------------------------------------------------- main
void TestMain()
{
u32 value;
int curs = 0;
int i;
bool sccs;
//Render
setColor(1.0f,1.0f,1.0f,1.0f);
//TEST PATTERN
make_pattern();
while(1){
//menu 表示
s_RenderSystem.Clear();
drawText(8,20," Backup Verifi for SaveDataMover Test ");
drawText(8,40," for 512KB Backup");
for (i=0;i<menu_ct;i++)drawText(menu_top_X,menu_top_Y+menu_spc*i,menu_str[i]);
drawText(menu_top_X-30,menu_top_Y+menu_spc*curs,"->");
drawText(menu_top_X,menu_top_Y+menu_spc*(menu_max+2),"push A:Write ,X:Verifi");
s_RenderSystem.SwapBuffers();
nngxWaitVSync(NN_GX_DISPLAY0);
//ボタン待ち
value = WaitKey(nn::hid::BUTTON_A | nn::hid::BUTTON_X |nn::hid::BUTTON_UP |nn::hid::BUTTON_DOWN);
if (value & nn::hid::BUTTON_A){//ライト
sccs = false;
s_RenderSystem.Clear();
drawText(10,70,"writing");
s_RenderSystem.SwapBuffers();
nngxWaitVSync(NN_GX_DISPLAY0);
switch(curs){
case 0:sccs = Test2_W(10);break;
case 1:sccs = Test1_W();break;
case 2:sccs = Test2_W(680);break;
case 3:sccs = Test3_W();break;
case 4:sccs = Test4_W();break;
case 5:sccs = Test5_W();break;
default:break;
}
}else if (value & nn::hid::BUTTON_X)
{//ベリファイ
sccs = false;
s_RenderSystem.Clear();
drawText(10,70,"verifi");
s_RenderSystem.SwapBuffers();
nngxWaitVSync(NN_GX_DISPLAY0);
res =nn::fs::MountSaveData();
if (res.IsFailure()){
drawText(8,100,"Mount Fail");
}else
switch(curs){
case 0:sccs = Test2_V(10);break;
case 1:sccs = Test1_V();break;
case 2:sccs = Test2_V(680);break;
case 3:sccs = Test3_V();break;
case 4:sccs = Test4_V();break;
case 5:sccs = Test5_V();break;
default:break;
}
}else if (value & nn::hid::BUTTON_UP){
if(curs > 0)curs--;
}else if(curs < menu_max)curs++;
if (value & (nn::hid::BUTTON_A | nn::hid::BUTTON_X)){
if (sccs == false)drawText(8,120,"Failed");
sprintf(str,"desc %d",res.GetDescription());
drawText(10,140,str);
s_RenderSystem.SwapBuffers();
NN_LOG("desc %d",res.GetDescription());
WaitKey(nn::hid::BUTTON_B);
}
}
}
/*---------------------------------------------------------------------------*
End of file
*---------------------------------------------------------------------------*/

View File

@ -0,0 +1,6 @@
#ifndef TEST_DATA_H_
#define TEST_DATA_H_
void TestMain();
#endif

View File

@ -0,0 +1,30 @@
#!/usr/bin/env omake
#----------------------------------------------------------------------------
# Project: Horizon
# File: OMakefile
#
# Copyright (C)2009 Nintendo Co., Ltd. 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.
#
# $Rev: 34658 $
#----------------------------------------------------------------------------
#表示にDemoライブラリを使用します
#PC環境に合わせてサンプルデモのディレクトリを指定
#SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir ../common/include)
SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir ../CTR_SDK/sampledemos/common/include)
INCLUDES += $(SAMPLED_DEMOS_COMMON_INCLUDE_DIR)
LIBS += lib_demo libnn_am
.SUBDIRS: $(exist-dirs \
body \
Imp \
)
DefineDefaultRules()

Binary file not shown.

View File

@ -0,0 +1,73 @@
#!/usr/bin/env omake
#----------------------------------------------------------------------------
# Project: Horizon
# File: OMakeroot
#
# Copyright (C)2009 Nintendo Co., Ltd. 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.
#
# $Rev:$
#----------------------------------------------------------------------------
# ディレクトリレイアウトについての説明
#
# a) ソースコードがルートディレクトリ直下に配置される場合
# 例:
# /OMakeroot
# /foo/bar/OMakefile
#
# 結果:
# OMakefile と同じディレクトリ以下に objects や images が生成されます。
#
# /foo/bar/objects/...
# /foo/bar/images/..
#
#
# b) ソースコードが sources 以下に配置される場合
# 例:
# /OMakeroot
# /sources/foo/bar/OMakefile
#
# 結果:
# ルートディレクトリ以下に objects や images が生成されます。
#
# /objects/foo/bar/...
# /images/foo/bar/...
#
#
# ルート環境変数の取得
public.HORIZON_ROOT =
if $(defined-env HORIZON_ROOT)
HORIZON_ROOT = $(absname $(getenv HORIZON_ROOT))
export
if $(defined-env CTRSDK_ROOT)
CTRSDK_ROOT = $(absname $(getenv CTRSDK_ROOT))
if $(and $(defined-env HORIZON_ROOT), $(not $(equal $(HORIZON_ROOT), $(CTRSDK_ROOT))))
eprintln(HORIZON_ROOT と CTRSDK_ROOT が一致しません。同じパスを設定するか、どちらか一方だけを定義して下さい。)
exit(1)
HORIZON_ROOT = $(CTRSDK_ROOT)
export
if $(not $(HORIZON_ROOT))
eprintln($"$$CTRSDK_ROOT が定義されていません")
exit(1)
include $(HORIZON_ROOT)/build/omake/commondefs
DefineCommandVars()
.PHONY: all build clean clobber
.PHONY: run run-scripts
#
# OMakefile の読み込み
#
.SUBDIRS: .

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,63 @@
#!/usr/bin/env omake
#----------------------------------------------------------------------------
# Project: Horizon
# File: Omakefile
#
# Copyright (C)2010 Nintendo Co., Ltd. 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.
#
# $Rev: 25650 $
#----------------------------------------------------------------------------
SUPPORTED_TARGETS = CTR-T*.Process.MPCore.*
#CTR_APPTYPE = BOTH
#CTR_APPTYPE = CARD
CTR_APPTYPE = NAND
#demoライブラリ位置指定
#SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir ../common/include)
#SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir ../CTR_SDK/sampledemos/common/include)
#INCLUDES += $(SAMPLED_DEMOS_COMMON_INCLUDE_DIR)
# ビルドするソースコードを指定します。
#SDにセーブする場合はmembak -> exsave 変更
SOURCES[] =
./source/main.cpp
./source/savefile/savedata.cpp
./source/savefile/membak.cpp
./source/savefile/savefile.cpp
./source/screen/screen.cpp
./source/gui/gui.cpp
./source/gui/shfnt.cpp
../common/sleep.cpp
../common/common.cpp
#LIBS += lib_demo libnn_am
TARGET_PROGRAM = CtrSaveDataMover
TITLE = CSM_body
# ROMFS のルートパスを指定します。
#ROMFS_ROOT =
# 独自の RSF ファイルを指定する場合
ROM_SPEC_FILE = body.rsf
DESCRIPTOR = $(CTRSDK_ROOT)/resources/specfiles/repairtool.desc
# バナー、アイコン
CTR_BANNER_SPEC = banner.bsf
#Cia バージョン:マスタリング毎に更新すること
#メジャーはrsfで指定(Remasterversion)
MAKECIAFLAGS = -minor 0 -micro 6
include $(ROOT_OMAKE)/modulerules
build: $(DEFAULT_TARGETS)

View File

@ -0,0 +1,62 @@
#!/usr/bin/env omake
#----------------------------------------------------------------------------
# Project: Horizon
# File: Omakefile
#
# Copyright (C)2010 Nintendo Co., Ltd. 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.
#
# $Rev: 25650 $
#----------------------------------------------------------------------------
SUPPORTED_TARGETS = CTR-T*.Process.MPCore.*
#CTR_APPTYPE = BOTH
#CTR_APPTYPE = CARD
CTR_APPTYPE = NAND
#demoライブラリ位置指定
#SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir ../common/include)
#SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir ../CTR_SDK/sampledemos/common/include)
#INCLUDES += $(SAMPLED_DEMOS_COMMON_INCLUDE_DIR)
# ビルドするソースコードを指定します。
#SDにセーブする場合はmembak -> exsave 変更
SOURCES[] =
./source/main.cpp
./source/savefile/savedata.cpp
./source/savefile/membak.cpp
./source/savefile/savefile.cpp
./source/screen/screen.cpp
./source/gui/gui.cpp
./source/gui/shfnt.cpp
../common/sleep.cpp
#LIBS += lib_demo libnn_am
TARGET_PROGRAM = CtrSaveDataMover
TITLE = CSM_body
# ROMFS のルートパスを指定します。
#ROMFS_ROOT =
# 独自の RSF ファイルを指定する場合
ROM_SPEC_FILE = body.rsf
DESCRIPTOR = $(CTRSDK_ROOT)/resources/specfiles/repairtool.desc
# バナー、アイコン
CTR_BANNER_SPEC = banner.bsf
#Cia バージョン:マスタリング毎に更新すること
#メジャーはrsfで指定(Remasterversion)
MAKECIAFLAGS = -minor 0 -micro 6
include $(ROOT_OMAKE)/modulerules
build: $(DEFAULT_TARGETS)

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,274 @@
<?xml version="1.0" encoding="utf-8"?>
<NintendoWareIntermediateFile>
<GraphicsContentCtr Version="1.3.0" Namespace="">
<EditData>
<MetaData>
<Key>MetaData</Key>
<Create Author="" Date="2010-12-02T15:21:10" Source="COMMON.mb">
<ToolDescriptions Name="NW4C_Export for Maya 2009 Service Pack 1" Version="1.2.0" />
</Create>
<Modify Date="2011-02-28T13:21:02">
<ToolDescriptions Name="NintendoWare Creative Studio For Banner." Version="1.3.0.30235" />
</Modify>
</MetaData>
<ContentSummaryMetaData>
<Key>ContentSummaries</Key>
<Values>
<ContentSummary ContentTypeName="GraphicsContent">
<ObjectSummaries>
<ObjectSummary TypeName="SkeletalModel" Name="">
<Notes>
<Note Name="MaterialCount" Value="1" />
<Note Name="ShapeCount" Value="1" />
<Note Name="MeshCount" Value="1" />
<Note Name="BoneCount" Value="1" />
<Note Name="TotalPrimitiveSetCount" Value="1" />
<Note Name="TotalNoneSkinningPrimitiveSetCount" Value="1" />
<Note Name="TotalRigidSkinningPrimitiveSetCount" Value="0" />
<Note Name="TotalSmoothSkinningPrimitiveSetCount" Value="0" />
<Note Name="TotalIndexStreamCount" Value="1" />
<Note Name="TotalPolygonCount" Value="2" />
<Note Name="TotalVertexCount" Value="4" />
</Notes>
</ObjectSummary>
</ObjectSummaries>
</ContentSummary>
</Values>
</ContentSummaryMetaData>
</EditData>
<Models>
<SkeletalModel Name="" IsBranchVisible="true" IsVisible="true" CullingMode="Dynamic" IsNonuniformScalable="false" LayerId="0" NeededBoneCapacity="20">
<EditData>
<ModelDccToolExportOption ExportStartFrame="0" Magnify="1" AdjustSkinning="None" MeshVisibilityMode="BindByIndex">
<Key>ModelDccToolInfo</Key>
</ModelDccToolExportOption>
<OptimizationLogArrayMetaData Size="1">
<Key>OptimizationLogs</Key>
<Values>
<OptimizationLog Date="2010-12-02T15:21" EditorVersion="1.2.0.27817">
<Options NodeCompressionMode="None" IsMergeMeshOwnerBoneEnabled="false" IsCombineMeshEnabled="false" IsCompressMaterialEnabled="false" IsOptimizePlygonPrimitiveEnabled="false" IsConvertOneBoneSkeletalModelToModel="true" IsDeleteUnusedVertexEnabled="false" PositionQuantizeMode="Float" NormalQuantizeMode="Float" TextureQuantizeMode="Float" GroupByIndexStream="false" />
</OptimizationLog>
</Values>
</OptimizationLogArrayMetaData>
</EditData>
<AnimationGroupDescriptions>
<GraphicsAnimationGroupDescription Name="SkeletalAnimation" EvaluationTiming="AfterSceneCulling">
<MemberInformationSet>
<AnimationMemberDescription BlendOperationName="CalculatedTransform" IsBinarized="true">
<Path>Skeleton.Bones["*"].AnimatedTransform</Path>
</AnimationMemberDescription>
</MemberInformationSet>
</GraphicsAnimationGroupDescription>
<GraphicsAnimationGroupDescription Name="VisibilityAnimation" EvaluationTiming="BeforeWorldUpdate">
<MemberInformationSet>
<AnimationMemberDescription BlendOperationName="Bool" IsBinarized="true">
<Path>IsVisible</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="Bool" IsBinarized="true">
<Path>Meshes["*"].IsVisible</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="Bool" IsBinarized="true">
<Path>IsBranchVisible</Path>
</AnimationMemberDescription>
</MemberInformationSet>
</GraphicsAnimationGroupDescription>
<GraphicsAnimationGroupDescription Name="MaterialAnimation" EvaluationTiming="AfterSceneCulling">
<MemberInformationSet>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Emission</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Ambient</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Diffuse</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Specular0</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Specular1</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Constant0</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Constant1</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Constant2</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Constant3</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Constant4</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].MaterialColor.Constant5</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].TextureMappers["*"].Sampler.BorderColor</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="Int" IsBinarized="true">
<Path>Materials["*"].TextureMappers["*"].Texture</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="RgbaColor" IsBinarized="true">
<Path>Materials["*"].FragmentOperation.BlendOperation.BlendColor</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="Vector2" IsBinarized="true">
<Path>Materials["*"].TextureCoordinators["*"].Scale</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="Float" IsBinarized="true">
<Path>Materials["*"].TextureCoordinators["*"].Rotate</Path>
</AnimationMemberDescription>
<AnimationMemberDescription BlendOperationName="Vector2" IsBinarized="true">
<Path>Materials["*"].TextureCoordinators["*"].Translate</Path>
</AnimationMemberDescription>
</MemberInformationSet>
</GraphicsAnimationGroupDescription>
</AnimationGroupDescriptions>
<Transform>
<Scale X="1" Y="1" Z="1" />
<Rotate X="0" Y="0" Z="0" />
<Translate X="0" Y="0" Z="0" />
</Transform>
<Shapes>
<SeparateDataShapeCtr>
<OrientedBoundingBox>
<CenterPosition X="0" Y="0" Z="6.5" />
<OrientationMatrix M00="1" M01="0" M02="0" M10="0" M11="1" M12="0" M20="0" M21="0" M22="1" />
<Size X="24" Y="12" Z="0" />
</OrientedBoundingBox>
<PositionOffset X="0" Y="0" Z="0" />
<PrimitiveSets>
<PrimitiveSetCtr SkinningMode="None">
<BoneIndexTable>0</BoneIndexTable>
<Primitives>
<PrimitiveCtr>
<IndexStreams>
<UbyteIndexStreamCtr PrimitiveMode="Triangles" Size="6">0 1 2 1 3 2</UbyteIndexStreamCtr>
</IndexStreams>
</PrimitiveCtr>
</Primitives>
</PrimitiveSetCtr>
</PrimitiveSets>
<VertexAttributes>
<Vector3VertexStreamCtr Usage="Position" VertexSize="4" Scale="1" QuantizedMode="Float">
-12 -6 6.5
12 -6 6.5
-12 6 6.5
12 6 6.5
</Vector3VertexStreamCtr>
<Vector3VertexAttributeCtr Usage="Normal">0 0 1</Vector3VertexAttributeCtr>
<Vector2VertexStreamCtr Usage="TextureCoordinate0" VertexSize="4" Scale="1" QuantizedMode="Float">
0 0
1 0
0 1
1 1
</Vector2VertexStreamCtr>
</VertexAttributes>
</SeparateDataShapeCtr>
</Shapes>
<Materials>
<MaterialCtr Name="MT_00" IsCompressible="true" LightSetIndex="0" FogIndex="0" IsFragmentLightEnabled="false" IsVertexLightEnabled="false" IsHemiSphereLightEnabled="false" IsHemiSphereOcclusionEnabled="false" IsFogEnabled="false" TextureCoordinateConfig="Config0120" TranslucencyKind="Layer1" ShaderProgramDescriptionIndex="-1" ShaderBinaryKind="Default">
<ShaderReference />
<MaterialColor VertexColorScale="1">
<Emission R="0" G="0" B="0" A="0" />
<Ambient R="1" G="1" B="1" A="0" />
<Diffuse R="1" G="1" B="1" A="1" />
<Specular0 R="1" G="1" B="1" A="0" />
<Specular1 R="0" G="0" B="0" A="0" />
<Constant0 R="0" G="0" B="0" A="1" />
<Constant1 R="0" G="0" B="0" A="1" />
<Constant2 R="0" G="0" B="0" A="1" />
<Constant3 R="0" G="0" B="0" A="1" />
<Constant4 R="0" G="0" B="0" A="1" />
<Constant5 R="0" G="0" B="0" A="1" />
</MaterialColor>
<Rasterization CullingMode="BackFace" IsPolygonOffsetEnabled="false" PolygonOffsetUnit="0" />
<TextureCoordinators>
<TextureCoordinatorCtr SourceCoordinate="0" MappingMethod="UvCoordinateMap" ReferenceCamera="0" MatrixMode="DccMaya" ScaleS="1" ScaleT="1" Rotate="0" TranslateS="0" TranslateT="0" />
</TextureCoordinators>
<TextureMappers>
<PixelBasedTextureMapperCtr>
<TextureReference>Textures["banner"]@file:Textures/banner.ctex</TextureReference>
<StandardTextureSamplerCtr MinFilter="Linear" MagFilter="Linear" WrapS="ClampToEdge" WrapT="ClampToEdge" MinLod="0" LodBias="0">
<BorderColor R="0" G="0" B="0" A="1" />
</StandardTextureSamplerCtr>
</PixelBasedTextureMapperCtr>
</TextureMappers>
<FragmentShader LayerConfig="ConfigurationType0">
<BufferColor R="0" G="0" B="0" A="1" />
<FragmentBump BumpTextureIndex="Texture0" BumpMode="NotUsed" IsBumpRenormalize="false" />
<FragmentLighting FresnelConfig="No" IsClampHighLight="false" IsDistribution0Enabled="false" IsDistribution1Enabled="false" IsGeometricFactor0Enabled="false" IsGeometricFactor1Enabled="false" IsReflectionEnabled="false" />
<FragmentLightingTable>
<ReflectanceRSampler IsAbs="true" Input="CosNormalHalf" Scale="One">
<NullLookupTableCtr />
</ReflectanceRSampler>
<ReflectanceGSampler IsAbs="true" Input="CosNormalHalf" Scale="One">
<NullLookupTableCtr />
</ReflectanceGSampler>
<ReflectanceBSampler IsAbs="true" Input="CosNormalHalf" Scale="One">
<NullLookupTableCtr />
</ReflectanceBSampler>
<Distribution0Sampler IsAbs="true" Input="CosNormalHalf" Scale="One">
<NullLookupTableCtr />
</Distribution0Sampler>
<Distribution1Sampler IsAbs="true" Input="CosNormalHalf" Scale="One">
<NullLookupTableCtr />
</Distribution1Sampler>
<FresnelSampler IsAbs="true" Input="CosNormalHalf" Scale="One">
<NullLookupTableCtr />
</FresnelSampler>
</FragmentLightingTable>
<TextureCombiners>
<TextureCombinerCtr CombineRgb="Replace" CombineAlpha="Replace" ScaleRgb="One" ScaleAlpha="One" Constant="Constant0" BufferInputRgb="PreviousBuffer" BufferInputAlpha="PreviousBuffer">
<SourceRgb Source0="Texture0" Source1="FragmentPrimaryColor" Source2="FragmentSecondaryColor" />
<OperandRgb Operand0="Color" Operand1="Color" Operand2="Color" />
<SourceAlpha Source0="Texture0" Source1="Constant" Source2="Constant" />
<OperandAlpha Operand0="Alpha" Operand1="Alpha" Operand2="Alpha" />
</TextureCombinerCtr>
</TextureCombiners>
<AlphaTest IsTestEnabled="false" TestFunction="Always" TestReference="0" />
</FragmentShader>
<FragmentOperation>
<DepthOperation IsTestEnabled="true" TestFunction="Less" IsMaskEnabled="false" />
<BlendOperation Mode="Blend" LogicOperation="Copy">
<RgbParameter BlendFunctionSource="SourceAlpha" BlendFunctionDestination="OneMinusSourceAlpha" BlendEquation="FuncAdd" />
<AlphaParameter BlendFunctionSource="One" BlendFunctionDestination="Zero" BlendEquation="FuncAdd" />
<BlendColor R="0" G="0" B="0" A="1" />
</BlendOperation>
<StencilOperation IsTestEnabled="false" TestFunction="Never" TestReference="0" TestMask="255" FailOperation="Keep" ZFailOperation="Keep" PassOperation="Keep" />
</FragmentOperation>
</MaterialCtr>
</Materials>
<Meshes>
<Mesh IsVisible="true" RenderPriority="0" MeshNodeName="BONE_00">
<EditData>
<DccToolSourceNodeMetaData>
<Key>DccToolSourceNode</Key>
<Values>
<NodeName>BONE_00</NodeName>
</Values>
</DccToolSourceNodeMetaData>
</EditData>
<SeparateShapeReference>Shapes[0]</SeparateShapeReference>
<MaterialReference>Materials["MT_00"]</MaterialReference>
</Mesh>
</Meshes>
<Skeleton RootBoneName="BONE_00" ScalingRule="Standard" IsTranslateAnimationEnabled="true">
<Bones>
<Bone Name="BONE_00" ParentBoneName="" IsSegmentScaleCompensate="false" IsCompressible="true" IsNeededRendering="true" HasSkinningMatrix="false" BillboardMode="YAxial">
<Transform>
<Scale X="1" Y="1" Z="1" />
<Rotate X="0" Y="0" Z="0" />
<Translate X="0" Y="0" Z="0" />
</Transform>
</Bone>
</Bones>
</Skeleton>
</SkeletalModel>
</Models>
</GraphicsContentCtr>
</NintendoWareIntermediateFile>

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M‡M§U§U†M†M†M†M†M†M†M†M†M†M†M†M†M§U§U§U†M‡U§U§U§U¨]¨]Č]§U¨]Č]É]É]Éeéeęm†M†M‡M§U§U§U¨UČ]§U¨U¨]Č]Č]ÉeÉeęeČ]É]É]ęeéeęmęm nęeęmëm v v,v,v-~Č]ÉeÉeęeęeëmëm vęe n n v v,~-~M† v,~,~-~-~N†N†oŽM~N†N†oŽoŽp<70>ž n,v,v-~-~N†N†oŽ-~N†N†oŽoŽppnŽoŽpŽ<70><EFBFBD>±ž±ž˛¦˛ž˛žÓ¦Ň¦Ó®Ó®ő¶oŽp<70>ž˛ž˛žÓ¦ž˛¦˛¦Ó¦Ó¦Ô®ô®ő¶Ó¦Ô®ô®ő¶ő¶żż7Çő¶żż7Ç7Ç8ĎXĎYφM‡U§U§U§U¨]Č]É]¨UČ]Č]ÉeÉ]éeęeęmÉ]éeéej]ęmkeK*ë!ęmË2 vk+;-~LmN†Éeęeęeęmęm v v,vëm v v,~,v-~-~N† v«!-~ŚK moŽK*.uN††oŽ<6F>íS¬:‘ž˛ž v-~«!ÍdM†®}K*«!N†nuoŽpŽkđ…Ndl2oŽ<6F>L2±ž±ž˛¦kĐt±ž˛¦ržŇŤk.Kl2kpO}°…˛žnK°td CđtÓ¦Ô® KÍBő¶żÍ:Ťkł•ÍB.KÍB…ń|¦7Ç7Çđc÷ĆXĎy×Ó¦ô®ô®ń|ő¶żk·m:žË!kXĎkY×7ÇXĎXĎY×YĎz×z×zßY×z×z×ßßççĽďm:<3A>[kV¶Ť:W¶îJ®OSzßzßßtxľĽçĽďßçśçĽďĽď˝ďÝďŢ÷ĽďÝďÝďŢ÷Ţ÷ţ÷ţ÷˙˙,~-~M~N†N†oŽoŽ<6F>N†oŽoŽ<6F><EFBFBD>ž±ž˛¦<CB9B>ž±ž˛¦˛žÓ¦Ó¦ô®˛¦Ó®Ó®ô¶ô®ő¶·ż<>±ž±žŇ¦˛¦Ó®Ó®ô¶˛¦Ó®Ô®ô¶ô¶żżżô¶··żż7Ç7ÇXĎż7Ç7ÇXĎXĎY×y×zßÔ®ő¶ő¶żż7Ç7ÇXĎż7Ç7ÇXĎXĎYĎY×z×8ĎYĎYĎy×y×zßzßçzךߚßççĽçĽç˝ďXĎY×y×z×z×ßßçzßßßśçśçĽďĽďÝďçĽçĽď˝ď˝ďÝ÷Ý÷Ţ÷ÝďŢ÷Ţ÷ţ÷Ţ÷˙˙˙˙˙˙ßśçĽç˝ďĽďÝďÝďŢ÷˝ďÝ÷Ý÷Ţ÷Ţ÷ţ˙ţ˙˙˙Ţ÷Ţ÷ţ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙Ţ÷˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙

View File

@ -0,0 +1,2 @@
†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M‡M‡U§U†M‡U§U§U§U§U§U§U†M†M†M†M†M†M†M§U†M‡U‡U§U‡U§U§U§U§U§U§U§U§U§U¨U¨]§U¨U¨UČ]Č]Č]Č]É]§U§U§U§U§U¨U¨]¨]§U¨]¨]¨]Č]Č]Č]É]¨]Č]Č]É]É]ÉeÉeÉeÉ]ÉeÉeÉeéeęeęeęm¨]Č]Č]Č]É]É]ÉeÉeÉ]É]ÉeéeÉeęeęeęmÉeéeęeęeęeęmęm nęmęmęm n n n v vÉeęeęeęmęmęmęm nęmëmëm n n v v v n v v v v,v,v,~ v,v,v-~-~-~-~M†ëm n n v v v,v,~ v,v v,~,~-~-~M~,~-~-~-~M~N†N†N†-~N†N†N†N†oŽoŽoŽ,~-~-~M~M~N†N†N†M†N†N†N†N†oŽoŽoŽN†oŽoŽoŽoŽpŽp<70>oŽp<70><EFBFBD><EFBFBD>žN†N†oŽoŽoŽoŽoŽpoŽpŽpŽ<70><EFBFBD><EFBFBD><EFBFBD>ž<E28098><EFBFBD><EFBFBD>žž±ž±ž˛žž±ž±ž˛¦˛ž˛¦˛¦Ó¦<C393>žž±ž˛ž˛¦ž˛ž˛ž˛¦˛¦Ó¦Ó¦Ó®˛¦˛¦ł¦Ó¦Ó¦Ó®Ó®ô®Ó®Ô®Ô®ô®ô®ô¶ô¶ő¶†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M‡U†M†M†M†M†M†M†M†M†M†M†M†M†M†M†M‡U†M†M†M‡U‡U‡U§U§U‡U‡U§U§U§U§U§U¨U†M†M†M†M†M‡U‡U§U‡M‡U§U§U§U§U§U¨U§U§U§U¨U¨U¨]¨]Č]¨U¨]¨]Č]Č]Č]Č]É]§U§U§U¨U¨U¨]¨]Č]¨U¨]¨]Č]Č]É]É]ÉeČ]É]É]ÉeÉeÉeÉeęeÉeÉeÉeęeęeęmęmęmČ]Č]Č]É]É]ÉeÉeéeÉ]ÉeÉeęeéeęeęeęméeęeęeęmęmëm n nęmëmëm n n v v,vęeęeęmęmęmëm n vęm n n v v v v,v n v v,v,v,~,~-~ v,~,~-~-~M~M†N† n v v v v,v,v-~ v,~,~-~-~-~-~N†-~-~-~N†M†N†N†o†N†N†N†OŽNŽoŽoŽpŽ-~M~M~N†N†N†N†oŽN†N†N†oŽoŽoŽoŽpOŽoŽoŽpŽpŽ<70><EFBFBD><70><EFBFBD>žž˛žn†oŽoŽoŽoŽp<70><EFBFBD><6F>p<70><EFBFBD>žž±ž<C2B1>ž±žž˛ž˛ž˛¦±ž˛ž˛ž˛¦˛¦Ó¦Ó¦Ó®žž±ž±ž˛ž˛¦Ň¦˛ž˛¦˛¦ł¦Ň¦Ó¦Ó®Ó®Ň¦Ó¦Ó¦Ó®Ó®ô®ô®ô¶Ó®ô®ô®ô¶ô¶ő¶ő¶ż˛¦Ó¦Ó¦Ó®Ó®Ô®Ô®ô®Ó®Ô®ô®ô¶ô®ő¶ő¶·ô®ő¶ő¶ő¶·żżż·żżżż7Ç7Ç7Çô¶ő¶ő¶··żżżżżżżż7Ç7Ç7Çż7Ç7Ç7Ç7Ç7Ç8ĎXĎ7Ç8ĎXĎXĎXĎYĎYĎy׆M†M†M§U‡U§U§U§U§U§U§U§U§U¨U§U¨]§U§U§U¨]¨]¨]Č]Č]¨]Č]Č]Č]Č]É]É]Ée§U¨U¨U¨]¨]Č]Č]É]¨]Č]Č]É]É]ÉeÉeéeČ]É]É]éeÉeéeęeęeéeęeęeęmęeęmęmëmČ]É]É]ÉeÉeÉeéeęeÉeéeęeęeęeęmęmTęeęmęmëm
n n n+e+]Ë2kkkk2ËKęeęmęm n«e«! Lk n n v vË2k2kkKT+;,~,~-~-~-~ěd-~íu-~-~N†N†N† v vŚm,v,v-~-~-~kk+;K*l\N† e~-~M†M†N†N†N††numm *«!kkkŤK­K-~N†N†N†N†Ť\OŽŤdN†oŽoŽoŽoŽ/ŽpŽ<70>k­KkěBp<70><EFBFBD>ž«!kŹ} *¬:P}kkoŽoŽoŽpp<70><EFBFBD>žkíS *Nd±ž±ž˛ž±ž±ž˛ž˛ž˛¦˛¦Ó¦l2kkkĐtÓ® Cô®ž±ž±ž˛ž˛ž˛¦˛¦Ó¦˛ž˛¦­:ržÓ¦2žÓ®Ťkkk«!k”¦kŃ|knSk0dk.Km:kÓ¦Ó¦Ó®Ô®Ó®ô®ô®ô¶Ô®ô®ô®ő¶ő¶<C591>t· *ô¶ő¶ő¶żżżżżkÍBkÎBÇ7Ç7Ç7Çő¶·ő¶żóťkđckżżŐ¶SŤ * 2kđck 2Ë!k7ÇXĎXĎXĎÎBkÎBkXĎY×Y×y׿7Ç7Ç7Ç7ÇXĎXĎXĎ7ÇXĎXĎXĎXĎYĎYĎy×XĎYĎYĎy×Y×y×z×zßy×z×z×zßzßšßzßßXĎY×Y×y×y×z×z×zßy×z×z×zßzßšßßçzßzßšßßßççśçßççśçśçĽçĽďĽďÉ]ÉeÉeÉeÉeęeęeęméeęeęeęmęmęm n nęeęmęm n n v v v n v v v v,v,v-~ęmëmëm n n v v v n v v v v,~,~-~ v,v,~-~-~-~-~M†-~-~-~N†N†N†N†o† v,v,v,~2kŚCk-~-~-~M† ekN†ě: eN†m\N†N†oŽoŽoŽ *†k *oŽpŽd/uN†N†N†NŽN††oŽoŽnŽoŽoŽpŽoŽp<70><EFBFBD>LCkpđ…kkNd\<5C>žž±ž±ž˛ž˛ž˛¦oŽpŽp<70><EFBFBD>ž<E28098>ďt\‘ž˛žŽuž˛ž˛ž˛¦Żl *ł¦rž˛¦ł¦ ColÓ¦Ô®q…/dkk\p…\®SÓ¦Ó®˛¦Ó¦Ó¦Ó®Ó®Ô®Ô®ô¶kkŇ•plkk0d2…ô¶ő¶ő¶··żżżkÍ: *kô®Ťô¶Ťl2kk *ő¶0lż0lk0lkttku®kkł•k´ť7Çm:7Dz|Ë!óťµ®żżPl7Çu®ż6Ç7Ç7Ç7Ç7Ç7ÇXĎkÔťÔť÷ľXĎ—¶XĎY×XĎXĎXĎY×Y×y×y×z×…Ź[.SË!k6®,2YĎkkkk˛„y×·ľz×<7A>[krtk¸ľz×ö­šßr|kr|kö­›ß®çkŤ:öĄ¸ľz×zßzßšßz×zßzßšßšßßßçr|k:×¶U•ĽçÚÎĽççĽçĽçĽçĽçĽďĽď˝ďzßßßççççĽççśççĽçĽçĽďĽď˝ďĽçĽçĽď˝ď˝ďÝď˝ďÝ÷˝ď˝ď˝ďÝ÷Ý÷Ţ÷Ţ÷Ţ÷ĽçĽďĽď˝ď˝ďÝďÝďÝ÷˝ďÝďÝďÝ÷Ý÷Ţ÷Ţ÷Ţ÷Ý÷Ţ÷Ţ÷Ţ÷Ţ÷ţ÷ţ÷ţ˙Ţ÷ţ÷Ţ÷˙˙˙˙˙˙˙˙˙˙,v,~,~-~-~M~M~N†-~M~M~N†N†N†N†oŽN†N†N†oŽOŽoŽoŽpŽoŽoŽoŽp<70><EFBFBD>N†N†N†oŽoŽoŽoŽpoŽoŽoŽp<70><EFBFBD><EFBFBD>p<70><EFBFBD>ž±ž˛ž±ž±ž˛ž˛ž˛¦˛¦Ó¦pŽ<70><EFBFBD><E28098>žž±žž±ž˛ž˛ž˛¦˛¦˛¦±ž˛¦˛¦˛¦˛¦Ó¦Ó¦Ó®˛¦Ó¦Ó¦Ó®Ó®ô®ô®ô¶˛ž˛¦˛¦Ó¦Ó¦Ó®Ó®Ô®Ó¦Ó®Ó®Ô®Ô®ô®ô¶ő¶Ô®ô®ô®ő¶ô¶ő¶ő¶żő¶ő¶·żżżżżÓ®Ô®ô®ô¶ô¶ő¶ő¶żô¶ő¶ő¶żżżżż·żżżż7Ç7Ç7Çż7Ç7Ç7Ç7Ç8Ď8ĎXĎżżżżż7Ç7Ç7Çż7Ç7Ç7Ç7Ç8ĎXĎXĎ7ÇXĎXĎXĎXĎYĎYĎy×XĎYĎY×y×y×z×z×zß7Ç8Ç8ÇXĎXĎXĎXĎY×XĎYĎYĎY×Y×y×y×z×Y×y×y×z×z×zßzßßzßzßzßßßçççY×y×z×zßzßšßšßßzßšßšßßßççĽçßççśççĽçĽçĽďçĽçĽçĽďĽď˝ď˝ďÝďßçßççśçśçĽďçĽçĽçĽďĽď˝ď˝ď˝ďĽďĽďĽď˝ď˝ďÝďÝďÝ÷˝ďÝďÝďŢ÷Ý÷Ţ÷Ţ÷Ţ÷Ľď˝ď˝ďÝď˝ďÝ÷ÝďŢ÷ÝďÝ÷Ý÷Ţ÷Ţ÷Ţ÷Ţ÷Ţ÷Ţ÷Ţ÷Ţ÷Ţ÷Ţ÷ţ˙ţ˙˙˙Ţ÷ţ˙˙˙˙˙˙˙˙˙˙˙˙˙Ý÷Ţ÷Ţ÷Ţ÷Ţ÷Ţ÷Ţ÷˙˙Ţ÷ţ˙ţ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙p<70><EFBFBD>žž±ž±ž˛žž±ž˛ž˛ž˛žŇ¦Ň¦Ó¦˛ž˛¦˛¦Ó¦Ó¦Ó®Ó®Ô®Ó¦Ó®Ó®Ô®Ô®ô¶ô¶ő¶˛¦ł¦˛¦Ó¦Ó¦Ó®Ó®ô®Ó®Ô®Ô®ô®ô®ô¶ô¶·ô®ô¶ô¶ő¶ő¶żżżő¶żżżżż6ż7ÇÔ®ô®ô¶ő¶ő¶··żő¶··żżżż7Çżżż7Ç7Ç7Ç7Ç8Ç7Ç7Ç7Ç8Ď8ÇXĎXĎXĎżżż7Ç7Ç7Ç7ÇXĎ7Ç7Ç7ÇXĎXĎXĎXĎYĎ8ĎXĎXĎYĎYĎY×y×y×YĎY×y×y×y×z×zßšß7ÇXĎXĎXĎXĎY×Y×y×XĎY×y×y×y×z×z×zßy×z×z×zßzßšßßßzßßßßßççĽçy×z×zßzßzßßßçzßßßçççśçĽççççĽçĽçĽďĽďĽďĽçĽďĽď˝ď˝ďÝď˝ďÝ÷ßççĽçĽçĽçĽçĽďśçĽçĽďĽďĽď˝ď˝ďÝďĽď˝ď˝ďÝď˝ďÝ÷Ý÷Ţ÷ÝďÝ÷Ý÷Ţ÷Ţ÷Ţ÷Ţ÷ţ÷Ľď˝ď˝ďÝďÝďÝ÷Ý÷Ţ÷Ý÷Ţ÷Ţ÷Ţ÷Ţ÷Ţ÷Ţ÷ţ˙Ţ÷Ţ÷Ţ÷ţ˙ţ˙˙˙˙˙˙˙Ţ÷˙˙˙˙˙˙˙˙˙˙˙˙˙˙Ţ÷Ţ÷Ţ÷Ţ÷Ţ÷˙˙˙˙˙˙Ţ÷˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙

View File

@ -0,0 +1,28 @@
# アプリケーションのデフォルト値
BasicInfo:
# プログラムのタイトル名を指定します。
Title : $(TITLE)
# BackupMemoryType: 128KB
BackupMemoryType: None
Logo : Nintendo
ProductCode : "CTR-N-22NA"
TitleInfo:
# Category: 0x0010
# Category: SystemApplication
UniqueId: 0xf8014
Version: 0
Rom:
HostRoot : romfiles
# SaveDataSize: 512K
AccessControlInfo:
UseExtSaveData : false
FileSystemAccess:
- CategoryFileSystemTool
SystemControlInfo:
RemasterVersion: 2

View File

@ -0,0 +1,213 @@
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\build\\linker\\CTR.Process.MPCore.ldscript.template"
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/os_MemoryMapSelect.h"
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/os_MemoryMapSelect.h"
# 1 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/MPCore/os_MemoryMap.h"
# 78 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/MPCore/os_MemoryMap.h"
# 22 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/CTR/os_MemoryMapSelect.h"
# 22 "d:\\ctr_project\\ctr_sdk\\Horizon\\include\\nn/os/os_MemoryMapSelect.h"
# 21 "d:\\ctr_project\\ctr_sdk\\Horizon\\build\\linker\\CTR.Process.MPCore.ldscript.template"
TEXT_SECTION 0x00100000 (0x04000000 - 0x00100000)
{
STUP_ENTRY 0x00100000
{
* (:gdef:__ctr_start, +FIRST)
* (+RO-CODE)
}
STATIC_INIT +0
{
* (.static_init)
}
INIT_ARRAY +0
{
* (.init_array)
init_aeabi.o(+RO)
}
}
RO_SECTION +0 ALIGN 0x1000
{
RO +0
{
* (+RO-DATA)
}
}
RW_SECTION +0 ALIGN 0x1000
{
RW +0
{
* (+RW-DATA)
}
ZI +0
{
* (+ZI)
}
}
END_SECTION +ImageLength(ZI) ALIGN 0x1000
{
STATIC_END +0
{
* (.nn.dummy)
}
}
MODULE_INFO (0x00100000 + (0x04000000 - 0x00100000))
{
.module_id (0x00100000 + (0x04000000 - 0x00100000))
{
* (.module_id)
}
}

Some files were not shown because too many files have changed in this diff Show More