Author Topic: Easy Coding tasks  (Read 71965 times)

tjaja

  • Freshman
  • **
  • Posts: 83
Re: Easy Coding tasks
« Reply #25 on: February 10, 2014, 04:26:34 PM »
Ok minimal C skills, check. So if I tutorial and dummy book myself the basics I can help with the (superuberduper) easy stuff?
No need for linux knowledge? That would be great
5DFree, 550D, canon 50mm 1.4

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3190
Re: Easy Coding tasks
« Reply #26 on: February 16, 2014, 10:32:43 AM »
Ok minimal C skills, check. So if I tutorial and dummy book myself the basics I can help with the (superuberduper) easy stuff?
No need for linux knowledge? That would be great

uhm the exact scale of knowledge is hard to explain...
but it helps when you are able to programm a C program that prints "hello world" without having to look up anything in the net ;)
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

eyeland

  • Member
  • ***
  • Posts: 168
  • 5D Mark Spree
Re: Easy Coding tasks
« Reply #27 on: March 01, 2014, 11:06:48 PM »
I am just about as eager to help as I am clueless about writing code, but I am very fast learner and I studied logic syntax quite extensively as a part of my philosophy master so I just need a nudge in the right direction.
Anyone care to link me a few resources for getting started?
(I know that a quick google search is easy, but I tend to OD on information, and sometimes it takes a certain level of knowledge to distinguish good/relevant material from the less good :)
Daybreak broke me loose and brought me back...

Audionut

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3657
  • Blunt and to the point
Re: Easy Coding tasks
« Reply #28 on: March 02, 2014, 12:14:15 AM »
Start here:  http://www.magiclantern.fm/forum/index.php?topic=9517.0

And you should start looking at the source.

Johny007

  • New to the forum
  • *
  • Posts: 2
Re: Easy Coding tasks
« Reply #29 on: May 14, 2014, 12:59:45 AM »
Rework NotifyBox
Current state:
The NotifyBox feature is an useful on-screen display to notify the user of some happenings.
Unfortunately its implementation is quite crude, just printing the text on screen, providing not much usability.


Should I consider this done with this commit? https://bitbucket.org/hudson/magic-lantern/src/d12a423e5f6786524f136cdb5e37660350a68be4/src/notify_box.c?at=NotifyBoxIcon

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3190
Re: Easy Coding tasks
« Reply #30 on: May 14, 2014, 01:06:36 PM »
i would rather see it as reference. it has still some issues with flicker due to repainting.
will update the post, pointing there.
thanks for pointing out.
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

Johny007

  • New to the forum
  • *
  • Posts: 2
Re: Easy Coding tasks
« Reply #31 on: May 14, 2014, 07:53:15 PM »
Any hint how to fix flicker? Temporary stop rendering of other ML GUI?

applewide

  • New to the forum
  • *
  • Posts: 19
Re: Easy Coding tasks
« Reply #32 on: May 14, 2014, 07:56:12 PM »
i want to help, i got bs and ms in computer science, i think i can do this

Straight_Shooter

  • New to the forum
  • *
  • Posts: 12
  • Canon 80D, Canon 1100D
Re: Easy Coding tasks
« Reply #33 on: May 19, 2021, 02:46:20 PM »
Would there be a way to breathe some new life into this thread? That is, to set up some new easy coding tasks for people to work on? I think that having these is a great idea, and it can help to bring in some new people into ML development. Can't hurt to try :)

kitor

  • Developer
  • Senior
  • *****
  • Posts: 460
Re: Easy Coding tasks
« Reply #34 on: May 19, 2021, 06:55:02 PM »
With the development stagnation I can't think of any.

All the recent stuff for Digic 7 and 8 is mostly R&D. It would be helpful if someone would be able to test our recent developments on Digic 6 (we assume it should be fairly straightforward), but this is definitely not an easy task.

On the other hand last year I wrote:

Just porting it further is 'above my paygrade'.

and without any previous embedded C skills (and just very basic skills outside PHP/Bash/Python scripting and a lot of interest in vintage computers and consoles hacking from youtube) in just two months with great help (and later collaboration) mainly with @names_are_hard on Discord, this, this, this and recently this had happened.

So it is not that hard, but requires courage and a lot of spare time to understand the basics :)
Too many Canon cameras.
If you have a dead R/RP mainboard (e.g. after camera repair) and want to donate for experiments, I'll cover shipping costs.

ML700D

  • Senior
  • ****
  • Posts: 282
Re: Easy Coding tasks
« Reply #35 on: May 20, 2021, 08:06:52 AM »
@kitor how to start?  :D
maybe I can learn and contribute, if there is an assist.
EOS 700D

kitor

  • Developer
  • Senior
  • *****
  • Posts: 460
Re: Easy Coding tasks
« Reply #36 on: May 20, 2021, 09:39:59 AM »
Start with build environment. There are threads in this section - slightly outdated, but on the other hand environment problem solving is slightly easier than actual later work.

After that try to build something from either unified branch on HG or dev on @names_are_hard GitHub clone. If it works, you have a working development env.
And if you go git, you can check on your 700D if our recent changes didn't break anything for Digic 5 ;)

Later I would suggest playing with minimal/hello-world (dev branch on git, digic6-dumper on hg). This is just a code execution on camera, without any real magic lantern code running. Source code built there is pretty simple - there's whole "startup sequence" there (where ML hijacks Canon stuff) and then just a simple task is started that is able to draw on screen and blink a led.
And you don't need to search for any stubs as 700D is already supported camera :)

There's a startup sequence flow chart in some thread on the forum, I forgot which.

As long as you don't poke into memory addresses that you are unsure of, you are relatively safe to play with almost any C code there (in fact, minimal build was a base for doom port on 200D).

In the meantime you can join our Discord - we will be more than happy to answer any technical questions.
Too many Canon cameras.
If you have a dead R/RP mainboard (e.g. after camera repair) and want to donate for experiments, I'll cover shipping costs.

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 8828
Re: Easy Coding tasks
« Reply #37 on: May 20, 2021, 10:09:11 AM »
There's a startup sequence flow chart in some thread on the forum, I forgot which.

This one?
https://a1ex.magiclantern.fm/bleeding-edge/ml-startup.png

kitor

  • Developer
  • Senior
  • *****
  • Posts: 460
Re: Easy Coding tasks
« Reply #38 on: May 20, 2021, 10:16:43 AM »
Yes, but it was posted by Alex in a whole topic explaining this early boot process.

Edit: https://www.magiclantern.fm/forum/index.php?topic=23641
Too many Canon cameras.
If you have a dead R/RP mainboard (e.g. after camera repair) and want to donate for experiments, I'll cover shipping costs.

ML700D

  • Senior
  • ****
  • Posts: 282
Re: Easy Coding tasks
« Reply #39 on: May 20, 2021, 06:24:58 PM »
oh.. thanks.. I'll try to figure it out.  :D
EOS 700D