eos M10 port - page 32 - DryOS Development - CHDK Forum

eos M10 port

  • 327 Replies
  • 250503 Views
Re: eos M10 port
« Reply #310 on: 07 / June / 2022, 01:43:25 »
Advertisements
@c_joerg

Quote
You could then also insert the M100 right away. It's my favorite camera right now.

The potential downside to the M100 is that it uses dual pixel AF, which may complicate IR conversion.

*

Offline c_joerg

  • *****
  • 1248
Re: eos M10 port
« Reply #311 on: 07 / June / 2022, 01:45:40 »
BTW will the lens name function need a tweak on the M10?

I haven't used the function yet. I do think it needs to be changed.

The addresses for focus distace are independent of the M10 build. Then I would expect the same with lens name.
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline c_joerg

  • *****
  • 1248
Re: eos M10 port
« Reply #312 on: 07 / June / 2022, 01:52:38 »
The potential downside to the M100 is that it uses dual pixel AF, which may complicate IR conversion.

Ok, I wasn't aware that this could be a problem
https://www.dxomark.com/Cameras/Compare/Side-by-side/Canon-EOS-M3-versus-Canon-EOS-M10-versus-Canon-EOS-M100___1019_1048_1179

M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

Re: eos M10 port
« Reply #313 on: 07 / June / 2022, 01:56:03 »
@c_joerg

Quote
The addresses for focus distace are independent of the M10 build. Then I would expect the same with lens name.

I will need to find the M10 equivalent of the following M3 function, ie the pname values, if different between the M3 and M10

Code: [Select]
function lens_name()
    local pname = 0
    if (bi.platsub == "101a") then
        pname = 0x00244969
    else
        pname = 0x002449ad
    end
    local len = peek(pname-1,1)
    local i = 0
    local t = {}
    while i < len do
        local c = peek(pname + i, 1)
        if c == 0 then break end
        table.insert(t, string.char(c))
        i = i + 1
    end
    local name = table.concat(t)
    return name
end


*

Offline c_joerg

  • *****
  • 1248
Re: eos M10 port
« Reply #314 on: 07 / June / 2022, 02:29:06 »
I will need to find the M10 equivalent of the following M3 function, ie the pname values, if different between the M3 and M10

I always got the addresses from srsa_4c ;)


M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

Re: eos M10 port
« Reply #315 on: 07 / June / 2022, 12:08:18 »
@c_joerg

Quote
The addresses for focus distace are independent of the M10 build. Then I would expect the same with lens name.

I will need to find the M10 equivalent of the following M3 function, ie the pname values, if different between the M3 and M10

Code: [Select]
function lens_name()
    local pname = 0
    if (bi.platsub == "101a") then
        pname = 0x00244969
    else
        pname = 0x002449ad
    end
    local len = peek(pname-1,1)
    local i = 0
    local t = {}
    while i < len do
        local c = peek(pname + i, 1)
        if c == 0 then break end
        table.insert(t, string.char(c))
        i = i + 1
    end
    local name = table.concat(t)
    return name
end

@srsa_4c

Could you help me out on the peek addresses for lens name on the M10 and M100?

Cheers

Garry
« Last Edit: 07 / June / 2022, 14:39:02 by pigeonhill »

*

Offline srsa_4c

  • ******
  • 4451
Re: eos M10 port
« Reply #316 on: 07 / June / 2022, 14:59:43 »
Could you help me out on the peek addresses for lens name on the M10 and M100?
M10 (all supported fw versions): 0x272065
M100 100a: 0x1FC84E

Re: eos M10 port
« Reply #317 on: 07 / June / 2022, 15:16:40 »
@srsa_4c

Many thanks.

Cheers

Garry


Re: eos M10 port
« Reply #318 on: 07 / June / 2022, 15:40:41 »
Is there an easy way to find, or look up, the M10 peek addresses?

Or do I request that info from one of you ;-)

You can find it in the same script you copied the rest from ;)
https://chdk.setepontos.com/index.php?topic=13756.0

You could then also insert the M100 right away. It's my favorite camera right now.

@c_joerg

Thanks to you and @srsa_4c I've converted my M3 Bracketing script ready for my M10: which I should receive by the end of the week :-)

I won't be able to add in the M100, as there doesn't appear to be a @philmoz XIMR build for that Camera. Plus I don't have an M100 ;-)

*

Offline reyalp

  • ******
  • 14079
Re: eos M10 port
« Reply #319 on: 08 / June / 2022, 23:54:17 »
Split discussion of additional M specific features to https://chdk.setepontos.com/index.php?topic=14554.0
Don't forget what the H stands for.

 

Related Topics