📄 cfg_sunplus_midi4sy_8202m.h
字号:
#define VERSION_STRING "MID-000" //version: xxx-yyy, 20030422
#define SUPPORT_MIDI
#ifdef SUPPORT_MIDI
#define SUPPORT_MIDIDISK_TITLE
//***************************************************
//*** 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
#define SDRAM_128Mx1
#define ENLARGE_SDRAM_CS_AND_OSD_SIZE
#define CUSTM_MENU_REVISE //WSLEE add this for static region item customer menu 20050525 PM3:00
#ifdef CUSTM_MENU_REVISE
#define REGION_REMOVE 4
#endif
//---------------------
//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
/* ----------------------------------------------------------
CD-TEXT
Simon Lai 2006.6.29
---------------------------------------------------------- */
//#define SUPPORT_CD_TEXT
#ifdef SUPPORT_CD_TEXT
#define DISPLAY_CD_TEXT
#define OSD_FONT_API
#endif
/*
* Video seting
*/
/*#define TV_YUV_OUT*/
#define S_VIDEO_OUT
/*
* ROM setting
*/
/*#define ROM_SDRAM_SHARE_BUS*/
/*#define ROM_ATA_SHARE_BUS*/
//----------------------------------------------------------------------
//#define MIDI_CHECK_PASSWORD_PASS_MCU //For MIDI check password //lijd 2005-2-25 14:26
#ifdef MIDI_CHECK_PASSWORD_PASS_MCU
#undef SUPPORT_VFD //Use VFD gpio test
#define CLK 21 //Set GPIO 21 as CLK
#define STB 22 //Set GPIO 22 as STB
#define DAT 23 //Set GPIO 23 as DAT
#endif
//----------------------------------------------------------------------
//CD-G related
//#define SUPPORT_CDG //define it to support CD-G
#define TV_USE_4_DAC //8202S need open always. 4 video DAC.
//#define AUTO_ADJUST_TV_TYPE //auto adjust tv type (16:9 ,4:3LB,4:3PS) from disc //lijd 2004-9-15 13:25
//#define MODIFY_PARENTAL_GUI
//#define SET_PARENTAL_STS_AUTO_LOCK
//#define DVD_DIRECT_SELECT_CHAPTER
//Upgrade setting
#define UPGRADE_FILE_NAME {"DVDROM.BIN"}
#define RESET_AFTER_UPGRADE //reset 8200 and tray out after smart upgrade
#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
//#define CE2746 //for AUDIO DAC CE2746 6 chanell
//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)
//#define SUPPORT_DSPMUTE // benson add for dsp mute function 2004/07/12
#define CD_INIT_DNOT_MUTE
//#define USE_SBA1_AS_GPIO_MUTE//for 8200-32-sy-0-c GPIO MUTE nono 2004-10-15 18:25
#ifdef USE_SBA1_AS_GPIO_MUTE
#define LOW_MUTE
#endif
//#define SCART_TV_216_USE_PIN55_65_66 // FanGang added for 8202s-16-SY-216-0-D scart control 2005/01/17
#ifdef SCART_TV_216_USE_PIN55_65_66
#define HI_CTRL_SCART_TO_RGB
//#define LOW_CTRL_SCART_TO_RGB
//#define HI_CTRL_TO_RELEASE_SCART
#define LOW_CTRL_TO_RELEASE_SCART
#define HI_CTRL_SCART_TO_DISPLAY_16B9
//#define LOW_CTRL_SCART_TO_DISPLAY_16B9
#endif
//IR setting
//#define IR200 // for new SUNPLUS remote controller 2004-10-22 15:38, felix
#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 GENERAL_HT1621_PANNEL //for most HT1621 VFD pannel.2004-5-9 18:44 lijd
#ifdef GENERAL_HT1621_PANNEL
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -