focus_busy on a720 - General Discussion and Assistance - CHDK Forum supplierdeeply

focus_busy on a720

  • 2 Replies
  • 1913 Views
*

Offline reyalp

  • ******
  • 13792
focus_busy on a720
« on: 01 / February / 2009, 20:09:49 »
Advertisements
I'm trying to figure out where this value came from, to help find the value in other cameras. In stubs_min.S
Quote
DEF(focus_busy, 0x9D50) //  0x9CB8
I can't find any reference to either of these in the dump. That's not unexpected, probably offset from something else, but I'm having trouble finding it.

The commented value is easy enough to find: 0x9CA8 is obviously the start of a focus related struct  which has a field at +0x10, which could plausibly be a busy flag. The 0x9D50 value OTOH, I can't find any reasonable source for.

So, does anyone remember how the current value was found ? Can any a720 users comment if it is correct (you should be able to check using the misc debug values in current autobuilds) ?
Don't forget what the H stands for.

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: focus_busy on a720
« Reply #1 on: 02 / February / 2009, 03:02:48 »
speaking of the misc debug values, i cant remember why http://tools.assembla.com/chdk/browser/trunk/core/gui.c#L2704 was changed in the first place, to show focus & zoom busy instead of physw and the like?
btw focus & zoom busy seems to work on s3is, though somewhat weird to check though.

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: focus_busy on a720
« Reply #2 on: 02 / February / 2009, 04:59:01 »
I'm trying to figure out where this value came from, to help find the value in other cameras. In stubs_min.S
Quote
DEF(focus_busy, 0x9D50) //  0x9CB8
So, does anyone remember how the current value was found ? Can any a720 users comment if it is correct (you should be able to check using the misc debug values in current autobuilds) ?

As author of this line I say: it was found using memory browser and tested on camera.
For SX100 value 0xA308 + 0x10 is correct.

edit: For A650 (second DRYOS ported camera) this value is obtained by more complex method (using a720 as source) and tested (not personally, via forum).
« Last Edit: 02 / February / 2009, 05:39:54 by ewavr »

 

Related Topics