D20 porting thread - page 5 - DryOS Development - CHDK Forum supplierdeeply

D20 porting thread

  • 45 Replies
  • 21738 Views
Re: D20 porting thread
« Reply #40 on: 07 / March / 2014, 21:48:30 »
Advertisements
Quote
Two, I'm stuck up here in frozen northern Wisconsin with 22" of snow in my yard and you send pics of your tropical paradise living?  Not fair!  Not fair!

Don't worry you'll get your turn; in a few months I will have to endure a long cold winter with an average daily maximum of only 19 degrees C  :P

Actually, come to think of it, I've never even seen snow :( Maybe someday when it snows on Bluff Knoll I will have to go see it

Re: D20 porting thread
« Reply #41 on: 07 / March / 2014, 21:50:42 »
Quote
Two, I'm stuck up here in frozen northern Wisconsin with 22" of snow in my yard and you send pics of your tropical paradise living?  Not fair!  Not fair!
Don't worry you'll get your turn; in a few months I will have to endure a long cold winter with an average daily maximum of only 19 degrees C  :P Actually, come to think of it, I've never even seen snow :( Maybe someday when it snows on Bluff Knoll I will have to go see it
Forty degrees (F) in Wisconsin on Sunday.  Stand by for complaints about the flooding.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline blackhole

  • *****
  • 942
  • A590IS 101b
    • Planetary astrophotography
Re: D20 porting thread
« Reply #42 on: 08 / March / 2014, 02:45:29 »
off topic, sorry 8)
« Last Edit: 09 / March / 2014, 04:42:15 by blackhole »

*

Offline Caefix

  • *****
  • 947
  • Sorry, busy deleting test shots...
Re: D20 porting thread
« Reply #43 on: 20 / September / 2021, 11:57:42 »
Thanks, @blackhole! :D

In expectation of best weather for D20 and D30 ... :-X I
- tried MD_tune.bas, but neither AF-beam (enabled in Canon menu) nor the "last-min-max-avg" headline appears.
- planted some lines from Sx265 ixus265_elph340hs´s lib.c to their´s. (D20: 115-205)
  Now the md_grid fits to the aspect ratios 1:1, 3:2 & 16:9.
  (Maybe fine for other FHD cams with HS-System & 4:3 screen ~ DRYOS R50, too ?)
- CHDK boots always to <rec>, exception is pressing <play> not too short and not too long...
Edit: Shifted source...
« Last Edit: 22 / September / 2021, 11:23:01 by Caefix »
All lifetime is a loan from eternity.


*

Offline blackhole

  • *****
  • 942
  • A590IS 101b
    • Planetary astrophotography
Re: D20 porting thread
« Reply #44 on: 21 / September / 2021, 03:23:33 »

- CHDK boots always to <rec>, exception is pressing <play> not too short and not too long...
I don't have a disassembly for this camera,to check anything, but try replacing in boot.c this code
Code: [Select]
    if ((*(int*) 0xC022012C) & 0x800000)          // look at power-on switch
            *(int*)(0x262C+4) = 0x200000;         // start in play mode
    else
            *(int*)(0x262C+4) = 0x100000;         // start in rec mode

with this

Code: [Select]
*(int*)(0x262c+4) = (*(int*)0xC022012C) & 0x800000 ? 0x200000 : 0x100000;

*

Offline Caefix

  • *****
  • 947
  • Sorry, busy deleting test shots...
Re: D20 porting thread
« Reply #45 on: 21 / September / 2021, 11:06:06 »
Boots same :( , and swapping last numbers ALways boots to <play>. (D30 too)
Edit3: Could it be a "key_pressed" timing/delay issue?

Edit: chdkptp...26/0. During video in VGA & FHD every 2nd. frame is last<play> buffer ...
... Edit2: Seems nice now with void *vid_get_viewport_live_fb() from Ix255.  :)

Edit4: Tried both boot.c variations: The Firmware Update method switches to <rec>.  :blink:
The line You posted allows FWU after booting to CHDK<play> until switching to <rec> and back, the other never.
E4.1: Usually the FWU is always as present as PS.FI2, when the lens is retracted,
but D20&30 never "retract"... only after 30 sec.


« Last Edit: 23 / September / 2021, 12:42:12 by Caefix »
All lifetime is a loan from eternity.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal