SX200is Porting - page 40 - DryOS Development - CHDK Forum

SX200is Porting

  • 1105 Replies
  • 575971 Views
Re: SX200is Porting
« Reply #390 on: 22 / September / 2009, 01:07:17 »
Advertisements
At this point, I have no idea where the current source you are working on can be found, so I cannot comment on it. I'm don't want to go digging through this thread and put a bunch of effort into looking at code that turns out not to be the code you are talking about.

If you can confirm that the latest source in http://svn2.xp-dev.com/svn/Darkness-sx200 I'll be glad to have a look at it.

I make also a Build from this and Check it.

At the first look in camera.h fails this from my source.
Code: [Select]
#define PROPCASE_DRIVE_TIMER_MODE               223

Bracketing with Custom Timer is not Working! But the Source will Compile and runs on my Cam.
There must lost a litle bit Code.

Smartkiller
« Last Edit: 22 / September / 2009, 01:34:32 by smartkiller »
SX200 IS Firm. 100c
SX1 IS Firm. 201a

*

Offline ihar

  • **
  • 55
Re: SX200is Porting
« Reply #391 on: 22 / September / 2009, 01:42:50 »

Code: [Select]
#define PROPCASE_DRIVE_TIMER_MODE               223



Here my three files which should be changed for work with Bracket
See http://chdk.setepontos.com/index.php/topic,3994.msg40078.html#msg40078

Ihar
« Last Edit: 22 / September / 2009, 01:49:34 by ihar »

Re: SX200is Porting
« Reply #392 on: 22 / September / 2009, 02:03:20 »

Code: [Select]
#define PROPCASE_DRIVE_TIMER_MODE               223



Here my three files which should be changed for work with Bracket
See http://chdk.setepontos.com/index.php/topic,3994.msg40078.html#msg40078

Ihar



With this sources is Bracketing OK

Put this Files or changes to:

/include/camera.h
/core/raw.c
/platform/generic/shooting.c

I will now go in Bed. (Nightshift)

@Ihar Can you look for the Problem that the "DNG disabled" goes off, when Bracket with Custom Timer are on! The Text must come up when the Custom Timer is Set.
Can you find and Fix it?

Smartkiller
« Last Edit: 22 / September / 2009, 02:08:07 by smartkiller »
SX200 IS Firm. 100c
SX1 IS Firm. 201a

Re: SX200is Porting
« Reply #393 on: 22 / September / 2009, 02:12:36 »
Can OldGit, Ihar and others look at the ToDo list http://chdk.wikia.com/wiki/SX200IS and make changes and wrote the things better?

Smartkiller

Good Night from Germany
SX200 IS Firm. 100c
SX1 IS Firm. 201a

*

Offline ihar

  • **
  • 55
Re: SX200is Porting
« Reply #394 on: 22 / September / 2009, 03:09:11 »


@Ihar Can you look for the Problem that the "DNG disabled" goes off, when Bracket with Custom Timer are on! The Text must come up when the Custom Timer is Set.
Can you find and Fix it?

Smartkiller

Smartkiller, I will try, can and I will find.

Ihar

*

Offline reyalp

  • ******
  • 14128
Re: SX200is Porting
« Reply #395 on: 22 / September / 2009, 03:25:37 »
I make also a Build from this and Check it.
That's not what I was asking for. I was asking whether that was the latest source. Apparently it isn't. That's fine, that's why I was asked. But if you guys want your port merged, you will have to clearly tell me what you want merged.

I would prefer to get the basic port merged as soon as possible. You don't need to fix every bug right now, you can post patches later. I would rather get the basic port in sooner, and individual patches later to fix things up, especially things that might affect other cameras.

FWIW
Quote
Miscelaneous values for zoom/focal length are wrong when zoomed (open)
This is probably related to fl_tbl in platform/<camera>/main.c
Don't forget what the H stands for.

*

Offline OldGit

  • ****
  • 303
Re: SX200is Porting
« Reply #396 on: 22 / September / 2009, 04:49:34 »
OK,
Smartkiller, as the BOOTDISK I posted is working the same as your version, the sources I have must be the latest.
I will now uplaod these to the dev-svn and ask reyalp to look at them.
OldGit
SX200 IS-100C

*

Offline OldGit

  • ****
  • 303
Re: SX200is Porting
« Reply #397 on: 22 / September / 2009, 06:27:53 »
Hi All,
Latest sources are now in the dev-svn  http://svn2.xp-dev.com/svn/Darkness-sx200
These have been merged with trunk803
I have also edited the bug list on the Wiki and added a section for CHDK Specifics (buttons / functions etc)
OldGit
SX200 IS-100C

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: SX200is Porting
« Reply #398 on: 22 / September / 2009, 09:11:53 »
Hi OldGit & other SX200 porters

I downloaded the changed files (used list in post #386) copied them over a vanilla 803 trunk:

- both sx200 versions compile without errors

- to test effects on other cams, i compiled for 2 of my cams, an ixus70_sd1000(101b) and
   an ixus870_sd880(101a) Compiles fine (no errors) but the resulting binaries are ~170 bytes
   larger than those produced with the vanilla 803 trunk (see below)
   I haven't looked into the sources in detail, but i suppose that means that some of the stuff
   in /core or in platform/generic has not (yet?) been properly #if defined ...

Quote
            DISKBOOT.BIN size (bytes)   change (bytes)

                 803       803_sx200

ixus70         252556        252720           + 164

ixus870        249017        249185           + 168

I also created a diff between 803 and 803_sx200, and noticed that all lines in the root Makefile
appear to be changed: it would help if any changed files use the same line-end convention
as the originals (i.e. root Makefile now has CR/LF i.o. LF only) If they are unequal, any diff/patch
files will be extremely bloated, because all lines that have different line-endings from their original
will be marked as changed ...

hth,

wim
 
« Last Edit: 22 / September / 2009, 09:14:34 by whim »

Re: SX200is Porting
« Reply #399 on: 22 / September / 2009, 10:54:22 »

- to test effects on other cams, i compiled for 2 of my cams, an ixus70_sd1000(101b) and
   an ixus870_sd880(101a) Compiles fine (no errors) but the resulting binaries are ~170 bytes
   larger than those produced with the vanilla 803 trunk (see below)
   I haven't looked into the sources in detail, but i suppose that means that some of the stuff
   in /core or in platform/generic has not (yet?) been properly #if defined ...


Hi, I don't make a preprocessor patch in a new palette (3) at gui_draw.h (it's a lot of bytes) and the use of viewport_height replacing screen_height at edgeoverlay.c.  (to patch it would implied a lost of readability).

Thanks a lot.


 

Related Topics


SimplePortal © 2008-2014, SimplePortal