Here's a first attempt at writing the needed code for porting CHDK to this camera.
Keep in mind
I don't have the camera, so this is a mix of sigfinder, chdk-pt, s100 port and sx50's.
It *should*/*could* boot, but everything else is disabled (e.g. tasks).
I've seen ERR99 found out that the firmware no longer supports the 0x193x hooks and implemented a workaround. This code contains the same workarounds, as I've seen a call that was pointing to the same RAM address as SX50's..
There's no NULL_SUB yet as I didn't disassembled the code so the nullsub'ed functions are pointing to the unknown, beware.
Also, movie_status is actually checking for zoom_busy as signfinder didn't find the value, you've been warned.
Capture modemaps, camera-specific values, etc. is all TODO as are to-be-overriden tasks.
*** THIS IS UNFINISHED AND UNTESTED. COMPILE/TRY/USE AT YOUR OWN RISK ****** KEEP IN YOUR MIND THAT THIS COULD POSSIBLY BREAK YOUR CAMERA ***link to commit:
https://github.com/c10ud/CHDK/commit/8c0b98bf7a0b2a5b68d0ca5fb5b37edfcab7eebf(patch against trunk:
https://github.com/c10ud/CHDK/commit/8c0b98bf7a0b2a5b68d0ca5fb5b37edfcab7eebf.patch )
greets