Trying to understand why hooks not seen. Check some basics that maybe hurt us here if they are wrong.
Verify some addresses marked questionable in stubs_entry.s
; DeleteFile_Fut 0xff826a90
; GetFocusLensSubjectDistanceFromLens 0xff9a13a0
; 0xff82710c close
; 0xff8270c8 open
Disassemble around those addrs, the questionable funcs addrs are good.
Wondered about exposure counter. Verified it, too.
; 0xffa13d38 74 02 9f e5
; OPERANDS 2:
; 0: reg r0
; 1: mem base=pc scale=1 disp=0x00000274
; GROUPS 1:arm
ldr r0, =0x000d77d4 ; [pc, #628] (0xffa13fb4) jpeg_count_str
chdk menu -> tools -> browse to 0xffa13d38 with cam in shooting (P) mode; dword=e8bd41f0, byte=0xf0 = 240,
and that (240) agrees with the number of images on sd card.
Wonder if something wrong with half-press prop case. Some mention earlier in this thread about propsets; I stole propdmp.lua from
http://chdk.wikia.com/wiki/PropertyCaseDumpTell propdmp.lua to go from 0 - 400. Script prompted me for half-press several times, I did it; it finished.
ver=1,
from=0,
to=400,
diffs_were="[2] 0000 -> 0C00",
turn cam off, on again. Test quickshoot, good. Test half-press, then fullshoot, good. run propdmp again in shooting P mode, it prompts again 3-4 times for half-press, I do it; finished.
ver=1,
from=0,
to=400,
diffs_were="[13] 02F3 -> 02F0",
}
Uhh, I don't understand. Not sure it even matters, since half press when testing quick shoot, and a follow on full press seem to work ok, eg there is only a single image recorded for a single quick press. Probably because no filewrite is present to screw it up.?
Doing all this because hooktest Still Fails, same way as always. "Not reaching a hook, and hook in wrong place." I have put capt_seq_hook_raw_here in numerous places, but none of those places (that look reasonable for a hook) ever seem to be touched. Looking at ixus160 capt_seq.c and this one; this one looks ok. Stuff looks like it matches up pretty well.
There must be a sub in capt_seq:main below index=1 that should be patched, and isn't. I could use fresh suggestions if anyone has some to offer. Thanks in advance.