A1100 IS Porting thread - page 10 - DryOS Development - CHDK Forum supplierdeeply

A1100 IS Porting thread

  • 647 Replies
  • 231924 Views
Re: A1100 IS Porting thread
« Reply #90 on: 25 / April / 2010, 09:37:45 »
Advertisements
ok,I correct the bitmap buffer width.Now I can see the chdk logo at the center.

Re: A1100 IS Porting thread
« Reply #91 on: 25 / April / 2010, 09:53:56 »
After I hook the keyboard task. The chdk load work fine except the screen.
I think the screen should work even though the keyboad not work,
it trouble me.
« Last Edit: 25 / April / 2010, 10:08:11 by xiaofeng »

Re: A1100 IS Porting thread
« Reply #92 on: 25 / April / 2010, 10:06:34 »
Can you explain in greater detail ?

Are you able to take a photo of the screen using another camera ?

(I am now turning off my computer while I move some equipment).


Re: A1100 IS Porting thread
« Reply #93 on: 25 / April / 2010, 10:13:56 »
After I hook the keyboard task. The chdk load fine except the screen(have nothing,I think should have chdk logo at least,but the chdk core_spytask run well.).
I think the screen should work even though the keyboad not work.
it trouble me.


Re: A1100 IS Porting thread
« Reply #94 on: 25 / April / 2010, 10:15:03 »
I am sorry,at this time,I can not take pictrue.

Re: A1100 IS Porting thread
« Reply #95 on: 25 / April / 2010, 10:33:57 »
ok,I comment out all the code of my_kbd_read_keys,camera work fine.So I will debug it.

Re: A1100 IS Porting thread
« Reply #96 on: 25 / April / 2010, 12:01:50 »
Now clear.It is the code:
             physw_status[0] = kbd_new_state[0];           //----->work
             physw_status[1] = kbd_new_state[1];   //-----------> work
 //         physw_status[2] = kbd_new_state[2];   //------>not work,after run this,screen became dark

I check the physw_status's address,I think It is right,But not 100% sure.
so comment it,I can get the chdk logo.But every key is disable include the power and playback key.

I uncomment the gui_draw_debug_vals_osd(),

camera trun on with chdk logo and reported sd card lock
and with a small  orange colour block  at the center of the screen.
There is some text on the block. But can not see clearly.Why?
Is the orang colour block is the OSD?

*

Offline ERR99

  • ****
  • 339
Re: A1100 IS Porting thread
« Reply #97 on: 25 / April / 2010, 12:14:29 »
Did you still have the initcode active that i posted?

static void __attribute__((noinline)) mykbd_task_proceed()
{

   kbd_new_state[0] = physw_status[0]; // <---- Add this
   kbd_new_state[1] = physw_status[1]; // <---- Add this
   kbd_new_state[2] = physw_status[2]; // <---- Add this
 ....

Maybe this fixes your problem  (or if still active, it is the reason for your problem...  ::) )
In the G11 port, physw_status[2] is the register that handles some of the keys, so if you disabled it in your code (by commenting out), they will not work at all.

That you cant read the OSD text in the splashscreen is maybe caused by using the wrong color palette.


Re: A1100 IS Porting thread
« Reply #98 on: 26 / April / 2010, 00:28:58 »
I have add it.but still not work yet.
   static void __attribute__((noinline)) mykbd_task_proceed()
{

   kbd_new_state[0] = physw_status[0]; // <---- Add this
   kbd_new_state[1] = physw_status[1]; // <---- Add this
   kbd_new_state[2] = physw_status[2]; // <---- Add this



I debug the code.I dont konw why this make the screen dark.

if (kbd_process() == 0){
      // leave it alone...
          physw_status[0] = kbd_new_state[0];
          physw_status[1] = kbd_new_state[1];
//          physw_status[2] = kbd_new_state[2];   --->this make the screen dark.
//
//   } else {


Eventhougn I can see the chdk boot logo.But I think the chdk logo size and the location is not correct
,How to fix?
I change the color palette,I can see the chdk logo clear with text on it.
But I still cant get the OSD text,It is too small on the screen.I cant see clear.

Re: A1100 IS Porting thread
« Reply #99 on: 26 / April / 2010, 03:03:21 »
OK,I fixed the chdk logo now,It looks more big and clear.Ican see the text of OSD.They Like

1: xxxxxxxxx 0
f:                   0
z:                   0

what's that meaning?

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal