SD430 (ixus wireless) porting. - General Discussion and Assistance - CHDK Forum

SD430 (ixus wireless) porting.

  • 10 Replies
  • 5067 Views
SD430 (ixus wireless) porting.
« on: 31 / March / 2008, 05:31:56 »
Advertisements
Hello all.

Can somebody please help me to find canon_data_len for sd430 110a? I just can't find it.

Here and here it's found for ixus55 (sd450)
Here and here it's found for ixus65 (sd430)
BUT Here and here for ixus wireless (sd430) is just nothing...

Here's IDA's packed project: Download

Thanks.
« Last Edit: 31 / March / 2008, 05:36:18 by Zandis »

Re: SD430 (ixus wireless) porting.
« Reply #1 on: 31 / March / 2008, 07:25:48 »
Code: [Select]
ROM:FF810110                 LDR     R3, =unk_FFC33020
What is "unk_FFC33020"?

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: SD430 (ixus wireless) porting.
« Reply #2 on: 31 / March / 2008, 07:54:36 »
What is "unk_FFC33020"?
Seems canon_data_src
CHDK Developer.

Re: SD430 (ixus wireless) porting.
« Reply #3 on: 31 / March / 2008, 08:03:11 »
So canon_data_len == canon_data_src?


Re: SD430 (ixus wireless) porting.
« Reply #4 on: 31 / March / 2008, 08:28:49 »
Please help.
Instead of
Code: [Select]
LDR     R3, =ADDRESSi have
Code: [Select]
LDR     R3, =unk_FFC33020What is that "unk_" thing?

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: SD430 (ixus wireless) porting.
« Reply #5 on: 31 / March / 2008, 09:07:23 »
So canon_data_len == canon_data_src?
No. For example, SD630:
Code: [Select]
ROM:FF8100F8                 LDR     R3, =0xBDE0               ; Load from Memory
ROM:FF8100FC                 MOV     R12, #0                   ; Rd = Op2
ROM:FF810100                 CMP     R12, R3                   ; Set cond. codes on Op1 - Op2
ROM:FF810104                 LDR     R2, =dword_FFB29580       ; Load from Memory

canon_data_len = 0xBDE0
canon_data_src = 0xFFB29580

CHDK Developer.

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: SD430 (ixus wireless) porting.
« Reply #6 on: 31 / March / 2008, 09:12:03 »
What is that "unk_" thing?

Just a name of the destination address...
unk_ - unknown/undefined data type
dword_, word_ byte_ - corresponding data type
off_ - that data is an offset to something
sub_ - procedure
loc_ - local label
aXXXXX - string name

That just a convention. You can rename any of automatically given names.
CHDK Developer.

Re: SD430 (ixus wireless) porting.
« Reply #7 on: 31 / March / 2008, 10:03:57 »
So. According to this:
Code: [Select]
ROM:FF8100E0                 MOV     R12, SP
ROM:FF8100E4                 STMFD   SP!, {R4,R11,R12,LR,PC}
ROM:FF8100E8                 SUB     R11, R12, #4
ROM:FF8100EC                 SUB     SP, SP, #0x14
ROM:FF8100F0                 MOV     R4, R0
ROM:FF8100F4                 MOV     R3, #0
ROM:FF8100F8                 STR     R3, [R11,#-0x18]
ROM:FF8100FC                 MRC     p15, 0, R0,c1,c0
ROM:FF810100                 ORR     R0, R0, #0x1000
ROM:FF810104                 ORR     R0, R0, #4
ROM:FF810108                 ORR     R0, R0, #1
ROM:FF81010C                 MCR     p15, 0, R0,c1,c0
ROM:FF810110                 LDR     R3, =unk_FFC33020
ROM:FF810114                 STR     R3, [R11,#-0x20]
ROM:FF810118                 MOV     R3, #0x1900
ROM:FF81011C                 STR     R3, [R11,#-0x24]
ROM:FF810120                 MOV     R3, #0
ROM:FF810124                 STR     R3, [R11,#-0x1C]
my canon_data_len == FFC33020?


*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: SD430 (ixus wireless) porting.
« Reply #8 on: 31 / March / 2008, 10:38:47 »
my canon_data_len == FFC33020?
At least it looks like so.
CHDK Developer.

Re: SD430 (ixus wireless) porting.
« Reply #9 on: 31 / March / 2008, 13:20:48 »
If it so, it's not bit too long (and canon_data_src bit too short)?

 

Related Topics