A2000IS porting - page 10 - DryOS Development - CHDK Forum

A2000IS porting

  • 95 Replies
  • 65933 Views
Re: A2000IS porting
« Reply #90 on: 25 / May / 2010, 20:45:22 »
Advertisements
I'm having another problem. Everytime I do a raw develop in the camera I cant get back to the CHDK menu, it always displays "dont panic this will take a few seconds" but nothing happens.
I like this way of processing the images, but turning the camera off after I process each one is a bit annoying plus uses up the batteries faster.

Re: A2000IS porting
« Reply #91 on: 31 / May / 2010, 01:53:14 »
Hello,

Here's a minor patch for a2000-100c that fixes a build issue encountered while using gcc 4.4.3 with binutils 2.19.51.20090709 (CodeSourcery).  It seems that "as" fails with an internal compiler error when branching to "direct" addresses.  So changing the code to use sub_ fixes the problem.

--- ./capt_seq.c.orig   2010-05-29 15:21:33.491093721 -0600
+++ ./capt_seq.c   2010-05-30 22:26:43.675083353 -0600
@@ -21,8 +21,8 @@ void __attribute__((naked,noinline)) cap
 "                BEQ     loc_FFC4AEB8\n"
 "                LDR     R1, =0x539\n"
 "                LDR     R0, =0xFFC4AA98\n"         // "SsShootTask.c"
-"                BL      0xFFC0BD98\n"            // DebugAssert
-"                BL      0xFFC0BB50\n"            // eventproc_export_ExitTask ; LOCATION: KerTask.c:0
+"                BL      sub_FFC0BD98\n"            // DebugAssert
+"                BL      sub_FFC0BB50\n"            // eventproc_export_ExitTask ; LOCATION: KerTask.c:0
 "                LDMFD   SP!, {R3-R7,PC}\n"
 "loc_FFC4AEB8:\n"
 "                LDR     R0, [SP]\n"

Re: A2000IS porting
« Reply #92 on: 01 / November / 2010, 11:00:28 »
Hi,

I checked the dump and found the "nrflag" incorrect. It should be 0x858C.
Now, "Dark Frame Subtraction" gets working on my A2000 IS (FW GM1.00b)!
BTW, the attached file is compiled against rev.960 with OldGit's AF Scan code (Video/AF key) (THKS OldGit!)

Brgds/Douglas
« Last Edit: 01 / November / 2010, 22:43:31 by douglas »

Re: A2000IS porting
« Reply #93 on: 11 / November / 2010, 23:20:04 »
Hi, A2000 IS users. Pls try the newly attached diskboot.bin which is implemented with "Rear cutain flash sync". It's compiled against the latest rev 966, but added with such stuff as fllws

+Shooting Mode AV TV M (I think it's better to reserve the priority control.)
+Dark frame subtraction (nrflag fixed)
+Rear curtain flash sync
+Video AF key (from OldGit)

Any advice is appreciated
Brgds/Douglas
« Last Edit: 11 / November / 2010, 23:57:51 by douglas »

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: A2000IS porting
« Reply #94 on: 14 / November / 2010, 05:43:30 »
+Shooting Mode AV TV M (I think it's better to reserve the priority control.)
What exactly does this mean ?

BTW - i suggest to publish the sources so we can update the SVN...

Re: A2000IS porting
« Reply #95 on: 15 / November / 2010, 09:56:00 »
+Shooting Mode AV TV M (I think it's better to reserve the priority control.)
What exactly does this mean ?

BTW - i suggest to publish the sources so we can update the SVN...
Hi,fe50. Thks for the reply. Actually I mean the modemap for A2000 IS. It's cleaned up from rev 860 since this camera doesn't have AV, TV, M mode.

Well, I think it's useful for outdoors shooting sometimes, bcz in P mode, if shutter speed is higher than 1/640, the camera will make ND filter slide in (AV shows F9.0) to slow down the shutter. That means you will probably fail to capture anything moving fast. Though you can override TV or ND status, it won't make a correct exposure.

So, I just added them to "shooting.c" with my modified setmode.lua script using left key / right key to get Max AV / Min AV (ND in/out simulated value) in AV mode.

The patch and modified setmode script is now attached.
Brgds/Douglas

 

Related Topics


SimplePortal © 2008-2014, SimplePortal