mirror of
https://github.com/siemens-mobile-hacks/sieelf.git
synced 2026-11-25 22:27:29 +00:00
This commit is contained in:
parent
1a19f6adac
commit
c2e86ff993
45 changed files with 26967 additions and 37 deletions
40
.gitattributes
vendored
40
.gitattributes
vendored
|
|
@ -251,6 +251,7 @@ ChanBanner/vkp/S65sw58.xcl -text
|
|||
ChanBanner/vkp/S68sw47.xcl -text
|
||||
ChanBanner/vkp/S75sw47.xcl -text
|
||||
ChanBanner/vkp/S75sw52.xcl -text
|
||||
ChanBanner/vkp/S7Cv47.xcl -text
|
||||
ChanBanner/vkp/SL65sw53.xcl -text
|
||||
ChanBanner/vkp/elf2vkp.exe -text
|
||||
ChanBanner/vkp/m75sw45.xcl -text
|
||||
|
|
@ -873,23 +874,37 @@ LastFM/test.xcl -text
|
|||
LastFM/urlwork.c -text
|
||||
LastFM/urlwork.h -text
|
||||
LaunchElf/LaunchElf.eww -text
|
||||
LaunchElf/elf/Release/List/visual.lst -text
|
||||
LaunchElf/elf/Release/Obj/elf.pbd -text
|
||||
LaunchElf/elf/Release/Obj/func.r79 -text
|
||||
LaunchElf/elf/Release/Obj/visual.r79 -text
|
||||
LaunchElf/elf/elf.dep -text
|
||||
LaunchElf/elf/elf.ewp -text
|
||||
LaunchElf/elf/elf.h -text
|
||||
LaunchElf/elf/elf.xcl -text
|
||||
LaunchElf/elf/func.asm -text
|
||||
LaunchElf/elf/lgp.h -text
|
||||
LaunchElf/elf/main.c -text
|
||||
LaunchElf/elf/settings/elf.cspy.bat -text
|
||||
LaunchElf/elf/settings/elf.dbgdt -text
|
||||
LaunchElf/elf/settings/elf.dni -text
|
||||
LaunchElf/elf/visual.c -text
|
||||
LaunchElf/faq.txt -text
|
||||
LaunchElf/files/fr_shortcuts.dat -text
|
||||
LaunchElf/files/shortcut_names.dat -text
|
||||
LaunchElf/files/shortcuts.dat -text
|
||||
LaunchElf/patch/Release/Exe/postbuild.cmd -text
|
||||
LaunchElf/patch/Release/Obj/patch.pbd -text
|
||||
LaunchElf/patch/additional.c -text
|
||||
LaunchElf/patch/cx75_13.xcl -text
|
||||
LaunchElf/patch/main.asm -text
|
||||
LaunchElf/patch/patch.dep -text
|
||||
LaunchElf/patch/patch.ewp -text
|
||||
LaunchElf/patch/rets_CX75sw13.asm -text
|
||||
LaunchElf/patch/settings/patch.cspy.bat -text
|
||||
LaunchElf/patch/settings/patch.dbgdt -text
|
||||
LaunchElf/patch/settings/patch.dni -text
|
||||
LaunchElf/settings/LaunchElf.wsdt -text
|
||||
Link/Link.ewp -text
|
||||
Link/Link.eww -text
|
||||
Link/Main.c -text
|
||||
|
|
@ -2277,6 +2292,31 @@ ScreenFrame/func.asm -text
|
|||
ScreenFrame/main.c -text
|
||||
ScreenFrame/scrfrm.h -text
|
||||
ScreenFrame/test.xcl -text
|
||||
ScreenNote/conf_loader.c -text
|
||||
ScreenNote/conf_loader.h -text
|
||||
ScreenNote/config_data.c -text
|
||||
ScreenNote/func.asm -text
|
||||
ScreenNote/main.c -text
|
||||
ScreenNote/newsgold/List/conf_loader.lst -text
|
||||
ScreenNote/newsgold/List/config_data.lst -text
|
||||
ScreenNote/newsgold/List/config_data.s79 -text
|
||||
ScreenNote/newsgold/List/func.lst -text
|
||||
ScreenNote/newsgold/List/main.lst -text
|
||||
ScreenNote/newsgold/Obj/config_data.r79 -text
|
||||
ScreenNote/newsgold/Obj/func.r79 -text
|
||||
ScreenNote/newsgold/Obj/screen[!!-~]note.pbd -text
|
||||
ScreenNote/screen[!!-~]note.dep -text
|
||||
ScreenNote/screen[!!-~]note.ewd -text
|
||||
ScreenNote/screen[!!-~]note.ewp -text
|
||||
ScreenNote/screen[!!-~]note.eww -text
|
||||
ScreenNote/screen[!!-~]note.xcl -text
|
||||
ScreenNote/settings/screen[!!-~]note.cspy.bat -text
|
||||
ScreenNote/settings/screen[!!-~]note.dbgdt -text
|
||||
ScreenNote/settings/screen[!!-~]note.dni -text
|
||||
ScreenNote/settings/screen[!!-~]note.wsdt -text
|
||||
ScreenNote/sgold/Obj/screen[!!-~]note.pbd -text
|
||||
ScreenNote/中文config_data.c -text
|
||||
ScreenNote/英文config_data.c -text
|
||||
SerialLib/Serial.ewp -text
|
||||
SerialLib/SerialLib.eww -text
|
||||
SerialLib/SerialTest.ewp -text
|
||||
|
|
|
|||
6
ChanBanner/vkp/S7Cv47.xcl
Normal file
6
ChanBanner/vkp/S7Cv47.xcl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
-carm
|
||||
-Z(CODE)PATCH_GLOBAL_SCAN=A0E6F5E6-A0E6F5F3
|
||||
-Z(CODE)PATCH_J=A0E6F5F4-A0E6F5FB
|
||||
-Z(CODE)PATCH_WORK_SCAN=A0AEB66E-A0AEB671 A0E6FC22-A0E6FC25
|
||||
-Z(CODE)CODE=A0079C00-A0079FFF
|
||||
-Z(DATA)RXLVLS=A8E5591E-A8E55CEA
|
||||
|
|
@ -177,7 +177,7 @@
|
|||
|
||||
0280: 0xA0996A35 ; A0: int wsprintf_2(WSHDR *,const char *format,...)
|
||||
0284: 0xA01F7BE7 ; A1: WSHDR *wstrcpy_2(WSHDR *wshdr_d,WSHDR *wshdr_s)
|
||||
;288: ; A2: Unicode_GetCharByPosition
|
||||
0288: 0xA01F75CD ; 0A2: Unicode_GetCharByPosition
|
||||
028C: 0xA0253F80 ; A3: void ws2str(WSHDR *ws, char *str, unsigned int size)
|
||||
0290: 0xA09974F9 ; A4: WSHDR *AllocWS_2(int len)
|
||||
0294: 0xA01F73A1 ; A5: void FreeWS_2(WSHDR *wshdr)
|
||||
|
|
@ -227,14 +227,14 @@
|
|||
033C: 0xA8E63948 ; CF: char *RamAlarm()
|
||||
|
||||
0340: 0xA8D6A470 ; D0: RamAccPoint
|
||||
;344: ; D1: RamScreensaver
|
||||
;348: ; D2: RamAutoTime
|
||||
0344: 0xA8DD35B4 ; 0D1: RamScreensaver
|
||||
0348: 0xA8D197D8 ; 0D2: RamAutoTime
|
||||
|
||||
034C: 0xA8A80000 ; D3: RamStby
|
||||
0350: 0xA8DD33A0 ; D4: char *RamMissedMes()
|
||||
0354: 0xA8D3502C ; D5: RamIsLocked
|
||||
0358: 0xA8DACBE0 ; D6: RamNetOnline
|
||||
035C: 0xA8DADCBC ; D7: RamScreenBrightness
|
||||
;360: ; D8: RamMenuAnywhere
|
||||
;364: ; D9: RamShutdownMode
|
||||
0368: 0xA8D6CE28 ; DA: RamIsShutdown
|
||||
036C: 0xA8E62194 ; DB: RamMainscreenAccuIcon
|
||||
|
|
@ -247,8 +247,8 @@
|
|||
0384: 0xA8E0EB6C ; E1: unsigned int RamMPlayer_CtrlCode()
|
||||
;388: ; E2: RamKeyBuffer
|
||||
;38C: ; E3: RamProfileNum
|
||||
0390: 0xA8A80000 ; E4: FreeRAM without cut_heap.vkp
|
||||
;0390: 0xA8000000 ; E4: FreeRAM with cut_heap.vkp
|
||||
;0390: 0xA8A80000 ; E4: FreeRAM without cut_heap.vkp
|
||||
0390: 0xA8000000 ; E4: FreeRAM with cut_heap.vkp
|
||||
0394: 0x0000123D ; E5: LP_MonthsShort
|
||||
0398: 0x00000260 ; E6: Pic_Big0
|
||||
039C: 0x00000830 ; E7: Pic_Little0
|
||||
|
|
@ -528,13 +528,11 @@
|
|||
;7A4: ; 1E9: IMGHDR *CreateIMGHDRFromPngFile(const char *fname, int type)
|
||||
07A8: 0xA09A45EF ; 1EA: int GetMaxDynIcon(void)
|
||||
07AC: 0xA8DCD20E ; 1EB: char *RAM_IMSI()
|
||||
07B8: 0xA0319D05 ; 1EE: ProgressCalculate(int current, int total)
|
||||
07B0: 0xA09A45F3 ; 1EC: void FreeDynIcon(int picture)
|
||||
07B4: 0xA09A4753 ; 1ED: int IsDynIconBusy(int picture)
|
||||
;7B8: ; 1EE: ProgressCalculate(int current, int total)
|
||||
07BC: 0xA09A4655 ; 1EF: void SetDynIcon(int picture,IMGHDR *img,char *bitmap)
|
||||
|
||||
;7C0: ; 1F0: filecopy
|
||||
;7C4: ; 1F1: filecopy_op_announce
|
||||
07C4: 0xA031D646 ; 1F1: Filecopy_Op_Announce
|
||||
07C8: 0xA01DF730 ; 1F2: devmenu_config_IsCheckboxOff
|
||||
07CC: 0xA00A8954 ; 1F3: unsigned int GetSessionAge()
|
||||
07D0: 0xA8DCD5D3 ; 1F4: char *RamServiceProviderName()
|
||||
|
|
@ -608,11 +606,11 @@
|
|||
08D0: 0xA0658935 ; 234: __thumb int GetLunarDate(TDate* pdate, TDate* pLdate)
|
||||
08D4: 0xA067D059 ; 235: __thumb int GetLunarYearID(int year)
|
||||
08D8: 0xA067D06F ; 236: __thumb int GetLunarAnimal(int year)
|
||||
;8DC: ; 237: __arm char *RamIconBar()
|
||||
|
||||
08E0: 0xA0989917 ; 238: __thumb void SendAutoUSSDack(void)
|
||||
08E4: 0xA01E5D5C ; 239: __arm int EEFullDeleteBlock(unsigned int block,int cepid,int msg)
|
||||
08E8: 0xA01E5EC8 ; 23A: __arm int EEFullCreateBlock(unsigned int block,int size,int version,int cepid,int msg)
|
||||
;8EC: ; 23B: __thumb void DisableIconBar(int disable)
|
||||
|
||||
;8F0: ; 23C: __arm int SetCurrentGPRSProfile(int profile)
|
||||
08F4: 0xA1038F01 ; 23D: __thumb void MD5_Init(MD5_CTX *c)
|
||||
08F8: 0xA1038B71 ; 23E: __thumb void MD5_Update(MD5_CTX *c, const void *data, unsigned long len)
|
||||
|
|
@ -661,7 +659,7 @@
|
|||
09A0: 0xA0DC4964 ; 268: __arm int Obs_Prepare (HObj hObj)
|
||||
09A4: 0xA0E84BFC ; 269: __arm int Obs_SetRenderOffset (HObj hObj,short x,short y)
|
||||
09A8: 0xA0DC1BA0 ; 26A: __arm int Obs_SetPosition (HObj hObj,int ms)
|
||||
;9AC: ; 26B: __arm int Obs_Mam_SetPurpose (HObj hObj,int ms)
|
||||
|
||||
09B0: 0xA0E101C8 ; 26C: __arm int Obs_Sound_SetVolumeEx (HObj hObj, char vol, char delta)
|
||||
09B4: 0xA0E10EA4 ; 26D: __arm int Obs_Sound_GetVolume (HObj hObj, char *vol)
|
||||
09B8: 0xA0E106E0 ; 26E: __arm int Obs_SetPurpose (HObj hObj,char purpose)
|
||||
|
|
@ -675,7 +673,7 @@
|
|||
0A1C: 0xA02D7CAF ; 287: __thumb int BT_GetLocVisibility()
|
||||
0A20: 0xA02F2A79 ; 288: __thumb int GetCurrAudioPath()
|
||||
0A24: 0xA0EB7B71 ; 289: __thumb int isDecryption()
|
||||
;A28: ; 28A: __arm char *RamIsFileCache()
|
||||
|
||||
0A2C: 0xA8E1307C ; 28B: __arm char *RamTotalHeapSize()
|
||||
0A30: 0xA8E130EC ; 28C: __arm char *RamTemporaryHeapSize()
|
||||
0A34: 0xA8D23DF8 ; 28D: __arm char *RamBTNameDevice()
|
||||
|
|
@ -695,6 +693,7 @@
|
|||
0A70: 0xA0000006 ; 29C: __arm char *RamInputLanguage()
|
||||
0A74: 0xA8D3557C ; 29D: __arm char *RamDisplayLanguage()
|
||||
|
||||
|
||||
;0A80: 0x ; 2A0:
|
||||
;0A84: 0x ; 2A1:
|
||||
;0A88: 0x ; 2A2:
|
||||
|
|
@ -762,6 +761,8 @@
|
|||
0B74: 0xA0960A8D ; 2DD: void SetIlluminationoffTimeout(int time_sec)
|
||||
0B78: 0xA0960AF5 ; 2DE: __thumb void IllumTimeRequest(int TimeMode, int Counter);
|
||||
0B7C: 0xA0960B33 ; 2DF: __thumb void IllumTimeRelease(int TimeMode, int Counter);
|
||||
0B80: 0xA0A38D57 ;2E0 __thumb IMGHDR *GetIMGHDRFromThemeCache(int index);
|
||||
0B84: 0xA05202F9 ;2E1 __thumb int GetExtUidByFileName_ws(WSHDR * fn);
|
||||
#pragma disable old_equal_ff
|
||||
+0
|
||||
|
||||
|
|
@ -777,5 +778,8 @@
|
|||
;00B8: 0xA01E70D8 ; 2E: FinishWriteEELiteBlock
|
||||
;00BC: 0xA01E6CC4 ; 2F: DeleteEELiteBlock
|
||||
;00C0: 0xA01E6FC0 ; 30: WriteEELiteBlock
|
||||
;0A80: 0xA02A0150 ; 2A0: int GetAlarmclockState(int state);
|
||||
;031C: 0xA01D17F4 ; 0C7: SetCpuClockTempHi(2)
|
||||
;07C0: 0xA031BEB4 ; 1F0: Filecopy ;¿ÉÄÜÐèÒªÐÞÕý£¬ÒÆÖ²×ÔE71v45 lg91
|
||||
#pragma disable old_equal_ff
|
||||
+0
|
||||
2844
LaunchElf/elf/Release/List/visual.lst
Normal file
2844
LaunchElf/elf/Release/List/visual.lst
Normal file
File diff suppressed because it is too large
Load diff
4
LaunchElf/elf/Release/Obj/elf.pbd
Normal file
4
LaunchElf/elf/Release/Obj/elf.pbd
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
This is an internal working file generated by the Source Browser.
|
||||
12:02 00s
|
||||
F:\SVN\cn\LaunchElf\elf\Release\Obj\main.pbi
|
||||
F:\SVN\cn\LaunchElf\elf\Release\Obj\visual.pbi
|
||||
BIN
LaunchElf/elf/Release/Obj/func.r79
Normal file
BIN
LaunchElf/elf/Release/Obj/func.r79
Normal file
Binary file not shown.
BIN
LaunchElf/elf/Release/Obj/visual.r79
Normal file
BIN
LaunchElf/elf/Release/Obj/visual.r79
Normal file
Binary file not shown.
116
LaunchElf/elf/elf.dep
Normal file
116
LaunchElf/elf/elf.dep
Normal file
|
|
@ -0,0 +1,116 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<project>
|
||||
<fileVersion>2</fileVersion>
|
||||
<fileChecksum>3994378284</fileChecksum>
|
||||
<configuration>
|
||||
<name>Release</name>
|
||||
<outputs>
|
||||
<file>$PROJ_DIR$\Release\Obj\visual.pbi</file>
|
||||
<file>$PROJ_DIR$\Release\Obj\main.pbi</file>
|
||||
<file>$PROJ_DIR$\Release\Obj\main.r79</file>
|
||||
<file>$PROJ_DIR$\elf.h</file>
|
||||
<file>$PROJ_DIR$\main.c</file>
|
||||
<file>$PROJ_DIR$\lgp.h</file>
|
||||
<file>$PROJ_DIR$\visual.c</file>
|
||||
<file>$PROJ_DIR$\func.asm</file>
|
||||
<file>$PROJ_DIR$\Release\Obj\elf.pbd</file>
|
||||
<file>$PROJ_DIR$\Release\Obj\func.r79</file>
|
||||
<file>$PROJ_DIR$\Release\Obj\visual.r79</file>
|
||||
<file>$PROJ_DIR$\Release\Exe\LaunchElf.elf</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\bn.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\crypto.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\rsa.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\sha.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\obs.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\data_n.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\zlib.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\zconf.h</file>
|
||||
<file>$PROJ_DIR$\Release\List\visual.lst</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\md5.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\swilib.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\png.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\pngconf.h</file>
|
||||
<file>$TOOLKIT_DIR$\inc\stdbool.h</file>
|
||||
</outputs>
|
||||
<file>
|
||||
<name>[ROOT_NODE]</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>XLINK</name>
|
||||
<file> 11</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\main.c</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>ICCARM</name>
|
||||
<file> 2</file>
|
||||
</tool>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 1</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
<inputs>
|
||||
<tool>
|
||||
<name>ICCARM</name>
|
||||
<file> 22 23 18 19 24 14 12 13 15 21 17 16 25 5 3</file>
|
||||
</tool>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 22 23 18 19 24 14 12 13 15 21 17 16 25 5 3</file>
|
||||
</tool>
|
||||
</inputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\visual.c</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>ICCARM</name>
|
||||
<file> 10 20</file>
|
||||
</tool>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 0</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
<inputs>
|
||||
<tool>
|
||||
<name>ICCARM</name>
|
||||
<file> 22 23 18 19 24 14 12 13 15 21 17 16</file>
|
||||
</tool>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 22 23 18 19 24 14 12 13 15 21 17 16</file>
|
||||
</tool>
|
||||
</inputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\func.asm</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>AARM</name>
|
||||
<file> 9</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\Release\Obj\elf.pbd</name>
|
||||
<inputs>
|
||||
<tool>
|
||||
<name>BILINK</name>
|
||||
<file> 1 0</file>
|
||||
</tool>
|
||||
</inputs>
|
||||
</file>
|
||||
<forcedrebuild>
|
||||
<name>[MULTI_TOOL]</name>
|
||||
<tool>XLINK</tool>
|
||||
</forcedrebuild>
|
||||
</configuration>
|
||||
</project>
|
||||
|
||||
|
||||
29
LaunchElf/elf/settings/elf.cspy.bat
Normal file
29
LaunchElf/elf/settings/elf.cspy.bat
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
@REM This bat file has been generated by the IAR Embeddded Workbench
|
||||
@REM C-SPY interactive debugger,as an aid to preparing a command
|
||||
@REM line for running the cspybat command line utility with the
|
||||
@REM appropriate settings.
|
||||
@REM
|
||||
@REM After making some adjustments to this file, you can launch cspybat
|
||||
@REM by typing the name of this file followed by the name of the debug
|
||||
@REM file (usually an ubrof file). Note that this file is generated
|
||||
@REM every time a new debug session is initialized, so you may want to
|
||||
@REM move or rename the file before making changes.
|
||||
@REM
|
||||
@REM Note: some command line arguments cannot be properly generated
|
||||
@REM by this process. Specifically, the plugin which is responsible
|
||||
@REM for the Terminal I/O window (and other C runtime functionality)
|
||||
@REM comes in a special version for cspybat, and the name of that
|
||||
@REM plugin dll is not known when generating this file. It resides in
|
||||
@REM the $TOOLKIT_DIR$\bin folder and is usually called XXXbat.dll or
|
||||
@REM XXXlibsupportbat.dll, where XXX is the name of the corresponding
|
||||
@REM tool chain. Replace the '<libsupport_plugin>' parameter
|
||||
@REM below with the appropriate file name. Other plugins loaded by
|
||||
@REM C-SPY are usually not needed by, or will not work in, cspybat
|
||||
@REM but they are listed at the end of this file for reference.
|
||||
|
||||
|
||||
"F:\software\Embedded Workbench 4.0 Evaluation\common\bin\cspybat" "F:\software\Embedded Workbench 4.0 Evaluation\ARM\bin\armproc.dll" "F:\software\Embedded Workbench 4.0 Evaluation\ARM\bin\armsim.dll" %1 --plugin "F:\software\Embedded Workbench 4.0 Evaluation\ARM\bin\<libsupport_plugin>" --backend -B "--endian" "little" "--cpu" "ARM926EJ-S" "--fpu" "None" "--proc_driver" "sim"
|
||||
|
||||
|
||||
@REM Loaded plugins:
|
||||
@REM armlibsupport.dll
|
||||
5
LaunchElf/elf/settings/elf.dbgdt
Normal file
5
LaunchElf/elf/settings/elf.dbgdt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<Project/>
|
||||
|
||||
|
||||
16
LaunchElf/elf/settings/elf.dni
Normal file
16
LaunchElf/elf/settings/elf.dni
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[Disassemble mode]
|
||||
mode=0
|
||||
[Breakpoints]
|
||||
Count=0
|
||||
[Interrupts]
|
||||
Enabled=1
|
||||
[MemoryMap]
|
||||
Enabled=0
|
||||
Base=0
|
||||
UseAuto=0
|
||||
TypeViolation=1
|
||||
UnspecRange=1
|
||||
ActionState=1
|
||||
[TraceHelper]
|
||||
Enabled=0
|
||||
ShowSource=1
|
||||
|
|
@ -1,26 +1,26 @@
|
|||
LaunchElf 1.99
|
||||
!ElfPack, FreeRam
|
||||
LaunchElf 1.99
|
||||
! ElfPack, FreeRam
|
||||
|
||||
состоит и патча и эльфа
|
||||
патч полностью заменяет стандартную таблицу шорткатов(их функций, id лэнгпака) и таблицу быстрого запуска(список шорткатов для возможного назначения на клавиши на главном экране)
|
||||
эльф нужен для быстрого редактирования этой таблицы/добавления эльфов
|
||||
is and the patch and elf
|
||||
patch completely replaces the standard table of shortcuts (their functions, id lengpaka) and table fast start (the list of shortcuts for possible appointment to the keys on the main screen)
|
||||
Elf needs for quick editing of the table / add elves
|
||||
|
||||
теперь в файле 0:\\Zbin\\etc\\shortcuts.dat хранится бинарный список шорткатов ( такой на cx75_13 он находится по адресу 0xA04B09D4)
|
||||
0:\\Zbin\\etc\\fr_shortcuts.dat - таблица быстрого запуска (список шорткатов) (в cx75_13 находится по адресу 0xA04A6448)
|
||||
0:\\Zbin\\etc\\shortcut_names.dat - полное и сокращенное имена шорткатов и пути к эльфам
|
||||
Now in the file 0: \ \ Zbin \ \ etc \ \ shortcuts.dat stored binary list of shortcuts (such at cx75_13 he is at 0xA04B09D4)
|
||||
0: \ \ Zbin \ \ etc \ \ fr_shortcuts.dat - Table Quick Launch (list of shortcuts) (in cx75_13 located at 0xA04A6448)
|
||||
0: \ \ Zbin \ \ etc \ \ shortcut_names.dat - full and abbreviated names of the shortcuts and ways of the elves
|
||||
|
||||
с помощь патча можно:
|
||||
добавить новый шорткат со своим уникальным именем(например вызов какой-либо функции)
|
||||
добавить эльф/файл для быстрого запуска
|
||||
изменить существующий шорткат
|
||||
with a patch, you can:
|
||||
add a new shortcut with a unique name (for example call a function)
|
||||
add Elf / file for quick start
|
||||
change the existing shortcut
|
||||
|
||||
для добавления эльфа вручную: добавляем шорткат в shortcuts.dat (структура шортката описана в swilib.h)
|
||||
номер lgp id полного и короткого имени заменяем на 0x7FFE
|
||||
!имена шорткатов в этом списке должны быть отсортированы по алфавиту, иначе не сработает
|
||||
!не забываем последние
|
||||
в fr_shortcuts добавляем имя этого шортката (15симв. + 0x00)
|
||||
в shortcut_names.dat записываем полное название эльфа(15симв. + 0x00), короткое название(15симв. + 0x00), путь к эльфу (127симв, 0x00)
|
||||
to add elf manually: add shortcut to shortcuts.dat (shortcut structure described in swilib.h)
|
||||
lgp id number of full and short name is replaced by 0x7FFE
|
||||
! Names of shortcuts in this list should be sorted alphabetically, or does not work
|
||||
I will not forget the past
|
||||
in fr_shortcuts add the name of the shortcut (15simv. + 0x00)
|
||||
in shortcut_names.dat write the full name of elf (15simv. + 0x00), a short title (15simv. + 0x00), the path to the elf (127simv, 0x00)
|
||||
|
||||
|
||||
для добавления с помощью эльфа:
|
||||
в эльфе: добавление эльфа - зеленая кнопка, удаление(эльфа, шортката) - решетка; в остальном разберетесь :)
|
||||
to add with an elf:
|
||||
in elf: adding an elf - a green button, delete (elf, shortcuts) - grating in the rest of the familiar:)
|
||||
3
LaunchElf/patch/Release/Obj/patch.pbd
Normal file
3
LaunchElf/patch/Release/Obj/patch.pbd
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
This is an internal working file generated by the Source Browser.
|
||||
12:01 53s
|
||||
F:\SVN\cn\LaunchElf\patch\Release\Obj\additional.pbi
|
||||
93
LaunchElf/patch/patch.dep
Normal file
93
LaunchElf/patch/patch.dep
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<project>
|
||||
<fileVersion>2</fileVersion>
|
||||
<fileChecksum>4251101469</fileChecksum>
|
||||
<configuration>
|
||||
<name>Release</name>
|
||||
<outputs>
|
||||
<file>$PROJ_DIR$\Release\Obj\rets_CX75sw13.r79</file>
|
||||
<file>$PROJ_DIR$\Release\Obj\additional.r79</file>
|
||||
<file>$PROJ_DIR$\Release\Obj\main.r79</file>
|
||||
<file>$PROJ_DIR$\Release\Obj\additional.pbi</file>
|
||||
<file>$PROJ_DIR$\Release\Exe\LaunchElf2.hex</file>
|
||||
<file>$PROJ_DIR$\Release\Obj\patch.pbd</file>
|
||||
<file>$PROJ_DIR$\rets_CX75sw13.asm</file>
|
||||
<file>$PROJ_DIR$\main.asm</file>
|
||||
<file>$PROJ_DIR$\additional.c</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\swilib.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\zlib.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\png.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\zconf.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\bn.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\crypto.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\pngconf.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\rsa.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\sha.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\md5.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\data_n.h</file>
|
||||
<file>$PROJ_DIR$\..\..\inc\obs.h</file>
|
||||
</outputs>
|
||||
<file>
|
||||
<name>[ROOT_NODE]</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>XLINK</name>
|
||||
<file> 4</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\Release\Obj\patch.pbd</name>
|
||||
<inputs>
|
||||
<tool>
|
||||
<name>BILINK</name>
|
||||
<file> 3</file>
|
||||
</tool>
|
||||
</inputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\rets_CX75sw13.asm</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>AARM</name>
|
||||
<file> 0</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\main.asm</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>AARM</name>
|
||||
<file> 2</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\additional.c</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>ICCARM</name>
|
||||
<file> 1</file>
|
||||
</tool>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 3</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
<inputs>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 9 11 10 12 15 16 13 14 17 18 19 20</file>
|
||||
</tool>
|
||||
</inputs>
|
||||
</file>
|
||||
<forcedrebuild>
|
||||
<name>[MULTI_TOOL]</name>
|
||||
<tool>XLINK</tool>
|
||||
</forcedrebuild>
|
||||
</configuration>
|
||||
</project>
|
||||
|
||||
|
||||
29
LaunchElf/patch/settings/patch.cspy.bat
Normal file
29
LaunchElf/patch/settings/patch.cspy.bat
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
@REM This bat file has been generated by the IAR Embeddded Workbench
|
||||
@REM C-SPY interactive debugger,as an aid to preparing a command
|
||||
@REM line for running the cspybat command line utility with the
|
||||
@REM appropriate settings.
|
||||
@REM
|
||||
@REM After making some adjustments to this file, you can launch cspybat
|
||||
@REM by typing the name of this file followed by the name of the debug
|
||||
@REM file (usually an ubrof file). Note that this file is generated
|
||||
@REM every time a new debug session is initialized, so you may want to
|
||||
@REM move or rename the file before making changes.
|
||||
@REM
|
||||
@REM Note: some command line arguments cannot be properly generated
|
||||
@REM by this process. Specifically, the plugin which is responsible
|
||||
@REM for the Terminal I/O window (and other C runtime functionality)
|
||||
@REM comes in a special version for cspybat, and the name of that
|
||||
@REM plugin dll is not known when generating this file. It resides in
|
||||
@REM the $TOOLKIT_DIR$\bin folder and is usually called XXXbat.dll or
|
||||
@REM XXXlibsupportbat.dll, where XXX is the name of the corresponding
|
||||
@REM tool chain. Replace the '<libsupport_plugin>' parameter
|
||||
@REM below with the appropriate file name. Other plugins loaded by
|
||||
@REM C-SPY are usually not needed by, or will not work in, cspybat
|
||||
@REM but they are listed at the end of this file for reference.
|
||||
|
||||
|
||||
"F:\software\Embedded Workbench 4.0 Evaluation\common\bin\cspybat" "F:\software\Embedded Workbench 4.0 Evaluation\ARM\bin\armproc.dll" "F:\software\Embedded Workbench 4.0 Evaluation\ARM\bin\armsim.dll" %1 --plugin "F:\software\Embedded Workbench 4.0 Evaluation\ARM\bin\<libsupport_plugin>" --backend -B "--endian" "little" "--cpu" "ARM926EJ-S" "--fpu" "None" "--proc_driver" "sim"
|
||||
|
||||
|
||||
@REM Loaded plugins:
|
||||
@REM armlibsupport.dll
|
||||
5
LaunchElf/patch/settings/patch.dbgdt
Normal file
5
LaunchElf/patch/settings/patch.dbgdt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<Project/>
|
||||
|
||||
|
||||
16
LaunchElf/patch/settings/patch.dni
Normal file
16
LaunchElf/patch/settings/patch.dni
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[Disassemble mode]
|
||||
mode=0
|
||||
[Breakpoints]
|
||||
Count=0
|
||||
[Interrupts]
|
||||
Enabled=1
|
||||
[MemoryMap]
|
||||
Enabled=0
|
||||
Base=0
|
||||
UseAuto=0
|
||||
TypeViolation=1
|
||||
UnspecRange=1
|
||||
ActionState=1
|
||||
[TraceHelper]
|
||||
Enabled=0
|
||||
ShowSource=1
|
||||
134
LaunchElf/settings/LaunchElf.wsdt
Normal file
134
LaunchElf/settings/LaunchElf.wsdt
Normal file
|
|
@ -0,0 +1,134 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<Workspace>
|
||||
<ConfigDictionary>
|
||||
<CurrentConfigs>
|
||||
<Project>elf/Release</Project>
|
||||
<Project>patch/Release</Project>
|
||||
</CurrentConfigs>
|
||||
<CurrentProj>elf</CurrentProj>
|
||||
<OverviewSelected>1</OverviewSelected>
|
||||
</ConfigDictionary>
|
||||
<Desktop>
|
||||
<Static>
|
||||
<Workspace>
|
||||
<ColumnWidths>
|
||||
<Column0>124</Column0>
|
||||
<Column1>27</Column1>
|
||||
<Column2>27</Column2>
|
||||
<Column3>27</Column3>
|
||||
</ColumnWidths>
|
||||
</Workspace>
|
||||
<Build>
|
||||
<ColumnWidth0>20</ColumnWidth0>
|
||||
<ColumnWidth1>916</ColumnWidth1>
|
||||
<ColumnWidth2>244</ColumnWidth2>
|
||||
<ColumnWidth3>61</ColumnWidth3>
|
||||
</Build>
|
||||
</Static>
|
||||
<Windows>
|
||||
<Wnd1>
|
||||
<Tabs>
|
||||
<Tab>
|
||||
<Identity>TabID-14791-31113</Identity>
|
||||
<TabName>Workspace</TabName>
|
||||
<Factory>Workspace</Factory>
|
||||
<Session>
|
||||
<NodeDict>
|
||||
<ExpandedNode><ws></ExpandedNode>
|
||||
</NodeDict>
|
||||
</Session>
|
||||
</Tab>
|
||||
</Tabs>
|
||||
<SelectedTab>0</SelectedTab>
|
||||
</Wnd1>
|
||||
<Wnd0>
|
||||
<Tabs>
|
||||
<Tab>
|
||||
<Identity>TabID-12700-31152</Identity>
|
||||
<TabName>Build</TabName>
|
||||
<Factory>Build</Factory>
|
||||
<Session/>
|
||||
</Tab>
|
||||
</Tabs>
|
||||
<SelectedTab>0</SelectedTab>
|
||||
</Wnd0>
|
||||
</Windows>
|
||||
<Editor>
|
||||
<Pane/>
|
||||
<ActivePane>0</ActivePane>
|
||||
<Sizes>
|
||||
<Pane>
|
||||
<X>1000000</X>
|
||||
<Y>1000000</Y>
|
||||
</Pane>
|
||||
</Sizes>
|
||||
<SplitMode>1</SplitMode>
|
||||
</Editor>
|
||||
<Positions>
|
||||
<Top>
|
||||
<Row0>
|
||||
<Sizes>
|
||||
<Toolbar-003bead0>
|
||||
<key>iaridepm.enu1</key>
|
||||
</Toolbar-003bead0>
|
||||
</Sizes>
|
||||
</Row0>
|
||||
</Top>
|
||||
<Left>
|
||||
<Row0>
|
||||
<Sizes>
|
||||
<Wnd1>
|
||||
<Rect>
|
||||
<Top>-2</Top>
|
||||
<Left>-2</Left>
|
||||
<Bottom>489</Bottom>
|
||||
<Right>198</Right>
|
||||
<x>-2</x>
|
||||
<y>-2</y>
|
||||
<xscreen>200</xscreen>
|
||||
<yscreen>200</yscreen>
|
||||
<sizeHorzCX>156250</sizeHorzCX>
|
||||
<sizeHorzCY>273224</sizeHorzCY>
|
||||
<sizeVertCX>156250</sizeVertCX>
|
||||
<sizeVertCY>670765</sizeVertCY>
|
||||
</Rect>
|
||||
</Wnd1>
|
||||
</Sizes>
|
||||
</Row0>
|
||||
</Left>
|
||||
<Right>
|
||||
<Row0>
|
||||
<Sizes/>
|
||||
</Row0>
|
||||
</Right>
|
||||
<Bottom>
|
||||
<Row0>
|
||||
<Sizes>
|
||||
<Wnd0>
|
||||
<Rect>
|
||||
<Top>-2</Top>
|
||||
<Left>-2</Left>
|
||||
<Bottom>198</Bottom>
|
||||
<Right>1282</Right>
|
||||
<x>-2</x>
|
||||
<y>-2</y>
|
||||
<xscreen>1284</xscreen>
|
||||
<yscreen>200</yscreen>
|
||||
<sizeHorzCX>1003125</sizeHorzCX>
|
||||
<sizeHorzCY>273224</sizeHorzCY>
|
||||
<sizeVertCX>156250</sizeVertCX>
|
||||
<sizeVertCY>273224</sizeVertCY>
|
||||
</Rect>
|
||||
</Wnd0>
|
||||
</Sizes>
|
||||
</Row0>
|
||||
</Bottom>
|
||||
<Float>
|
||||
<Sizes/>
|
||||
</Float>
|
||||
</Positions>
|
||||
</Desktop>
|
||||
</Workspace>
|
||||
|
||||
|
||||
55
ScreenNote/conf_loader.c
Normal file
55
ScreenNote/conf_loader.c
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
#include "conf_loader.h"
|
||||
#include "..\inc\swilib.h"
|
||||
#include "..\inc\cfg_items.h"
|
||||
|
||||
#pragma segment="CONFIG_C"
|
||||
|
||||
int LoadConfigData(const char *fname)
|
||||
{
|
||||
int f;
|
||||
unsigned int ul;
|
||||
char *buf;
|
||||
int result=0;
|
||||
void *cfg;
|
||||
|
||||
extern const CFG_HDR cfghdr0; //first var in CONFIG
|
||||
cfg=(void*)&cfghdr0;
|
||||
|
||||
unsigned int len=(int)__segment_end("CONFIG_C")-(int)__segment_begin("CONFIG_C");
|
||||
|
||||
if (!(buf=malloc(len))) return -1;
|
||||
if ((f=fopen(fname,A_ReadOnly+A_BIN,0,&ul))!=-1)
|
||||
{
|
||||
if (fread(f,buf,len,&ul)==len)
|
||||
{
|
||||
memcpy(cfg,buf,len);
|
||||
fclose(f,&ul);
|
||||
}
|
||||
else
|
||||
{
|
||||
fclose(f,&ul);
|
||||
goto L_SAVENEWCFG;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
L_SAVENEWCFG:
|
||||
if ((f=fopen(fname,A_ReadWrite+A_Create+A_Truncate,P_READ+P_WRITE,&ul))!=-1)
|
||||
{
|
||||
if (fwrite(f,cfg,len,&ul)!=len) result=-1;
|
||||
fclose(f,&ul);
|
||||
}
|
||||
else
|
||||
result=-1;
|
||||
}
|
||||
mfree(buf);
|
||||
return(result);
|
||||
}
|
||||
|
||||
void InitConfig()
|
||||
{
|
||||
if(LoadConfigData("4:\\ZBin\\etc\\screen note.bcfg")<0)
|
||||
{
|
||||
LoadConfigData("0:\\ZBin\\etc\\screen note.bcfg");
|
||||
}
|
||||
}
|
||||
5
ScreenNote/conf_loader.h
Normal file
5
ScreenNote/conf_loader.h
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#ifndef _CONFLOADER_H_
|
||||
#define _CONFLOADER_H_
|
||||
|
||||
void InitConfig();
|
||||
#endif
|
||||
74
ScreenNote/config_data.c
Normal file
74
ScreenNote/config_data.c
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
#include "..\inc\cfg_items.h"
|
||||
|
||||
|
||||
__root const CFG_HDR cfghdr0={CFG_STR_UTF8,"根目录",3,127};
|
||||
__root const char root_dir[128]="0:\\Elf tool\\Snote";
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
|
||||
__root const CFG_HDR cfghdr_m1={CFG_LEVEL,"按星期显示",1,0};
|
||||
|
||||
__root const CFG_HDR cfghdr1_1={CFG_CBOX,"按星期显示",0,2};
|
||||
__root const unsigned int cfgweek=1;
|
||||
__root const CFG_CBOX_ITEM cfgcbox1_1[2]={"no","yes"};
|
||||
|
||||
/*__root const CFG_HDR cfghdr1_2={CFG_CBOX,"显示文件",0,3};
|
||||
__root const unsigned int cfgcheck=2;
|
||||
__root const CFG_CBOX_ITEM cfgcbox1[3]={"0-23.tmo","0.tmo","0-23.tmo 和 0.tmo"};*/
|
||||
|
||||
__root const CFG_HDR cfghdr1_3={CFG_COORDINATES,"左上角坐标",0,0};
|
||||
__root const unsigned int cfgx=10;
|
||||
__root const unsigned int cfgy=30;
|
||||
|
||||
__root const CFG_HDR cfghdr1_4={CFG_COORDINATES,"右下角坐标",0,0};
|
||||
__root const unsigned int cfgx2=122;
|
||||
__root const unsigned int cfgy2=45;
|
||||
|
||||
__root const CFG_HDR cfghdr1_5={CFG_UINT,"字体颜色",0,24};
|
||||
__root const int unsigned cfgcolor=7;
|
||||
|
||||
__root const CFG_HDR cfghdr1_6={CFG_UINT,"字体描边颜色",0,24};
|
||||
__root const int unsigned cfgoutlcolor=1;
|
||||
|
||||
__root const CFG_HDR cfghdr1_7={CFG_UINT,"字号",0,15};
|
||||
__root const unsigned int cfgfont=8;
|
||||
|
||||
__root const CFG_HDR cfghdr_m10={CFG_LEVEL,"",0,0};
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
|
||||
__root const CFG_HDR cfghdr_m2={CFG_LEVEL,"按日期显示",1,0};
|
||||
|
||||
__root const CFG_HDR cfghdr2_1={CFG_CBOX,"按日期显示",0,2};
|
||||
__root const int unsigned cfgdat=1;
|
||||
__root const CFG_CBOX_ITEM cfgcbox2_1[2]={"no","yes"};
|
||||
|
||||
__root const CFG_HDR cfghdr2_2={CFG_COORDINATES,"左上角坐标",0,0};
|
||||
__root const unsigned int cfgxd=10;
|
||||
__root const unsigned int cfgyd=120;
|
||||
|
||||
__root const CFG_HDR cfghdr2_3={CFG_COORDINATES,"右下角坐标",0,0};
|
||||
__root const unsigned int cfgxd2=122;
|
||||
__root const unsigned int cfgyd2=135;
|
||||
|
||||
__root const CFG_HDR cfghdr2_4={CFG_UINT,"字体颜色",0,24};
|
||||
__root const int unsigned cfgdcolor=2;
|
||||
|
||||
__root const CFG_HDR cfghdr2_5={CFG_UINT,"字体描边颜色",0,24};
|
||||
__root const int unsigned cfgdoutlcolor=1;
|
||||
|
||||
__root const CFG_HDR cfghdr2_6={CFG_UINT,"字号",0,15};
|
||||
__root const int unsigned cfgdfont=8;
|
||||
|
||||
__root const CFG_HDR cfghdr_m20={CFG_LEVEL,"",0,0};
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
|
||||
__root const CFG_HDR cfghdr1={CFG_UINT,"显示时间从(0-23)",0,23};
|
||||
__root const unsigned int cfgtime1=6;
|
||||
|
||||
__root const CFG_HDR cfghdr2={CFG_UINT,"到(0-23)",0,23};
|
||||
__root const unsigned int cfgtime2=2;
|
||||
|
||||
__root const CFG_HDR cfghdr4={CFG_UINT,"更新频率(sec)",0,300};
|
||||
__root const int unsigned cfgupdate_time=300;
|
||||
13
ScreenNote/func.asm
Normal file
13
ScreenNote/func.asm
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
PUBLIC ELF_BEGIN
|
||||
RSEG ELFBEGIN:DATA
|
||||
ELF_BEGIN
|
||||
|
||||
|
||||
RSEG CODE:CODE
|
||||
PUBLIC kill_data
|
||||
CODE32
|
||||
kill_data
|
||||
BX R1
|
||||
|
||||
END
|
||||
|
||||
436
ScreenNote/main.c
Normal file
436
ScreenNote/main.c
Normal file
|
|
@ -0,0 +1,436 @@
|
|||
#include "..\inc\swilib.h"
|
||||
#include "conf_loader.h"
|
||||
|
||||
#define idlegui_id (((int *)data)[DISPLACE_OF_IDLEGUI_ID/4])
|
||||
CSM_DESC icsmd;
|
||||
void (*old_icsm_onClose)(CSM_RAM*);
|
||||
int (*old_icsm_onMessage)(CSM_RAM*,GBS_MSG*);
|
||||
|
||||
extern const unsigned int cfgx;
|
||||
extern const unsigned int cfgy;
|
||||
extern const unsigned int cfgx2;
|
||||
extern const unsigned int cfgy2;
|
||||
extern const unsigned int cfgcolor;
|
||||
extern const unsigned int cfgfont;
|
||||
extern const unsigned int cfgxd;
|
||||
extern const unsigned int cfgyd;
|
||||
extern const unsigned int cfgxd2;
|
||||
extern const unsigned int cfgyd2;
|
||||
extern const unsigned int cfgdcolor;
|
||||
extern const unsigned int cfgoutlcolor;
|
||||
extern const unsigned int cfgdoutlcolor;
|
||||
extern const unsigned int cfgdfont;
|
||||
extern const unsigned int cfgdate;
|
||||
extern const unsigned int cfgweek;
|
||||
//extern const unsigned int cfgcheck;
|
||||
extern const unsigned int cfgtime1;
|
||||
extern const unsigned int cfgtime2;
|
||||
extern const unsigned int cfgupdate_time;
|
||||
extern const char root_dir[128];
|
||||
|
||||
char filename[128];//星期
|
||||
char filenamed[128];//日期
|
||||
char tnote[128];
|
||||
char tnoted[128];
|
||||
int len_t;
|
||||
int len_td;
|
||||
|
||||
GBSTMR update_tmr;
|
||||
|
||||
|
||||
int MyIDLECSM_onMessage(CSM_RAM* data, GBS_MSG* msg)
|
||||
{
|
||||
int csm_result;
|
||||
csm_result=old_icsm_onMessage(data, msg);
|
||||
|
||||
void What_times();
|
||||
What_times();
|
||||
WSHDR *ws = AllocWS(256);
|
||||
WSHDR *wsd = AllocWS(256);
|
||||
str_2ws(ws,tnote,len_t);
|
||||
str_2ws(wsd,tnoted,len_td);
|
||||
|
||||
if (cfgweek && IsGuiOnTop(idlegui_id))
|
||||
{
|
||||
GUI *igui=GetTopGUI();
|
||||
if (igui)
|
||||
{
|
||||
void* idata = GetDataOfItemByID(igui, 2);
|
||||
if (idata)
|
||||
{
|
||||
// void *canvasdata=((void **)idata)[DISPLACE_OF_IDLECANVAS/4];
|
||||
// DrawCanvas(canvasdata,cfgx,cfgy,cfgx+(wstrlen(ws))*6,cfgy+12,1);
|
||||
DrawString(ws,cfgx,cfgy,cfgx2,cfgy2,cfgfont,34,GetPaletteAdrByColorIndex(cfgcolor),GetPaletteAdrByColorIndex(cfgoutlcolor));
|
||||
DrawString(wsd,cfgxd,cfgyd,cfgxd2,cfgyd2,cfgdfont,34,GetPaletteAdrByColorIndex(cfgdcolor),GetPaletteAdrByColorIndex(cfgdoutlcolor));
|
||||
}
|
||||
}
|
||||
}
|
||||
if(cfgscrsav && IsScreenSaver())
|
||||
DrawString(ws,cfgxs,cfgys,cfgxs2,cfgys2,cfgsfont,2,GetPaletteAdrByColorIndex(cfgscolor),GetPaletteAdrByColorIndex(23));
|
||||
//屏保显示
|
||||
FreeWS(ws);
|
||||
FreeWS(wsd);
|
||||
return(csm_result);
|
||||
}
|
||||
|
||||
|
||||
int Month_days(int mon,int years)
|
||||
{
|
||||
int mthdays;
|
||||
switch(mon)
|
||||
{
|
||||
// case 0 : mthdays=days; break;
|
||||
case 2 : mthdays=( ((years%4 == 0 && years%100 != 0) || years%400 == 0) ? 29 : 28 ); break;
|
||||
case 4 :
|
||||
case 6 :
|
||||
case 9 :
|
||||
case 11 : mthdays=30; break;
|
||||
default : mthdays=31;
|
||||
}
|
||||
return(mthdays);
|
||||
}
|
||||
|
||||
|
||||
int Get_week() //以2007.4.1 sunday为判断星期起始点,对于之前的日期不做判断
|
||||
{
|
||||
unsigned int days,daycout,months,mon,years,tweek;
|
||||
TTime time;
|
||||
TDate date;
|
||||
GetDateTime (&date,&time);
|
||||
|
||||
days=date.day;
|
||||
months=date.month;
|
||||
years=date.year;
|
||||
|
||||
daycout=days;
|
||||
mon=months;
|
||||
|
||||
int i;
|
||||
|
||||
if(years==2007)
|
||||
for(i=1;mon>4;i++)
|
||||
{
|
||||
mon=months-i;
|
||||
daycout+=Month_days(mon,years);
|
||||
}
|
||||
|
||||
if(years>2007)
|
||||
{
|
||||
daycout+=275; //从2007.4.1 sunday开始到2007年结束的天数
|
||||
for(i=1;mon>1;i++)//当年当日累计天数
|
||||
{
|
||||
mon=months-i;
|
||||
daycout+=Month_days(mon,years);
|
||||
}
|
||||
if(years>2008) //另加一年的天数
|
||||
daycout+=(years-2008)*((((years-1)%4 == 0 && (years-1)%100 != 0) || (years-1)%400 == 0) ? 366 : 365 );
|
||||
}
|
||||
|
||||
tweek=daycout%7;//0,星期6;//1,星期7;//2,星期1;//3,星期2;//......
|
||||
switch(tweek)
|
||||
{
|
||||
case 0 : tweek=6; break;
|
||||
case 1 : tweek=7; break;
|
||||
default : tweek-=1;
|
||||
}
|
||||
return(tweek);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
21,22,23,0,1,2;(3+2+2)/2
|
||||
23,0,1,2,3;(1+3+2)/2
|
||||
23456;(4+2)/2
|
||||
234567;(5+2)/2
|
||||
*/
|
||||
|
||||
void What_times()
|
||||
{
|
||||
unsigned int k=1;
|
||||
unsigned int time1,time2;
|
||||
time1=cfgtime1;
|
||||
time2=cfgtime2;
|
||||
volatile int hFiled = -1;
|
||||
void Todays_note();
|
||||
|
||||
TTime time;
|
||||
TDate date;
|
||||
GetDateTime (&date,&time);
|
||||
|
||||
if(cfgtime1>cfgtime2)
|
||||
k=(24-cfgtime1+cfgtime2+2)/2;
|
||||
else
|
||||
{
|
||||
if(cfgtime1<cfgtime2)
|
||||
k=(cfgtime2-cfgtime1+2)/2;
|
||||
else
|
||||
if(cfgtime1==cfgtime2 && cfgtime1==0)//between 0 and 0 ,全天显示。
|
||||
Todays_note();
|
||||
}
|
||||
|
||||
while(k)
|
||||
{
|
||||
if(time.hour==time1 || time.hour==time2)
|
||||
{
|
||||
TTime time;
|
||||
TDate date;
|
||||
GetDateTime (&date,&time);
|
||||
|
||||
unsigned int errcode;
|
||||
sprintf(filenamed,"%s\\0\\%d-%d,%d.tmo",root_dir,date.month,date.day,time.hour);//日期
|
||||
hFiled = fopen(filenamed,A_ReadWrite,P_READ+P_WRITE,&errcode);
|
||||
if(hFiled==-1)
|
||||
{
|
||||
sprintf(filenamed,"%s\\0\\%d-%d.tmo",root_dir,date.month,date.day);//日期
|
||||
hFiled = fopen(filenamed,A_ReadWrite,P_READ+P_WRITE,&errcode);
|
||||
}
|
||||
|
||||
Todays_note(hFiled);
|
||||
|
||||
break;
|
||||
}
|
||||
if(time1==24)
|
||||
time1=0;
|
||||
if(time2==0)
|
||||
time2=24;
|
||||
time1++;
|
||||
time2--;
|
||||
k--;
|
||||
}
|
||||
|
||||
if(!k || hFiled == -1)
|
||||
{
|
||||
WSHDR *ws=AllocWS(6);
|
||||
wsprintf(ws," ");
|
||||
|
||||
if(!k)
|
||||
ws_2str(ws,tnote,6);
|
||||
|
||||
ws_2str(ws,tnoted,6);
|
||||
FreeWS(ws);
|
||||
}
|
||||
GBS_StartTimerProc(&update_tmr,262*cfgupdate_time,What_times);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void Todays_note(volatile int hFiled)
|
||||
{
|
||||
unsigned int errcode;
|
||||
unsigned int week;
|
||||
int i=0;
|
||||
|
||||
TTime time;
|
||||
TDate date;
|
||||
GetDateTime (&date,&time);
|
||||
|
||||
week=Get_week();
|
||||
if(!cfgcheck || cfgcheck==2)
|
||||
sprintf(filename,"%s\\%d\\%d.tmo",root_dir,week,time.hour);//星期
|
||||
else
|
||||
if(cfgcheck==1)
|
||||
sprintf(filename,"%s\\%d\\0.tmo",root_dir,week);
|
||||
|
||||
volatile int hFile = -1;
|
||||
loop:
|
||||
hFile = fopen(filename,A_ReadWrite,P_READ+P_WRITE,&errcode);
|
||||
|
||||
if(hFile==-1)//星期
|
||||
{
|
||||
i++;
|
||||
if(i==1 && cfgcheck==2)
|
||||
{
|
||||
sprintf(filename,"%s\\%d\\0.tmo",root_dir,week);
|
||||
goto loop;
|
||||
}
|
||||
|
||||
char file[128];
|
||||
sprintf(file,"%s\\%d",root_dir,week);//
|
||||
|
||||
if(!isdir(file,&errcode))
|
||||
{
|
||||
mkdir(file,&errcode);
|
||||
}
|
||||
WSHDR *ws=AllocWS(6);
|
||||
wsprintf(ws," ");
|
||||
ws_2str(ws,tnote,6);
|
||||
FreeWS(ws);
|
||||
}
|
||||
else
|
||||
{
|
||||
int str_len = 0;
|
||||
fread(hFile,&str_len,2,&errcode);//
|
||||
WSHDR *ws=AllocWS(str_len);
|
||||
errcode=0;
|
||||
lseek(hFile,0,0,&errcode,&errcode); //
|
||||
fread(hFile,ws->wsbody,(str_len+1)*2,&errcode);
|
||||
len_t=(str_len)*4;
|
||||
ws_2str(ws,tnote,len_t);
|
||||
FreeWS(ws);
|
||||
}
|
||||
|
||||
if(hFiled==-1)//日期
|
||||
{
|
||||
WSHDR *ws=AllocWS(6);
|
||||
wsprintf(ws," ");
|
||||
ws_2str(ws,tnoted,6);
|
||||
FreeWS(ws);
|
||||
}
|
||||
else
|
||||
{
|
||||
int str_len = 0;
|
||||
fread(hFiled,&str_len,2,&errcode);//
|
||||
WSHDR *ws=AllocWS(str_len);
|
||||
errcode=0;
|
||||
lseek(hFiled,0,0,&errcode,&errcode); //
|
||||
fread(hFiled,ws->wsbody,(str_len+1)*2,&errcode);
|
||||
len_td=(str_len)*4;
|
||||
ws_2str(ws,tnoted,len_td);
|
||||
FreeWS(ws);
|
||||
}
|
||||
fclose(hFile, &errcode);
|
||||
fclose(hFiled, &errcode);
|
||||
}
|
||||
|
||||
void Today_note()
|
||||
{
|
||||
unsigned int i;
|
||||
char *s1;
|
||||
char *s11;
|
||||
char *s2;
|
||||
char *s22;
|
||||
char *check;//字符在文件中第一次出现的位置
|
||||
char *check1;
|
||||
char *check2;
|
||||
char times[16],time1,time11,time2,time22;
|
||||
unsigned int errcode;
|
||||
|
||||
TTime time;
|
||||
TDate date;
|
||||
GetDateTime (&date,&time);
|
||||
sprintf(times,">%02d:%02d-", time.hour,time.min);
|
||||
|
||||
volatile int hFilet = -1;
|
||||
sprintf(filename[0],"%s",today_dir);
|
||||
hFilet = fopen(filename[0],A_ReadWrite,P_READ+P_WRITE,&errcode);
|
||||
fread(hFilet,today_tmo,32767,&errcode);
|
||||
|
||||
if(hFilet==-1)//
|
||||
{
|
||||
Writ_first(0,times);
|
||||
}
|
||||
else
|
||||
{
|
||||
if(strstr(today_tmo,times))
|
||||
{
|
||||
check=strstr(today_tmo,times)+13;
|
||||
}
|
||||
else //判断时间范围
|
||||
{
|
||||
i=0; //判断时间1
|
||||
do //hour time1,check1
|
||||
{
|
||||
time1=time.hour-i;
|
||||
sprintf(s1,">%02d:",time1);
|
||||
// s1=strcat(">",time1);
|
||||
check1=strstr(today_tmo,s1);
|
||||
i++;
|
||||
}
|
||||
while(time1>0 || !check1);
|
||||
|
||||
if(check1 && i==0) //min //i=0,只有与当前的时间相符才有必要检查分钟min
|
||||
{
|
||||
do
|
||||
{
|
||||
time11=time.min-i;
|
||||
sprintf(s11,"%s%02d-",s1,time11);
|
||||
// s11=strcat (s1,":");
|
||||
// s1=strcat (s11,time11);
|
||||
check1=strstr(today_tmo,s11);
|
||||
i++;
|
||||
}
|
||||
while(time11>0 || !check1);
|
||||
} //判断时间1
|
||||
|
||||
if(check1)//判断时间2
|
||||
{
|
||||
i=0;
|
||||
do //hour time2,check2
|
||||
{
|
||||
time2=time.hour+i;
|
||||
sprintf(s2,"-%02d:",time2);
|
||||
// s2=strcat ("-",time2);
|
||||
check2=strstr(today_tmo,s2);
|
||||
i++;
|
||||
}
|
||||
while(time2<23 || !check2);
|
||||
|
||||
if(check1+6 !=check2)
|
||||
check2=0;
|
||||
|
||||
if(check2 && i==0) //min
|
||||
{
|
||||
do
|
||||
{
|
||||
time22=time.min+i;
|
||||
sprintf(s22,"%s%02d",s2,time22);
|
||||
// s22=strcat (s2,":");
|
||||
// s2=strcat (s22,time22);
|
||||
check2=strstr(today_tmo,s22);
|
||||
i++;
|
||||
}
|
||||
while(time22<59 || !check2);
|
||||
}
|
||||
} //判断时间2
|
||||
|
||||
if(check1 && check2)
|
||||
check=check1+13;
|
||||
} //判断时间范围
|
||||
|
||||
if (check && strncmp(check,"\n",16))
|
||||
{
|
||||
int str_len = 0;
|
||||
fread(hFilet,&str_len,2,&errcode);
|
||||
WSHDR *ws=AllocWS(str_len);
|
||||
|
||||
lseek((int)check,26,0,&errcode,&errcode);
|
||||
fread(hFilet,ws->wsbody,(str_len+1)*2,&errcode);
|
||||
CutWSTR(ws,str_len-13);
|
||||
len_t=(str_len-13)*4;
|
||||
ws_2str(ws,tnote,len_t);
|
||||
FreeWS(ws);
|
||||
}
|
||||
}
|
||||
//if(errcode){ ShowMSG(1,(int)"nnnn!");}
|
||||
fclose(hFilet, &errcode);
|
||||
// GBS_StartTimerProc(&update_tmr,262*cfgupdate_time,Today_note);
|
||||
}
|
||||
|
||||
|
||||
void MyIDLECSM_onClose(CSM_RAM *data)
|
||||
{
|
||||
extern void seqkill(void *data, void(*next_in_seq)(CSM_RAM *), void *data_to_kill, void *seqkiller);
|
||||
extern void *ELF_BEGIN;
|
||||
seqkill(data,old_icsm_onClose,&ELF_BEGIN,SEQKILLER_ADR());
|
||||
}
|
||||
|
||||
|
||||
|
||||
int main(void)
|
||||
{
|
||||
unsigned int err;
|
||||
InitConfig();
|
||||
|
||||
if(!isdir(root_dir,&err))
|
||||
{
|
||||
mkdir(root_dir,&err);
|
||||
}
|
||||
|
||||
CSM_RAM *icsm=FindCSMbyID(CSM_root()->idle_id);//
|
||||
memcpy(&icsmd,icsm->constr,sizeof(icsmd));//
|
||||
old_icsm_onMessage=icsmd.onMessage;//
|
||||
icsmd.onMessage=MyIDLECSM_onMessage;//
|
||||
icsm->constr=&icsmd;//
|
||||
GBS_StartTimerProc(&update_tmr,262*cfgupdate_time,What_times);//
|
||||
return 0;
|
||||
}
|
||||
2448
ScreenNote/newsgold/List/conf_loader.lst
Normal file
2448
ScreenNote/newsgold/List/conf_loader.lst
Normal file
File diff suppressed because it is too large
Load diff
535
ScreenNote/newsgold/List/config_data.lst
Normal file
535
ScreenNote/newsgold/List/config_data.lst
Normal file
|
|
@ -0,0 +1,535 @@
|
|||
##############################################################################
|
||||
# #
|
||||
# IAR ARM ANSI C/C++ Compiler V4.42A/W32 EVALUATION 14/May/2010 13:33:18 #
|
||||
# Copyright 1999-2005 IAR Systems. All rights reserved. #
|
||||
# #
|
||||
# Cpu mode = interwork #
|
||||
# Endian = little #
|
||||
# Stack alignment = 4 #
|
||||
# Source file = F:\SVN\cn\ScreenNote\config_data.c #
|
||||
# Command line = F:\SVN\cn\ScreenNote\config_data.c -lC #
|
||||
# F:\SVN\cn\ScreenNote\newsgold\List\ -lA #
|
||||
# F:\SVN\cn\ScreenNote\newsgold\List\ -o #
|
||||
# F:\SVN\cn\ScreenNote\newsgold\Obj\ -s9 --no_unroll #
|
||||
# --cpu_mode arm --endian little --cpu ARM926EJ-S #
|
||||
# --stack_align 4 --interwork -e --fpu None --segment #
|
||||
# code=CONFIG --segment data=CONFIG -I #
|
||||
# "F:\software\Embedded Workbench 4.0 #
|
||||
# Evaluation\ARM\INC\" --inline_threshold=2 #
|
||||
# List file = F:\SVN\cn\ScreenNote\newsgold\List\config_data.lst #
|
||||
# Object file = F:\SVN\cn\ScreenNote\newsgold\Obj\config_data.r79 #
|
||||
# #
|
||||
# #
|
||||
##############################################################################
|
||||
|
||||
F:\SVN\cn\ScreenNote\config_data.c
|
||||
1 #include "..\inc\cfg_items.h"
|
||||
2
|
||||
3
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
4 __root const CFG_HDR cfghdr0={CFG_STR_UTF8,"根目录",3,127};
|
||||
\ cfghdr0:
|
||||
\ 00000000 02000000 DC32 2
|
||||
\ 00000004 B8F9C4BFC2BC DC8 "\270\371\304\277\302\274"
|
||||
\ 00
|
||||
\ 0000000B 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00000000
|
||||
\ 0000001B 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000
|
||||
\ 00000024 030000007F00 DC32 3, 127
|
||||
\ 0000
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
5 __root const char root_dir[128]="0:\\Elf tool\\Snote";
|
||||
\ root_dir:
|
||||
\ 00000000 303A5C456C66 DC8 "0:\\Elf tool\\Snote"
|
||||
\ 20746F6F6C5C
|
||||
\ 536E6F746500
|
||||
\ 00000012 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00000000
|
||||
\ 00000022 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00000000
|
||||
\ 00000032 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00000000
|
||||
\ 00000042 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00000000
|
||||
\ 00000052 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00000000
|
||||
\ 00000062 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00000000
|
||||
\ 00000072 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 0000
|
||||
6
|
||||
7 // -------------------------------------------------------------------------- //
|
||||
8
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
9 __root const CFG_HDR cfghdr_m1={CFG_LEVEL,"按星期显示",1,0};
|
||||
\ cfghdr_m1:
|
||||
\ 00000000 09000000 DC32 9
|
||||
\ 00000004 B0B4D0C7C6DA DC8 "\260\264\320\307\306\332\317\324\312\276"
|
||||
\ CFD4CABE00
|
||||
\ 0000000F 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000000000
|
||||
\ 000000
|
||||
\ 00000024 010000000000 DC32 1, 0
|
||||
\ 0000
|
||||
10
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
11 __root const CFG_HDR cfghdr1_1={CFG_CBOX,"按星期显示",0,2};
|
||||
\ cfghdr1_1:
|
||||
\ 00000000 05000000 DC32 5
|
||||
\ 00000004 B0B4D0C7C6DA DC8 "\260\264\320\307\306\332\317\324\312\276"
|
||||
\ CFD4CABE00
|
||||
\ 0000000F 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000000000
|
||||
\ 000000
|
||||
\ 00000024 000000000200 DC32 0, 2
|
||||
\ 0000
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
12 __root const unsigned int cfgweek=1;
|
||||
\ cfgweek:
|
||||
\ 00000000 01000000 DC32 1
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
13 __root const CFG_CBOX_ITEM cfgcbox1_1[2]={"no","yes"};
|
||||
\ cfgcbox1_1:
|
||||
\ 00000000 6E6F00 DC8 "no"
|
||||
\ 00000003 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00000000
|
||||
\ 00000013 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00
|
||||
\ 00000020 79657300 DC8 "yes"
|
||||
\ 00000024 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00000000
|
||||
\ 00000034 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
14
|
||||
15 /*__root const CFG_HDR cfghdr1_2={CFG_CBOX,"显示文件",0,3};
|
||||
16 __root const unsigned int cfgcheck=2;
|
||||
17 __root const CFG_CBOX_ITEM cfgcbox1[3]={"0-23.tmo","0.tmo","0-23.tmo 和 0.tmo"};*/
|
||||
18
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
19 __root const CFG_HDR cfghdr1_3={CFG_COORDINATES,"左上角坐标",0,0};
|
||||
\ cfghdr1_3:
|
||||
\ 00000000 07000000 DC32 7
|
||||
\ 00000004 D7F3C9CFBDC7 DC8 "\327\363\311\317\275\307\327\370\261\352"
|
||||
\ D7F8B1EA00
|
||||
\ 0000000F 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000000000
|
||||
\ 000000
|
||||
\ 00000024 000000000000 DC32 0, 0
|
||||
\ 0000
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
20 __root const unsigned int cfgx=10;
|
||||
\ cfgx:
|
||||
\ 00000000 0A000000 DC32 10
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
21 __root const unsigned int cfgy=30;
|
||||
\ cfgy:
|
||||
\ 00000000 1E000000 DC32 30
|
||||
22
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
23 __root const CFG_HDR cfghdr1_4={CFG_COORDINATES,"右下角坐标",0,0};
|
||||
\ cfghdr1_4:
|
||||
\ 00000000 07000000 DC32 7
|
||||
\ 00000004 D3D2CFC2BDC7 DC8 "\323\322\317\302\275\307\327\370\261\352"
|
||||
\ D7F8B1EA00
|
||||
\ 0000000F 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000000000
|
||||
\ 000000
|
||||
\ 00000024 000000000000 DC32 0, 0
|
||||
\ 0000
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
24 __root const unsigned int cfgx2=122;
|
||||
\ cfgx2:
|
||||
\ 00000000 7A000000 DC32 122
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
25 __root const unsigned int cfgy2=45;
|
||||
\ cfgy2:
|
||||
\ 00000000 2D000000 DC32 45
|
||||
26
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
27 __root const CFG_HDR cfghdr1_5={CFG_UINT,"字体颜色",0,24};
|
||||
\ cfghdr1_5:
|
||||
\ 00000000 01000000 DC32 1
|
||||
\ 00000004 D7D6CCE5D1D5 DC8 "\327\326\314\345\321\325\311\253"
|
||||
\ C9AB00
|
||||
\ 0000000D 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000000000
|
||||
\ 0000000000
|
||||
\ 00000024 000000001800 DC32 0, 24
|
||||
\ 0000
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
28 __root const int unsigned cfgcolor=7;
|
||||
\ cfgcolor:
|
||||
\ 00000000 07000000 DC32 7
|
||||
29
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
30 __root const CFG_HDR cfghdr1_6={CFG_UINT,"字体描边颜色",0,24};
|
||||
\ cfghdr1_6:
|
||||
\ 00000000 01000000 DC32 1
|
||||
\ 00000004 D7D6CCE5C3E8 DC8 "\327\326\314\345\303\350\261\337\321\325\311\253"
|
||||
\ B1DFD1D5C9AB
|
||||
\ 00
|
||||
\ 00000011 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000000000
|
||||
\ 00
|
||||
\ 00000024 000000001800 DC32 0, 24
|
||||
\ 0000
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
31 __root const int unsigned cfgoutlcolor=1;
|
||||
\ cfgoutlcolor:
|
||||
\ 00000000 01000000 DC32 1
|
||||
32
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
33 __root const CFG_HDR cfghdr1_7={CFG_UINT,"字号",0,15};
|
||||
\ cfghdr1_7:
|
||||
\ 00000000 01000000 DC32 1
|
||||
\ 00000004 D7D6BAC500 DC8 "\327\326\272\305"
|
||||
\ 00000009 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00000000
|
||||
\ 00000019 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 0000000000
|
||||
\ 00000024 000000000F00 DC32 0, 15
|
||||
\ 0000
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
34 __root const unsigned int cfgfont=8;
|
||||
\ cfgfont:
|
||||
\ 00000000 08000000 DC32 8
|
||||
35
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
36 __root const CFG_HDR cfghdr_m10={CFG_LEVEL,"",0,0};
|
||||
\ cfghdr_m10:
|
||||
\ 00000000 09000000 DC32 9
|
||||
\ 00000004 00 DC8 ""
|
||||
\ 00000005 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00000000
|
||||
\ 00000015 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000
|
||||
\ 00000024 000000000000 DC32 0, 0
|
||||
\ 0000
|
||||
37
|
||||
38 // -------------------------------------------------------------------------- //
|
||||
39
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
40 __root const CFG_HDR cfghdr_m2={CFG_LEVEL,"按日期显示",1,0};
|
||||
\ cfghdr_m2:
|
||||
\ 00000000 09000000 DC32 9
|
||||
\ 00000004 B0B4C8D5C6DA DC8 "\260\264\310\325\306\332\317\324\312\276"
|
||||
\ CFD4CABE00
|
||||
\ 0000000F 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000000000
|
||||
\ 000000
|
||||
\ 00000024 010000000000 DC32 1, 0
|
||||
\ 0000
|
||||
41
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
42 __root const CFG_HDR cfghdr2_1={CFG_CBOX,"按日期显示",0,2};
|
||||
\ cfghdr2_1:
|
||||
\ 00000000 05000000 DC32 5
|
||||
\ 00000004 B0B4C8D5C6DA DC8 "\260\264\310\325\306\332\317\324\312\276"
|
||||
\ CFD4CABE00
|
||||
\ 0000000F 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000000000
|
||||
\ 000000
|
||||
\ 00000024 000000000200 DC32 0, 2
|
||||
\ 0000
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
43 __root const int unsigned cfgdat=1;
|
||||
\ cfgdat:
|
||||
\ 00000000 01000000 DC32 1
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
44 __root const CFG_CBOX_ITEM cfgcbox2_1[2]={"no","yes"};
|
||||
\ cfgcbox2_1:
|
||||
\ 00000000 6E6F00 DC8 "no"
|
||||
\ 00000003 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00000000
|
||||
\ 00000013 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00
|
||||
\ 00000020 79657300 DC8 "yes"
|
||||
\ 00000024 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00000000
|
||||
\ 00000034 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
45
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
46 __root const CFG_HDR cfghdr2_2={CFG_COORDINATES,"左上角坐标",0,0};
|
||||
\ cfghdr2_2:
|
||||
\ 00000000 07000000 DC32 7
|
||||
\ 00000004 D7F3C9CFBDC7 DC8 "\327\363\311\317\275\307\327\370\261\352"
|
||||
\ D7F8B1EA00
|
||||
\ 0000000F 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000000000
|
||||
\ 000000
|
||||
\ 00000024 000000000000 DC32 0, 0
|
||||
\ 0000
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
47 __root const unsigned int cfgxd=10;
|
||||
\ cfgxd:
|
||||
\ 00000000 0A000000 DC32 10
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
48 __root const unsigned int cfgyd=120;
|
||||
\ cfgyd:
|
||||
\ 00000000 78000000 DC32 120
|
||||
49
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
50 __root const CFG_HDR cfghdr2_3={CFG_COORDINATES,"右下角坐标",0,0};
|
||||
\ cfghdr2_3:
|
||||
\ 00000000 07000000 DC32 7
|
||||
\ 00000004 D3D2CFC2BDC7 DC8 "\323\322\317\302\275\307\327\370\261\352"
|
||||
\ D7F8B1EA00
|
||||
\ 0000000F 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000000000
|
||||
\ 000000
|
||||
\ 00000024 000000000000 DC32 0, 0
|
||||
\ 0000
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
51 __root const unsigned int cfgxd2=122;
|
||||
\ cfgxd2:
|
||||
\ 00000000 7A000000 DC32 122
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
52 __root const unsigned int cfgyd2=135;
|
||||
\ cfgyd2:
|
||||
\ 00000000 87000000 DC32 135
|
||||
53
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
54 __root const CFG_HDR cfghdr2_4={CFG_UINT,"字体颜色",0,24};
|
||||
\ cfghdr2_4:
|
||||
\ 00000000 01000000 DC32 1
|
||||
\ 00000004 D7D6CCE5D1D5 DC8 "\327\326\314\345\321\325\311\253"
|
||||
\ C9AB00
|
||||
\ 0000000D 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000000000
|
||||
\ 0000000000
|
||||
\ 00000024 000000001800 DC32 0, 24
|
||||
\ 0000
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
55 __root const int unsigned cfgdcolor=2;
|
||||
\ cfgdcolor:
|
||||
\ 00000000 02000000 DC32 2
|
||||
56
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
57 __root const CFG_HDR cfghdr2_5={CFG_UINT,"字体描边颜色",0,24};
|
||||
\ cfghdr2_5:
|
||||
\ 00000000 01000000 DC32 1
|
||||
\ 00000004 D7D6CCE5C3E8 DC8 "\327\326\314\345\303\350\261\337\321\325\311\253"
|
||||
\ B1DFD1D5C9AB
|
||||
\ 00
|
||||
\ 00000011 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000000000
|
||||
\ 00
|
||||
\ 00000024 000000001800 DC32 0, 24
|
||||
\ 0000
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
58 __root const int unsigned cfgdoutlcolor=1;
|
||||
\ cfgdoutlcolor:
|
||||
\ 00000000 01000000 DC32 1
|
||||
59
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
60 __root const CFG_HDR cfghdr2_6={CFG_UINT,"字号",0,15};
|
||||
\ cfghdr2_6:
|
||||
\ 00000000 01000000 DC32 1
|
||||
\ 00000004 D7D6BAC500 DC8 "\327\326\272\305"
|
||||
\ 00000009 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00000000
|
||||
\ 00000019 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 0000000000
|
||||
\ 00000024 000000000F00 DC32 0, 15
|
||||
\ 0000
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
61 __root const int unsigned cfgdfont=8;
|
||||
\ cfgdfont:
|
||||
\ 00000000 08000000 DC32 8
|
||||
62
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
63 __root const CFG_HDR cfghdr_m20={CFG_LEVEL,"",0,0};
|
||||
\ cfghdr_m20:
|
||||
\ 00000000 09000000 DC32 9
|
||||
\ 00000004 00 DC8 ""
|
||||
\ 00000005 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 00000000
|
||||
\ 00000015 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000
|
||||
\ 00000024 000000000000 DC32 0, 0
|
||||
\ 0000
|
||||
64
|
||||
65 // -------------------------------------------------------------------------- //
|
||||
66
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
67 __root const CFG_HDR cfghdr1={CFG_UINT,"显示时间从(0-23)",0,23};
|
||||
\ cfghdr1:
|
||||
\ 00000000 01000000 DC32 1
|
||||
\ 00000004 CFD4CABECAB1 DC8 "\317\324\312\276\312\261\274\344\264\323(0-23)"
|
||||
\ BCE4B4D32830
|
||||
\ 2D32332900
|
||||
\ 00000015 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000
|
||||
\ 00000024 000000001700 DC32 0, 23
|
||||
\ 0000
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
68 __root const unsigned int cfgtime1=6;
|
||||
\ cfgtime1:
|
||||
\ 00000000 06000000 DC32 6
|
||||
69
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
70 __root const CFG_HDR cfghdr2={CFG_UINT,"到(0-23)",0,23};
|
||||
\ cfghdr2:
|
||||
\ 00000000 01000000 DC32 1
|
||||
\ 00000004 B5BD28302D32 DC8 "\265\275(0-23)"
|
||||
\ 332900
|
||||
\ 0000000D 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000000000
|
||||
\ 0000000000
|
||||
\ 00000024 000000001700 DC32 0, 23
|
||||
\ 0000
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
71 __root const unsigned int cfgtime2=2;
|
||||
\ cfgtime2:
|
||||
\ 00000000 02000000 DC32 2
|
||||
72
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
73 __root const CFG_HDR cfghdr4={CFG_UINT,"更新频率(sec)",0,300};
|
||||
\ cfghdr4:
|
||||
\ 00000000 01000000 DC32 1
|
||||
\ 00000004 B8FCD0C2C6B5 DC8 "\270\374\320\302\306\265\302\312(sec)"
|
||||
\ C2CA28736563
|
||||
\ 2900
|
||||
\ 00000012 000000000000 DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
\ 000000000000
|
||||
\ 000000000000
|
||||
\ 00000024 000000002C01 DC32 0, 300
|
||||
\ 0000
|
||||
|
||||
\ In segment CONFIG_C, align 4, align-sorted, root
|
||||
74 __root const int unsigned cfgupdate_time=300;
|
||||
\ cfgupdate_time:
|
||||
\ 00000000 2C010000 DC32 300
|
||||
|
||||
|
||||
Segment part sizes:
|
||||
|
||||
Function/Label Bytes
|
||||
-------------- -----
|
||||
cfghdr0 44
|
||||
root_dir 128
|
||||
cfghdr_m1 44
|
||||
cfghdr1_1 44
|
||||
cfgweek 4
|
||||
cfgcbox1_1 64
|
||||
cfghdr1_3 44
|
||||
cfgx 4
|
||||
cfgy 4
|
||||
cfghdr1_4 44
|
||||
cfgx2 4
|
||||
cfgy2 4
|
||||
cfghdr1_5 44
|
||||
cfgcolor 4
|
||||
cfghdr1_6 44
|
||||
cfgoutlcolor 4
|
||||
cfghdr1_7 44
|
||||
cfgfont 4
|
||||
cfghdr_m10 44
|
||||
cfghdr_m2 44
|
||||
cfghdr2_1 44
|
||||
cfgdat 4
|
||||
cfgcbox2_1 64
|
||||
cfghdr2_2 44
|
||||
cfgxd 4
|
||||
cfgyd 4
|
||||
cfghdr2_3 44
|
||||
cfgxd2 4
|
||||
cfgyd2 4
|
||||
cfghdr2_4 44
|
||||
cfgdcolor 4
|
||||
cfghdr2_5 44
|
||||
cfgdoutlcolor 4
|
||||
cfghdr2_6 44
|
||||
cfgdfont 4
|
||||
cfghdr_m20 44
|
||||
cfghdr1 44
|
||||
cfgtime1 4
|
||||
cfghdr2 44
|
||||
cfgtime2 4
|
||||
cfghdr4 44
|
||||
cfgupdate_time 4
|
||||
|
||||
|
||||
1 212 bytes in segment CONFIG_C
|
||||
|
||||
1 212 bytes of CONST memory
|
||||
|
||||
Errors: none
|
||||
Warnings: none
|
||||
451
ScreenNote/newsgold/List/config_data.s79
Normal file
451
ScreenNote/newsgold/List/config_data.s79
Normal file
|
|
@ -0,0 +1,451 @@
|
|||
//////////////////////////////////////////////////////////////////////////////
|
||||
// /
|
||||
// IAR ARM ANSI C/C++ Compiler V4.42A/W32 EVALUATION 14/May/2010 13:33:18 /
|
||||
// Copyright 1999-2005 IAR Systems. All rights reserved. /
|
||||
// /
|
||||
// Cpu mode = interwork /
|
||||
// Endian = little /
|
||||
// Stack alignment = 4 /
|
||||
// Source file = F:\SVN\cn\ScreenNote\config_data.c /
|
||||
// Command line = F:\SVN\cn\ScreenNote\config_data.c -lC /
|
||||
// F:\SVN\cn\ScreenNote\newsgold\List\ -lA /
|
||||
// F:\SVN\cn\ScreenNote\newsgold\List\ -o /
|
||||
// F:\SVN\cn\ScreenNote\newsgold\Obj\ -s9 --no_unroll /
|
||||
// --cpu_mode arm --endian little --cpu ARM926EJ-S /
|
||||
// --stack_align 4 --interwork -e --fpu None /
|
||||
// --segment code=CONFIG --segment data=CONFIG -I /
|
||||
// "F:\software\Embedded Workbench 4.0 /
|
||||
// Evaluation\ARM\INC\" --inline_threshold=2 /
|
||||
// List file = F:\SVN\cn\ScreenNote\newsgold\List\config_data.s79 /
|
||||
// /
|
||||
// /
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
NAME config_data
|
||||
|
||||
RTMODEL "StackAlign4", "USED"
|
||||
RTMODEL "__cpu_mode", "__pcs__interwork"
|
||||
RTMODEL "__data_model", "absolute"
|
||||
RTMODEL "__endian", "little"
|
||||
RTMODEL "__rt_version", "6"
|
||||
|
||||
RSEG CSTACK:DATA:NOROOT(2)
|
||||
|
||||
PUBLIC cfgcbox1_1
|
||||
PUBLIC cfgcbox2_1
|
||||
PUBLIC cfgcolor
|
||||
PUBLIC cfgdat
|
||||
PUBLIC cfgdcolor
|
||||
PUBLIC cfgdfont
|
||||
PUBLIC cfgdoutlcolor
|
||||
PUBLIC cfgfont
|
||||
PUBLIC cfghdr0
|
||||
PUBLIC cfghdr1
|
||||
PUBLIC cfghdr1_1
|
||||
PUBLIC cfghdr1_3
|
||||
PUBLIC cfghdr1_4
|
||||
PUBLIC cfghdr1_5
|
||||
PUBLIC cfghdr1_6
|
||||
PUBLIC cfghdr1_7
|
||||
PUBLIC cfghdr2
|
||||
PUBLIC cfghdr2_1
|
||||
PUBLIC cfghdr2_2
|
||||
PUBLIC cfghdr2_3
|
||||
PUBLIC cfghdr2_4
|
||||
PUBLIC cfghdr2_5
|
||||
PUBLIC cfghdr2_6
|
||||
PUBLIC cfghdr4
|
||||
PUBLIC cfghdr_m1
|
||||
PUBLIC cfghdr_m10
|
||||
PUBLIC cfghdr_m2
|
||||
PUBLIC cfghdr_m20
|
||||
PUBLIC cfgoutlcolor
|
||||
PUBLIC cfgtime1
|
||||
PUBLIC cfgtime2
|
||||
PUBLIC cfgupdate_time
|
||||
PUBLIC cfgweek
|
||||
PUBLIC cfgx
|
||||
PUBLIC cfgx2
|
||||
PUBLIC cfgxd
|
||||
PUBLIC cfgxd2
|
||||
PUBLIC cfgy
|
||||
PUBLIC cfgy2
|
||||
PUBLIC cfgyd
|
||||
PUBLIC cfgyd2
|
||||
PUBLIC root_dir
|
||||
// F:\SVN\cn\ScreenNote\config_data.c
|
||||
// 1 #include "..\inc\cfg_items.h"
|
||||
// 2
|
||||
// 3
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 4 __root const CFG_HDR cfghdr0={CFG_STR_UTF8,"根目录",3,127};
|
||||
cfghdr0:
|
||||
DATA
|
||||
DC32 2
|
||||
DC8 "\270\371\304\277\302\274"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 3, 127
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 5 __root const char root_dir[128]="0:\\Elf tool\\Snote";
|
||||
root_dir:
|
||||
DATA
|
||||
DC8 "0:\\Elf tool\\Snote"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
// 6
|
||||
// 7 // -------------------------------------------------------------------------- //
|
||||
// 8
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 9 __root const CFG_HDR cfghdr_m1={CFG_LEVEL,"按星期显示",1,0};
|
||||
cfghdr_m1:
|
||||
DATA
|
||||
DC32 9
|
||||
DC8 "\260\264\320\307\306\332\317\324\312\276"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 1, 0
|
||||
// 10
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 11 __root const CFG_HDR cfghdr1_1={CFG_CBOX,"按星期显示",0,2};
|
||||
cfghdr1_1:
|
||||
DATA
|
||||
DC32 5
|
||||
DC8 "\260\264\320\307\306\332\317\324\312\276"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 2
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 12 __root const unsigned int cfgweek=1;
|
||||
cfgweek:
|
||||
DATA
|
||||
DC32 1
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 13 __root const CFG_CBOX_ITEM cfgcbox1_1[2]={"no","yes"};
|
||||
cfgcbox1_1:
|
||||
DATA
|
||||
DC8 "no"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 "yes"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
// 14
|
||||
// 15 /*__root const CFG_HDR cfghdr1_2={CFG_CBOX,"显示文件",0,3};
|
||||
// 16 __root const unsigned int cfgcheck=2;
|
||||
// 17 __root const CFG_CBOX_ITEM cfgcbox1[3]={"0-23.tmo","0.tmo","0-23.tmo 和 0.tmo"};*/
|
||||
// 18
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 19 __root const CFG_HDR cfghdr1_3={CFG_COORDINATES,"左上角坐标",0,0};
|
||||
cfghdr1_3:
|
||||
DATA
|
||||
DC32 7
|
||||
DC8 "\327\363\311\317\275\307\327\370\261\352"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 0
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 20 __root const unsigned int cfgx=10;
|
||||
cfgx:
|
||||
DATA
|
||||
DC32 10
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 21 __root const unsigned int cfgy=30;
|
||||
cfgy:
|
||||
DATA
|
||||
DC32 30
|
||||
// 22
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 23 __root const CFG_HDR cfghdr1_4={CFG_COORDINATES,"右下角坐标",0,0};
|
||||
cfghdr1_4:
|
||||
DATA
|
||||
DC32 7
|
||||
DC8 "\323\322\317\302\275\307\327\370\261\352"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 0
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 24 __root const unsigned int cfgx2=122;
|
||||
cfgx2:
|
||||
DATA
|
||||
DC32 122
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 25 __root const unsigned int cfgy2=45;
|
||||
cfgy2:
|
||||
DATA
|
||||
DC32 45
|
||||
// 26
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 27 __root const CFG_HDR cfghdr1_5={CFG_UINT,"字体颜色",0,24};
|
||||
cfghdr1_5:
|
||||
DATA
|
||||
DC32 1
|
||||
DC8 "\327\326\314\345\321\325\311\253"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 24
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 28 __root const int unsigned cfgcolor=7;
|
||||
cfgcolor:
|
||||
DATA
|
||||
DC32 7
|
||||
// 29
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 30 __root const CFG_HDR cfghdr1_6={CFG_UINT,"字体描边颜色",0,24};
|
||||
cfghdr1_6:
|
||||
DATA
|
||||
DC32 1
|
||||
DC8 "\327\326\314\345\303\350\261\337\321\325\311\253"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 24
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 31 __root const int unsigned cfgoutlcolor=1;
|
||||
cfgoutlcolor:
|
||||
DATA
|
||||
DC32 1
|
||||
// 32
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 33 __root const CFG_HDR cfghdr1_7={CFG_UINT,"字号",0,15};
|
||||
cfghdr1_7:
|
||||
DATA
|
||||
DC32 1
|
||||
DC8 "\327\326\272\305"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 15
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 34 __root const unsigned int cfgfont=8;
|
||||
cfgfont:
|
||||
DATA
|
||||
DC32 8
|
||||
// 35
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 36 __root const CFG_HDR cfghdr_m10={CFG_LEVEL,"",0,0};
|
||||
cfghdr_m10:
|
||||
DATA
|
||||
DC32 9
|
||||
DC8 ""
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 0
|
||||
// 37
|
||||
// 38 // -------------------------------------------------------------------------- //
|
||||
// 39
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 40 __root const CFG_HDR cfghdr_m2={CFG_LEVEL,"按日期显示",1,0};
|
||||
cfghdr_m2:
|
||||
DATA
|
||||
DC32 9
|
||||
DC8 "\260\264\310\325\306\332\317\324\312\276"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 1, 0
|
||||
// 41
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 42 __root const CFG_HDR cfghdr2_1={CFG_CBOX,"按日期显示",0,2};
|
||||
cfghdr2_1:
|
||||
DATA
|
||||
DC32 5
|
||||
DC8 "\260\264\310\325\306\332\317\324\312\276"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 2
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 43 __root const int unsigned cfgdat=1;
|
||||
cfgdat:
|
||||
DATA
|
||||
DC32 1
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 44 __root const CFG_CBOX_ITEM cfgcbox2_1[2]={"no","yes"};
|
||||
cfgcbox2_1:
|
||||
DATA
|
||||
DC8 "no"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 "yes"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
// 45
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 46 __root const CFG_HDR cfghdr2_2={CFG_COORDINATES,"左上角坐标",0,0};
|
||||
cfghdr2_2:
|
||||
DATA
|
||||
DC32 7
|
||||
DC8 "\327\363\311\317\275\307\327\370\261\352"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 0
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 47 __root const unsigned int cfgxd=10;
|
||||
cfgxd:
|
||||
DATA
|
||||
DC32 10
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 48 __root const unsigned int cfgyd=120;
|
||||
cfgyd:
|
||||
DATA
|
||||
DC32 120
|
||||
// 49
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 50 __root const CFG_HDR cfghdr2_3={CFG_COORDINATES,"右下角坐标",0,0};
|
||||
cfghdr2_3:
|
||||
DATA
|
||||
DC32 7
|
||||
DC8 "\323\322\317\302\275\307\327\370\261\352"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 0
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 51 __root const unsigned int cfgxd2=122;
|
||||
cfgxd2:
|
||||
DATA
|
||||
DC32 122
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 52 __root const unsigned int cfgyd2=135;
|
||||
cfgyd2:
|
||||
DATA
|
||||
DC32 135
|
||||
// 53
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 54 __root const CFG_HDR cfghdr2_4={CFG_UINT,"字体颜色",0,24};
|
||||
cfghdr2_4:
|
||||
DATA
|
||||
DC32 1
|
||||
DC8 "\327\326\314\345\321\325\311\253"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 24
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 55 __root const int unsigned cfgdcolor=2;
|
||||
cfgdcolor:
|
||||
DATA
|
||||
DC32 2
|
||||
// 56
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 57 __root const CFG_HDR cfghdr2_5={CFG_UINT,"字体描边颜色",0,24};
|
||||
cfghdr2_5:
|
||||
DATA
|
||||
DC32 1
|
||||
DC8 "\327\326\314\345\303\350\261\337\321\325\311\253"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 24
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 58 __root const int unsigned cfgdoutlcolor=1;
|
||||
cfgdoutlcolor:
|
||||
DATA
|
||||
DC32 1
|
||||
// 59
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 60 __root const CFG_HDR cfghdr2_6={CFG_UINT,"字号",0,15};
|
||||
cfghdr2_6:
|
||||
DATA
|
||||
DC32 1
|
||||
DC8 "\327\326\272\305"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 15
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 61 __root const int unsigned cfgdfont=8;
|
||||
cfgdfont:
|
||||
DATA
|
||||
DC32 8
|
||||
// 62
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 63 __root const CFG_HDR cfghdr_m20={CFG_LEVEL,"",0,0};
|
||||
cfghdr_m20:
|
||||
DATA
|
||||
DC32 9
|
||||
DC8 ""
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 0
|
||||
// 64
|
||||
// 65 // -------------------------------------------------------------------------- //
|
||||
// 66
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 67 __root const CFG_HDR cfghdr1={CFG_UINT,"显示时间从(0-23)",0,23};
|
||||
cfghdr1:
|
||||
DATA
|
||||
DC32 1
|
||||
DC8 "\317\324\312\276\312\261\274\344\264\323(0-23)"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 23
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 68 __root const unsigned int cfgtime1=6;
|
||||
cfgtime1:
|
||||
DATA
|
||||
DC32 6
|
||||
// 69
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 70 __root const CFG_HDR cfghdr2={CFG_UINT,"到(0-23)",0,23};
|
||||
cfghdr2:
|
||||
DATA
|
||||
DC32 1
|
||||
DC8 "\265\275(0-23)"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 23
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 71 __root const unsigned int cfgtime2=2;
|
||||
cfgtime2:
|
||||
DATA
|
||||
DC32 2
|
||||
// 72
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 73 __root const CFG_HDR cfghdr4={CFG_UINT,"更新频率(sec)",0,300};
|
||||
cfghdr4:
|
||||
DATA
|
||||
DC32 1
|
||||
DC8 "\270\374\320\302\306\265\302\312(sec)"
|
||||
DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
DC32 0, 300
|
||||
|
||||
RSEG CONFIG_C:CONST:SORT:ROOT(2)
|
||||
// 74 __root const int unsigned cfgupdate_time=300;
|
||||
cfgupdate_time:
|
||||
DATA
|
||||
DC32 300
|
||||
|
||||
END
|
||||
//
|
||||
// 1 212 bytes in segment CONFIG_C
|
||||
//
|
||||
// 1 212 bytes of CONST memory
|
||||
//
|
||||
//Errors: none
|
||||
//Warnings: none
|
||||
12572
ScreenNote/newsgold/List/func.lst
Normal file
12572
ScreenNote/newsgold/List/func.lst
Normal file
File diff suppressed because it is too large
Load diff
3193
ScreenNote/newsgold/List/main.lst
Normal file
3193
ScreenNote/newsgold/List/main.lst
Normal file
File diff suppressed because it is too large
Load diff
BIN
ScreenNote/newsgold/Obj/config_data.r79
Normal file
BIN
ScreenNote/newsgold/Obj/config_data.r79
Normal file
Binary file not shown.
BIN
ScreenNote/newsgold/Obj/func.r79
Normal file
BIN
ScreenNote/newsgold/Obj/func.r79
Normal file
Binary file not shown.
5
ScreenNote/newsgold/Obj/screen note.pbd
Normal file
5
ScreenNote/newsgold/Obj/screen note.pbd
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
This is an internal working file generated by the Source Browser.
|
||||
13:44 30s
|
||||
F:\SVN\cn\ScreenNote\newsgold\Obj\conf_loader.pbi
|
||||
F:\SVN\cn\ScreenNote\newsgold\Obj\config_data.pbi
|
||||
F:\SVN\cn\ScreenNote\newsgold\Obj\main.pbi
|
||||
292
ScreenNote/screen note.dep
Normal file
292
ScreenNote/screen note.dep
Normal file
|
|
@ -0,0 +1,292 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<project>
|
||||
<fileVersion>2</fileVersion>
|
||||
<fileChecksum>1759376450</fileChecksum>
|
||||
<configuration>
|
||||
<name>newsgold</name>
|
||||
<outputs>
|
||||
<file>$PROJ_DIR$\newsgold\Obj\conf_loader.r79</file>
|
||||
<file>$PROJ_DIR$\newsgold\List\conf_loader.lst</file>
|
||||
<file>$PROJ_DIR$\newsgold\List\conf_loader.s79</file>
|
||||
<file>$PROJ_DIR$\newsgold\List\main.lst</file>
|
||||
<file>$PROJ_DIR$\newsgold\Obj\screen note.pbd</file>
|
||||
<file>$PROJ_DIR$\newsgold\List\config_data.lst</file>
|
||||
<file>$PROJ_DIR$\newsgold\Obj\conf_loader.pbi</file>
|
||||
<file>$PROJ_DIR$\newsgold\Exe\screen note.elf</file>
|
||||
<file>$PROJ_DIR$\newsgold\List\func.lst</file>
|
||||
<file>$PROJ_DIR$\newsgold\Obj\func.r79</file>
|
||||
<file>$PROJ_DIR$\..\inc\sha.h</file>
|
||||
<file>$PROJ_DIR$\..\inc\zconf.h</file>
|
||||
<file>$PROJ_DIR$\newsgold\Obj\config_data.r79</file>
|
||||
<file>$PROJ_DIR$\newsgold\Obj\main.r79</file>
|
||||
<file>$PROJ_DIR$\..\inc\cfg_items.h</file>
|
||||
<file>$PROJ_DIR$\screen note.xcl</file>
|
||||
<file>$PROJ_DIR$\..\inc\rsa.h</file>
|
||||
<file>$PROJ_DIR$\..\inc\png.h</file>
|
||||
<file>$PROJ_DIR$\..\inc\crypto.h</file>
|
||||
<file>$PROJ_DIR$\newsgold\List\config_data.s79</file>
|
||||
<file>$PROJ_DIR$\newsgold\Obj\main.pbi</file>
|
||||
<file>$PROJ_DIR$\newsgold\List\screen note.map</file>
|
||||
<file>$PROJ_DIR$\..\inc\data_n.h</file>
|
||||
<file>$PROJ_DIR$\..\inc\obs.h</file>
|
||||
<file>$PROJ_DIR$\..\inc\md5.h</file>
|
||||
<file>$PROJ_DIR$\newsgold\Obj\config_data.pbi</file>
|
||||
<file>$PROJ_DIR$\..\inc\bn.h</file>
|
||||
<file>$PROJ_DIR$\newsgold\List\main.s79</file>
|
||||
<file>$PROJ_DIR$\..\inc\pngconf.h</file>
|
||||
<file>$PROJ_DIR$\..\inc\zlib.h</file>
|
||||
<file>$PROJ_DIR$\conf_loader.h</file>
|
||||
<file>$PROJ_DIR$\conf_loader.c</file>
|
||||
<file>$PROJ_DIR$\config_data.c</file>
|
||||
<file>$PROJ_DIR$\func.asm</file>
|
||||
<file>$PROJ_DIR$\main.c</file>
|
||||
<file>$PROJ_DIR$\..\inc\swilib.h</file>
|
||||
</outputs>
|
||||
<file>
|
||||
<name>[ROOT_NODE]</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>XLINK</name>
|
||||
<file> 21 7</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\newsgold\Obj\screen note.pbd</name>
|
||||
<inputs>
|
||||
<tool>
|
||||
<name>BILINK</name>
|
||||
<file> 6 25 20</file>
|
||||
</tool>
|
||||
</inputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\newsgold\Exe\screen note.elf</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>XLINK</name>
|
||||
<file> 21</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
<inputs>
|
||||
<tool>
|
||||
<name>XLINK</name>
|
||||
<file> 15 0 12 9 13</file>
|
||||
</tool>
|
||||
</inputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\conf_loader.c</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>ICCARM</name>
|
||||
<file> 0 1</file>
|
||||
</tool>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 6</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
<inputs>
|
||||
<tool>
|
||||
<name>ICCARM</name>
|
||||
<file> 30 35 17 29 11 28 16 26 18 10 24 22 23 14</file>
|
||||
</tool>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 30 35 17 29 11 28 16 26 18 10 24 22 23 14</file>
|
||||
</tool>
|
||||
</inputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\config_data.c</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>ICCARM</name>
|
||||
<file> 12 19 5</file>
|
||||
</tool>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 25</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
<inputs>
|
||||
<tool>
|
||||
<name>ICCARM</name>
|
||||
<file> 14</file>
|
||||
</tool>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 14</file>
|
||||
</tool>
|
||||
</inputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\func.asm</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>AARM</name>
|
||||
<file> 9 8</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\main.c</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>ICCARM</name>
|
||||
<file> 13 3</file>
|
||||
</tool>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 20</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
<inputs>
|
||||
<tool>
|
||||
<name>ICCARM</name>
|
||||
<file> 35 17 29 11 28 16 26 18 10 24 22 23 30</file>
|
||||
</tool>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 35 17 29 11 28 16 26 18 10 24 22 23 30</file>
|
||||
</tool>
|
||||
</inputs>
|
||||
</file>
|
||||
<forcedrebuild>
|
||||
<name>$PROJ_DIR$\conf_loader.c</name>
|
||||
<tool>ICCARM</tool>
|
||||
</forcedrebuild>
|
||||
<forcedrebuild>
|
||||
<name>$PROJ_DIR$\main.c</name>
|
||||
<tool>ICCARM</tool>
|
||||
</forcedrebuild>
|
||||
<forcedrebuild>
|
||||
<name>[MULTI_TOOL]</name>
|
||||
<tool>XLINK</tool>
|
||||
</forcedrebuild>
|
||||
</configuration>
|
||||
<configuration>
|
||||
<name>sgold</name>
|
||||
<outputs>
|
||||
<file>$PROJ_DIR$\..\inc\sha.h</file>
|
||||
<file>$PROJ_DIR$\..\inc\zconf.h</file>
|
||||
<file>$PROJ_DIR$\sgold\Obj\conf_loader.pbi</file>
|
||||
<file>$PROJ_DIR$\..\inc\cfg_items.h</file>
|
||||
<file>$PROJ_DIR$\..\inc\rsa.h</file>
|
||||
<file>$PROJ_DIR$\sgold\Obj\screen note.pbd</file>
|
||||
<file>$PROJ_DIR$\..\inc\png.h</file>
|
||||
<file>$PROJ_DIR$\..\inc\crypto.h</file>
|
||||
<file>$PROJ_DIR$\sgold\Obj\main.r79</file>
|
||||
<file>$PROJ_DIR$\sgold\Obj\config_data.r79</file>
|
||||
<file>$PROJ_DIR$\..\inc\data_n.h</file>
|
||||
<file>$PROJ_DIR$\..\inc\obs.h</file>
|
||||
<file>$PROJ_DIR$\..\inc\md5.h</file>
|
||||
<file>$PROJ_DIR$\..\inc\bn.h</file>
|
||||
<file>$PROJ_DIR$\..\inc\pngconf.h</file>
|
||||
<file>$PROJ_DIR$\..\inc\zlib.h</file>
|
||||
<file>$PROJ_DIR$\conf_loader.h</file>
|
||||
<file>$PROJ_DIR$\conf_loader.c</file>
|
||||
<file>$PROJ_DIR$\config_data.c</file>
|
||||
<file>$PROJ_DIR$\func.asm</file>
|
||||
<file>$PROJ_DIR$\main.c</file>
|
||||
<file>$PROJ_DIR$\..\inc\swilib.h</file>
|
||||
<file>$PROJ_DIR$\sgold\Obj\main.pbi</file>
|
||||
<file>$PROJ_DIR$\sgold\Exe\screen note.elf</file>
|
||||
<file>$PROJ_DIR$\sgold\Obj\config_data.pbi</file>
|
||||
<file>$PROJ_DIR$\sgold\Obj\func.r79</file>
|
||||
<file>$PROJ_DIR$\sgold\Obj\conf_loader.r79</file>
|
||||
</outputs>
|
||||
<file>
|
||||
<name>[ROOT_NODE]</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>XLINK</name>
|
||||
<file> 23</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\sgold\Obj\screen note.pbd</name>
|
||||
<inputs>
|
||||
<tool>
|
||||
<name>BILINK</name>
|
||||
<file> 2 24 22</file>
|
||||
</tool>
|
||||
</inputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\conf_loader.c</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>ICCARM</name>
|
||||
<file> 26</file>
|
||||
</tool>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 2</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
<inputs>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 16 21 6 15 1 14 4 13 7 0 12 10 11 3</file>
|
||||
</tool>
|
||||
</inputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\config_data.c</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>ICCARM</name>
|
||||
<file> 9</file>
|
||||
</tool>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 24</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
<inputs>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 3</file>
|
||||
</tool>
|
||||
</inputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\func.asm</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>AARM</name>
|
||||
<file> 25</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\main.c</name>
|
||||
<outputs>
|
||||
<tool>
|
||||
<name>ICCARM</name>
|
||||
<file> 8</file>
|
||||
</tool>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 22</file>
|
||||
</tool>
|
||||
</outputs>
|
||||
<inputs>
|
||||
<tool>
|
||||
<name>BICOMP</name>
|
||||
<file> 21 6 15 1 14 4 13 7 0 12 10 11 16</file>
|
||||
</tool>
|
||||
</inputs>
|
||||
</file>
|
||||
<forcedrebuild>
|
||||
<name>[MULTI_TOOL]</name>
|
||||
<tool>XLINK</tool>
|
||||
</forcedrebuild>
|
||||
</configuration>
|
||||
</project>
|
||||
|
||||
|
||||
1073
ScreenNote/screen note.ewd
Normal file
1073
ScreenNote/screen note.ewd
Normal file
File diff suppressed because it is too large
Load diff
2117
ScreenNote/screen note.ewp
Normal file
2117
ScreenNote/screen note.ewp
Normal file
File diff suppressed because it is too large
Load diff
9
ScreenNote/screen note.eww
Normal file
9
ScreenNote/screen note.eww
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<workspace>
|
||||
<project>
|
||||
<path>$WS_DIR$\screen note.ewp</path>
|
||||
</project>
|
||||
<batchBuild/>
|
||||
</workspace>
|
||||
|
||||
16
ScreenNote/screen note.xcl
Normal file
16
ScreenNote/screen note.xcl
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
-carm
|
||||
//-Z(CODE)START,CODE,SWITAB=00000000-FFFFFFFF
|
||||
//-Z(CODE)PATCH1=0x00004000-FFFFFFFF
|
||||
//-Z(CONST)INITTAB,DATA_ID,DATA_C=00000000-FFFFFFFF
|
||||
//-Z(DATA)DATA_I,DATA_Z,DATA_N=00000000-FFFFFFFF
|
||||
|
||||
|
||||
// Declare relocation areas for code, constants and data.
|
||||
-V(CODE)CODE_AREA,12
|
||||
-V(DATA)DATA_AREA,12
|
||||
//-U(CODE_AREA)0-FFFFFFFF=(CONST_AREA)0-FFFFFFFF
|
||||
|
||||
// Place segments into the relocation areas
|
||||
-Z(CODE_AREA)ELFBEGIN,DATA_ID,START,CODE,DATA_C,INITTAB,DATA_Z,DATA_N,CONFIG_C=0-FFFFFFFF
|
||||
-Z(DATA_AREA)DATA_I=0-FFFFFFFF
|
||||
// -Felf
|
||||
29
ScreenNote/settings/screen note.cspy.bat
Normal file
29
ScreenNote/settings/screen note.cspy.bat
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
@REM This bat file has been generated by the IAR Embeddded Workbench
|
||||
@REM C-SPY interactive debugger,as an aid to preparing a command
|
||||
@REM line for running the cspybat command line utility with the
|
||||
@REM appropriate settings.
|
||||
@REM
|
||||
@REM After making some adjustments to this file, you can launch cspybat
|
||||
@REM by typing the name of this file followed by the name of the debug
|
||||
@REM file (usually an ubrof file). Note that this file is generated
|
||||
@REM every time a new debug session is initialized, so you may want to
|
||||
@REM move or rename the file before making changes.
|
||||
@REM
|
||||
@REM Note: some command line arguments cannot be properly generated
|
||||
@REM by this process. Specifically, the plugin which is responsible
|
||||
@REM for the Terminal I/O window (and other C runtime functionality)
|
||||
@REM comes in a special version for cspybat, and the name of that
|
||||
@REM plugin dll is not known when generating this file. It resides in
|
||||
@REM the $TOOLKIT_DIR$\bin folder and is usually called XXXbat.dll or
|
||||
@REM XXXlibsupportbat.dll, where XXX is the name of the corresponding
|
||||
@REM tool chain. Replace the '<libsupport_plugin>' parameter
|
||||
@REM below with the appropriate file name. Other plugins loaded by
|
||||
@REM C-SPY are usually not needed by, or will not work in, cspybat
|
||||
@REM but they are listed at the end of this file for reference.
|
||||
|
||||
|
||||
"F:\software\Embedded Workbench 4.0 Evaluation\common\bin\cspybat" "F:\software\Embedded Workbench 4.0 Evaluation\ARM\bin\armproc.dll" "F:\software\Embedded Workbench 4.0 Evaluation\ARM\bin\armsim.dll" %1 --plugin "F:\software\Embedded Workbench 4.0 Evaluation\ARM\bin\<libsupport_plugin>" --backend -B "--endian" "little" "--cpu" "ARM926EJ-S" "--fpu" "None" "--proc_driver" "sim"
|
||||
|
||||
|
||||
@REM Loaded plugins:
|
||||
@REM armlibsupport.dll
|
||||
5
ScreenNote/settings/screen note.dbgdt
Normal file
5
ScreenNote/settings/screen note.dbgdt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<Project/>
|
||||
|
||||
|
||||
28
ScreenNote/settings/screen note.dni
Normal file
28
ScreenNote/settings/screen note.dni
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[Disassemble mode]
|
||||
mode=0
|
||||
[Breakpoints]
|
||||
Bp0=_ "Code" "{I:\桌面\临时\手机编程\SeCode\XTASK\gui.c}.126.1@1" 1 0 0 0 "" 0 ""
|
||||
Bp1=_ "Code" "{I:\桌面\临时\手机编程\SeCode\XTASK\gui.c}.128.1@1" 1 0 0 0 "" 0 ""
|
||||
Bp2=_ "Code" "{I:\桌面\临时\手机编程\SeCode\XTASK\gui.c}.136.1@1" 1 0 0 0 "" 0 ""
|
||||
Bp3=_ "Code" "{I:\桌面\临时\手机编程\SeCode\XTASK\gui.c}.180.1@1" 1 0 0 0 "" 0 ""
|
||||
Bp4=_ "Code" "{I:\桌面\临时\手机编程\SeCode\XTASK\gui.c}.168.1@1" 1 0 0 0 "" 0 ""
|
||||
Bp5=_ "Code" "{I:\桌面\临时\手机编程\SeCode\XTASK\gui.c}.179.1@1" 1 0 0 0 "" 0 ""
|
||||
Bp6=_ "Code" "{I:\桌面\临时\手机编程\SeCode\screen note\main.c}.41.1@1" 1 0 0 0 "" 0 ""
|
||||
Bp7=_ "Code" "{I:\桌面\临时\手机编程\SeCode\screen note\main.c}.77.1@1" 1 0 0 0 "" 0 ""
|
||||
Bp8=_ "Code" "{I:\桌面\临时\手机编程\SeCode\screen note\main.c}.94.1@1" 1 0 0 0 "" 0 ""
|
||||
Bp9=_ "Code" "{I:\桌面\临时\手机编程\SeCode\screen note\main.c}.145.1@1" 1 0 0 0 "" 0 ""
|
||||
Bp10=_ "Code" "{I:\桌面\临时\手机编程\SeCode\screen note\main.c}.215.1@1" 1 0 0 0 "" 0 ""
|
||||
Bp11=_ "Code" "{I:\桌面\临时\手机编程\SeCode\screen note\main.c}.418.1@1" 1 0 0 0 "" 0 ""
|
||||
Count=12
|
||||
[Interrupts]
|
||||
Enabled=1
|
||||
[MemoryMap]
|
||||
Enabled=0
|
||||
Base=0
|
||||
UseAuto=0
|
||||
TypeViolation=1
|
||||
UnspecRange=1
|
||||
ActionState=1
|
||||
[TraceHelper]
|
||||
Enabled=0
|
||||
ShowSource=1
|
||||
56
ScreenNote/settings/screen note.wsdt
Normal file
56
ScreenNote/settings/screen note.wsdt
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<Workspace>
|
||||
<ConfigDictionary>
|
||||
|
||||
<CurrentConfigs><Project>screen note/newsgold</Project></CurrentConfigs></ConfigDictionary>
|
||||
<Desktop>
|
||||
<Static>
|
||||
<Workspace>
|
||||
<ColumnWidths>
|
||||
|
||||
|
||||
|
||||
|
||||
<Column0>139</Column0><Column1>21</Column1><Column2>16</Column2><Column3>1242152</Column3></ColumnWidths>
|
||||
</Workspace>
|
||||
<Build>
|
||||
|
||||
|
||||
|
||||
|
||||
<PreferedWindows><Position>3</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows/></PreferedWindows><ColumnWidth0>20</ColumnWidth0><ColumnWidth1>723</ColumnWidth1><ColumnWidth2>193</ColumnWidth2><ColumnWidth3>48</ColumnWidth3></Build>
|
||||
</Static>
|
||||
<Windows>
|
||||
|
||||
|
||||
<Wnd2>
|
||||
<Tabs>
|
||||
<Tab>
|
||||
<Identity>TabID-31302-21932</Identity>
|
||||
<TabName>Workspace</TabName>
|
||||
<Factory>Workspace</Factory>
|
||||
<Session>
|
||||
|
||||
<NodeDict><ExpandedNode>screen note</ExpandedNode></NodeDict></Session>
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
<SelectedTab>0</SelectedTab></Wnd2><Wnd3><Tabs><Tab><Identity>TabID-791-9600</Identity><TabName>Build</TabName><Factory>Build</Factory><Session/></Tab></Tabs><SelectedTab>0</SelectedTab></Wnd3></Windows>
|
||||
<Editor>
|
||||
|
||||
|
||||
|
||||
|
||||
<Pane><Tab><Factory>TextEditor</Factory><Filename>F:\SVN\cn\ScreenNote\main.c</Filename><XPos>0</XPos><YPos>418</YPos><SelStart>9754</SelStart><SelEnd>9754</SelEnd></Tab><ActiveTab>0</ActiveTab><Tab><Factory>TextEditor</Factory><Filename>F:\SVN\cn\ScreenNote\config_data.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd></Tab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>
|
||||
<Positions>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Top><Row0><Sizes><Toolbar-003bebe8><key>iaridepm.enu1</key></Toolbar-003bebe8></Sizes></Row0></Top><Left><Row0><Sizes><Wnd2><Rect><Top>-2</Top><Left>-2</Left><Bottom>489</Bottom><Right>196</Right><x>-2</x><y>-2</y><xscreen>0</xscreen><yscreen>0</yscreen><sizeHorzCX>0</sizeHorzCX><sizeHorzCY>0</sizeHorzCY><sizeVertCX>0</sizeVertCX><sizeVertCY>0</sizeVertCY></Rect></Wnd2></Sizes></Row0></Left><Right><Row0><Sizes/></Row0></Right><Bottom><Row0><Sizes><Wnd3><Rect><Top>-2</Top><Left>-2</Left><Bottom>198</Bottom><Right>1282</Right><x>-2</x><y>-2</y><xscreen>1284</xscreen><yscreen>200</yscreen><sizeHorzCX>0</sizeHorzCX><sizeHorzCY>0</sizeHorzCY><sizeVertCX>0</sizeVertCX><sizeVertCY>0</sizeVertCY></Rect></Wnd3></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>
|
||||
</Desktop>
|
||||
</Workspace>
|
||||
|
||||
|
||||
5
ScreenNote/sgold/Obj/screen note.pbd
Normal file
5
ScreenNote/sgold/Obj/screen note.pbd
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
This is an internal working file generated by the Source Browser.
|
||||
13:32 00s
|
||||
F:\SVN\cn\ScreenNote\sgold\Obj\conf_loader.pbi
|
||||
F:\SVN\cn\ScreenNote\sgold\Obj\config_data.pbi
|
||||
F:\SVN\cn\ScreenNote\sgold\Obj\main.pbi
|
||||
68
ScreenNote/中文config_data.c
Normal file
68
ScreenNote/中文config_data.c
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
#include "..\inc\cfg_items.h"
|
||||
|
||||
|
||||
__root const CFG_HDR cfghdr0={CFG_STR_UTF8,"根目录",3,127};
|
||||
__root const char root_dir[128]="0:\\Elf tool\\Snote";
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
|
||||
__root const CFG_HDR cfghdr_m1={CFG_LEVEL,"按星期显示",1,0};
|
||||
|
||||
__root const CFG_HDR cfghdr1_1={CFG_CBOX,"按星期显示",0,2};
|
||||
__root const unsigned int cfgweek=1;
|
||||
__root const CFG_CBOX_ITEM cfgcbox1_1[2]={"no","yes"};
|
||||
|
||||
/*__root const CFG_HDR cfghdr1_2={CFG_CBOX,"显示文件",0,3};
|
||||
__root const unsigned int cfgcheck=2;
|
||||
__root const CFG_CBOX_ITEM cfgcbox1[3]={"0-23.tmo","0.tmo","0-23.tmo 和 0.tmo"};*/
|
||||
|
||||
__root const CFG_HDR cfghdr1_3={CFG_COORDINATES,"左上角坐标",0,0};
|
||||
__root const unsigned int cfgx=10;
|
||||
__root const unsigned int cfgy=30;
|
||||
|
||||
__root const CFG_HDR cfghdr1_4={CFG_COORDINATES,"右下角坐标",0,0};
|
||||
__root const unsigned int cfgx2=122;
|
||||
__root const unsigned int cfgy2=45;
|
||||
|
||||
__root const CFG_HDR cfghdr1_5={CFG_UINT,"颜色",0,24};
|
||||
__root const int unsigned cfgcolor=7;
|
||||
|
||||
__root const CFG_HDR cfghdr1_6={CFG_UINT,"字型",0,15};
|
||||
__root const unsigned int cfgfont=8;
|
||||
|
||||
__root const CFG_HDR cfghdr_m10={CFG_LEVEL,"",0,0};
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
|
||||
__root const CFG_HDR cfghdr_m2={CFG_LEVEL,"按日期显示",1,0};
|
||||
|
||||
__root const CFG_HDR cfghdr2_1={CFG_CBOX,"按日期显示",0,2};
|
||||
__root const int unsigned cfgdat=1;
|
||||
__root const CFG_CBOX_ITEM cfgcbox2_1[2]={"no","yes"};
|
||||
|
||||
__root const CFG_HDR cfghdr2_2={CFG_COORDINATES,"左上角坐标",0,0};
|
||||
__root const unsigned int cfgxd=10;
|
||||
__root const unsigned int cfgyd=120;
|
||||
|
||||
__root const CFG_HDR cfghdr2_3={CFG_COORDINATES,"右下角坐标",0,0};
|
||||
__root const unsigned int cfgxd2=122;
|
||||
__root const unsigned int cfgyd2=135;
|
||||
|
||||
__root const CFG_HDR cfghdr2_4={CFG_UINT,"颜色",0,24};
|
||||
__root const int unsigned cfgdcolor=2;
|
||||
|
||||
__root const CFG_HDR cfghdr2_5={CFG_UINT,"字型",0,15};
|
||||
__root const int unsigned cfgdfont=8;
|
||||
|
||||
__root const CFG_HDR cfghdr_m20={CFG_LEVEL,"",0,0};
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
|
||||
__root const CFG_HDR cfghdr1={CFG_UINT,"显示时间从(0-23)",0,23};
|
||||
__root const unsigned int cfgtime1=6;
|
||||
|
||||
__root const CFG_HDR cfghdr2={CFG_UINT,"到(0-23)",0,23};
|
||||
__root const unsigned int cfgtime2=2;
|
||||
|
||||
__root const CFG_HDR cfghdr4={CFG_UINT,"更新频率(sec)",0,300};
|
||||
__root const int unsigned cfgupdate_time=300;
|
||||
74
ScreenNote/英文config_data.c
Normal file
74
ScreenNote/英文config_data.c
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
#include "..\inc\cfg_items.h"
|
||||
|
||||
|
||||
__root const CFG_HDR cfghdr0={CFG_STR_UTF8,"Root Tir",3,127};
|
||||
__root const char root_dir[128]="0:\\Elf tool\\Snote";
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
|
||||
__root const CFG_HDR cfghdr_m1={CFG_LEVEL,"Week",1,0};
|
||||
|
||||
__root const CFG_HDR cfghdr1_1={CFG_CBOX,"\"Week\"\nShow",0,2};
|
||||
__root const unsigned int cfgweek=1;
|
||||
__root const CFG_CBOX_ITEM cfgcbox1_1[2]={"no","yes"};
|
||||
|
||||
__root const CFG_HDR cfghdr1_2={CFG_CBOX,"Show The File",0,3};
|
||||
__root const unsigned int cfgcheck=2;
|
||||
__root const CFG_CBOX_ITEM cfgcbox1[3]={"0-23.tmo","0.tmo","0-23.tmo and 0.tmo"};
|
||||
|
||||
__root const CFG_HDR cfghdr1_3={CFG_COORDINATES,"Left Position",0,0};
|
||||
__root const unsigned int cfgx=10;
|
||||
__root const unsigned int cfgy=30;
|
||||
|
||||
__root const CFG_HDR cfghdr1_4={CFG_COORDINATES,"Right Position",0,0};
|
||||
__root const unsigned int cfgx2=122;
|
||||
__root const unsigned int cfgy2=45;
|
||||
|
||||
__root const CFG_HDR cfghdr1_5={CFG_UINT,"Color",0,24};
|
||||
__root const int unsigned cfgcolor=7;
|
||||
|
||||
__root const CFG_HDR cfghdr1_6={CFG_UINT,"Outline Color",0,24};
|
||||
__root const int unsigned cfgoutlcolor=1;
|
||||
|
||||
__root const CFG_HDR cfghdr1_7={CFG_UINT,"Font",0,15};
|
||||
__root const unsigned int cfgfont=8;
|
||||
|
||||
__root const CFG_HDR cfghdr_m10={CFG_LEVEL,"",0,0};
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
|
||||
__root const CFG_HDR cfghdr_m2={CFG_LEVEL,"Date",1,0};
|
||||
|
||||
__root const CFG_HDR cfghdr2_1={CFG_CBOX,"\"Date\"\nShow",0,2};
|
||||
__root const int unsigned cfgdat=1;
|
||||
__root const CFG_CBOX_ITEM cfgcbox2_1[2]={"no","yes"};
|
||||
|
||||
__root const CFG_HDR cfghdr2_2={CFG_COORDINATES,"Left Position",0,0};
|
||||
__root const unsigned int cfgxd=10;
|
||||
__root const unsigned int cfgyd=120;
|
||||
|
||||
__root const CFG_HDR cfghdr2_3={CFG_COORDINATES,"Right Position",0,0};
|
||||
__root const unsigned int cfgxd2=122;
|
||||
__root const unsigned int cfgyd2=135;
|
||||
|
||||
__root const CFG_HDR cfghdr2_4={CFG_UINT,"Color",0,24};
|
||||
__root const int unsigned cfgdcolor=2;
|
||||
|
||||
__root const CFG_HDR cfghdr2_5={CFG_UINT,"Outline Color",0,24};
|
||||
__root const int unsigned cfgoutlcolor=1;
|
||||
|
||||
__root const CFG_HDR cfghdr2_6={CFG_UINT,"Font",0,15};
|
||||
__root const int unsigned cfgdfont=8;
|
||||
|
||||
__root const CFG_HDR cfghdr_m20={CFG_LEVEL,"",0,0};
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
|
||||
__root const CFG_HDR cfghdr1={CFG_UINT,"Showed Between(0-23)",0,23};
|
||||
__root const unsigned int cfgtime1=6;
|
||||
|
||||
__root const CFG_HDR cfghdr2={CFG_UINT,"and(0-23)",0,23};
|
||||
__root const unsigned int cfgtime2=2;
|
||||
|
||||
__root const CFG_HDR cfghdr4={CFG_UINT,"Update Time(sec)",0,300};
|
||||
__root const int unsigned cfgupdate_time=300;
|
||||
|
|
@ -20,15 +20,15 @@ typedef struct
|
|||
|
||||
int IDLECSM_ID=-1;
|
||||
|
||||
//=============================Проигрывание звука===============================
|
||||
//============================= Playing sound ==============================
|
||||
void Play(const char *fpath, const char *fname)
|
||||
{
|
||||
/*char s[40];
|
||||
sprintf(s,RamMediaIsPlaying());
|
||||
#ifdef NEWSGOLD
|
||||
if ((!IsCalling())&&(s[0]!=1)) // для SGOLD s[0]!=2
|
||||
if ((!IsCalling())&&(s[0]!=1)) // for SGOLD s[0]!=2
|
||||
#else
|
||||
if ((!IsCalling())&&(s[0]!=2)) // для SGOLD s[0]!=2
|
||||
if ((!IsCalling())&&(s[0]!=2)) // for SGOLD s[0]!=2
|
||||
#endif
|
||||
{*/
|
||||
|
||||
|
|
|
|||
27
inc/swilib.h
27
inc/swilib.h
|
|
@ -371,6 +371,21 @@ typedef struct
|
|||
unsigned const int *icon2;
|
||||
}REGEXPLEXT_ARM_NEW;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char timeout; // Timeout blanking
|
||||
char unk0; // Something zagadochtnoe, is 0 or 5
|
||||
char perm_illum; // It is not clear, it seems the level, which will be held when calling IllumTimeRequest,
|
||||
rewritten calling SaveMaxIllumination (), and for some reason limited to 80%
|
||||
char max_illum; // Well, here known as the brightness
|
||||
|
||||
//setIlluminationHook (50) // Set the backlight in the settings to 50%
|
||||
//SetIlluminationoffTimeout (10) // Put the timeout quenching illumination at 10 seconds
|
||||
//IllumTimeRequest (1, 1); // Initializes a constant illumination
|
||||
//IllumTimeRelease (1, 1); // Disables the constant illumination
|
||||
//Current values lights / timers are in the * RamScreenBrightness ()
|
||||
} LIGHT_PARAM;
|
||||
|
||||
#ifdef NEWSGOLD
|
||||
typedef struct
|
||||
{
|
||||
|
|
@ -4067,4 +4082,16 @@ __swi __arm void IllumTimeRequest(int TimeMode, int Counter);
|
|||
__swi __arm void IllumTimeRelease(int TimeMode, int Counter);
|
||||
//thumb
|
||||
//pattern_NSG=FE,BD,F8,B5,04,1C,16,1C,0D,1C,1F,1C,+3
|
||||
|
||||
#pragma swi_number=0x2E0
|
||||
__swi arm__ IMGHDR *GetIMGHDRFromThemeCache(int index)
|
||||
//thumb
|
||||
//pattern_NSG/ELKA=01,1C,??,??,1C,30,??,29,??,??,??,??,5B,5C,5B,00,9F,44,+1
|
||||
|
||||
#pragma swi_number=0x2E1
|
||||
__swi __arm int GetExtUidByFileName_ws(WSHDR * fn);
|
||||
//arm
|
||||
//pattern_ELKA=??,??,??,E9,??,??,??,E3,??,??,??,E1,??,??,??,0A,??,??,??,E1,??,??,??,FB,??,??,??,E3,??,??,??,0A,??,??,??,E1,??,??,??,FB,??,??,??,E1,??,??,??,E1,??,??,??,E3
|
||||
//thumb
|
||||
//pattern_NSG=09,B0,F0,BD,F8,B5,04,1C,00,20,+5
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue