SX100 IS - page 13 - Firmware Dumping - CHDK Forum

SX100 IS

  • 276 Replies
  • 141205 Views
Re: SX100 IS
« Reply #120 on: 07 / July / 2008, 20:41:54 »
Advertisements

Next problems would be

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

Which i cant exactly verify.
Yes, those first two "half-press" items I wrote about are just the way zebra mode works.  So putting it on blink or off is an option.

As far as the misc values in read mode, I know I saw that under release 2, and was pretty sure I saw it under release 3 (ewavr's), but now I can't duplicate it, and am embarrassed.  I will post back with details if I can replicate it in the current build.

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: SX100 IS
« Reply #121 on: 08 / July / 2008, 04:50:58 »
About playrec_mode variable: in A710 I see next behavior:
0 - play mode, after power on
2- record mode
3 - play mode, after switching from record mode
5- record mode, shooting mode change in progress

Maybe this expression is better:
mode  = (playrec_mode==2 || playrec_mode==5)?MODE_REC:MODE_PLAY;
(copied from S3IS sources).

*

Offline Hacki

  • ****
  • 359
  • EOS 80D
Re: SX100 IS
« Reply #122 on: 08 / July / 2008, 09:54:36 »
zSHARE - sx100-100c.tar.bz2

My source including my own build - it doesnt differ that much from ewavrs last build (EFL working, playrec_mode-stuff from posting above included)

@ewavr: as is wrote - i tried the code you copied from the s3is source, but i see no difference. for me, the stuff with play/rec mode seems to be working flawless.

« Last Edit: 08 / July / 2008, 11:28:30 by Hacki »

*

Offline Hacki

  • ****
  • 359
  • EOS 80D
Re: SX100 IS
« Reply #123 on: 08 / July / 2008, 11:17:35 »
Correction: Now i see the misc. values. All the time. Either i'm kinda blind, or i changed something in the settings, and didnt notice the misc values.  :blink:


d'oh. my bad. i played around with those values and copied them from other cams, but forgot to replace them again..
Means: My the file i posted above contained the same error! But i'll upload it again and edit my posting..

« Last Edit: 08 / July / 2008, 11:28:10 by Hacki »


Re: SX100 IS
« Reply #124 on: 08 / July / 2008, 13:44:45 »
Hello !

Could there be some hope for firmware 1.0B ...

Could anybody tell me in what file I can find then entry for the routines ?

NB : I'm french, so not everybody can understand my english !!!  ::)

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: SX100 IS
« Reply #125 on: 08 / July / 2008, 17:07:08 »
Well, I know some open issues for SX100:
1.Shooting modes list: modemap[] array in platform/sx100is/main.c. Can somebody compare these digits to propertycase #49 in all shooting modes?

2. zoom_busy and focus_busy variables (0 in idle state, 1 on zooming/focusing).

DEF(zoom_busy, 0xA424)  // 0xA410 + 0x14
DEF(focus_busy, 0xA318) // 0xA308 + 0x10

maybe these values are wrong, it's too difficult to find them using IDA  :(

*

Offline Hacki

  • ****
  • 359
  • EOS 80D
Re: SX100 IS
« Reply #126 on: 08 / July / 2008, 17:49:09 »
Editmarathon, horray.

I figured out how to read the propertycase values, and that they are all fitting. Except the SX100 got a scene mode called "Indoor" (mode value 16401) which is missing.

I dont know how to find out the zoom & focus_busy variables, though.
« Last Edit: 08 / July / 2008, 18:26:21 by Hacki »

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: SX100 IS
« Reply #127 on: 09 / July / 2008, 05:56:13 »
I dont know how to find out the zoom & focus_busy variables, though.

In platform/sx100is/sub/100c/stubs_min.S replace:
DEF(zoom_busy, 0xFFF7F000)  // INCORRECT !!!
DEF(focus_busy, 0xFFF7F000) // INCORRECT !!!
with
DEF(zoom_busy, 0xA424)  // 0xA410 + 0x14
DEF(focus_busy, 0xA318) // 0xA308 + 0x10

then in core/gui.c (line 1977)
sprintf(osd_buf, "4:%8x  ", get_usb_power(1));
to
sprintf(osd_buf, "4:%d %d  ", zoom_busy, focus_busy);
In debug menu turn on "show misc values" and observe their behavior at zooming/focusing.
Maybe zoom_busy is correct, and focus_busy - incorrect. Try also
DEF(focus_busy, 0xA31C) // 0xA308 + 0x14


*

Offline Hacki

  • ****
  • 359
  • EOS 80D
Re: SX100 IS
« Reply #128 on: 09 / July / 2008, 07:40:52 »
Compiler complained about zoom_busy & focus_busy being undeclared - i did that by putting "int zoom_busy;" and "int focus_busy;" and the start of gui.c - hope that was correct?


Anyways, when focusing, focus_busy shows "1", when zooming, both values show "1".
Code: [Select]
DEF(focus_busy, 0xA31C) // 0xA308 + 0x14

Stops focus_busy from showing up, the debug value just stays zero.

So, both values are correctly defined in stubs_min.S?

Edit:

Somehow forgot to mention:
DEF(zoom_busy, 0xA424)  // 0xA410 + 0x14
DEF(focus_busy, 0xA318) // 0xA308 + 0x10
seem to be the correct values.

I should never post stuff in a foreign language before i had my first coffee..

« Last Edit: 09 / July / 2008, 08:19:14 by Hacki »

*

Offline LAN

  • *
  • 5
Re: SX100 IS
« Reply #129 on: 09 / July / 2008, 08:32:47 »
Looks like the "Override ISO Value" is based on Hex ?

 

Related Topics