A590IS porting... - page 48 - DryOS Development - CHDK Forum

A590IS porting...

  • 968 Replies
  • 419327 Views
*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: A590IS porting...
« Reply #470 on: 06 / December / 2008, 06:19:44 »
Advertisements
@ewavr
@gho

managed to get a GCC 3.4.6 compiled trunk 620 for A590-101B to run metronome without crashing by
setting PostLEDMessage in stubs_entry_2.S to an empty function:

NSTUB(PostLEDMessage, 0xFFC00948)

evidently the small differences in produced code by GCC 3 and 4 were responsable for
the autobuild version to 'get away' with the wrong address, while GCC 3.4.6 version
choked on it ...

wim
« Last Edit: 06 / December / 2008, 06:22:16 by whim »

Re: A590IS porting...
« Reply #471 on: 06 / December / 2008, 07:35:13 »

*

Offline hitme

  • *
  • 12
Re: A590IS porting...
« Reply #472 on: 06 / December / 2008, 09:26:16 »
@whim
it is ok
the new file size biger than old crw file 37kb
but the new dng file cannot opened by ps cs4 

Re: A590IS porting...
« Reply #473 on: 07 / December / 2008, 10:37:56 »
Whim,
Many thanks for your advice. When I ran cardtricks in Winwdows 20000, it worked a dream.
I now have a fully fuctioning camera! All I have to do now, is to learn about the programming language and work out what it all means. I would like to get the date (in different forms) on the screen as well as the time.
I am very impressed.

I'm intrigued to know how it was found out that the cameras could be programmed like this.

Thank you again.
Pagnol.

Re: A590IS porting...
« Reply #474 on: 07 / December / 2008, 14:05:16 »
Hi all, I've just loaded 1.01b-0.8.9-623 and found that AV bracketing works only in - mode when set to +/-

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: A590IS porting...
« Reply #475 on: 07 / December / 2008, 14:10:30 »
Hi all, I've just loaded 1.01b-0.8.9-623 and found that AV bracketing works only in - mode when set to +/-

Are you sure you aren't starting at widest aperture available for given zoom, because you can't go wider than that?

Re: A590IS porting...
« Reply #476 on: 07 / December / 2008, 14:18:20 »
Hi all, I've just loaded 1.01b-0.8.9-623 and found that AV bracketing works only in - mode when set to +/-

Are you sure you aren't starting at widest aperture available for given zoom, because you can't go wider than that?

Oooopsss sorry guys. Thank you for the reply

*

Offline hitme

  • *
  • 12
Re: A590IS porting...
« Reply #477 on: 08 / December / 2008, 00:03:18 »
dng4ps2
color matrix daylight
0.401274 -0.100048 -0.074628 -0.054260 0.326804 0.016926 0.026217 0.036974 0.111526
or
0.647380 -0.169846 -0.115337 -0.011566 0.451223 0.013279 0.062541 0.054140 0.161148
which one is right?
thanks

Re: A590IS porting...
« Reply #478 on: 08 / December / 2008, 01:06:07 »
Has anyone found or made an external/AC power supply for the A590 (or one of the other cameras that uses 2 AA batteries)?

*

Offline reyalp

  • ******
  • 14125
Re: A590IS porting...
« Reply #479 on: 08 / December / 2008, 02:30:36 »
quick question though: why do the 590's have  "stub_entry" and "stubs_entry" stuff ?

(in platform/a590, trunk 618 src, note the dropped 's')

not a typo I hope ?

The whole thing is a mess. Those do not appear to used.

The stubs_entry.S cannot be generated from the existing sig files, and contains a whole lot of stuff that isn't used. The stubs_entry_2.S also contains a whole lot of garbage (unknown_libname_80 ... WTF?), including stuff that is correctly found in stubs_entry.S... along with the "THIS IS GENERATE FILE" warning, which it shouldn't be...

Another interesting thing, finsig finds:
Quote
NSTUB(GetDrive_FreeClusters, 0xffc416f0)
NSTUB(GetDrive_TotalClusters, 0xffc416bc)
but stubs_entry_2.s has
Quote
NHSTUB(GetDrive_FreeClusters, 0xffc416bc)
NHSTUB(GetDrive_TotalClusters,   0xffc416f0)
Notice the addresses are reversed. Looking at the a720 dump and addresses, it appears the finsig version is correct.

The 101b stubs_entry.s appears to have been manually edited...

I've cleaned up most of the above, but it's quite possible I've broken something. It's also quite possible/likely that more entry points are wrong.

I've re-directed PostLEDMessage to a RET for the moment.

@karenk
OT, but you can buy them from canon dealers (eg newegg Newegg.com - Canon ACK800 AC Adapter Kit ) at an outrageous price, or get cheap imitations of dubious quality on ebay or your favorite china gadget source.
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal