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

A590IS porting...

  • 968 Replies
  • 408992 Views
Noise reduction is now fixed?
« Reply #510 on: 29 / December / 2008, 17:40:19 »
Advertisements
I am lost again.  Where are the current downloads for the 590IS living these days.

Thanks.

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: A590IS porting...
« Reply #511 on: 29 / December / 2008, 18:04:11 »
I am lost again.  Where are the current downloads for the 590IS living these days.

--> CHDK wikia: Downloads or directly on the CHDK Autobuild server / CHDK autobuild server 2.

Re: A590IS porting...
« Reply #512 on: 29 / December / 2008, 22:31:21 »
Any word on SDHC multipartition support for the a590 yet?

Re: A590IS porting...
« Reply #513 on: 30 / December / 2008, 14:55:40 »
I would also want to know about SDHC multi-partition support.
Just can't make it work.


Video-Zoom + AF
« Reply #514 on: 31 / December / 2008, 00:33:38 »
do i have to post my findings here or elsewhere?

1. AF during video is still not working-neighter shutter nor set-options are working.
2. digital-zoom only possible when video starting in digital-area. canon-setting: digital + chdk:activate optical zoom
both area-zooming
A590 IS-1.01b(x5), SX130IS-101c(x3), 101f(x2)
3dstereo-aeropanorama-Jungfraujoch
http://www.stereopan.tk

*

Offline mngc

  • ***
  • 113
  • a590is fw 1.0.1b & sx110is fw 1.0b
Re: A590IS porting...
« Reply #515 on: 03 / January / 2009, 04:28:26 »
Useful news for playback zebra problem from another thread to expert users.
Thanks to fudgey, and ewavr.

This is a porting problem (a590is fw1.01b) platform/a590/sub/101b/lib.c

See this messages:
Cropped zebra or zebra specific OSD

Cropped zebra or zebra specific OSD

void *vid_get_viewport_fb_d()
{
    return (void*)(*(int*)0x540C);
}

0x5228 and 0x540C incorrect for this camera.

*

Offline reyalp

  • ******
  • 14110
Re: A590IS porting...
« Reply #516 on: 03 / January / 2009, 22:43:57 »
I would also want to know about SDHC multi-partition support.
Just can't make it work.
As we discovered in IRC, all that seemed to be missing was the call to sub_FFC1A97C_my. I've added this in autobuild 665. Although everything looks OK on a quick inspection, it's possible that some addresses are wrong, so report back if it doesn't work.

If the original porters left this out for a reason, please speak up ;)
Don't forget what the H stands for.

*

Offline reyalp

  • ******
  • 14110
Re: A590IS porting...
« Reply #517 on: 03 / January / 2009, 23:04:19 »
Useful news for playback zebra problem from another thread to expert users.
Thanks to fudgey, and ewavr.

This is a porting problem (a590is fw1.01b) platform/a590/sub/101b/lib.c

See this messages:
Cropped zebra or zebra specific OSD

Cropped zebra or zebra specific OSD

void *vid_get_viewport_fb_d()
{
    return (void*)(*(int*)0x540C);
}

0x5228 and 0x540C incorrect for this camera.
It looks like it should be the same as 100e (0x5228) to me. See _sub_FFC44B24__ImagePlayer_c__720

edit: More
100e has
Code: [Select]
void *vid_get_viewport_fb()
{
return (void*)0x10659E80; //ok found at 0xFFC2BCB0
}
I don't see anything informative at 0xFFC2BCB0, but searching for sequence of bytes 80 9E 65 10 finds various likely results.

Based on similarity, I'd say this is correct for 101b if it's correct for 100e.

camera_jpeg_count_str also appears to be the same between the two.

FlashParamsTable looks like 0xFFEAEF24 for both
some_flag_for_af_scan probably 0xBD3C, both

Haven't found focus_busy.

General rant: when porting, or merging a port PLEASE PLEASE PLEASE don't just copy comments that don't apply. When you do find things, please comment how you found them. If you are unsure, note that as well. If you just copied from another camera without verifying, there should be a big fat warning in the code. (to be fair, stubs_min.S was noted unsure)

I've attached builds with these things changed. Please let me know if they break anything worse than the current trunk ;)
« Last Edit: 04 / January / 2009, 00:44:06 by reyalp »
Don't forget what the H stands for.


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: A590IS porting...
« Reply #518 on: 04 / January / 2009, 04:08:13 »
As we discovered in IRC, all that seemed to be missing was the call to sub_FFC1A97C_my. I've added this in autobuild 665.

a590 1.00e, boot.c:
line 683: "BL sub_FFC64678\n" instead of  "BL sub_FFC64678_my\n" (the same thing in 1.01b) - in other cameras call of sub_NNNNNNNN_my present at this place.
line 1031: "BL sub_FFC64338\n"  instead of "BL sub_FFC64338_my\n"  (the same thing in 1.01b) - movie support is blocked.
movie_rec.c, line 1:
//code is here, but its not supported yet
Why?

« Last Edit: 04 / January / 2009, 04:14:49 by ewavr »

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: A590IS porting...
« Reply #519 on: 04 / January / 2009, 04:36:38 »
My version is:

void *vid_get_viewport_fb_d()
{
    return (void*)(*(int*)(0x520C+0x4C));  //0x5258
}

Based on  sub_FFC45328 for 1.00E.
vid_get_viewport_fb_d() used as first argument for DisplayImagePhysicalScreen() call. It seems that address of DisplayImagePhysicalScreen() is 0xFFCCA6E4 for 1.00E.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal