It only crashes if I use the _my patches.
Each of the _my functions is also a copy of a routine in the firmware.
You have to do the same process for each of them in turn to track down where the problem is.
Carefully compare the code in each of the _my functions to the firmware, fix any problems, enable the function to be called and re-test.
Phil.
Yeah, I kinda realized what they did after looking super hard for something typed wrong, I saw when clicking on the sub address in the firmware for the _my string address, it jumps me to the next routine thats in cap_seq file, and all jumped me to the right spot.
I manually typed in every address from the firmware, so frustrating, its probably something I am looking right at but keep missing it.
Everything is the same, all the R, codes, all the loc and subs, there were 3 locret and 1 ADRNE that was changed to LDRNE because that is how it was in the Ref port I used which was sx230. But thats all I see.
Guess I just need to keep looking, like you said, it has to be in there somewhere.
Just dont understand why the cam works fine with the _my address commented out and just using the address without _my added, I dont leave out the address I just get rid of the _my to make it look like the firmware.
If I get rid of the _my in the 3 lines its on, and enable all the added chdk lines, I can control the cam fine with chdk, my expsure goes from factory 15 sec to 75sec long, I get full control of aperture, I cant control the NR feature but by default it seems to turn it off cause I dont have to wait at all anymore after taking long exposures, my iso is controllable.
I could stop right now and use it, but it just bugs me that it must not be right if it wont work when I add _my at the end of the addreses in the 3 lines they were added to.