D20 has a focus_len_table format different from other cameras. It is not autodetected, each entry contains 2 values, the first is the zoom focus length, the second is 0, not 100 as expected by finsig_dryos.c. I'm not sure if that difference could cause any problem to CHDK.
AFAIK that table is only used in camera specific code, not in CHDK core. The first and the last focal length entry should be identifiable, if you look at the camera's specifications. The camera owner can tell you how many zoom steps the camera has (unless there's multiple dozen zoom points). If all these (starting value, last value, nr of entries) are ok, then the table is the right one.That second value is not used by CHDK calculations.
fff4abd8: 00001388 andeq r1, r0, r8, lsl #7 <= (entry 0) 5000 decimalfff4abdc: 00000000 andeq r0, r0, r0fff4abe0: 00001449 andeq r1, r0, r9, asr #8<= (entry 1)fff4abe4: 00000000 andeq r0, r0, r0...fff4afd8: 000061a8 andeq r6, r0, r8, lsr #3 <= (entry 128) 25000 decimalfff4afdc: 00000000 andeq r0, r0, r0fff4afe0: 000061a8 andeq r6, r0, r8, lsr #3 <= (entry 129) 25000 decimal, ignored
I modified finsig_dryos.c, and then checked the generated values.
How can I get you the precise number of zoom stops? I tried the buttons (forgetaboutit) and I tried using CHDKPTP, but neither produced precise results. Seems to be somewhere around 32 I'm guessing.
Take a photo with maximum optical zoom, then check exif data field "Optical Zoom Code".
Quote from: nafraf on 05 / May / 2013, 18:49:33Take a photo with maximum optical zoom, then check exif data field "Optical Zoom Code".Thanks! It's 128.
BTW, testing with two batteries, voltage right off the charger is around 4.066, quickly dropping to around 4.040 or 4.030. The camera powers off at 3.335.
Aperture PROPCASE_AV 3.9 387 - 399 4.5 400 - 431 5.0 432 - 439 4.8 439
Started by salukikev Script Writing
Started by rdumont99 Firmware Dumping
Started by slandier « 1 2 » RAW Shooting and Processing
Started by Recyclojunk64 « 1 2 3 » Hotwire! Hardware Mods, Accessories and Insights
Started by edwarddebruyn General Help and Assistance on using CHDK stable releases