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?
As far as I know, yes, it's standard
*(int*)(0x25BC+4)= (*(int*)0xC0220134)&1 ? 0x2000000 : 0x1000000; // replacement of sub_FF8218C8 for correct power-on.
BTW Is there any technical reason the default boot logic could be not reversed ? I mean
I'd probably take the second option, as it would reduce startup time a little.
Quote from: whim on 24 / October / 2009, 02:01:39BTW Is there any technical reason the default boot logic could be not reversed ? I meanNo really serious ones that I can think of, but the current decision happens long before the cfg has been loaded.Quote from: Ezzelin on 24 / October / 2009, 02:41:31I'd probably take the second option, as it would reduce startup time a little.It wouldn't be faster than holding the button down (for those cameras that implement it properly, some don't). More convenient or comfortable maybe, but not faster.IMO, once you are in the habit of holding the button down until the lens starts to extract, the current system works quite well.
// *(int*)0x2394= (*(int*)0xC02200F8)&1 ? 0x200000 : 0x100000; // replacement of sub_FF821958 for correct power-on. *(int*)0x2394 = (*(int*)0xC02200F8)&1 ? 0x100000 : 0x200000; // replacement of sub_FF821958 for correct power-on.
Now I can not use the shortcut shutter override function, every time stands "no overrides" on the display.
edit2: seeing that the patch actually gets downloaded, can you report if it works for your cam ? TIA PM me if you would like other binaries uploaded