SX100 IS - page 12 - Firmware Dumping - CHDK Forum  

SX100 IS

  • 276 Replies
  • 141535 Views
*

Offline flar

  • *
  • 13
  • sx100is fw100c
Re: SX100 IS
« Reply #110 on: 06 / July / 2008, 18:19:04 »
Advertisements
Wow, EWAVR, thank you! That's is great!

I hope i'll find time to work on CHDK.

Re: SX100 IS
« Reply #111 on: 06 / July / 2008, 22:30:07 »

maybe to change this?:
#define CF_EFL 60345

If you look at the formula that follows,
(CF_EFL*get_focal_length(zp))/10000
then CF_EFL seems like a constant that should work, unchanged, if get_focal_length(zp) returns 58000.   (Result would be 350000, as opposed to 210000 for the 210-mm lens.) The important thing is that the maximum zoom point number (zp) points to the final element in the table.



*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: SX100 IS
« Reply #112 on: 07 / July / 2008, 04:54:58 »
SX100 specifications:
focal lenght: 6-60 mm (from camera front picture) - not 5.8 - 58
focal lenght (35mm eq.): 36-360 (from dpreview page)

maybe CF_EFL must be 60000...
« Last Edit: 07 / July / 2008, 04:57:35 by ewavr »

*

Offline Hacki

  • ****
  • 359
  • EOS 80D
Re: SX100 IS
« Reply #113 on: 07 / July / 2008, 10:44:42 »
Code: [Select]
static const int fl_tbl[] = {6000, 6700, 7300, 8200, 9100, 10300, 11500, 12800, 14400,
16100, 18100, 20100, 22400, 25200, 28100, 31500, 34900, 38900, 42500, 46600, 51100, 55900, 60000};

seems to be the complete table.

EFL now goes from 36-210, then wraps around and counts backwards negatively (210, -190, -160 and so on..)

edit: shows 210mm at  34,9 mm focal lenght, and wraps around to -190mm at 38,9 (just took 2 pictures and looked at the exif data)

edit2: Seems to work correctly if CF_EFL is set to 60000 (so ewavr was right..)
« Last Edit: 07 / July / 2008, 11:19:31 by Hacki »


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: SX100 IS
« Reply #114 on: 07 / July / 2008, 12:07:54 »
@Hacki

this table is better than old one (fl_tbl[j+1]/fl_tbl[j] ~ 1.1 - zoom increases at 10% for each step).

About negative numbers: this is 'int' type overflow: 38900*60000>0x7FFFFFFF  :(

try this:

#define CF_EFL 6000
int get_effective_focal_length(int zp) {
    return (CF_EFL*get_focal_length(zp))/1000;
}

or

#define CF_EFL 6
int get_effective_focal_length(int zp) {
    return (CF_EFL*get_focal_length(zp));
}
« Last Edit: 07 / July / 2008, 12:16:35 by ewavr »

*

Offline Hacki

  • ****
  • 359
  • EOS 80D
Re: SX100 IS
« Reply #115 on: 07 / July / 2008, 12:11:51 »
As i said, it is working correctly, if CF_EFL is set to 60000. no overflow. goes from 36-360  ???


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: SX100 IS
« Reply #116 on: 07 / July / 2008, 12:21:43 »
As i said, it is working correctly, if CF_EFL is set to 60000. no overflow. goes from 36-360  ???

Maybe smart compiler knows that 60000/10000 is exactly 6. Try 60001 instead of 60000 ;).

*

Offline Hacki

  • ****
  • 359
  • EOS 80D
Re: SX100 IS
« Reply #117 on: 07 / July / 2008, 12:31:21 »
Maybe smart compiler knows that 60000/10000 is exactly 6. Try 60001 instead of 60000 ;).

Yeah. overflows again..


#define CF_EFL 6000
int get_effective_focal_length(int zp) {
    return (CF_EFL*get_focal_length(zp))/1000;
}

Works flawless, though.

Next problems would be

Quote
--When you do a half-press before shooting, the focus indicator is erased after a fraction of a second.

--Similarly, after a half-press, the exposure values at the bottom of the display are wiped out.

--The OSD misc values are not removed when the camera goes into read (picture viewing) mode. That makes it hard to see the photo, or to read the settings if in detailed display mode.

Which i cant exactly verify. The first two depend on the setting of the zebra mode - if its set to solid, those values are actually wiped out, otherwise they are flashing on and off.. (zebra on, values off, values on, zebra off and so on..) 

The last one doesnt appear here. But i'll try to find out if i can trigger that problem ..



Re: SX100 IS
« Reply #118 on: 07 / July / 2008, 13:41:33 »
Hi, I have been watching with interest since finding CHDK via Stumble. I would like to add my thanks to flar and ewavr and anyone else who has contributed to this version. I have just managed to get it working (FW:1.00C) and seen the histogram making an already excellent camera fantastic. I can see days of fiddling coming up :-)

Thanks again

Adrian

*

Offline Hacki

  • ****
  • 359
  • EOS 80D
Re: SX100 IS
« Reply #119 on: 07 / July / 2008, 19:53:04 »
I cant quite figure out how "Use zoom buttons for MF" is supposed to work.

I can focus with the zoom buttons, as long as the focus is set to MF and i'm in alt mode - no matter if the option mentioned above is active or not (Theres a little OSD element displayed: it says SD & FACTOR). So i dont think this feature is related with "Use zoom buttons for MF", are they?

(Hint for anyone interested in processing raws: current version of dcraw (v8.86) recognizes the SX100 raw images as images from the A720, and processes them just fine. I'm currently using newest version of dcraw & rawstudio 1.0, and it works great)


 

Related Topics