Quote from: 62ndidiot on 02 / January / 2017, 17:47:17I found using poke(0xa0e0,1), that 0xa0e0 is the nrflag address for darkframe control. Unfortunately, the hook below, only seems to be effective on the second shot at suppressing darkframe. I think this happens in other ports as well. Not sure if this could be fixed by moving the hook earlier or not.It probably could be fixed by moving the hook "upwards" - before the nrflag variable you found is read by the firmware.Next possibility is to just find the fw variable (memory location) that is derived from that nrflag.Other option is to introduce a custom hook that you can call when shooting starts (when expo overrides are applied). You can copy the nr related code from platform/generic/capt_seq.c .I did none of the above in my ports with this problem, yet.
I found using poke(0xa0e0,1), that 0xa0e0 is the nrflag address for darkframe control. Unfortunately, the hook below, only seems to be effective on the second shot at suppressing darkframe. I think this happens in other ports as well. Not sure if this could be fixed by moving the hook earlier or not.
Try moving the nr hook upwards, right after the "MOV R4, R0 \n" instruction in the same function.
This solution works seamlessly.
Quote from: blackhole on 04 / January / 2017, 03:53:37This solution works seamlessly.Thanks for keeping an eye on this.Since a modified sub_FF9B4AF8_my() (sx410 100c) is no longer needed, can you re-do the patch like I did in changeset 4748?@62ndidiotSame kind of change should also work on the ixus145. Can you verify it? I can do the code_gen part if needed.
@62ndidiotSame kind of change should also work on the ixus145. Can you verify it? I can do the code_gen part if needed.
Please test this patch, it is based on commit 4749 for sx410.
@62ndidiot thanks.Please test this patch, it is based on commit 4749 for sx410.
Started by alvm « 1 2 3 » Firmware Dumping
Started by adong « 1 2 ... 49 50 » DryOS Development
Started by makomk « 1 2 » DryOS Development
Started by blueSTAR Firmware Dumping
Started by tsamma « 1 2 ... 20 21 » DryOS Development