Cropped zebra or zebra specific OSD - page 9 - Feature Requests - CHDK Forum supplierdeeply

Cropped zebra or zebra specific OSD

  • 90 Replies
  • 44892 Views
*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Cropped zebra or zebra specific OSD
« Reply #80 on: 29 / December / 2008, 18:07:03 »
Advertisements
for a570is play zebra seems usually correct the first time I try it, and it goes bad when zooming etc.

It seems that vid_get_viewport_fb_d() is incorrect for a570, because address of current buffer is not saved anywhere (you can compare firmwares a570 1.00e from loc_FFE62568 and a710 from loc_FFD3A364: in a710 current address saved to 0x70854 variable, but in a570 no such action  >:()

Howerer, try this function for a570 (based on a710 testing):
Code: (c) [Select]
void *vid_get_viewport_fb_d()
{
   #define BASE (0x7C090)
   return (void*) (*(int*)(BASE+0x10) ? *(int*)(BASE+0x0) : *(int*)(BASE+0x14));
}

p.s. If this fails, try to exchange 0x0 and 0x14 offsets.
p.p.s If this also fails, try to browse memory from 0x7C090 address to figure out how it works  :)
p^3.s. In a710:
BASE: 0x1055A7E0 - first address
BASE+4: 720
BASE+8: 720
BASE+0xC: 240
BASE+0x10: 0 or 2 - activity of first buffer mark
BASE+0x14: 0x104B0720 - second address
BASE+0x18: 720
BASE+0x1C: 720
BASE+0x20: 240
BASE+0x24: 0 or 2 - activity of second buffer mark
« Last Edit: 29 / December / 2008, 18:20:53 by ewavr »

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Cropped zebra or zebra specific OSD
« Reply #81 on: 29 / December / 2008, 20:29:26 »
Howerer, try this function for a570 (based on a710 testing):

Thank you ewavr, that function made it work like a charm on first try!  Bugtracker URL:

http://chdk.kernreaktor.org/mantis/view.php?id=167

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Cropped zebra or zebra specific OSD
« Reply #82 on: 30 / December / 2008, 05:35:16 »
Hmm, I cannot commit changes to assembla svn due to "login failed"  :'(
Logging to assembla.com main page works fine.
My version of diff attached here (also for a560).

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Cropped zebra or zebra specific OSD
« Reply #83 on: 30 / December / 2008, 05:49:48 »
odd, i cant comitt as well.

edit: we're not the only ones: Assembla Support Forums
« Last Edit: 30 / December / 2008, 05:52:12 by PhyrePhoX »


*

Offline mngc

  • ***
  • 113
  • a590is fw 1.0.1b & sx110is fw 1.0b
Re: Cropped zebra or zebra specific OSD
« Reply #84 on: 30 / December / 2008, 06:19:24 »
@fudgey
I terrible sorry, of course read all older messages, too. But my english is bad, and i am not expert. Not  understand everything correctly.

My a590is, always show play mode zebra incorrectly, with/without zooming, panning and changing pictures. Record picture->play mode->half press shutter button-> blinking wrong zebra

I am beginner for programing, compiling, debuging. Many sources sucessfully build, packaging in linux.

I see the chdk source tree. A720is with new chdk 0.9.0-657 zebra always ok.
vid_get_viewport_fb_d() addresses  in A720is and A590IS same. I think it is wrong. I am no way to check, correct or no. For expert users, it is ok, or how i can help?

  

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Cropped zebra or zebra specific OSD
« Reply #85 on: 30 / December / 2008, 06:49:11 »
we're not the only ones: Assembla Support Forums
Now this problem is fixed.

vid_get_viewport_fb_d() addresses  in A720is and A590IS same.

a590 1.00E:
Quote
void *vid_get_viewport_fb_d()
{
   return (void*)(*(int*)0x5228);
}
a590 1.01B:
Quote
void *vid_get_viewport_fb_d()
{
    return (void*)(*(int*)0x540C); 
}

For 1.01B value is incorrect (because it copied from a720).  Can someone test 0x5228 address?
« Last Edit: 30 / December / 2008, 06:50:53 by ewavr »

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Cropped zebra or zebra specific OSD
« Reply #86 on: 30 / December / 2008, 11:51:51 »
And more errors:
vid_get_viewport_fb_d() is the same in a720 and ixus860
camera_jpeg_count_str() is the same in a720 and a590 1.01b
FlashParamsTable is the same in a720 and a590
focus_busy is the same in a720 and a590
some_flag_for_af_scan is the same in a720 and a590

How CHDK for a590 can work? I don't know  ;)

*

Offline mngc

  • ***
  • 113
  • a590is fw 1.0.1b & sx110is fw 1.0b
Re: Cropped zebra or zebra specific OSD
« Reply #87 on: 02 / January / 2009, 09:07:48 »

For 1.01B value is incorrect (because it copied from a720).  Can someone test 0x5228 address?


I am waiting for expert users to try this, or i will try this,
but i am can't compile modified sources. If you upload anywhere the binary version of chdk,
 i will can test it.


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Cropped zebra or zebra specific OSD
« Reply #88 on: 02 / January / 2009, 09:16:21 »
I am waiting for expert users to try this, or i will try this,
but i am can't compile modified sources. If you upload anywhere the binary version of chdk,
 i will can test it.

Test version for a590 1.01b is attached to this post.
« Last Edit: 02 / January / 2009, 09:25:11 by ewavr »

*

Offline mngc

  • ***
  • 113
  • a590is fw 1.0.1b & sx110is fw 1.0b
Re: Cropped zebra or zebra specific OSD
« Reply #89 on: 02 / January / 2009, 12:09:06 »
Thanks, Ewavr

Bad news, test version of CHDK play mode zebra blinking, but not from the image.
Many dots and some small lines blinking. Any idea?   

 

Related Topics