A530 Chdk port - 0.5 beta - page 8 - General Discussion and Assistance - CHDK Forum

A530 Chdk port - 0.5 beta

  • 113 Replies
  • 50969 Views
Re: A530 Chdk port - 0.4.1 beta
« Reply #70 on: 07 / March / 2008, 13:24:56 »
Advertisements
hi,

just to add one more success story: works here very well on a
a530 1.00a (0.4b) - a lot of thanks for this build and keep up the
good work!

one thing i noticed is that the a530 seems to have an nd filter
built in instead of a real aperture - so maybe we can use the
relevant code from the ixus cameras for aperture override (i.e.
only nd filter on/off) ... just an idea

best wishes - image13

Re: A530 Chdk port - 0.4.1 beta
« Reply #71 on: 07 / March / 2008, 15:47:11 »
... just noted: at least with 0.4b (which i'm using because
of the compatibility of the files) the jpeg and the raw files
are always offset by one numer - first the raw file and
then the jpeg file with one number higher ... is that
supposed to be normal?

best wishes - image13

*

Offline bondo

  • *
  • 42
  • Saluti from Italy!
Re: A530 Chdk port - 0.4.1 beta
« Reply #72 on: 08 / March / 2008, 04:38:57 »
... just noted: at least with 0.4b (which i'm using because
of the compatibility of the files) the jpeg and the raw files
are always offset by one numer - first the raw file and
then the jpeg file with one number higher ... is that
supposed to be normal?

best wishes - image13

from the very first beta the files counter for jpeg and raw is 'offsetted' (not really offsetted, is simply continous...)
I don't know if even other chdk builds works that way...

Re: A530 Chdk port - 0.4.1 beta
« Reply #73 on: 09 / March / 2008, 13:27:10 »
just checked the file numbering issue on an ixus 70 and it looks like
this is a bug of the a530 port: on the ixus 70 the files are numbered
correctly (i.e. the jpg and the raw file both have the same number)
- i even remember of having read about the same problem at another
port in the forum, but cannot find it again - maybe asking around
should help to get it fixed ...

best wishes - image13


Re: A530 Chdk port - 0.4.1 beta
« Reply #74 on: 10 / March / 2008, 17:29:39 »

*

Offline bondo

  • *
  • 42
  • Saluti from Italy!
Re: A530 Chdk port - 0.4.1 beta
« Reply #75 on: 11 / March / 2008, 13:12:02 »
hi image13!
i think that changing to

Code: [Select]
long get_file_next_counter() {
    return (get_file_counter()+1);
}

can fix the problem. let us know if this works.

Re: A530 Chdk port - 0.4.1 beta
« Reply #76 on: 12 / March / 2008, 18:27:55 »
hi,

i took the sources, updated them to the current trunk
and fixed the file numbering bug (files are numbered
properly now) ... for getting it to trunk i had to add
some new functions for which i don't have the proper
addresses yet, so some things might not work with this
version (use it at your own risk) - i'll ask in a separate
thread for help to find these addresses and for inte-
gration into the subversion trunk

i used the 0.4b raw file size for now, because the resulting
rawfiles are more compatible at the moment - this can
be changed later easily

the changes to the current trunk (additional files plus a
diff of two trunk files) and compiled binaries of my
version can be found at

  a530.zip - 0.23MB

bondo, can you please have a look at finding the variables
in the dump? (see new thread coming soon for this)

best wishes - image13

*

Offline bondo

  • *
  • 42
  • Saluti from Italy!
Re: A530 Chdk port - 0.4.1 beta
« Reply #77 on: 13 / March / 2008, 05:07:37 »
As you request, here's the five addresses:

Code: [Select]
NHSTUB(GetDrive_ClusterSize, 0xFFC5DC88)
NHSTUB(GetDrive_TotalClusters, 0xFFC5DCC4)
NHSTUB(GetDrive_FreeClusters, 0xFFC5DD00)
NHSTUB(WriteSDCard, 0xFFC6D0CC)

and:

Code: [Select]
char *camera_jpeg_count_str(){
     return (char*)0x6E820;
}

Anyways, I think that a530 port is not mature enough to be added into trunk.
Some things needs to be adjusted (i.e. function mode_get in main.c - i tuned it just to work, not really a good job...).
Byeee
« Last Edit: 13 / March / 2008, 05:10:06 by bondo »


Re: A530 Chdk port - 0.4.1 beta
« Reply #78 on: 13 / March / 2008, 05:24:49 »
hi bondo,

what is the problem with the function you mentioned?

best wishes - image13

Re: A530 Chdk port - 0.4.1 beta
« Reply #79 on: 13 / March / 2008, 05:31:54 »
maybe also for the main.c issue this post may help?

http://chdk.setepontos.com/index.php/topic,300.msg2230.html#msg2230

best wishes - image13

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal