A495 porting thread - page 16 - DryOS Development - CHDK Forum

A495 porting thread

  • 346 Replies
  • 129335 Views
Re: A495 porting thread
« Reply #150 on: 30 / May / 2011, 17:54:00 »
Advertisements
Hmmm ... I think I found the problem.  PEBKAC once again.

Try this : http://www.box.net/shared/ei0git86ey
Ported :   A1200    SD940   G10    Powershot N    G16

Re: A495 porting thread
« Reply #151 on: 30 / May / 2011, 17:56:16 »
The keyboard task has to be enabled and 'if (kbd_process() == 0)' replaced with if(1).

That should allow normal function of keys and no card-locked message.

Re: A495 porting thread
« Reply #152 on: 30 / May / 2011, 17:59:55 »
The keyboard task has to be enabled and 'if (kbd_process() == 0)' replaced with if(1).
That should allow normal function of keys and no card-locked message.

Or the person doing the port needs to make sure he does not use stubs_min.s and lib.c files from the seriously broken 1.00d version instead of the working 1.00f version. Especially when that person knew all along just how broken the 1.00d version is.     I feel bad about wasting everyone's time today.

I finally realized that the value for physw_run in stubs_min.c was not right. 
Code: [Select]
static void __attribute__((noinline)) mykbd_task_proceed()
{
while (physw_run){
_SleepTask(10);

if (wrap_kbd_p1_f() == 1){ // autorepeat ?
_kbd_p2_f();
}
}
}

Then I discovered all the rest of that file and lib.c were basically wrong too.  Doh.



« Last Edit: 30 / May / 2011, 18:07:17 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: A495 porting thread
« Reply #153 on: 30 / May / 2011, 18:12:49 »
Well, we know that function, at least,  in stubs_min.s has to be right.

Wonder if there are any others in order for it to boot ?

Re: A495 porting thread
« Reply #154 on: 30 / May / 2011, 18:22:04 »
Well, we know that function, at least,  in stubs_min.s has to be right.

Wonder if there are any others in order for it to boot ?
After today,  I'm not sure I want to find out the hard way again.

Ported :   A1200    SD940   G10    Powershot N    G16

Re: A495 porting thread
« Reply #155 on: 30 / May / 2011, 19:51:40 »
We have also made a test version of 100d version - over 40 downloads but not one reaction.  :(
@msl :  I suggest you remove the 1.00d version from CHDK-DE.  Based on my experience today,  I strongly suspect that  there is no way that it even boots - much less provides a good user experience.

If I can get the 1.00e to run,  I'll do a spin off for the 1.00d too.  That might take a few days though.


Ported :   A1200    SD940   G10    Powershot N    G16

Re: A495 porting thread
« Reply #156 on: 31 / May / 2011, 03:12:36 »
I've tested beta 10 and I have complete menus etc...

All seems to be  allright but.....


If I take a shoot the camera shutdowns and I get no photo.
Before shutting down seems to do all the movements of focusing and preparation of the photo

Re: A495 porting thread
« Reply #157 on: 31 / May / 2011, 06:17:27 »

Re: A495 porting thread
« Reply #158 on: 31 / May / 2011, 07:37:54 »
A couple of questions (won't have much time to work on this today though).

1) Does movie recording work ?  Can you now use the zoom while recording movies  ?

2) Can you run any of the example scripts that don't actually take pictures ?

3)  If you use the menus to change the camera setup - maybe enable some OSD functions or change their positions - and then shut down the camera and restart,  are the changes you made still there ?  (verifying that the port can read / write the SD card).

Otherwise,  we have a camera that won't take pictures.  Not very useful I'm afraid.

Ported :   A1200    SD940   G10    Powershot N    G16

Re: A495 porting thread
« Reply #159 on: 31 / May / 2011, 07:38:44 »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal © 2008-2014, SimplePortal