The code required for setting the "nrflag" was not present, no wonder it didn't work. Here's the next try: CHDK-ixus220_elph300hs-101g-1.0.0.zip - 0.20MB
- I can only get 3 with the intervalometer before it reverts to DFS. From then on all shots >1sec have DFS until I reboot and reload script. If I start fresh after loading CHDK, I can take a single shot without <alt> turned on and will have no DFS but everything after that will have it on.
Do (some of the) other overrides also work like that, or is it just the dark frame setting?Anyway, I've relocated the dark frame override call, here's the third try: CHDK-ixus220_elph300hs-101g-1.0.0.zip - 0.20MB
Also if i shoot with <alt> turned off (need a better term for this) then I still get one shot without DFS before it kicks in again.
Wish i was still involved enough to understand the binaries you keep posting
Flash must be turned off or DFS runs regardless of settings.
any exposure greater than 15" still shows up in the display and EXIF as 15"
for example ISO i have set at "1" with a "100" factor but often get 160
Index: platform/ixus220_elph300hs/sub/101g/capt_seq.c===================================================================--- platform/ixus220_elph300hs/sub/101g/capt_seq.c (revision 1715)+++ platform/ixus220_elph300hs/sub/101g/capt_seq.c (working copy)@@ -2,7 +2,7 @@ #include "platform.h" #include "core.h" -static long *nrflag = (long*)(0x7514+0x8); // FF18775C & FF1877C8+static long *nrflag = (long*)(0x7200+0x08); #define NR_AUTO (0) // have to explictly reset value back to 0 to enable auto #define PAUSE_FOR_FILE_COUNTER 100 // Enable delay in capt_seq_hook_raw_here to ensure file counter is updated @@ -104,7 +104,7 @@ " LDR R8, [R0,#0xC] \n" " MOV R0, R8 \n" -" BL sub_FF98B018 \n"+" BL sub_FF98B018_my \n" // -> " BL capt_seq_hook_raw_here\n" // added @@ -333,6 +333,116 @@ ); } +++void __attribute__((naked,noinline)) sub_FF98B018_my( ) {+asm volatile (+ " STMFD SP!, {R3-R7,LR}\n"+ " LDR R5, =0x3D48C\n"+ " MOV R4, R0\n"+ " LDR R0, [R5, #0x28]\n"+ " LDR R7, =0x820C\n"+ " CMP R0, #0\n"+ " MOV R6, #0\n"+ " BNE loc_FF98B0A8\n"+ " LDR R0, [R5, #0xBC]\n"+ " CMP R0, #1\n"+ " BNE loc_FF98B090\n"+ " LDRH R0, [R5]\n"+ " CMP R0, R7\n"+ " LDRNEH R0, [R5, #0x96]\n"+ " CMPNE R0, #3\n"+ " LDRNE R0, [R4, #8]\n"+ " CMPNE R0, #1\n"+ " BLS loc_FF98B074\n"+ " BL sub_FF832D6C\n"+ " TST R0, #1\n"+ " BEQ loc_FF98B0A8\n"+ " BL sub_FF888708\n"+ " B loc_FF98B0A0\n"+"loc_FF98B074:\n"+ " MOV R0, #0xC\n"+ " BL sub_FF8886A0\n"+ " TST R0, #1\n"+ " BEQ loc_FF98B0A8\n"+ " BL sub_FF98B84C\n"+ " BL sub_FF8807AC\n"+ " B loc_FF98B0A0\n"+"loc_FF98B090:\n"+ " MOV R0, #0xC\n"+ " BL sub_FF8886A0\n"+ " TST R0, #1\n"+ " BEQ loc_FF98B0A8\n"+"loc_FF98B0A0:\n"+ " MOV R0, #1\n"+ " LDMFD SP!, {R3-R7,PC}\n"+"loc_FF98B0A8:\n"+ " BL sub_FF88318C\n"+ " LDR R0, [R5, #0x28]\n"+ " CMP R0, #0\n"+ " BNE loc_FF98B170\n"+ " MOV R0, R4\n"+ " BL sub_FF98A948\n"+ " TST R0, #1\n"+ " LDMNEFD SP!, {R3-R7,PC}\n"+ " MOV R0, R4\n"+ " BL sub_FF98ACFC\n"+ " BL sub_FF98B790\n"+ " LDR R0, [R5, #0xBC]\n"+ " CMP R0, #1\n"+ " BNE loc_FF98B0FC\n"+ " LDRH R0, [R5]\n"+ " CMP R0, R7\n"+ " LDRNEH R0, [R5, #0x96]\n"+ " CMPNE R0, #3\n"+ " LDRNE R0, [R4, #8]\n"+ " CMPNE R0, #1\n"+ " BHI loc_FF98B104\n"+"loc_FF98B0FC:\n"+ " MOV R0, #2\n"+ " BL sub_FF889FEC\n"+"loc_FF98B104:\n"+ " BL capt_seq_hook_set_nr\n" // ++ " LDRH R0, [R5]\n"+ " SUB R1, R0, #0x8200\n"+ " SUBS R1, R1, #0x2D\n"+ " BNE loc_FF98B160\n"+ " MOV R5, #1\n"+ " MOV R2, #2\n"+ " MOV R1, SP\n"+ " ADD R0, R2, #0x15C\n"+ " STR R5, [SP]\n"+ " BL sub_FF895E60\n"+ " TST R0, #1\n"+ " MOVNE R1, #0xBC\n"+ " LDRNE R0, =0xFF98B28C\n"+ " BLNE sub_FF81EC88\n"+ " LDRH R0, [SP]\n"+ " CMP R0, #1\n"+ " BLS loc_FF98B158\n"+ " MOV R0, R4\n"+ " STR R5, [R4, #0xE4]\n"+ " BL sub_FFAF1030\n" // nr-related (read)+ " B loc_FF98B168\n"+"loc_FF98B158:\n"+ " MOV R0, #0\n"+ " STR R0, [R4, #0xE4]\n"+"loc_FF98B160:\n"+ " MOV R0, R4\n"+ " BL sub_FFAF0C70\n" // nr-related (read)+"loc_FF98B168:\n"+ " MOV R6, R0\n"+ " B loc_FF98B180\n"+"loc_FF98B170:\n"+ " LDR R0, =0x71AC\n"+ " LDR R0, [R0]\n"+ " CMP R0, #0\n"+ " MOVNE R6, #0x1D\n"+"loc_FF98B180:\n"+ " MOV R0, R6\n"+ " LDMFD SP!, {R3-R7,PC}\n"+ );+} /*************************************************************/ void __attribute__((naked,noinline)) exp_drv_task(){
QuoteWish i was still involved enough to understand the binaries you keep postingI publish my changes to document what I did (and to give a clue to the next person who will look into this).One more thing: does the lockup with interval.lua only happen when you pause the running script (by exiting ALT mode), take pictures by hand, and try to resume by entering ALT mode again? If so, does it happen with the official release?
@imtheguySome additional questions.When the dark frame override stops working- do the other overrides (like ISO, Tv) still work?- does RAW work?
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