/*---------------------------------------------------------------------------* Project: Sample binary template File: samplebin.c Copyright (C) 2005-2006 Nintendo. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. *---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------* This sample template can be used as a tutorial to start building applications and libraries in a module with our build system. *---------------------------------------------------------------------------*/ #include #include "sample.h" void main (void) { OSReport("Hello World!!!\n"); #ifdef _DEBUG OSReport("This is a DEBUG build.\n"); #else OSReport("This is a NON-DEBUG/optimized build.\n"); #endif // _DEBUG OSReport("Calling SampleLib->SampleFunction with 42.\n"); OSReport("Result is %d\n",SampleFunction(42)); OSHalt("Sample complete"); }