⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cfg_sunplus_release.h

📁 Sunplus 8202S source code.
💻 H
📖 第 1 页 / 共 2 页
字号:
#define VERSION_STRING      "mid-000"   //version: xxx-yyy, 20030422

#define SUPPORT_MIDI

#ifdef SUPPORT_MIDI

#define SDRAM_128Mx1                    // for midi GPIO setting, mimitsai add 2004-12-07

#define MIDI_MAGIC_LABEL   "MIDI123"    //max 8 characters
#define MIDI_MAGIC_KEY     20           //need match with MidiImage

//***************************************************
//*** Define : (1) ,OSD LYRIC (2), SYN OF MIDI LYRIC
//***************************************************
#define SUPPORT_OSDLYRIC

#ifdef SUPPORT_OSDLYRIC
//**************************************************************************
//*** Define the Midi UI code :
//***     1, include the simple song selection UI (default)
//***     2, include the song selection UI according to the Multi index file if we have enabled
//***         the Macro definition MIDI_MULTI_MENU in the file fsmidiUI.h
//***     3, INPUT : the OUTPUT of MidiIndex Tool  
//**************************************************************************
#define SUPPORT_MIDI_MENU_SEL

#ifdef SUPPORT_MIDI_MENU_SEL
//********************************************************
//*** 1,Define : (1) PLAY MP3 STREAM   (2) SYN MP3 WITH MIDI
//*** 2,All the MP3s merge to a vol file
//********************************************************
#define SUPPORT_MIDI_VOCAL

//********************************************************************************
//*** DEFINE THE FUNCTION THAT THE USER SEARCH FOR THE SONG BY PINYIN STRING 
//********************************************************************************
#define SUPPORT_MIDIUI_IME

#endif //#ifdef SUPPORT_MIDI_MENU_SEL

#endif //#ifdef SUPPORT_OSDLYRIC

#endif  //#ifdef SUPPORT_MIDI



//---------------------
//board parts settings
//---------------------
//SDRAM settings(bus width, default is 16-bits mode)
#define SDRAM_BUS_32BITS        //define it to use 32 bits SDRAM Bus width


//#define SDRAM_16Mb_Mode       //only use 16Mb*1 SDRAM

/*
* Define Disc detect polling time
*/
#define DETECT_TIMES    0xff
#define NO_DISC_TIMES   30

//#define SUPPORT_CD_TEXT
#ifdef SUPPORT_CD_TEXT
    #define OSD_FONT_API
#endif

/*
*  Video seting
*/
/*#define PC_VGA_OUT*/
/*#define TV_YUV_OUT*/
#define S_VIDEO_OUT

//#define DIGITAL_VIDEO_OUT //Must Mask #define SDRAM_BUS_32BITS to use 16 bits SDRAM width
#ifdef DIGITAL_VIDEO_OUT
#define CCIR656_TYPE1		//CCIR656 Out from Pin225~233(8202A 256pin),Pin55~66(216pin)  
//#define CCIR656_TYPE2		//CCIR656 Out from Pin164~172,193(8202A 256pin) 
#endif 

/*
* ROM setting
*/
/*#define ROM_SDRAM_SHARE_BUS*/
/*#define ROM_ATA_SHARE_BUS*/



//CD-G related
#define SUPPORT_CDG                 //define it to support CD-G


//#define TVOUT6_4DAC_ON
//#define SUNPLUS_8202P_DEMOBOARD


#ifdef TVOUT6_4DAC_ON
#define TV_USE_4_DAC
#endif

//#define TV_USE_4_DAC
//#define SCART_TV                  //define it if we support SCART TV, use GPIO-37-38-39 to control
//#define ORI_SCART_TV
//#define SCART_TV_2                //define pin151---SCART_DISPLAY; pin163---SCART_SIG  wanghaoying
//#define AUTO_ADJUST_TV_TYPE         //auto adjust tv type (16:9 ,4:3LB,4:3PS) from disc  //lijd 2004-9-15 13:25
//C/F Card setting
//#define SUPPORT_CARD_STORAGE      //Jeff 20020725
//#define CARD_MASTER                 //if you don't connect DVD-ROM, define SUPPORT_CARD_STORAGE+CARD_ONLY
//#define CARD_HOT_PLUG             //2002/11/8 kenny define for new reset(GPIO-17) scheme for card detect(GPIO-18)

