SD940 (IXUS120) porting thread - page 9 - DryOS Development - CHDK Forum supplierdeeply

SD940 (IXUS120) porting thread

  • 542 Replies
  • 201097 Views
Re: SD940 (IXUS120) porting thread
« Reply #80 on: 19 / December / 2010, 12:47:56 »
Advertisements
I saw one in a shop today and have also seen a few on different online-shops. Any idea why these go for the price of eg. Ixus130IS + 50-100% ?

Re: SD940 (IXUS120) porting thread
« Reply #81 on: 19 / December / 2010, 13:31:36 »
I saw one in a shop today and have also seen a few on different online-shops. Any idea why these go for the price of eg. Ixus130IS + 50-100% ?
I think that newer models tend to have better prices while they are in mass market sales mode.  A quick look at the specs of  SD4000 (IXUS130) says its a bit of an upgrade from the SD940.  Might be a better buy ?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: SD940 (IXUS120) porting thread
« Reply #82 on: 19 / December / 2010, 13:52:37 »
In a review: http://www.cnet.com.au/canon-ixus-130-is-339300900.htm they had the following conclusion:

Casual shooters will find nothing wrong with the images from the IXUS 130 IS, but more astute photographers will find some troublesome noise and photo quality issues. Our advice? Pick up the much better 120 IS, even if it is a few millimetres thicker.

Besides, I don't think there is a chdk port ready for the 130IS yet.

Re: SD940 (IXUS120) porting thread - stuck and need ideas
« Reply #83 on: 19 / December / 2010, 14:47:48 »
Still having problems with pictures being saved without the IMG_ prefix (just as nnn.jpg not IMG_nnn.jpg).

I've traced it down to the call to conf_restore() in main.c.   If I take a quick shot before the core_spytask() runs or if I comment out the call to conf_restore() then files are saved with the correct name structure.   As soon as conf_restore() gets to  conf_load_defaults() the filename corruption starts.

I can't find anything in conf_info[] that should cause this.  I'm assuming somewhere something is pointing at the wrong location or somewhere I haven't found all the configuration parameters ?

Anyone have any ideas ?


Solved : http://chdk.setepontos.com/index.php?topic=5855.msg58346#msg58346
« Last Edit: 19 / December / 2010, 20:05:45 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline reyalp

  • ******
  • 14079
Re: SD940 (IXUS120) porting thread
« Reply #84 on: 19 / December / 2010, 15:08:24 »
Still having problems with pictures being saved without the IMG_ prefix (just as nnn.jpg not IMG_nnn.jpg).
Camera jpegs are saved without prefix ? CHDK doesn't (intentionally) change this at all...
Don't forget what the H stands for.

Re: SD940 (IXUS120) porting thread
« Reply #85 on: 19 / December / 2010, 15:47:10 »
Camera jpegs are saved without prefix ? CHDK doesn't (intentionally) change this at all...
That's what I thought too - trying to do it on purpose would be difficult.  I'll keep digging.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline waldo

  • ***
  • 238
Re: SD940 (IXUS120) porting thread
« Reply #86 on: 19 / December / 2010, 17:24:23 »
I would try deleting the CCHDK.CFG.  Let it get rebuilt and see if that helps.  Also, problems with conf_restore can be the result of bad addresses for file I/O functions, although I can't think of a reason that would cause your particular file name symptoms.

Re: SD940 (IXUS120) porting thread
« Reply #87 on: 19 / December / 2010, 19:28:20 »
Hi all, trying to dump my 940's 1.03B FW image.  If I boot newdryos version of diskboot.bin I get black screen but if I wait 1 min. empty.dum is just nulls.  Trying dryos version of diskimage.bin gives me disk locked after multiple attempts.  I'm using cardtricks 1.44 to make the SD card dumper.

Any ideas as to what I might be missing?


Re: SD940 (IXUS120) porting thread
« Reply #88 on: 19 / December / 2010, 19:45:39 »
Hi all, trying to dump my 940's 1.03B FW image.  If I boot newdryos version of diskboot.bin I get black screen but if I wait 1 min. empty.dum is just nulls.  Trying dryos version of diskimage.bin gives me disk locked after multiple attempts.  I'm using cardtricks 1.44 to make the SD card dumper.

Any ideas as to what I might be missing?

RoninTech :  Sounds like you are trying to run a CHDK image for a different camera ?  You seem to be confusing what is needed to dump a FW image.  The easiest way is to run a Canon BASIC program such as the one I posted at http://chdk.setepontos.com/index.php?topic=4310.msg57252#msg57252.  Details about running Canon Basic can be found at http://chdk.wikia.com/wiki/Canon_Basic

FWIW,  I have a dump of the 1.03B FW image if you need it.  Are you able to work on a port or were you going to post your dump and see if someone else can port it for you ?

http://www.zshare.net/download/8401129401127798
« Last Edit: 19 / December / 2010, 20:10:09 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: SD940 (IXUS120) porting thread - problem of the weekend solved
« Reply #89 on: 19 / December / 2010, 19:57:01 »
I would try deleting the CCHDK.CFG.  Let it get rebuilt and see if that helps.  Also, problems with conf_restore can be the result of bad addresses for file I/O functions, although I can't think of a reason that would cause your particular file name symptoms.
Thanks waldo.  That wasn't it but the problem is solved - sort of.  Did a binary search of each entry in conf_info[]  and eventually tied the strange filename behaviour to whether or not the splash screen was enabled. Ouch. More trial and error led me eventually to my old friend vid_bitmap_refresh().   The other day I had been trying to implement the various combinations of _ScreenLock() and _ScreenUnLock() that I have seen on this forum.  (I had originally hacked this rountine to simply do draw_filled_rect(0, 0, screen_width, screen_height, 0x00)).    I had left some of the Lock/Unlocks laying around there.  No idea why it caused the weird filename behaviour - once I commented it out everything started working properly.

Hence my comment about "sort of" above.  Still need to figure out how vid_bitmap_refresh() should work.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics