Powershot N Porting Thread - page 12 - DryOS Development - CHDK Forum supplierdeeply

Powershot N Porting Thread

  • 212 Replies
  • 83511 Views
*

Offline koshy

  • *****
  • 1096
Re: Powershot N Porting Thread
« Reply #110 on: 23 / August / 2014, 17:30:58 »
Advertisements
Can you check the CHDK Settings -> Color Settings -> Draw Palette screen in both shooting and playback mode ?  You should see the colors circled here if the palette loaded correctly.
See for yourself. Buttons being white in play mode and our current debug read out made it a little tricky but it should show what you asked.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

Re: Powershot N Porting Thread
« Reply #111 on: 23 / August / 2014, 17:36:15 »
See for yourself. Buttons being white in play mode and our current debug read out made it a little tricky but it should show what you asked.
It's not writing custom colors to the palette in either mode.  Or it's writing to the wrong palette. 

I'll post a new debug version in a few minutes.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Powershot N Porting Thread
« Reply #112 on: 23 / August / 2014, 18:03:34 »
New set of debugs.   Another couple of screenshots ( shooting & playback modes ) would be perfect here.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline srsa_4c

  • ******
  • 4451
Re: Powershot N Porting Thread
« Reply #113 on: 23 / August / 2014, 18:20:32 »
Just a note. There may be more than one copies of the palette in RAM.
In cameras I've seen, there is
- a block in RAM which contains all palettes
- another block in RAM which contains the currently active palette. Whenever the camera selects a new palette, it is copied here.
DIGIC 5 cams may do this differently though.


Re: Powershot N Porting Thread
« Reply #114 on: 23 / August / 2014, 18:28:29 »
Just a note. There may be more than one copies of the palette in RAM.
In cameras I've seen, there is
- a block in RAM which contains all palettes
- another block in RAM which contains the currently active palette. Whenever the camera selects a new palette, it is copied here.
DIGIC 5 cams may do this differently though.
That would tend to make the current code "lag" a bit - AFAIK it overwrites the first block of RAM you described.  If it gets there after the palette has been transferred to the second block you describe, it would mean the palette changes get missed until the next mode changes.

Mitigating this somewhat is the fact that the Powershot N works for me
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline koshy

  • *****
  • 1096
Re: Powershot N Porting Thread
« Reply #115 on: 23 / August / 2014, 18:29:24 »
New set of debugs.   Another couple of screenshots ( shooting & playback modes ) would be perfect here.
Sure.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

Re: Powershot N Porting Thread
« Reply #116 on: 23 / August / 2014, 18:31:11 »
New set of debugs.   Another couple of screenshots ( shooting & playback modes ) would be perfect here.
Sure.
Darn. They changed the code.  But I think I can figure it out.
« Last Edit: 23 / August / 2014, 18:34:05 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline koshy

  • *****
  • 1096
Re: Powershot N Porting Thread
« Reply #117 on: 23 / August / 2014, 18:51:46 »
Darn. They changed the code.  But I think I can figure it out.
Yes I think you did figure it out.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)


Re: Powershot N Porting Thread
« Reply #118 on: 23 / August / 2014, 19:30:42 »
Yes I think you did figure it out.
Okay - I think this is ready to go into the autobuild with Alpha status.  Here's a link to the final build (assuming I assembled all the fixes correctly). 
n_facebook-100a-1.3.0-3592-full.zip

If you could take 5 minutes to walk it through its paces that would be great.

Edit : fixed link
« Last Edit: 23 / August / 2014, 20:32:11 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline koshy

  • *****
  • 1096
Re: Powershot N Porting Thread
« Reply #119 on: 23 / August / 2014, 21:20:45 »
If you could take 5 minutes to walk it through its paces that would be great.
Usually that takes loner than that. Here is what I've got:

- DNG full shutter works
- DNG half shutter works
- ETR 00:01:31 works
- USB Remote works
- Zebra works
- CHDKPTP connects
- remote shoot DNG works
- FWT works in single and continuous drive mode

- video quality 5 and 70 don't work with video mode being set to quality
   (~ same file size for 5 sec clips)
- CHDKPTP UI overlay color palette is wrong (see screen cap)
- CHDKPTP live view doesn't use camera's aspect ratio
   (seems to be movie's wide screen aspect ratio and crop)
   (UI overlay is completely visible on that as shown)
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

 

Related Topics