Mode dials and Playback pushbuttons - page 12 - General Discussion and Assistance - CHDK Forum  

Mode dials and Playback pushbuttons

  • 201 Replies
  • 83192 Views
*

Offline reyalp

  • ******
  • 14080
Re: Mode dials and Playback pushbuttons
« Reply #110 on: 03 / December / 2009, 21:52:54 »
Advertisements
On g7, these two aren't in the modemap:
ROM:FF9B62E6                 DCW 8222 (0x201e)
ROM:FF9B62E8                 DCW 8223 (0x201f)

Also the PORTRAIT and LANDSCAPE modes like SCN modes, although this probably doesn't matter.

What does "C" mode do ?

edit:
g7 100e list starts at FF9B62B0

edit:
the video modes in a700 are wrong. Table at FFD5912C in 100b dump

edit: and scn too.
« Last Edit: 03 / December / 2009, 22:22:15 by reyalp »
Don't forget what the H stands for.

Re: Mode dials and Playback pushbuttons
« Reply #111 on: 03 / December / 2009, 22:00:31 »
What does "C" mode do ?
C mode is the custom mode.  From what my previous looking at this stuff (at least on the SX10), C mode doesn't have it's own mode number, but rather saves and uses the mode number of the mode it is set to.  I actually have my SX10 currently set to digital macro mode for Custom even though it isn't a regular available mode.

*

Offline reyalp

  • ******
  • 14080
Re: Mode dials and Playback pushbuttons
« Reply #112 on: 03 / December / 2009, 22:11:54 »
What does "C" mode do ?
C mode is the custom mode.  From what my previous looking at this stuff (at least on the SX10), C mode doesn't have it's own mode number, but rather saves and uses the mode number of the mode it is set to.  I actually have my SX10 currently set to digital macro mode for Custom even though it isn't a regular available mode.
Ewavr seems to be saying that a specific mode number corresponds to C mode.
Quote
t seems that S3IS has two unlisted shooting modes (8218 and 4125) - one from them probably is "C" mode (@0xFF98F378)
I am not less confused.
Don't forget what the H stands for.

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Mode dials and Playback pushbuttons
« Reply #113 on: 04 / December / 2009, 07:57:06 »
A630 seems to pass:

format hint: (size=10pt)(font=Lucida Console)
Quote
a630 100c CHDK 0.9.9-856 Dec  4 2009 13:14:44 vxworks 0x313a
START                        |                    P   2 32772 STL
TRY                 AUTO   1 |                 AUTO   1 32768 STL  220ms OK
TRY                    P   2 |                    P   2 32772 STL  270ms OK
TRY                   TV   3 |                   TV   3 32771 STL  330ms OK
TRY                   AV   4 |                   AV   4 32770 STL  320ms OK
TRY                    M   5 |                    M   5 32769 STL  480ms OK
TRY             PORTRAIT   6 |             PORTRAIT   6 32781 STL  350ms OK
TRY                NIGHT   7 |                NIGHT   7 32782 STL  300ms OK
TRY            LANDSCAPE   8 |            LANDSCAPE   8 32780 STL  350ms OK
TRY            VIDEO_STD   9 |            VIDEO_STD   9  2596 VID  590ms OK
TRY        VIDEO_COMPACT  11 |        VIDEO_COMPACT  11  2598 VID  270ms OK
TRY      VIDEO_MY_COLORS  12 |      VIDEO_MY_COLORS  12  2595 VID  450ms OK
TRY   VIDEO_COLOR_ACCENT  13 |   VIDEO_COLOR_ACCENT  13  2594 VID  330ms OK
TRY               STITCH  15 |               STITCH  15 33290 STL  950ms OK
TRY            MY_COLORS  16 |            MY_COLORS  16 16922 STL  510ms OK
TRY            SCN_NIGHT  18 |            SCN_NIGHT  18 16395 STL  290ms OK
TRY             SCN_SNOW  22 |             SCN_SNOW  22 16402 STL  310ms OK
TRY            SCN_BEACH  23 |            SCN_BEACH  23 16403 STL  420ms OK
TRY         SCN_FIREWORK  24 |         SCN_FIREWORK  24 16404 STL  600ms OK
TRY     SCN_COLOR_ACCENT  25 |     SCN_COLOR_ACCENT  25 16921 STL  320ms OK
TRY        SCN_KIDS_PETS  33 |        SCN_KIDS_PETS  33 16399 STL  440ms OK
TRY          SCN_FOLIAGE  38 |          SCN_FOLIAGE  38 16401 STL  400ms OK
TRY           SCN_INDOOR  40 |           SCN_INDOOR  40 16400 STL  410ms OK
TRY       SCN_UNDERWATER  56 |       SCN_UNDERWATER  56 16405 STL  390ms OK
TRY                    P   2 |                    P   2 32772 STL  350ms OK


