Adding new cameras, applying patches into trunk (with source code prepared) - page 42 - General Discussion and Assistance - CHDK Forum

Adding new cameras, applying patches into trunk (with source code prepared)

  • 1685 Replies
  • 854067 Views
Advertisements
IXUS200-SD980 port for firmware 1.01D by gbit.

Implements CAM_DETECT_SCREEN_ERASE so firmware 1.01C will also pickup that fix.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3450
    • Photos
IXUS200-SD980 port for firmware 1.01D by gbit.

Implements CAM_DETECT_SCREEN_ERASE so firmware 1.01C will also pickup that fix.

Added changeset 1257.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline ultimA

  • ***
  • 137
I've been porting some scripts to lua. get_display_mode() function is only accessible to ubasic, attached patch adds it to lua too.

*

Offline reyalp

  • ******
  • 14128
I've been porting some scripts to lua. get_display_mode() function is only accessible to ubasic, attached patch adds it to lua too.
Because there is no need for it in lua. Just use the propcase.lua, that's what it was meant for
props=require('propcase')
display_mode=get_prop(props.DISPLAY_MODE)

A lot of ubasic functions are just wrappers around propcase calls, which is pointless bloat in lua.

Rejected.
Don't forget what the H stands for.

IXUS100-SD780 :  adds support for firmware version 1.00b.  Also updates a few stubs for 1.00c and implements CAM_DETECT_SCREEN_ERASE for both versions.  Tested by voodoolady & dagokun (100B)  and  andrewhazelden (100C).
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3450
    • Photos
IXUS100-SD780 :  adds support for firmware version 1.00b.  Also updates a few stubs for 1.00c and implements CAM_DETECT_SCREEN_ERASE for both versions.  Tested by voodoolady & dagokun (100B)  and  andrewhazelden (100C).

Added changeset 1259.
(Also included entry in makefile.inc).

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Cleanup of debug_led()

I scanned the trunk for references to debug_led() after spending too long trying to figure out why the power LED for the port I am working on kept turning off.  The attached patch disables references to debug_led() in the core.  They render debug_led() useless for debugging new versions and are (IMHO) really sloppy coding practice.  Hey - C has had conditional compiles for 20+ years.

There are also references to debug_led() in each platform/xxx version but I'm not going to clean all of them up too.  Left as an exercise to each developer.



Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline funnel

  • ****
  • 349
Patch for sx220 platform_camera.h.

Added CAM_DRYOS_2_3_R47 and CAM_DETECT_SCREEN_ERASE

*

Offline philmoz

  • *****
  • 3450
    • Photos
Cleanup of debug_led()

Patch for sx220 platform_camera.h.
Added CAM_DRYOS_2_3_R47 and CAM_DETECT_SCREEN_ERASE

Added in changeset 1262.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline funnel

  • ****
  • 349
Includes:
-fix in generic/shooting.c that caused Av bracketing to not calculate the lowest Av value http://chdk.setepontos.com/index.php?topic=6726.0
-in generic/shooting.c disabled bracketing when camera in best image selection mode (MODE_SCN_BEST_IMAGE). In this mode the camera shoots 4 images and auto selects the best one.
-added new keys for sx220 to include/keyboard.h
-added new key "playback" for sx220 in adjustable alt button in gui.c
-key changes in sx220 kbd.c
-from sx220 platform_camera.h removed unneeded define entries and comments cleanup.
-in sx220 lib.c corrected the led_table.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal