SX60HS Porting - page 87 - DryOS Development - CHDK Forum

SX60HS Porting

  • 915 Replies
  • 350528 Views
Re: SX60HS Porting
« Reply #860 on: 17 / April / 2018, 19:02:47 »
Advertisements
Thanks...I'm sorry my iphone displayed a blank message (unable to preview the video)  :blink:

Re: SX60HS Porting
« Reply #861 on: 17 / April / 2018, 19:11:46 »
It seems you are in "shoot" mode most of the time. In shoot mode, a long press of play should return you to canon preview mode (no alt), a short press of play should bring up ALT.  Looks like that isn't working for you.
In "play/preview" mode, a short press play, should bring up ALT, a longer press will switch the camera off.

It's like the keyboard task is not intercepting/interpreting keys properly.  Really not sure what is happening here. I'm attaching a zip of the sub/100h source and hoping someone can point me point me in the right direction to my obvious typo or mistake. Meanwhile I'll continue to think  :-[  ;)

Re: SX60HS Porting
« Reply #862 on: 17 / April / 2018, 19:19:15 »
It seems you are in "shoot" mode most of the time. In shoot mode, a long press of play should return you to canon preview mode (no alt), a short press of play should bring up ALT.  Looks like that isn't working for you. In "play/preview" mode, a short press play, should bring up ALT, a longer press will switch the camera off.
in Shoot and in Preview mode, Play button works exactly the same way. a short press and a long press cause it to hang and turn off.

*

Offline srsa_4c

  • ******
  • 4451
Re: SX60HS Porting
« Reply #863 on: 17 / April / 2018, 19:54:01 »
hoping someone can point me point me in the right direction to my obvious typo or mistake.
viewport_buffers, cancelhptimer
There might be others.


Re: SX60HS Porting
« Reply #864 on: 17 / April / 2018, 20:03:22 »
Quote
viewport_buffers, cancelhptimer
There might be others.
Looks like cancelhptimer is wrong.(it should be the same as 100f 0xFC15BBFD..surprising that's not in sigfinder apparently. Checking some more than I'll post a build, hopefully, @megazaic is still awake....
Checking the disassembly by hand, the location 0xfc5c054 which is the viewport buffer address in 100f, it looks the same as in 100h, but checking the use of if in which we memory search refs to fc5cf03c in 100f, it is necessary to add 0x28 to find the same patterns.....so I'm going to add 0x28 to it and see if that helps.  I think I had this originally but when I checked I thought I should change it.
« Last Edit: 17 / April / 2018, 20:16:28 by 62ndidiot »

Re: SX60HS Porting
« Reply #865 on: 17 / April / 2018, 20:21:41 »
New version with viewport buffer address moved up by 0x28 and CancelHptimer moved down to be identical with 100f. I may regret making two changes at once!
« Last Edit: 17 / April / 2018, 20:24:39 by 62ndidiot »

*

Offline srsa_4c

  • ******
  • 4451
Re: SX60HS Porting
« Reply #866 on: 17 / April / 2018, 20:24:58 »
capt_seq.c, duplication after loc_fc291fa4. Also, I'd re-do sub_fc16d658_my() 'cause it has some debris.
Not sure what might cause the playback button issue.
Got to go now.

Re: SX60HS Porting
« Reply #867 on: 17 / April / 2018, 20:31:29 »
@srsa_4c Thanks very much! duplication yes.  Clean up... :-X I know...starting from oldest code 100f, it's messed up with so many attempts and things.


Re: SX60HS Porting
« Reply #868 on: 17 / April / 2018, 20:34:34 »
Fix duplicate line that might affect shooting. v6 attached. thanks to @srsa_4c

Re: SX60HS Porting
« Reply #869 on: 18 / April / 2018, 01:12:52 »
New version with viewport buffer address moved up by 0x28 and CancelHptimer moved down to be identical with 100f. I may regret making two changes at once!
sx60hs-100h-prealpha-svn5010-v5 no change. Play(short and long) - hang+off, Full-press - hang+off.

Fix duplicate line that might affect shooting. v6 attached. thanks to @srsa_4c
sx60hs-100h-prealpha-svn5010-v6 'One Small Step for Man' :) Full-press - take picture, Record video (with '0000 KB/s -00:00:01'), but Play(short and long) - still hang+off
« Last Edit: 18 / April / 2018, 01:22:40 by megazaic »

 

Related Topics