Kudo's and bravo for this astounding job !  a quantum jump (bump?) for CHDK    :xmas
and , speaking about bumps, IMHO well worth more than 0.9.8 -> 0.9.9   :D

cheers,

wim


*

Offline Aged

  • *
  • 39
Re: Mode dials and Playback pushbuttons
« Reply #114 on: 04 / December / 2009, 14:52:18 »
Results for S3, passed I presume, thanks for great work

It seems that S3IS has two unlisted shooting modes (8218 and 4125) - one from them probably is "C" mode (@0xFF98F378)
Can you test this lua script?

set_capture_mode_canon(8218)
sleep(5000)
set_capture_mode_canon(4125)

At present a lua novice,  so when the script above died I  looked at  Ubasic to enable me to produce a result.  Later I found the Ubasic set mode script always crashed at the 1st Gosub . The reason I think is 'get_capture_mode' is not defined.

*

Offline Aged

  • *
  • 39
Re: Mode dials and Playback pushbuttons
« Reply #115 on: 04 / December / 2009, 15:46:39 »
Results for S3, passed I presume, thanks for great work

It seems that S3IS has two unlisted shooting modes (8218 and 4125) - one from them probably is "C" mode (@0xFF98F378)
Can you test this lua script?

set_capture_mode_canon(8218)
sleep(5000)
set_capture_mode_canon(4125)

At present a lua novice,  so when the script above died I  looked at  Ubasic to enable me to produce a result.  Later I found the Ubasic set mode script always crashed at the 1st Gosub .

Re: Mode dials and Playback pushbuttons
« Reply #116 on: 04 / December / 2009, 17:01:51 »
Quote
It seems that S3IS has two unlisted shooting modes (8218 and 4125) - one from them probably is "C" mode (@0xFF98F378)
Can you test this lua script?

set_capture_mode_canon(8218)
sleep(5000)
set_capture_mode_canon(4125)

At present a lua novice,  so when the script above died I  looked at  Ubasic to enable me to produce a result.  Later I found the Ubasic set mode script always crashed at the 1st Gosub . The reason I think is 'get_capture_mode' is not defined.
I am guessing that the mode numbers given here are their HEX values, whereas the script is expecting decimal values (8218 = 33304, 4125 = 16677).  Maybe try this.

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Mode dials and Playback pushbuttons
« Reply #117 on: 04 / December / 2009, 17:17:52 »
I am guessing that the mode numbers given here are their HEX values, whereas the script is expecting decimal values
No, there was decimal values.


*

Offline reyalp

  • ******
  • 14080
Re: Mode dials and Playback pushbuttons
« Reply #118 on: 04 / December / 2009, 17:23:43 »
At present a lua novice,  so when the script above died I  looked at  Ubasic to enable me to produce a result.  Later I found the Ubasic set mode script always crashed at the 1st Gosub . The reason I think is 'get_capture_mode' is not defined.
Are you referring to the setmode.bas script I checked in ? From that, you should be able to set the first option to 0 (for canon mode) and the second to the number ewavr gave. See http://chdk.wikia.com/wiki/UBASIC/Scripts:Standard/Test/Setmode

You can also do the same thing with the lua version of this script. Download the full CHDK package to get the scripts.

If you are using the latest autobuild, get_capture_mode is defined in ubasic. I do test the scripts before I check them in ;). In any case, if it wasn't the result would be "Unk stmt" not a crash.

If you are using an autobuild earlier than 850, ubasic will crash if you run it after running a lua scirpt.

