extra long exposures (split from: Hardcore modding on a A530, thanks to CHDK!

  • 172 Replies
  • 24602 Views
  • Publish
    Advertisements
    Big request do extra long exposures for a630

  • Publish
    Hi! ^.^

    I see SD850 (IXUS 950) is working with extra long exposures in "Camera Features" -> http://chdk.wikia.com/wiki/CameraFeatures
    And I see in the "Changeset 734" what there's a patch for the build 100c -> http://tools.assembla.com/chdk/changeset/734

    So, is it possible to use this build on a SD870 (IXUS 860) ? (it's the same build; 100c)
    If yes, where can I find this new build?

    Thanks -.^

    *

    Offline reyalp

    • ******
    • 9858
  • Publish
    No, you have to use the build CHDK for your specific camera.  There is no long exposure support for SD870 yet.
    Don't forget what the H stands for.

  • Publish
    Howw T.T

    If it's not too hard, I could do it myself; "take the new code, replace it in the right version and put it in the process.."? (Coding programs is not usual for me, but I know what is gcc etc. and I eat PHP/FlashAS daily)

    I just have to know what is the new code and where is the target place in sources..? -.-


    *

    Offline reyalp

    • ******
    • 9858
  • Publish
    Howw T.T

    If it's not too hard, I could do it myself; "take the new code, replace it in the right version and put it in the process.."? (Coding programs is not usual for me, but I know what is gcc etc. and I eat PHP/FlashAS daily)

    I just have to know what is the new code and where is the target place in sources..? -.-
    You can easily see the changes associated with any of the checkins that added long exposure support to other cameras. E.g. http://tools.assembla.com/chdk/changeset?new=trunk%40778&old=trunk%40777

    You'll need a full CHDK development environment, and IDA (full version) or the GPL tools. See http://chdk.wikia.com/wiki/For_Developers

    The large chunks of assembler that are added need to be taken from the firmware dump of your camera. You cannot copy it from one of the other ports.
    Don't forget what the H stands for.

  • Publish
    (...)
    The large chunks of assembler that are added need to be taken from the firmware dump of your camera. You cannot copy it from one of the other ports.
    Oki, I have to use the "ixus860_sd870-100c-0.9.8-778-full" as base, I see.
    So... I'll see that this week& ^.^

    Thanks -.^

  • Publish
    Hum... CHDK Shell and all features looks working and IDA is setup on my computer with FLIRT-signatures and IDC-scripts.

    But after point the .dump file to IDA as .raw/.bin, I don't see ARM processor in the list o.O

    Is IDA is needed to do some modifications of the code and compiling? I could open .c,.h, etc. files in my editor, make modifications and use the CHDK Shell to compile the new version?

    *

    Offline reyalp

    • ******
    • 9858
  • Publish
    But after point the .dump file to IDA as .raw/.bin, I don't see ARM processor in the list o.O
    You need the full version of IDA to work with arm.
    Quote
    Is IDA is needed to do some modifications of the code and compiling? I could open .c,.h, etc. files in my editor, make modifications and use the CHDK Shell to compile the new version?
    No, IDA is only a disassembler. If you can figure out what you need to do without it (perhaps with http://chdk.wikia.com/wiki/GPL_Tools ) you don't need IDA.
    Don't forget what the H stands for.


  • Publish
    You need the full version of IDA to work with arm.
    (...)
    Yes, full version of IDA is not free..
    But, as you say; I don't need IDA 'cause I just want to modify some parts of the code and compile it.
    So, I'll use my usual editor and I'll see.

    Thanks for informations -.^

    *

    Offline fudgey

    • *****
    • 1705
    • a570is
  • Publish
    People with them GPL tools may be interested in a script dis2asmC.sh I wrote a while back:
    http://pastebin.com/pastebin.php?dl=m1d035cfe.

    You feed it a disassembly snippet originating from Chr's disassembly perl script and it spits out something that is hopefully very close to being acceptably formatted for direct inclusion in CHDK platform source code. I used it with the a650 long exposure port above (which remains untested) and it seemed to work rather fine, but make sure you read all the comments in the script.. it's not a particularly smart one and likely requires some tuning/additions for each firmware but ought to make ones life easier nonetheless...

     

    Related Topics