//Upgrade setting
#define UPGRADE_FILE_NAME   {"DVDROM.BIN"}
//#define SUPPORT_UART_UPGRADE      //Upgrade flash via UART, Robert 020603
#define RESET_AFTER_UPGRADE         //reset 8200 and tray out after smart upgrade
//#define UPGRADE_TRAYOUT               //joshua 2004/07/13 tray out when dvdrom.bin have been moved to sdram

#ifndef SDRAM_16Mb_Mode
#define SUPPORT_NESGAME
#define DVD_AUDIO
#endif

#ifdef  SUPPORT_NESGAME   //for VFD pannel key valid in PLAY game state  2004-7-2 15:16 lijd
//#define SUPPORT_IR_GAME
#define VFDKEYBUFADDR      0x588 
#endif

//audio DAC settings, chose one
//6 channel audio DAC
#ifdef SPHE8202
#define WM8746I2S24               //(format:I2S24)
#else
#define WM8746                      //(format:RJ24)WM8766 is pin-2-pin compatible
#endif
//#define WM8736                    //for AUDIO DAC WM8736 or DA1196 6 chanell
//#define AV2188
//#define CS4228
//2 channel audio DAC
//#define WM8726RJ16
//#define WM8746I2S24
//#define WM8720                    //use GPIO-17 as AUDIO_RST
//#define CS4334DAC
//#define PCM1742
//#define PCM1606
//#define PCM1720
//#define PCM1723

//Audio channel connector(RCA connector)setting, Jeff 20020520
//We assign connectors to the following index, Lm(0), Rm(1), L(2), R(3), Ls(4), Rs(5), C(6), SFE(7)
//2-3-4-5-6-7 map to DAC OUT0L-OUT0R-OUT1L-OUT1R-OUT2L-OUT2R
#define DACOUTLm        0
#define DACOUTRm        1
#define DACOUT0L        2
#define DACOUT0R        3
#define DACOUT1L        4
#define DACOUT1R        5
#define DACOUT2L        6
#define DACOUT2R        7

#define DAC_INVERT      1           //dac polarity 0 (untouch) or 1 (inverted)


//IR setting

#define IR44                        // for new SUNPLUS remote controller
#define IR_PLAY_RESUME
#define IR_PLAY_RESUME_PAUSE

//#define ADJUSTING_ACTION_VALID_RIGHT_NOW
//#define NEXT_FORWARD_IN_A_KEY
//#define IR5                         //"ircode_N700.h"
//======================================================================
//#define RISC_ALIVE_STANDBY        //power on by RISC on standby lijd  2004-9-28 17:33, 2004/10/01 yltseng
//======================================================================
#define IR_10_PLUS
//#define IR_NO_REPEAT              //disable repeat, when we keep to press one button, Jeff 20020924
//#define USE_VFD_LED_POWER         //use VFD LED to indicate power mode

//VFD setting
//#define GENERAL_PANNEL              //for most 16312 VFD pannel.2-7-4 13:41
#define SY_M5_256_PANNEL              //for most 16312 VFD pannel.2-7-4 13:41
//#define GENERAL_HT1621_PANNEL              //for most HT1621 VFD pannel.2004-5-9 18:44 lijd
#ifdef GENERAL_HT1621_PANNEL
#define HT1621_PANNEL
#endif//GENERAL_HT1621_PANNEL
//#define AD7312_PANNEL              //2004-5-18 16:19 lijd
//#define CONSER_DVD288_PANNEL
//#define N701_PANNEL               //NINTAUS DVD-N701 PANNEL
//#define SM1623_DRIVER_VFD     //for SM1623 driver vfd      add 2003/10/11
//#define HC164_PANNEL
//#define GT1128_PANNEL         //for GT1128 driver 2004-7-21 11:13 lijd
///OSD language related settings(don't change the sequence)
#define USE_ENGLISH_OSD             //LCD_EN

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -