I have the same problem with C0F07150 and C0F0713C I can't override them correctly in my implementation of a
crop_rec module for 5D2. Maybe that's why I'm limited in height
A few month ago i posted a dng with a promising size from my experiences in "dm-spy-experiments" branch.
It took a lot of time to implement this method in a module of crop_rec_4k branch.
I've seen that Reddeercity spend a lot of time time here, it's encouraged me to continue
for the moment only "CROP_PRESET_3X" and "CROP_PRESET_CENTER_Z".For those who want to test the code is there:
https://bitbucket.org/waza57/magic-lantern/src/crop_rec_4k_5D2/Download link:
magiclantern-Nightly.2018Sep02.5D2212.zip I hope it will be useful. It works for me but at your own risk (Digic poke is enable don't use it if you do not know what you are doing)
SETTINGS: Canon menu : NTSC 30
ML menu : set resolution to maximum , preview grayscal
Modules to load: crop-rec, mlv play, mlv rec, silent
NOTES for developers: I don't use CONFIG_EDMAC_RAW_SLURP.
I started from this:
https://www.magiclantern.fm/forum/index.php?topic=10111.msg123909#msg123909 https://www.magiclantern.fm/forum/index.php?topic=10111.msg125581#msg125581 And especially this where i decide to try increment height with patching ROM addresses.
https://www.magiclantern.fm/forum/index.php?topic=19336.msg183200#msg183200 Thanks to GREG!
For crop_rec.mo works i need to make change in functions of:
raw.c "raw_lv_get_resolution" -> ...uint32_t top_left = shamem_read(0xC0F06800)... to retrieve the size like this
"autodetect_black_level"-> disabled, otherwise i got "raw detect error"
"#define BLACK_LEVEL 1792" otherwise bad black level
edmac-memcpy.c , fio-ml.c I need to disable call to function "clean_d_cache()" otherwise i can't patch ROM addresses
lv-img-engio.c I need to add this otherwise impossible to compile : "if defined(FEATURE_EXPO_ISO_DIGIC) && defined(CONFIG_EDMAC_RAW_SLURP)"
Thanks to a1ex for this project, without him, I would never have discovered the joys of programming in C.
TODO list:
- Increase height frame.
- mlv_lite module compilation.
- Compressed raw activation. ( new idea here too :
Danne Idea )
- Shutter speed question ( is this bad?)
- compatibility with Dual_iso module question.
- ISO adjustment activation (
https://www.magiclantern.fm/forum/index.php?topic=19336.msg205719#msg205719)
- Faulty HDMI connection
- Bad preview solution
* And all i will notice in your feedback