Focus distance override and bracketing on IXUS cameras - page 2 - AllBest's Builds - CHDK Forum  

Focus distance override and bracketing on IXUS cameras

  • 22 Replies
  • 27112 Views
*

Offline quietschi

  • ***
  • 116
  • Ixus70 102a
Re: Focus distance override and bracketing on IXUS cameras
« Reply #10 on: 05 / February / 2008, 13:17:22 »
Advertisements
Are you able to do the same patches and tests with some other ixus_sd ports that are on the way? 
Ever tried to find the string 'MFon' and call the corresponding function MFon() ?

Hi
I'm able to test on an ixus850_sd800 but it's the camera of a friend so i don't have it always here for testing. Not everything is working right now on this port (raw). We tried a little with your source today and it seems that sd overwrite works. We don't make the whole test, but maybe later this week we will do and report.

I have also to say that i tried the MFon() and MFoff() funktion like whoever descripted. On ixus70_sd1000 this funktion is supported. On ixus850_sd800 there's no MFon().

cheers quietschi

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Focus distance override and bracketing on IXUS cameras
« Reply #11 on: 05 / February / 2008, 13:49:43 »
On ixus850_sd800 there's no MFon().
IXUS850 1.00E:
ROM:FF9939DC                 DCD aMfon               ; "MFOn"
ROM:FF9939E0                 DCD sub_FF996198
ROM:FF9939E4                 DCD aMfoff              ; "MFOff"
ROM:FF9939E8                 DCD sub_FF9961C8

*

Offline quietschi

  • ***
  • 116
  • Ixus70 102a
Re: Focus distance override and bracketing on IXUS cameras
« Reply #12 on: 05 / February / 2008, 14:00:38 »

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Focus distance override and bracketing on IXUS cameras
« Reply #13 on: 05 / February / 2008, 14:10:03 »
is this a function?

Simply press "C" (code) key.

ROM:FF996198                 LDR     R3, =0xB7CA0
ROM:FF99619C                 MOV     R12, #1
ROM:FF9961A0                 STR     LR, [SP,#-4]!
ROM:FF9961A4                 MOV     R0, #0xC
ROM:FF9961A8                 ADD     R1, R3, #0x68
ROM:FF9961AC                 MOV     R2, #2
ROM:FF9961B0                 STRH    R12, [R3,#0x68]
ROM:FF9961B4                 BL      SetPropertyCase
ROM:FF9961B8                 BL      sub_FF998D00
ROM:FF9961BC                 MOV     R0, #0
ROM:FF9961C0                 LDR     PC, [SP],#4

short x; // located at 0xB7CA0+0x68
int MfOn(void){
 x=1;
 SetProperyCase(12,&x,sizeof(x));
 sub_FF998D00();
 return 0;
}
« Last Edit: 05 / February / 2008, 14:17:01 by ewavr »


Re: Focus distance override and bracketing on IXUS cameras
« Reply #14 on: 05 / February / 2008, 14:13:32 »
is this a function?

Maybe. Simply call it. The worst thing that can happen is a camera shutdown.


Re: Focus distance override and bracketing on IXUS cameras
« Reply #15 on: 05 / February / 2008, 14:19:54 »
I'm able to test on an ixus850_sd800 but it's the camera of a friend...

There is absolutely no hurry. Complete you port first and then report.

nirschi

Re: Focus distance override and bracketing on IXUS cameras
« Reply #16 on: 05 / February / 2008, 14:36:12 »
int MfOn(void){
 x=1;
 SetProperyCase(12,&x,sizeof(x));
 ...

IXUS800 has exactly the same function, but crashes.
Source modules "MF.c" and "MFBar.c" have been stripped. Look for these strings.

Note: SetPropertyCase called, so there is no need to create a NHSTUB(MFon,addr).
Simply call shooting_set_prop(12,1) and see what happens...

« Last Edit: 05 / February / 2008, 14:44:14 by nirschi »

*

Offline mkmenuts

  • **
  • 61
  • SD700 (1.01b)
Re: Focus distance override and bracketing on IXUS cameras
« Reply #17 on: 05 / February / 2008, 15:00:39 »
Is it possible for CHDK on SD700 to have a corrected copy of the function that crashes the camera?

If it works 90% of the time and crashes on a single input instance, it might not be so hard to complete it... (same for other IXUSes)

Just an idea.

mkmenuts


*

Offline quietschi

  • ***
  • 116
  • Ixus70 102a
Re: Focus distance override and bracketing on IXUS cameras
« Reply #18 on: 05 / February / 2008, 15:26:28 »
Simply press "C" (code) key.

ROM:FF996198                 LDR     R3, =0xB7CA0
ROM:FF99619C                 MOV     R12, #1
ROM:FF9961A0                 STR     LR, [SP,#-4]!
ROM:FF9961A4                 MOV     R0, #0xC
ROM:FF9961A8                 ADD     R1, R3, #0x68
ROM:FF9961AC                 MOV     R2, #2
ROM:FF9961B0                 STRH    R12, [R3,#0x68]
ROM:FF9961B4                 BL      SetPropertyCase
ROM:FF9961B8                 BL      sub_FF998D00
ROM:FF9961BC                 MOV     R0, #0
ROM:FF9961C0                 LDR     PC, [SP],#4

short x; // located at 0xB7CA0+0x68
int MfOn(void){
 x=1;
 SetProperyCase(12,&x,sizeof(x));
 sub_FF998D00();
 return 0;
}

Ok, sorry everyday i learn something new.

btw have you read about the propcase for the ixus850_sd800 they are digicII based?

thanks quietschi

Re: Focus distance override and bracketing on IXUS cameras
« Reply #19 on: 05 / February / 2008, 16:00:08 »
Is it possible for CHDK on SD700 to have a corrected copy of the function that crashes the camera?
If it works 90% of the time and crashes on a single input instance, it might not be so hard to complete it... (same for other IXUSes)

Hi mkmenuts,

I thought about it, but it is an awful lot of work.

To me, it is very low priority. Just for perfection, I would not do the job.
Auto-focusing works very well for far distances, and full telephoto is meant for that.

I'm currently more interested in the macro range, as you surely noticed.
There auto-focusing begins to fight against you...
« Last Edit: 06 / February / 2008, 23:18:27 by nirschi »

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal