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

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

  • 1654 Replies
  • 580051 Views
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #500 on: 04 / November / 2011, 10:23:23 »
Advertisements
Ok. In attachment new version of convertor.
It succesfully was compiled in tools and work ok

Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #501 on: 04 / November / 2011, 13:44:48 »
Another small improvement:

- set_console_autoredraw functionality is extended. If value =-1 that mean do not display value on the screen
- print_screen functionality is extended. If negative value provided, logfile will be not cleared but appended.

Cheap extension to even more control. Useful for fastening of any dumps for example.
And especially extend ubasic control. Because it is very limited in any file operations.

Massive ubasic speed optimization come soon... So memory-careful language going to be more useful.

Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #502 on: 05 / November / 2011, 00:41:01 »
Another small improvement:
Improvements are good.  Even better is somebody adding new stuff to the code. Welcome onboard !!

Quote
Massive ubasic speed optimization come soon... So memory-careful language going to be more useful.
Hmmm ... I'm assuming english is not your native language?   No problem if it is not.  The word "massive" might be more than you intend with your comment  though ?   "Good" or "nice" are better words uniess you have a way to increase script execution speed to ten times faster or more ?

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3319
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #503 on: 05 / November / 2011, 00:52:37 »
Another small improvement:

- set_console_autoredraw functionality is extended. If value =-1 that mean do not display value on the screen
- print_screen functionality is extended. If negative value provided, logfile will be not cleared but appended.

Cheap extension to even more control. Useful for fastening of any dumps for example.
And especially extend ubasic control. Because it is very limited in any file operations.

Massive ubasic speed optimization come soon... So memory-careful language going to be more useful.

Added in changeset 1394 (also added some comments to the code).

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)


Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #504 on: 05 / November / 2011, 01:13:09 »
Added in changeset 1394 (also added some comments to the code).
wiki updated set_console_autoredraw()
« Last Edit: 05 / November / 2011, 01:15:20 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3319
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #505 on: 05 / November / 2011, 01:51:51 »
Ok. In attachment new version of convertor.
It succesfully was compiled in tools and work ok

Thanks for that.
I've integrated it into the build process - defaults to english; but can be overridden in buildconf.inc or localbuildconf.inc.

Added in changeset 1395.

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)

Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #506 on: 05 / November / 2011, 02:54:47 »
Added in changeset 1394 (also added some comments to the code).

Sorry. I did miss one line during preparation workspace to diff. So print_screen extension work not as expected.
Below patch for that

*

Offline philmoz

  • *****
  • 3319
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #507 on: 05 / November / 2011, 03:39:17 »
Added in changeset 1394 (also added some comments to the code).

Sorry. I did miss one line during preparation workspace to diff. So print_screen extension work not as expected.
Below patch for that

Added in changeset 1396.

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)



Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #509 on: 07 / November / 2011, 19:59:56 »
Colored icons for sx130is - colors tuned as best possible (I guess).
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

 

Related Topics