SD870 porting - first steps? - page 6 - DryOS Development - CHDK Forum

SD870 porting - first steps?

  • 65 Replies
  • 42235 Views
*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: SD870 porting - first steps?
« Reply #50 on: 28 / March / 2008, 19:02:40 »
Advertisements
Just out of curiosity - did you use my dump file as the basis? (hoping I was at least somewhat of a help)
Yep. There are no other dumps of SD870, AFAIK.
CHDK Developer.

Re: SD870 porting - first steps?
« Reply #51 on: 28 / March / 2008, 20:09:08 »
Is the port not feature complete yet or just not fully tested? The feature I want the most is optical zoom in video but it doesn't appear to work. I have digital zoom disabled.

Re: SD870 porting - first steps?
« Reply #52 on: 28 / March / 2008, 22:52:22 »
There a few things that don't work, though I haven't tested it properly...

*

Offline GC

  • *
  • 4
Re: SD870 porting - first steps?
« Reply #53 on: 29 / March / 2008, 11:24:06 »
RyeBrye, GrAnd is right, I used your dump file. Thank you!

badbob001: I confirm taha optical zoom doesn't work in video, however I'm not aware if CHDK can fix it - as I wrote, I'm not experienced user of CHDK and I haven't seen this option in any menu.

Additionaly, while doing bracketing in continuous mode data is not imprinted into jpg. When viewing eg. three pictures all of them have the same info, although you can see the difference.


Re: SD870 porting - first steps?
« Reply #54 on: 30 / March / 2008, 21:33:15 »
Deleted
« Last Edit: 22 / April / 2008, 15:01:33 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

Re: SD870 porting - first steps?
« Reply #55 on: 02 / April / 2008, 01:44:36 »
I downloaded the latest Allbest Build and tried it on my SD870... it work great ! This is totally awesome ! Great work guys ! I'm currently trying to understand the source code ... I wish I could help

Re: SD870 porting - first steps?
« Reply #56 on: 04 / April / 2008, 09:51:29 »
One unexpected benefit to the new firmware is that when you press the power button, instead of going into shooting mode, it goes into playback mode. This may annoy some but it reduces the chance of the lens trying to expanding in your pocket from an accidental brush of the power button.

I would really like to see the following CHDK features working on this camera:
- optical zooming during video
- dual partition support so we can autoboot chdk from SD cards larger than 4GB.

Re: SD870 porting - first steps?
« Reply #57 on: 04 / April / 2008, 13:53:58 »
badbob001 ... you can use the following script to enable the zoom in video:
Code: [Select]
rem mart22, based on kamil
@title Zoom and Focus video

s=3
z=s

get_prop 12 q
if q=0 then set_prop 12 1

press "shoot_half"
sleep 800
click "shoot_full"

:loop
wait_click
if is_key "zoom_in" then goto "in"
if is_key "zoom_out" then goto "out"

if is_key "erase" then set_focus 59
if is_key "up" then  set_focus 120
if is_key "set" then set_focus 600
if is_key "down" then set_focus 2000
if is_key "display" then set_focus 65535

if is_key "left" then set_zoom_rel -15
if is_key "right" then set_zoom_rel 15

if is_key "shoot_half" then goto "changestep"
if is_key "shoot_full" then goto "xend"
if is_key "menu" then goto "xend"
goto "loop"

:changestep
if s=7 then s=1 else s=s+2
z=s
print "step ",z
goto "loop"


:in
if z<0 then z=1
if z>13 then z=13
set_zoom_rel z
get_zoom r
print "zoom ", r
goto "loop"

:out
if z<0 then z=1
if z>13 then z=13
set_zoom_rel -z
get_zoom r
print "zoom ", r
goto "loop"



:xend
click "shoot_full"
set_prop 12 q
end

It work great on the SD870IS, but we must find a way to enable the autofocus during the recording.


*

Offline GC

  • *
  • 4
Re: SD870 porting - first steps?
« Reply #58 on: 05 / April / 2008, 14:31:14 »
Barney Fife: Thanks for the CHKD2EXIF info

mlaprise: I can't test the script. I saved it in CHDK/SCRIPTS folder, the name: zoom.bas. Then I go main menu>scripting parameters>load script from file. I can see the zoom.bas file. I can highlight it but when I press SET nothing happens. The current script is still "Default Script". I assume it should be zoom.bas and then I should start it with the shutter button. Am I right?
Also while walking through the folders tree I can only go up, I cannot go into any folder with the button SET.
I use the 4gb cart formatted with fat16, IXUS 860IS.
Do I do anything wrong?
Thanks in advance...

Re: SD870 porting - first steps?
« Reply #59 on: 05 / April / 2008, 17:55:06 »
Deleted
« Last Edit: 22 / April / 2008, 15:01:53 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

 

Related Topics