00001 /*--------------------------------------------------------------------------------- 00002 00003 Copyright (C) 2005 00004 Michael Noland (joat) 00005 Jason Rogers (dovoto) 00006 Dave Murphy (WinterMute) 00007 00008 This software is provided 'as-is', without any express or implied 00009 warranty. In no event will the authors be held liable for any 00010 damages arising from the use of this software. 00011 00012 Permission is granted to anyone to use this software for any 00013 purpose, including commercial applications, and to alter it and 00014 redistribute it freely, subject to the following restrictions: 00015 00016 00017 1. The origin of this software must not be misrepresented; you 00018 must not claim that you wrote the original software. If you use 00019 this software in a product, an acknowledgment in the product 00020 documentation would be appreciated but is not required. 00021 00022 2. Altered source versions must be plainly marked as such, and 00023 must not be misrepresented as being the original software. 00024 00025 3. This notice may not be removed or altered from any source 00026 distribution. 00027 00028 ---------------------------------------------------------------------------------*/ 00153 #ifndef NDS_INCLUDE 00154 #define NDS_INCLUDE 00155 00156 #ifndef ARM7 00157 #ifndef ARM9 00158 #error Either ARM7 or ARM9 must be defined 00159 #endif 00160 #endif 00161 00162 #ifdef __cplusplus 00163 extern "C" { 00164 #endif 00165 00166 #include "nds/libversion.h" 00167 #include "nds/ndstypes.h" 00168 #include "nds/bios.h" 00169 #include "nds/card.h" 00170 #include "nds/debug.h" 00171 #include "nds/dma.h" 00172 #include "nds/interrupts.h" 00173 #include "nds/ipc.h" 00174 #include "nds/memory.h" 00175 #include "nds/system.h" 00176 #include "nds/timers.h" 00177 #include "nds/fifocommon.h" 00178 #include "nds/touch.h" 00179 #include "nds/input.h" 00180 00181 //--------------------------------------------------------------------------------- 00182 #ifdef ARM9 00183 //--------------------------------------------------------------------------------- 00184 00185 #include "nds/arm9/background.h" 00186 #include "nds/arm9/boxtest.h" 00187 #include "nds/arm9/cache.h" 00188 #include "nds/arm9/console.h" 00189 #include "nds/arm9/keyboard.h" 00190 #include "nds/arm9/exceptions.h" 00191 #include "nds/arm9/image.h" 00192 #include "nds/arm9/input.h" 00193 #include "nds/arm9/math.h" 00194 #include "nds/arm9/pcx.h" 00195 #include "nds/arm9/rumble.h" 00196 #include "nds/arm9/sound.h" 00197 #include "nds/arm9/trig_lut.h" 00198 #include "nds/arm9/video.h" 00199 #include "nds/arm9/videoGL.h" 00200 #include "nds/arm9/sprite.h" 00201 #include "nds/arm9/decompress.h" 00202 00203 //--------------------------------------------------------------------------------- 00204 #endif // #ifdef ARM9 00205 //--------------------------------------------------------------------------------- 00206 00207 //--------------------------------------------------------------------------------- 00208 #ifdef ARM7 00209 //--------------------------------------------------------------------------------- 00210 00211 #include "nds/arm7/audio.h" 00212 #include "nds/arm7/clock.h" 00213 #include "nds/arm7/serial.h" 00214 #include "nds/arm7/touch.h" 00215 #include "nds/arm7/input.h" 00216 00217 //--------------------------------------------------------------------------------- 00218 #endif // #ifdef ARM7 00219 //--------------------------------------------------------------------------------- 00220 00221 00222 #ifdef __cplusplus 00223 } 00224 #endif 00225 00226 00227 #endif // NDS_INCLUDE 00228 00229