@whim (and anyone else posting logs):
Do all the modes in that look like modes that actually exist on the camera ? e.g. the SCN modes have the right names ?
Don't forget what the H stands for.

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Mode dials and Playback pushbuttons
« Reply #119 on: 04 / December / 2009, 19:18:19 »
@reyalp


Ok, here's the full log (all modes)
Quote

a630 100c CHDK 0.9.9-856 Dec  4 2009 13:14:44 vxworks 0x313a
START                        |                    P   2 32772 STL
TRY                 AUTO   1 |                 AUTO   1 32768 STL  350ms OK
TRY                    P   2 |                    P   2 32772 STL  300ms OK
TRY                   TV   3 |                   TV   3 32771 STL  340ms OK
TRY                   AV   4 |                   AV   4 32770 STL  290ms OK
TRY                    M   5 |                    M   5 32769 STL  520ms OK
TRY             PORTRAIT   6 |             PORTRAIT   6 32781 STL  380ms OK
TRY                NIGHT   7 |                NIGHT   7 32782 STL  340ms OK
TRY            LANDSCAPE   8 |            LANDSCAPE   8 32780 STL  320ms OK
TRY            VIDEO_STD   9 |            VIDEO_STD   9  2596 VID  580ms OK
TRY          VIDEO_SPEED  10 |            VIDEO_STD   9  2596 VID    0ms SET  10 FAIL INVALID
TRY        VIDEO_COMPACT  11 |        VIDEO_COMPACT  11  2598 VID  230ms OK
TRY      VIDEO_MY_COLORS  12 |      VIDEO_MY_COLORS  12  2595 VID  470ms OK
TRY   VIDEO_COLOR_ACCENT  13 |   VIDEO_COLOR_ACCENT  13  2594 VID  270ms OK
TRY     VIDEO_COLOR_SWAP  14 |   VIDEO_COLOR_ACCENT  13  2594 VID    0ms SET  14 FAIL INVALID
TRY               STITCH  15 |               STITCH  15 33290 STL  900ms OK
TRY            MY_COLORS  16 |            MY_COLORS  16 16922 STL  550ms OK
TRY            SCN_WATER  17 |            MY_COLORS  16 16922 STL    0ms SET  17 FAIL INVALID
TRY            SCN_NIGHT  18 |            SCN_NIGHT  18 16395 STL  330ms OK
TRY            SCN_CHILD  19 |            SCN_NIGHT  18 16395 STL    0ms SET  19 FAIL INVALID
TRY            SCN_PARTY  20 |            SCN_NIGHT  18 16395 STL    0ms SET  20 FAIL INVALID
TRY            SCN_GRASS  21 |            SCN_NIGHT  18 16395 STL    0ms SET  21 FAIL INVALID
TRY             SCN_SNOW  22 |             SCN_SNOW  22 16402 STL  320ms OK
TRY            SCN_BEACH  23 |            SCN_BEACH  23 16403 STL  310ms OK
TRY         SCN_FIREWORK  24 |         SCN_FIREWORK  24 16404 STL 1510ms OK
TRY     SCN_COLOR_ACCENT  25 |     SCN_COLOR_ACCENT  25 16921 STL  310ms OK
TRY       SCN_COLOR_SWAP  26 |     SCN_COLOR_ACCENT  25 16921 STL    0ms SET  26 FAIL INVALID
TRY          VIDEO_HIRES  27 |     SCN_COLOR_ACCENT  25 16921 STL    0ms SET  27 FAIL INVALID
TRY         SCN_AQUARIUM  28 |     SCN_COLOR_ACCENT  25 16921 STL    0ms SET  28 FAIL INVALID
TRY         COLOR_ACCENT  29 |     SCN_COLOR_ACCENT  25 16921 STL    0ms SET  29 FAIL INVALID
TRY           SCN_NIGHT1  30 |     SCN_COLOR_ACCENT  25 16921 STL    0ms SET  30 FAIL INVALID
TRY         SCN_ISO_3200  31 |     SCN_COLOR_ACCENT  25 16921 STL   10ms SET  31 FAIL INVALID
TRY            SCN_SPORT  32 |     SCN_COLOR_ACCENT  25 16921 STL    0ms SET  32 FAIL INVALID
TRY        SCN_KIDS_PETS  33 |        SCN_KIDS_PETS  33 16399 STL  370ms OK
TRY               INDOOR  34 |        SCN_KIDS_PETS  33 16399 STL    0ms SET  34 FAIL INVALID
TRY            KIDS_PETS  35 |        SCN_KIDS_PETS  33 16399 STL    0ms SET  35 FAIL INVALID
TRY       NIGHT_SNAPSHOT  36 |        SCN_KIDS_PETS  33 16399 STL    0ms SET  36 FAIL INVALID
TRY        DIGITAL_MACRO  37 |        SCN_KIDS_PETS  33 16399 STL    0ms SET  37 FAIL INVALID
TRY          SCN_FOLIAGE  38 |          SCN_FOLIAGE  38 16401 STL  450ms OK
TRY     VIDEO_TIME_LAPSE  39 |          SCN_FOLIAGE  38 16401 STL    0ms SET  39 FAIL INVALID
TRY           SCN_INDOOR  40 |           SCN_INDOOR  40 16400 STL  400ms OK
TRY         SCN_PORTRAIT  41 |           SCN_INDOOR  40 16400 STL    0ms SET  41 FAIL INVALID
TRY          SUPER_MACRO  42 |           SCN_INDOOR  40 16400 STL    0ms SET  42 FAIL INVALID
TRY       VIDEO_PORTRAIT  43 |           SCN_INDOOR  40 16400 STL    0ms SET  43 FAIL INVALID
TRY          VIDEO_NIGHT  44 |           SCN_INDOOR  40 16400 STL    0ms SET  44 FAIL INVALID
TRY         VIDEO_INDOOR  45 |           SCN_INDOOR  40 16400 STL    0ms SET  45 FAIL INVALID
TRY        VIDEO_FOLIAGE  46 |           SCN_INDOOR  40 16400 STL    0ms SET  46 FAIL INVALID
TRY           VIDEO_SNOW  47 |           SCN_INDOOR  40 16400 STL    0ms SET  47 FAIL INVALID
TRY          VIDEO_BEACH  48 |           SCN_INDOOR  40 16400 STL    0ms SET  48 FAIL INVALID
TRY       VIDEO_AQUARIUM  49 |           SCN_INDOOR  40 16400 STL    0ms SET  49 FAIL INVALID
TRY    VIDEO_SUPER_MACRO  50 |           SCN_INDOOR  40 16400 STL    0ms SET  50 FAIL INVALID
TRY         VIDEO_STITCH  51 |           SCN_INDOOR  40 16400 STL    0ms SET  51 FAIL INVALID
TRY         VIDEO_MANUAL  52 |           SCN_INDOOR  40 16400 STL    0ms SET  52 FAIL INVALID
TRY               SPORTS  53 |           SCN_INDOOR  40 16400 STL    0ms SET  53 FAIL INVALID
TRY                QUICK  54 |           SCN_INDOOR  40 16400 STL    0ms SET  54 FAIL INVALID
TRY           SCN_SUNSET  55 |           SCN_INDOOR  40 16400 STL    0ms SET  55 FAIL INVALID
TRY       SCN_UNDERWATER  56 |       SCN_UNDERWATER  56 16405 STL  420ms OK
TRY                 EASY  57 |       SCN_UNDERWATER  56 16405 STL    0ms SET  57 FAIL INVALID
TRY    SCN_DIGITAL_MACRO  58 |       SCN_UNDERWATER  56 16405 STL    0ms SET  58 FAIL INVALID
TRY           SCN_STITCH  59 |       SCN_UNDERWATER  56 16405 STL    0ms SET  59 FAIL INVALID
TRY                    P   2 |                    P   2 32772 STL  310ms OK


remarks: VIDEO_COLOR_SWAP (14) and SCN_COLOR_SWAP (26) ARE supposed to exist, according to the manual;
            AFAI can tell by the symbols shown on camera, when i use the scripts' menu mode to engage MY_COLORS (16)
            this seems to result in SCN_COLOR_SWAP
            SCN_NIGHT (18) is referred to as "Night Snapshot", while NIGHT (7) is referred to as "Night Scene" (!) in the
            manual

HTH,

wim

 

Related Topics