; ** x65 - MasterPatch v5 **
; (c) avkiev (r) 1nvisible, chaos (p) BuG (!) Library
;This patch is made to control other patches' settings from mobile without connecting it to the computer.
;You must create the folder 0:\Misc\Patches\ptc before installing it
;Run Scanner on startup
;Entrypoint must be aligned to word (4 bytes). If no - add or subtract 2
16327E0: E76227636763A763 00498847,0xA0FC0C81 ; M65v50
;16977DC: 27636763A763E763 00498847,0xA0FC0C81 ; S65v58
;1632D98: E76227636763A763 00498847,0xA0FC0C81 ; CX65v50
;02A4FF0: 27636763A763E763 00498847,0xA0FC0C81 ; SK65v43
;1710644: 27636763A763E763 00498847,0xA0FC0C81 ; CX70v50
0FC0D98: 0xA0000000 0xA0FC0000 ; From
0FC0D9C: 0xA2000000 0xA0FE0000 ; To
;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 and R6 (Z=0).
;If else - tryes allocate buffer by reading according ptc-file (0:\Misc\Patches\%08x.ptc).
;If success - return it in R0 and R6 (Z=0), and write it in PatchTable.
;If no - return 0 in R0 and R6 (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
; bl Bufferizator
; beq NoPatch
;Refresher. You should assign it by help DSE to any button.
;It need for hot-refreshing patches options after running MasterMidlet.
;After calling Bufferizator - memory will allocate again, by help reading according ptc-file.
;Scanner. Scans whole flash, searchs configs, merge theirs in file (max=16K), runs theirs startups,
;creates PatchTable (max=1K=64 patches), address of PatchTable writes in RAM.
Non puoi inserire nuovi Topic in questo forum Non puoi rispondere ai Topic in questo forum Non puoi modificare i tuoi messaggi in questo forum Non puoi cancellare i tuoi messaggi in questo forum Non puoi votare nei sondaggi in questo forum
Copyright 2003 - 2011 by Carteny Productions - All Rights Reserved All logos and trademarks in this site are property of their respective owner. The comments are property of their posters.
Stany and Chrys Carteny