Does CreateTask patch work if hook_CreateTask() is placed at ROM?
// Install CreateTask patch" LDR R0, =patch_CreateTask\n" // Patch data" LDM R0, {R1,R2}\n" // Get two patch instructions" LDR R0, =hook_CreateTask\n" // Address to patch" STM R0, {R1,R2}\n" // Store patch instructions
Yes, you are right I mean this code. Thanks. CreateTask() function in SX400 is placed in ROM. So how to create hook for it? Using old hook method like*(int*)0x1938 = (int)taskCreateHook is not successful.
Can you share the fw dump?
http://chdk.setepontos.com/index.php?topic=11973.0
Started by splitbrain General Help and Assistance on using CHDK stable releases
Started by dizzyjc General Help and Assistance on using CHDK stable releases
Started by outslider Archived Issues
Started by tuomasr General Discussion and Assistance
Started by m3babyjesus « 1 2 3 4 5 » General Help and Assistance on using CHDK stable releases