SX200is Porting - page 38 - DryOS Development - CHDK Forum

SX200is Porting

  • 1105 Replies
  • 575961 Views
Re: SX200is Porting
« Reply #370 on: 20 / September / 2009, 18:33:34 »
Advertisements
The changes from Ihar are OK. Custom Timer for Bracketing now in Funktion.
But it saves Raw! I have in the Raw Exeptions Menu: Disable Raw@Timer and Disable Raw@EV Bracketing turned on!

Smartkiller

I'm sorry
in file row.c find
Code: [Select]
if (conf.save_raw && (!(shooting_get_prop(PROPCASE_RESOLUTION)==5)) && (!((movie_status > 1) && conf.save_raw_in_video   )) && (!((m==MODE_SPORTS) && conf.save_raw_in_sports)) && (!((m==MODE_AUTO) && conf.save_raw_in_auto)) && (!(conf.edge_overlay_enable && conf.save_raw_in_edgeoverlay)) && (!((shooting_get_prop(PROPCASE_DRIVE_MODE)==1) && conf.save_raw_in_burst && !(m==MODE_SPORTS))) && (!((shooting_get_prop(PROPCASE_DRIVE_MODE)>=2) && conf.save_raw_in_timer)) && (!((shooting_get_prop(PROPCASE_BRACKET_MODE)==1) && conf.save_raw_in_ev_bracketing)) ) {

an change to
Code: [Select]
#if defined (CAMERA_sx200is)
     if (conf.save_raw && (!(shooting_get_prop(PROPCASE_RESOLUTION)==5)) && (!((movie_status > 1) && conf.save_raw_in_video   )) && (!((m==MODE_SPORTS) && conf.save_raw_in_sports)) && (!((m==MODE_AUTO) && conf.save_raw_in_auto)) && (!(conf.edge_overlay_enable && conf.save_raw_in_edgeoverlay)) && (!((shooting_get_drive_mode()==1) && conf.save_raw_in_burst && !(m==MODE_SPORTS))) && (!((shooting_get_drive_mode()>=2) && conf.save_raw_in_timer)) && (!((shooting_get_drive_mode()==1) && conf.save_raw_in_ev_bracketing)) ) {
    #else
if (conf.save_raw && (!(shooting_get_prop(PROPCASE_RESOLUTION)==5)) && (!((movie_status > 1) && conf.save_raw_in_video   )) && (!((m==MODE_SPORTS) && conf.save_raw_in_sports)) && (!((m==MODE_AUTO) && conf.save_raw_in_auto)) && (!(conf.edge_overlay_enable && conf.save_raw_in_edgeoverlay)) && (!((shooting_get_prop(PROPCASE_DRIVE_MODE)==1) && conf.save_raw_in_burst && !(m==MODE_SPORTS))) && (!((shooting_get_prop(PROPCASE_DRIVE_MODE)>=2) && conf.save_raw_in_timer)) && (!((shooting_get_prop(PROPCASE_BRACKET_MODE)==1) && conf.save_raw_in_ev_bracketing)) ) {
#endif


find this code:
Code: [Select]
if(br_counter && conf.bracketing_add_raw_suffix && (shooting_get_prop(PROPCASE_DRIVE_MODE)!=0))

and change to
Code: [Select]
#if defined (CAMERA_sx200is)
if(br_counter && conf.bracketing_add_raw_suffix && (shooting_get_drive_mode()!=0))
#else
        if(br_counter && conf.bracketing_add_raw_suffix && (shooting_get_prop(PROPCASE_DRIVE_MODE)!=0))
#endif

and testing .... :)


Ihar

That is working, but in OSD is the "DNG Disable" Text on, when the Custom Timer is not set.
And off when Custom Timer is set. (Must be on when Custom Timer or other things in Raw Exeptions Menu are enabled)

Smartkiller
SX200 IS Firm. 100c
SX1 IS Firm. 201a

Re: SX200is Porting
« Reply #371 on: 20 / September / 2009, 18:35:15 »
why not just shooting_get_drive_mode() instead of littering the code with camera specific ifdefs  >:(

Can You Help us to make a clean Source?

Smartkiller
SX200 IS Firm. 100c
SX1 IS Firm. 201a

Re: SX200is Porting
« Reply #372 on: 20 / September / 2009, 19:06:18 »
I have opend the ToDo List here: http://chdk.wikia.com/wiki/SX200IS

All SX200 Owners and Testers and Develteam can wrote the things that are OK and not OK.

People that can wrote perfekt English are the best for this Job.


And here http://drop.io/SX200BETA# we have now Place for the Files. (100MB)

Smartkiller
SX200 IS Firm. 100c
SX1 IS Firm. 201a

*

Offline reyalp

  • ******
  • 14128
Re: SX200is Porting
« Reply #373 on: 20 / September / 2009, 19:13:47 »
Quote
   1. Icons on OSD : ok
   2. Bracketing with Custom Timer : ok but rest must fixed
   3. Colorpalette ?
   6. Icon Positions at default settings. (can we do that?)
   7. Menucolors at default settings for more cosmetics ?
   8. Other Color for the Start Splash ? (green was good)
All cosmetic stuff, don't worry too much about it. If there is anything that is unreadable with default color pallet, you should adjust that. If any of the SX200 users have another already ported camera, you can try to make it look like that.

Quote
   4. Scripts
Run llibtst.lua
You can try MDFB.BAS digic III to test motion detection.
Quote
   5. Sporadic incidents display
Not sure what you are saying here, but it is normal for the CHDK display to be destroyed when the canon display updates. You don't need to try to fix this, it happens on all CHDK cameras.
Don't forget what the H stands for.

Re: SX200is Porting
« Reply #374 on: 20 / September / 2009, 19:42:57 »
Quote
   
All cosmetic stuff, don't worry too much about it. If there is anything that is unreadable with default color pallet, you should adjust that. If any of the SX200 users have another already ported camera, you can try to make it look like that.

Quote
   4. Scripts
Run llibtst.lua
You can try MDFB.BAS digic III to test motion detection.
Quote
   5. Sporadic incidents display
Not sure what you are saying here, but it is normal for the CHDK display to be destroyed when the canon display updates. You don't need to try to fix this, it happens on all CHDK cameras.

OK i have tested this Scripts and libtst.lua says all ok.
Whith MDFB-080914.bas i have Test the Motion detection. It was also OK.

The Raw Shoots are not readable when it not coverted to dng with the badpixel.bin is there any hope or is this only a Software Problem because the SX200 Raw is to new?

Smartkiller
SX200 IS Firm. 100c
SX1 IS Firm. 201a

*

Offline reyalp

  • ******
  • 14128
Re: SX200is Porting
« Reply #375 on: 20 / September / 2009, 19:46:44 »
The Raw Shoots are not readable when it not coverted to dng
This is normal. Programs that support CHDK raw need to be update for new cameras, unless the sensor format is exactly the same as an existing camera.
Don't forget what the H stands for.

*

Offline OldGit

  • ****
  • 303
Re: SX200is Porting
« Reply #376 on: 21 / September / 2009, 09:40:16 »
Hi,
I got a PM from Lay-Z187, he found this link on the German CHDK forum.
http://depositfiles.com/de/files/57uh6gch8
It is the link to a sx200 port based on the trunk300 (link is NOT the full trunk).
Lay-Z187 thinks this has come from a Russian Dev.

I don't know what state it is in, don't have time at present to check it, if anyone wants to take a look help yourself.
OldGit
SX200 IS-100C

*

Offline OldGit

  • ****
  • 303
Re: SX200is Porting
« Reply #377 on: 21 / September / 2009, 09:50:54 »
Can I ask that no further changes are made to code untill we get the dev-svn agreed and merged with the latest trunk (currently trunk803).
We can then get a diff looked at by the senior devs, if this is agreed we can get the port into the autobuild.
After that we can find the bugs, fix them one at a time, and submit the changes to the autobuild.

If we don't do this we are in danger of losing control of the build sources.
We MUST make sure we are all working on the same source set.

OldGit
SX200 IS-100C

Re: SX200is Porting
« Reply #378 on: 21 / September / 2009, 10:23:32 »
Hi,
I got a PM from Lay-Z187, he found this link on the German CHDK forum.
http://depositfiles.com/de/files/57uh6gch8
It is the link to a sx200 port based on the trunk300 (link is NOT the full trunk).
Lay-Z187 thinks this has come from a Russian Dev.

I don't know what state it is in, don't have time at present to check it, if anyone wants to take a look help yourself.
OldGit
I have checked the source from Lay-Z187, and this must be a 5 Days older Porting from us.

My latest Sourcre with the changes from Ihar are now on Drop io, so OldGit or another can make the Diff.


Smartkiller
SX200 IS Firm. 100c
SX1 IS Firm. 201a

*

Offline ihar

  • **
  • 55
Re: SX200is Porting
« Reply #379 on: 21 / September / 2009, 10:33:13 »
Hi,
I got a PM from Lay-Z187, he found this link on the German CHDK forum.
http://depositfiles.com/de/files/57uh6gch8
It is the link to a sx200 port based on the trunk300 (link is NOT the full trunk).
Lay-Z187 thinks this has come from a Russian Dev.

I don't know what state it is in, don't have time at present to check it, if anyone wants to take a look help yourself.
OldGit


This link from forum. I filled in these files in Russian forum! Greetings to Germans!  :haha

There is every chance to receive worked the version if have found at Russian forum an insertion. If will carry, one more will come developer, probably will help us.
« Last Edit: 21 / September / 2009, 11:11:14 by ihar »

 

Related Topics


SimplePortal © 2008-2014, SimplePortal