Here is an initial port to IXUS 950 (SD 850) 1.00C, binaries and relevant source. I used "trunk" r264 that defaults to AllBest sources.
Focus override does not, and should not work, as this cam lacks manual focus. Dear developers, what are the prospects of focus control in such cams?
NHSTUB(MFOn, 0xFFB1AF88) NHSTUB(MFOff, 0xFFB1AF98)
const char* gui_subj_dist_override_value_enum(int change, int arg) { static const int koef[] = {0, 1,10,100,1000}; static char buf[8]; conf.subj_dist_override_value+=(change*koef[conf.subj_dist_override_koef]);[color=red]//[/color] if (conf.subj_dist_override_value<0)[color=red] if (conf.subj_dist_override_value<2)[/color] conf.subj_dist_override_value=65500; else if (conf.subj_dist_override_value>65500)[color=red]//[/color] conf.subj_dist_override_value=0; [color=red]conf.subj_dist_override_value=2;[/color] sprintf(buf, "%d", (int)conf.subj_dist_override_value); return buf; }
const char* gui_subj_dist_override_koef_enum(int change, int arg) { static const char* modes[]={ "Off","1", "10","100","1000"}; conf.subj_dist_override_koef+=change; if (conf.subj_dist_override_koef<0) conf.subj_dist_override_koef=0; else if (conf.subj_dist_override_koef>=(sizeof(modes)/sizeof(modes[0]))) conf.subj_dist_override_koef=sizeof(modes)/sizeof(modes[0])-1; [color=red]if (conf.subj_dist_override_koef) _MFOn(); else _MFOff();[/color] return modes[conf.subj_dist_override_koef]; }
The only difference compared to the initial binaries (or at least so I hope) is that MF is enabled and fully functional
Shots are marked "Focus mode - MF", "Focus type - Manual" in EXIF.
...I consider it a low priority though.
Started by undo « 1 2 » General Help and Assistance on using CHDK stable releases
Started by dreambrain General Discussion and Assistance
Started by daniel_reetz « 1 2 3 4 » General Discussion and Assistance
Started by Sokoban « 1 2 » Firmware Dumping
Started by alfazoid Feature Requests