S95 Porting Thread - page 9 - DryOS Development - CHDK Forum  

S95 Porting Thread

  • 1015 Replies
  • 251422 Views
Re: S95 Porting Thread
« Reply #80 on: 30 / October / 2010, 12:41:24 »
Advertisements
the no-print intervalometer works now, great, thanks!
I hope the "Print" issue will be solved.


BTOH,

Anyone with Mac OSX 10.6.4 and an S95 can help with preparation of the SD cards please?
I can only make CHDK work with two partitions but it can not use the large partition to store the pictures.
I tried all the tutorials, methods, scripts, Terminal comands and can't do it!
I'd like to format the 16GB card so I can make long and large timelapses, otherwise I'm stuck with a small partition and tiny pictures.
Or at least the 4GB card!
I feel retarded, can't find what's wrong with card prep

Many thanks
« Last Edit: 30 / October / 2010, 13:06:29 by Fernando »

*

Offline whim

  • ******
  • 2040
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: S95 Porting Thread
« Reply #81 on: 30 / October / 2010, 13:11:41 »
@scstudios

Quote
Now, is there a way to swap that command so the short press is the fast start...seems more logical to get shooting on startup.
If modifying sourcecode and recompiling doesn't scare you, this thread might interest you.
Unfortunately the attaches seem to be dead after the last forum outage ...
Still the code should be easy enough to find:

- open /platform/{your-cam}/sub/{your-firmware}/boot.c

- search for 'taskCreateHook' or 'correct power-on'

- you should see something like this (ex. for sx200is 100c)
Quote
  *(int*)0x1934=(int)taskCreateHook;
   *(int*)0x1938=(int)taskCreateHook2;
   *(int*)0x1930=(int)taskCreateHook3; //  don't know why but movie will only work with 1930 and card lock only with 1934 - 1938
   *(int*)(0x24C0+4)= (*(int*)0xC0220128)&1 ? 0x2000000 : 0x1000000; // replacement of sub_FF821BD4 for correct power-on.
 

- replace '0x2000000 : 0x1000000' with '0x1000000 : 0x2000000' (i.e. swap the numbers)

- recompile

hope that helps,

wim
 
« Last Edit: 30 / October / 2010, 13:13:25 by whim »

*

Offline waldo

  • ***
  • 238
Re: S95 Porting Thread
« Reply #82 on: 30 / October / 2010, 14:00:17 »
I have a new version available.  Changes are:
  * Zebra mode works
  * UBasic print() works
  * PTP implemented
It's possible some other things may work better as a result of changes in this version as well.

Here is the new version:

See: http://chdk.setepontos.com/index.php?topic=5641.msg54754#msg54754
« Last Edit: 28 / November / 2010, 21:28:12 by waldo »

Re: S95 Porting Thread
« Reply #83 on: 30 / October / 2010, 16:06:49 »
Awesome work so far on this chdk version.
Got the zoom to work by putting a sleep 1000 before the zoom in the startup script.
@title Zoomit
sleep 1000
set_zoom 2
exit_alt
end

One strange thing that happens, when this script runs, if you startup with the quick power button press, it works fine.  If you do the long button press, which is the fast start, it will take a picture for some reason.  The script is just supposed to zoom in to 35mm and exit the alt mode, but it will fire a pic in there for some reason.  This is using the latest build v2.


Re: S95 Porting Thread
« Reply #84 on: 30 / October / 2010, 19:55:29 »
After running this script several times, it fails half the time.  The cameras lock up.
@title Zoomit
sleep 2000
set_zoom 2
sleep 2000
exit_alt
end

Is there any difference in the zoom commands for different models.  I see set_zoom, set_zoom_to and set_zoom_to_step.  What is the diff?

Re: S95 Porting Thread
« Reply #85 on: 30 / October / 2010, 22:29:42 »
I have a new version available.  Changes are:
  * Zebra mode works
  * UBasic print() works
  * PTP implemented
It's possible some other things may work better as a result of changes in this version as well.

http://www.zshare.net/download/82162757c913888b/

Thanks Waldo....great work!

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: S95 Porting Thread
« Reply #86 on: 31 / October / 2010, 04:13:08 »
Hi waldo, do you have the source too?

do you manage to get the overrides working?

I'm interest to see if other new cams the iso override works with the flash active, for now sx210 and ixus300 fails with this.

Re: S95 Porting Thread
« Reply #87 on: 31 / October / 2010, 06:44:07 »
The overrides, "make card bootable", "swap partitions" are not working for me but I assume are not implemented yet


*

Offline waldo

  • ***
  • 238
Re: S95 Porting Thread
« Reply #88 on: 31 / October / 2010, 15:07:50 »
« Last Edit: 28 / November / 2010, 21:28:51 by waldo »

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: S95 Porting Thread
« Reply #89 on: 31 / October / 2010, 15:23:35 »
Thanks waldo, I'm helping out with the ixus1000 port and it could help since they are DRYOS 2.3, release #0045

also I think i found all the stubs for the ixus1000 and most are the same as s95, if you need them are here:
http://chdk.setepontos.com/index.php?topic=5722.0

« Last Edit: 31 / October / 2010, 16:01:37 by asm1989 »

 

Related Topics