mirror of
https://github.com/siemens-mobile-hacks/sieelf.git
synced 2026-11-25 22:27:29 +00:00
移植E71Cv41,M81Cv51(未测试),S7Cv47作者已经移植 5401.txt,5402.txt写发看例子 刷入补丁前必须先运行,multisim.elf一次,使数据写入block
42 lines
1,006 B
C
42 lines
1,006 B
C
#pragma segment="CONFIG_C"
|
|
#include "..\..\inc\cfg_items.h"
|
|
#include "..\..\inc\swilib.h"
|
|
#include "language.h"
|
|
//Êîíôèãóðàöèÿ
|
|
|
|
#ifdef NEWSGOLD
|
|
#ifndef DISK0
|
|
#define DEFAULT_DISK_CFG "4"
|
|
#else
|
|
#define DEFAULT_DISK_CFG "0"
|
|
#endif
|
|
#else
|
|
#define DEFAULT_DISK_CFG "0"
|
|
#endif
|
|
|
|
|
|
__root const CFG_HDR ch0={CFG_STR_UTF8,LG_CFG_PATH5400S,0,63};
|
|
__root const char f5401s[64]=DEFAULT_DISK_CFG ":\\misc\\5401.txt";
|
|
__root const CFG_HDR ch1={CFG_STR_UTF8,LG_CFG_PATH5401S,0,63};
|
|
__root const char f5402s[64]=DEFAULT_DISK_CFG ":\\misc\\5402.txt";
|
|
|
|
|
|
__root const CFG_HDR cl0={CFG_LEVEL,LG_CFG_SEC_FCLICK,1,0};
|
|
|
|
__root const CFG_HDR ch4={CFG_CHECKBOX,LG_CFG_NSIMENABLE,0,2};
|
|
__root const unsigned int onc_ena=0; //on click change
|
|
|
|
__root const CFG_HDR ch2={CFG_UINT,LG_CFG_NMAINSIM,0,9};
|
|
__root const unsigned int onc_sim=2;
|
|
__root const CFG_HDR ch3={CFG_UINT,LG_CFG_NADITSIM,0,9};
|
|
__root const unsigned int onc_sim2=1;
|
|
|
|
|
|
|
|
__root const CFG_HDR _l1={CFG_LEVEL,"",0,0};
|
|
|
|
|
|
|
|
|
|
|
|
|