Reviewing movie_rec.c (100c vs 101a), and I'm seeing a lot of addresses that I'm not sure about.problem is, when I diff movie_rec.c 100c vs 101a, I see a TON of unconverted addresses in that range. how can we narrow down exactly where the insert took place?on second thought, I suppose that the movie recording task likely is the change that pushed other stubs back in the binary...
void __attribute__((naked,noinline)) movie_record_task(){ //ff985e5c IXUS220: DONEvoid __attribute__((naked,noinline)) sub_FF985498_my(){void __attribute__((naked,noinline)) sub_FFAE6A58_my(){// FFAE6A58 IXUS220: DONE
Code: [Select]void __attribute__((naked,noinline)) movie_record_task(){ //ff985e5c IXUS220: DONEvoid __attribute__((naked,noinline)) sub_FF985498_my(){1.01c:void __attribute__((naked,noinline)) sub_FFAE6A58_my(){1.00c and 1.01a:void __attribute__((naked,noinline)) sub_FFAE6A44_my(){Find those in YOUR firmware, export them, build your own movie_rec.c and then make the small changes for that to hook into CHDK.
void __attribute__((naked,noinline)) movie_record_task(){ //ff985e5c IXUS220: DONEvoid __attribute__((naked,noinline)) sub_FF985498_my(){1.01c:void __attribute__((naked,noinline)) sub_FFAE6A58_my(){1.00c and 1.01a:void __attribute__((naked,noinline)) sub_FFAE6A44_my(){
I stepped through movie_rec.c with disassembled Firmware in parallel in Notepad++. That's how I could find differences of movie_rec.c from original firmware. I did this for 100c, 101a and 101c.
I didn't know how powerful CHDK-PT can be. During my next port ( ) I will use more of the CHDK-PT advantages.
Don't feel bad about it. It'd be hard to use CHDK-PT effectively unless you understand what it's doing. It was a magic box when I first tried to use it a couple days ago. After these discussions, I have a much better idea how it works.
Started by acseven General Discussion and Assistance
Started by ELPH300 « 1 2 » Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by VincentD « 1 2 3 » General Help and Assistance on using CHDK stable releases
Started by yoshiharra General Help and Assistance on using CHDK stable releases
Started by igb General Help and Assistance on using CHDK stable releases