- 积分
- 412
- 实力分
- 点
- 金钱数
- 两
- 技术分
- 分
- 贡献分
- 分
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
- ;SL75 - Master-patch v14
- ;(c) avkiev
- ;(r) 1nvisible, chaos
- ;(!) Library, API, SWI
- ;Run Scaner on startup
- 2FF8E4: 0021 BEDF ; SL7C v47 
- ;Run Scaner instead of REMOTE_SYNCHRONIZATION 刷新入口
- 45D964: 0xA0344139 0xA0060C91 ; SL75v47
- +0060000
- #pragma enable old_equal_ff
- ;Bufferizator
- C00: DEB5071CC7DFE4800468002C1CD0103C
- C10: 10342668002E18D0BE42F9D16668002E
- C20: 09D189B03A1C684685A116DF6846211D
- C30: 11DF09B0666834788020204004D0B6DF
- C40: 01218140214000D10026301CDEBD
- ;Dispatcher
- C50: FEB5061CC7DFE4800568103D10352868
- C60: 00280FD0E878B042F8D1A86860B40299
- C70: 039A049B059C069D079E089F804760BC
- C80: 0028EBE7FEBD
- ;Scaner
- C90: F0B5C7DFE480051C0468002C1CD0103C
- CA0: 1034216800290DD0E06800F097F8090E
- CB0: 05D0010EA82902D10321884315DF6068
- CC0: 15DFEDE7286815DF0020286000210022
- CD0: 032304B432DF04BCC7DFDF8000782328
- CE0: 49D00124A00214DF061C2E60E00314DF
- CF0: 051C60B410214A03474C464FA41AA418
- D00: 2068424B9842FAD03F4B9842F7D03C4B
- D10: 9842F4D03B4B9842F1D0A3182068B842
- D20: 05D100F037F800F04CF80F2084436418
- D30: 9C42F3D1394B9C42E1D149A010A10131
- D40: C3DF4FA01BA10131C3DF00203060009E
- D50: 33A0032109020131012212026B460ADF
- D60: 041C311CAA1B6B460CDF201C69460DDF
- D70: 301C15DF02B00021F0BD
- ;Auxiliary
- D80: 00B5041C2349043422688A42FBD100F0
- D90: 01F817E002B56168316000207060A068
- DA0: 00F01CF8B060E06800F021F8F0601034
- DB0: 103602BD01B5041C00F003F801BC15DF
- DC0: 00BD00B520782870013401350028F9D1
- DD0: 013D0A2028706870023500BDFEB500F0
- DE0: 06F801B402D0090E00D18047FFBD02B5
- DF0: 002803D0010E01D1201A013002BD
- ;Data
- E00: "EELI","EEFU","FFS_","FFS",00 ; Skip 128K
- E10: 0x0000BBBB,0xB1C2D3E4,0xA0000000,0xA2000000 ; LGP, Magic, From, To
- E20: "0:\\Misc\\Patches\\PTC\\configs.txt",00
- E40: "0:\\Misc\\Patches\\PTC\\%08x.ptc",00
- E60: "0:\\Misc\\Patches\\Dis\\*.dis",00
- E80: "0:\\Misc\\Patches\\Dis\\*.cfg",00
- #pragma disable old_equal_ff
- CD0: 03 03 ; Ringtone after Refresher
- E18: 0xA0000000 0xA0060000 ; From
- E1C: 0xA2000000 0xA0080000 ; To
- +0
- ;Bufferizator. PatchTable must exists before calling.
- ;All patches call Bufferizator for getting own options and buffer.
- ;Input: R0 - PatchId
- ;If buffer already was allocated - return it in R0 (Z=0).
- ;If else - tryes allocate buffer by rea由于非常钦佩楼主,不得不说声好! accor由于非常钦佩楼主,不得不说声好! ptc-file (0:\Misc\Patches\%08x.ptc).
- ;If success - return it in R0 (Z=0), and write it in PatchTable.
- ;If no - return 0 in R0 (Z=1).
- ;If patch was disabled globally or in current profile - set Z=1.
- ;Example of calling Bufferizator from patch:
- ; LoadReg 0, config+4 ; r0-PatchId
- ; CallLib Bufferizator
- ; beq NoPatch
- ;
- ;Refresher. It is part of Scaner. You should assign it to any button (Remote Synchronization).
- ;It need for hot-refreshing patches options after running MasterMidlet.
- ;After calling Bufferizator - memory will allocate again, by help rea由于非常钦佩楼主,不得不说声好! accor由于非常钦佩楼主,不得不说声好! ptc-file.
- ;
- ;Scaner. Scans whole flash, searchs configs, merge theirs in file (max=32K), runs theirs startups,
- ;creates PatchTable (max=1K=64 patches), address of PatchTable writes in RAM.
- ;If "#" pressed during phone's startup - Scaner won't start. Safe mode...
- ;
- ;Dispatcher
- ;It is procedure from master-patch, which calls all patches with ID's high byte equal to parameter, which passed via R0.
- ;It needs for calling several patches from one entrypoint.
复制代码- ;SL75 - Pictures add-on v5
- ;(c) avkiev
- ;(r) 1nvisible
- ;(p) rEgSpy
- ;(!) Master
- A4316C: 54009FE51EFF2FE1 04F01FE5,0xA0063691 ; SL7C v47
- #pragma enable old_equal_ff
- 0063600: 00B50120800314DF041CC7DFE4804460
- 0063610: 2BA255689668D7682EA003A10131C3DF
- 0063620: 0020606000BDC04600B5421800231038
- 0063630: 10309042F6D24168A942F9D18168B142
- 0063640: F6D1C168B942F3D16380018A21806060
- 0063650: 011C20318161083401332030E8E7
- 0063660: 00B5C7DFE480051D2C68002C08D06068
- 0063670: 002805D0618808340029F8D115DFF6E7
- 0063680: 286815DF00BD
- 0063690: 00B5C7DFE4804268002A08D011885068
- 00636A0: 0832002803D0A142F8D1143018BD0848
- 00636B0: 00BD
- 00636C0: "GraphicPatchFile"
- 00636D0: 0x000006DC,"0:\\Misc\\Patches\\GPF\\*",00
- 00636F0: 0xB1C2D3E4,0x0000AB07,0x000000F0,0x00000090,00
- #pragma disable old_equal_ff
- /*
- This patch made for changing and ad由于非常钦佩楼主,不得不说声好! pictures in the mobile.
- After installing this patch for changing some picture you should:
-  1. Prepare gpf-file.
-  2. Upload it into mobile to folder "0:\Misc\Patches\GPF" (or to subfolder).
-  3. Run Refresher.
- That's all ! No more graph-patches, lets work with gpaph-files.
- PS. Graph-file can have any name. But, if it begins with underscore - this file will be skipped.
- Format of gpf-file:
- 0x00: db "GraphicPatchFile"
- 0x10: dd Number, Description, 0, 0
- 0x20: db data...
- Description is 4 bytes: X, Y, Compression&Bits, 0
- Merging several such files gives to us gpn-file. It can be processed too.
- For creating gpf-file:
- 1. Upload your picture in some fubu using SPC3.
- 2. Open this fubu in Smelter.
- 3. Pictures - RightClick - Save picture as GPF.
- */
复制代码 |
评分
-
查看全部评分
|