- #include ".\h\set.h"
- #include "user_init.h"
- /*
- ** This file is for linker-script and others, don't put
- ** cpp style comment here.
- */
- #ifndef __LOAD_H
- #define __LOAD_H
- #ifndef SUPPORT_HDD_ACCESS
- #ifndef SUPPORT_MIDI
- //------------------------------------------------------start------------------------
- //-------------------------------for all rom code
- //#define LOAD_OTHER
- //#define UNLOAD_ROMCODE
- //-------------------------------default load rom code
- #define LOAD_WMA
- #define LOAD_JPEG
- #define LOAD_MPEG
- #define LOAD_CDROM
- #define LOAD_NAV
- #define LOAD_SERVO
- //#define LOAD_AP
- #define LOAD_MP4
- #define LOAD_AP_OTHER
- #ifdef PORTABLE_DVD
- #undef LOAD_AP
- #undef LOAD_MP4
- #undef LOAD_AP_OTHER
- #undef LOAD_NAV
- #endif
- //------------------------------undefine start
- #ifdef FILE_MODE_WRITE //sunzhh add 20041223
- #undef LOAD_AP
- #endif
- #ifdef SDRAM_16Mb_Mode
- #undef LOAD_SERVO
- #undef LOAD_NAV
- #undef LOAD_AP
- #undef LOAD_MPEG
- #undef LOAD_AP_OTHER
- #undef LOAD_MP4
- #ifdef SETUP_PROGRAM_IN_PLACE_UNDER_16M // 2004/12/27 yltseng
- // Because in 16M jpeg, if user changes audio parameters in setup menu, dsp codec will
- // write some info in PCM area, but currently this area puts jpeg codes.
- // So in this situation, we need to undef JPEG codes, in order not to be overwrite by dsp codec
- #undef LOAD_JPEG
- #endif
- #endif
- #ifndef DVDRELEASE
- #undef LOAD_AP
- #undef LOAD_NAV
- #endif
- #ifdef SUPPORT_USB
- #undef LOAD_AP_OTHER//nono 4-4-14 13:55
- //#undef LOAD_CDROM
- #endif
- #ifdef SUPPORT_ID3
- #undef LOAD_AP_OTHER//nono 4-4-14 13:55
- #endif
- #if defined(GBM_DVD)&&defined(NEW_STYLE_SETUP)//4-2-5 17:14
- #undef LOAD_CDROM
- #undef LOAD_JPEG
- #endif
- #ifdef TONIC_DVD
- #undef LOAD_WMA
- #undef LOAD_JPEG
- #endif
- #if defined(NINTAUS_DVD)&&!defined(NIN_612_4M)//4-2-20 3:34
- #undef LOAD_CDROM
- #undef LOAD_JPEG
- #undef LOAD_NAV
- #undef LOAD_WMA
- #endif
- #if defined(BBK_DSS_555_DVD)||defined(BBK_DV911S) //fengjl add 2004-03-13 11:56
- #undef LOAD_JPEG
- #undef LOAD_MPEG
- #undef LOAD_NAV
- #undef LOAD_WMA
- #endif
- #ifdef SUPPORT_RECEIVER//define dvd release can not run.huziqin 2004-4-29
- #undef LOAD_MPEG
- #undef LOAD_NAV
- #undef LOAD_AP
- #endif
- #ifdef SUPPORT_HD_DVD /*huziqin fix sdram full*/
- #undef LOAD_AP
- #endif
- #if defined(THAKRAL_DVD)&&defined(SDRAM_16Mb_Mode)&&defined(NEC16312SW)
- #undef LOAD_JPEG
- #endif
- //----------------------------undefine ending
- #endif //#ifndef SUPPORT_MIDI
- #endif //#ifndef SUPPORT_HDD_ACCESS
- #endif/*__LOAD_H*/
- //-----------------------------------------ending-----------------------------