One more thing... is there any way to have the camera always start in record mode when pressing the ON/OFF button? It's annoying to have to hold the button down. Is this standard behavior for CHDK?
You might want to explain in what way it failed.
The camera starts as always ie * long press on/off button starts cam shoot mode
@peregrineOK, here's what i found:1. the patch is successfully applied2. on compilation, the #ifdef .... #else ... #endif somehow does not get properly interpreted 3. if i take out the #ifdef etc. (just leaving the code line for reverse boot behaviour) it works
.....- *(int*)(0x24C0+4)= (*(int*)0xC0220128)&1 ? 0x2000000 : 0x1000000; // replacement of sub_FF821BD4 for correct power-on.+// reverses the boot logic: cam starts in REC/SHOOT mode unless PLAY button long pressed+ *(int*)(0x24C0+4)= (*(int*)0xC0220128)&1 ? 0x1000000 : 0x2000000; // replacement of sub_FF821BD4 for correct power-on.+// normal boot logic: cam starts in PLAY/REVIEW mode unless ON/OFF button long pressed+// *(int*)(0x24C0+4)= (*(int*)0xC0220128)&1 ? 0x2000000 : 0x1000000; // replacement of sub_FF821BD4 for correct power-on......