Svn diff of platform/sx530hs with only filewrite changes is attached. Tested good using chdkptp remoteshoot.
Thanks for posting this and apologies for the delay.
There were a few issues:
* The patch still has quite a bit of "noise" unrelated to the filewrite changes. Even if the unrelated changes are inconsequential, I still have to spend time looking at them to be sure they are.
* The code_gen.txt refers to ../boot_extras.c, which was not included in the patch. To have a new file appear in an svn patch, you should add it with svn add before doing the diff.
* Since there is only one platform_camera.h per platform, optional features like filewrite must be implemented for all firmware versions, while the patch only includes 100c.
Since the filewrite codegen code doesn't refer to any firmware addresses, it should probably work fine on both firmware versions.
Attached is a patch with only the filewrite changes implemented for both 100a and 100c, and a 100c build. I have obviously not tested it. I can provide a 100a build if anyone else wants to test that.
If you can confirm that it works, I will check it in. To apply the patch, you would use the following in the root of an unmodified source tree
patch -p 0 < axman-sx530hs-filewrite-mods-reyalp-1.diff
When testing filewrite, you should check whether continuous mode works. To do this, enabled continuous mode in the Canon UI, and use something like rs -cont=5
You can also check for the other issues in
http://chdk.wikia.com/wiki/User:Nafraf/RemoteShootIssuesYou should also verify that regular shooting without remote shoot still works.