📄 cfg_sunplus_midi4fsloader.h
字号:
//--------------------------------------
//Modefied by wangfeng,2003-08-29 15:18
//For new setup menu
//--------------------------------------
#define VERSION_STRING "MID-000" //version: xxx-yyy, 20030422
#define SUPPORT_MIDI
#ifdef SUPPORT_MIDI
//***************************************************
//*** 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
//********************************************************************************
//*** DEFINE THE FUNCTION FOR PLAYING DISK TITLE FOR MIDIDISK
//********************************************************************************
#define SUPPORT_MIDIDISK_TITLE
#endif //#ifdef SUPPORT_MIDI_MENU_SEL
#endif //#ifdef SUPPORT_OSDLYRIC
#endif //#ifdef SUPPORT_MIDI
//#define MIDI_USE_55MB_WAVETABLE
//---------------------
//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
#ifdef SDRAM_BUS_32BITS
#define SDRAM_64Mbx2 //define it to use 2x64Mb
#endif
//#define AUTO_PLAY // VCD/DVD auto play when tray-in
#ifdef AUTO_PLAY
#define DVD_SEQ_PLAY
#endif
/*
* Define Disc detect polling time
*/
#define DETECT_TIMES 0xff
#define NO_DISC_TIMES 30
/*
* Video seting
*/
/*#define PC_VGA_OUT*/
/*#define TV_YUV_OUT*/
#define S_VIDEO_OUT
/*
* 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
#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
//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 OLD_I2C_DEFINE //define it to use GPIO-35/36 for I2C, otherwise, GPIO-0/1
#ifndef SDRAM_16Mb_Mode
//#define SUPPORT_NESGAME
//#define DVD_AUDIO
#endif
//audio DAC settings, chose one
//6 channel audio DAC
#define WM8746 //(format:RJ24)WM8766 is pin-2-pin compatible
//#define WM8746I2S24 //(format:I2S24)
//#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 6
#define DACOUTRm 7
#define DACOUT0L 0
#define DACOUT0R 1
#define DACOUT1L 2
#define DACOUT1R 3
#define DACOUT2L 4
#define DACOUT2R 5
#define DAC_INVERT 1 //dac polarity 0 (untouch) or 1 (inverted)
//#define USE_A19_AS_GPIO_MUTE
//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 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 YUXING_MIDI_PANNEL
#define GENERAL_PANNEL //for most VFD pannel.2-7-4 13:41
//#define DVD288_PANNEL //for nintaus VFD pannel.2-7-4 13:41
//#define GENERAL_PANNEL //for most VFD pannel.2-7-4 13:41
//#define CONSER_DVD288_PANNEL
//#define N701_PANNEL //NINTAUS DVD-N701 PANNEL
#define SM1623_DRIVER_VFD //for SM1623 driver vfd add 2003/10/11
//#define PROVIEW_GPIO_KEY //ref. gpio.c --- bruce add 2003/2/14 11:35AM
//define ---- for DVD288K2(GPIO KEY)
//not define - for DVD288K (VFD KEY)
#ifdef PROVIEW_GPIO_KEY
#undef SUPPORT_VFD
#define LED_HIGH_LIGHT //define it to use 720 GPIO HIGH to turn-on LED light, else LOW to turn-on LED light
#if 0//def PROVIEW_GPIO_KEY
#define DVD_LED_GPIO 11
#define CD_LED_GPIO 7
#define MP3_LED_GPIO 6
#define NEXT_KEY_GPIO 16
#define PREV_KEY_GPIO 4
#define STOP_KEY_GPIO 17
#define PAUSEPLAY_KEY_GPIO 18
#define EJECT_KEY_GPIO 5
#else
#define GPIO_40 40
#define GPIO_54 54
#define GPIO_63 63
#define DVD_LED_GPIO GPIO_54 //VFD CLK
#define CD_LED_GPIO 55 //VFD STB
#define MP3_LED_GPIO 56 //VFD DAT
#define NEXT_KEY_GPIO 43 //GAME CLK
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -