IXUS190 porting attempt - page 6 - DryOS Development - CHDK Forum

IXUS190 porting attempt

  • 97 Replies
  • 36240 Views
*

Offline blackhole

  • *****
  • 946
  • A590IS 101b
    • Planetary astrophotography
Re: IXUS190 porting attempt
« Reply #50 on: 05 / June / 2021, 19:23:50 »
Advertisements
It doesn't look good.
I guess <means slow speed and << means full speed
Can you repeat the slow speed?
Stay in play mode and then

1. execute rmem -i32 0x1469c 3 without pressing any keys, repeat  it twice and post both results

2. move the zoom lever and keep at a slow speed and execute rmem -i32 0x1469c 3

This time do not check full speed, to avoid confusion.

*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS190 porting attempt
« Reply #51 on: 06 / June / 2021, 12:19:13 »
When looking for bits in physw_status, a debug display showing individual bits can be useful, if you understand how to use it. Read the instructions and follow them before re-compiling.

*

Offline reyalp

  • ******
  • 14126
Re: IXUS190 porting attempt
« Reply #52 on: 06 / June / 2021, 20:41:06 »
69 is changing with the language, 65537 is English, 66305=German, 70913 Italian, 67329 Spain, 67073 France, 68609 Dansk, 69377 Portugues, 70145 Suomi, 71169 Magyar, 69633 Polski, 70401 Cestina, 66817 Türkce, 66049 Romana, 65793 Norsk, 66561 Svenska,  8)
68865 is Russian, if I understood the regulary lessons right...  :(
This is quite strange.

From what we've seen before, the low byte of the language prop NTSC (=0) or PAL (1) and the high byte is language, in the range 0 to ~20, with  English = 0 and the rest going by row or column depending on propset.

In your values, it matches propset 10 or 12, but the high bit of the language byte seems to be set. Ignoring this bit, the values look like propset 10 and 12.

It's possible some other setting is stored in that bit, it would be nice to know what if it is. I would guess it would be something language / local related.

Anyway, I've updated default.lua in trunk r5964.
Don't forget what the H stands for.

*

Offline Caefix

  • *****
  • 948
  • Sorry, busy deleting test shots...
Re: IXUS190 porting attempt
« Reply #53 on: 07 / June / 2021, 13:00:43 »
 ;) Tried to record twilightzone with an Ubasic script:
Code: [Select]
@title peek 0x1469c
@param s 0x1469c & s
@range s 1 16
@default s 1
@@

pri.-11
s--
#0=peek 0x1469c,4
?=*:=?:=/:=%#0;,=%peek 0x1469c,4:
begin
10 p=peek 0x1469c,4
 if p!=#0 && p!=P then print gtc%1000,=%p, =%p^#0 ~P=p
if odd s then ?=%(p&(1<<s))
 P=p
goto -10

:restore
?=%peek 0x1469c,4,=%#0
end
As a trailer the first sec in rec & play with relaxed zoom...  :o
Code: [Select]
peek 0x1469c
ixus190_elph200-100d-CHDK_DE-1.6.0-5937
A/DCIM/107___06
0x3005467f,0x3005467f
:---=----=--+-=----=----
330 0x3000467f 0x00050000
360 0x1005567f 0x20001000
400 0x0005467f 0x30000000
440 0x2005467f 0x10000000
480 0x0005467f 0x30000000
520 0x1005467f 0x20000000
550 0x0005467f 0x30000000
590 0x0005467f 0x30000000
620 0x1005467f 0x20000000
680 0x0005467f 0x30000000
710 0x0005667f 0x30002000
740 0x0005467f 0x30000000
770 0x1005467f 0x20000000
800 0x0001467f 0x30040000
830 0x1005467f 0x20000000
880 0x0005467f 0x30000000
920 0x1005467f 0x20000000
980 0x0005467f 0x30000000

RECMODE
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
peek 0x1469c
ixus190_elph200-100d-CHDK_DE-1.6.0-5937
A/DCIM/107___06
0x2105467f,0x2105467f
:---=----=--+-=----=----
780 0x3705467f 0x16000000
820 0x0f05467f 0x2e000000
860 0x2405467f 0x05000000
900 0x2c00467f 0x0d050000
940 0x2705467f 0x06000000
980 0x3405667f 0x15002000
20 0x2305467f 0x02000000
60 0x1405467f 0x35000000
100 0x2c05467f 0x0d000000
140 0x1305467f 0x32000000
180 0x1405467f 0x35000000
220 0x3b05467f 0x1a000000
250 0x2d05467f 0x0c000000
280 0x0501467f 0x24040000
310 0x0c05467f 0x2d000000
340 0x0c01460f 0x2d040070
370 0x1705667f 0x36002000
400 0x3805467f 0x19000000
440 0x1705467f 0x36000000
470 0x0401461f 0x25040060
500 0x1405467f 0x35000000
540 0x1c05467f 0x3d000000
570 0x0805467f 0x29000000
600 0x1705467f 0x36000000
640 0x0805467f 0x29000000
670 0x2705467f 0x06000000
700 0x0c05467f 0x2d000000
740 0x0405467f 0x25000000
790 0x1705467f 0x36000000
:( ... and the ptp variations ...
Code: [Select]
rmem -i32 0x1469c 3 No key
play
0x0001469c: 0x1005467f 0x005c007d 0x0188feea
0x0001469c: 0x2005467f 0x005c003d 0x0188feea
0x0001469c: 0x3005467f 0x005c00bd 0x0188feea
0x0001469c: 0x0001467f 0x005c00bd 0x0188feea
rec
0x0001469c: 0x3005467f 0x06dd01bd 0x0188feea
0x0001469c: 0x3b05467f 0x06dd017d 0x0188feea
0x0001469c: 0x2605467f 0x06dc017d 0x0188feea
0x0001469c: 0x2f05467f 0x06dc01fd 0x0188feea

rec <
0x0001469c: 0x2d05427f 0x06dd01fd 0x0188feea
0x0001469c: 0x3005427f 0x06dd00bd 0x0188feea
0x0001469c: 0x1305427f 0x06dd01fd 0x0188feea
0x0001469c: 0x0005467f 0x06dd013d 0x0188feea
rec >
0x0001469c: 0x1c05447f 0x04dd013d 0x0188feea
0x0001469c: 0x3005467f 0x06dd007d 0x0188feea
0x0001469c: 0x3005467f 0x02dd00fd 0x0188feea
0x0001469c: 0x0b05447f 0x01dd01fd 0x0188feea
« Last Edit: 07 / June / 2021, 13:50:39 by Caefix »
All lifetime is a loan from eternity.

*

Offline blackhole

  • *****
  • 946
  • A590IS 101b
    • Planetary astrophotography
Re: IXUS190 porting attempt
« Reply #54 on: 07 / June / 2021, 15:26:00 »
... and the ptp variations ...
Thanks, it shows this:                                                                                       
 { 0, KEY_ZOOM_IN         ,0x00000200 }, // Found @0xff5ba424, levent 0x03
 { 0, KEY_ZOOM_OUT        ,0x00000400 }, // Found @0xff5ba42c, levent 0x04
If it's a really slow zoom speed, then if you have the camera in rec mode and the chdk <ALT> is active, when you push the zoom lever all the way, the lens should start moving.
Can you check that?


*

Offline Caefix

  • *****
  • 948
  • Sorry, busy deleting test shots...
Re: IXUS190 porting attempt
« Reply #55 on: 08 / June / 2021, 10:29:44 »
:( No movement yet...  :)
when you push the zoom lever all the way, the lens should start moving.
Can you check that?
After booting to CHDK-rec zoom is moving, was irritated by the <ALT>...
Edit: Same moves when pressing 1/2 zoom...
« Last Edit: 08 / June / 2021, 12:20:13 by Caefix »
All lifetime is a loan from eternity.

*

Offline blackhole

  • *****
  • 946
  • A590IS 101b
    • Planetary astrophotography
Re: IXUS190 porting attempt
« Reply #56 on: 08 / June / 2021, 12:58:45 »


:( No movement yet... 
After booting to CHDK-rec zoom is moving, was irritated by the <ALT>...
Edit: Same moves when pressing 1/2 zoom...

I don't understand, zoom doesn't work in <ALT> mode?

Poslano sa mog GT-I9301I koristeći Tapatalk


*

Offline Caefix

  • *****
  • 948
  • Sorry, busy deleting test shots...
Re: IXUS190 porting attempt
« Reply #57 on: 08 / June / 2021, 13:10:40 »
 :) When the CHDK Gui (Bat, clock) is active, it works. If the <ALT> Icon is displayed, and shoot starts script, it doesn´t. When it does, half or full press doesn´t matter.
Running a script using zoomkeys is fine, too.
« Last Edit: 08 / June / 2021, 13:25:47 by Caefix »
All lifetime is a loan from eternity.

*

Offline blackhole

  • *****
  • 946
  • A590IS 101b
    • Planetary astrophotography
Re: IXUS190 porting attempt
« Reply #58 on: 08 / June / 2021, 14:14:31 »
@Caefix
OK, that's expected behavior.
When you see the <ALT> icon on the display the camera is in the so-called alt mode, then the keys must not respond in the usual way.
If you open the chdk menu and for example try to set "Override ISO", you can move the cursor with the zoom buttons. Outside of alt mode the zoom buttons must move the lens in rec mode or enlarge or reduce the displayed image in play mode.
EDIT: One position of the zoom lever could then move the lens, regardless of the alt mode. I assume the known values (ZOOM_IN 0x200 and ZOOM_OUT 0x400) are for full speed.

If you haven't lost interest you can see what happens when you move the zoom lever at 0x146a0, using a memory browser.
« Last Edit: 08 / June / 2021, 14:29:34 by blackhole »

*

Offline Caefix

  • *****
  • 948
  • Sorry, busy deleting test shots...
Re: IXUS190 porting attempt
« Reply #59 on: 08 / June / 2021, 14:36:10 »
Byte running: 0x?D  8)
All lifetime is a loan from eternity.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal