500d development - page 72 - DSLR Hack development - CHDK Forum supplierdeeply

500d development

  • 2487 Replies
  • 901244 Views
*

Offline Jamez

  • **
  • 91
Re: 500d development
« Reply #710 on: 18 / April / 2011, 10:50:15 »
Advertisements
Nice Ben.
I have no practical programming experience unfortunately but do have a lot of project management experience, and can see things going a bit pearshaped with people working on different things etc, (of course we cant say who does what as its all volunteered)..

Im in the process of making some vids to show where we are at on all the features etc and have been updating the wiki here and there, improving spelling, and a few other minor things getting to know how it works.

Perhaps we can have some structure in here?
Id suggest the following...
- Contact whoever has global editing writes on the wiki to see if we cant get a line added to the index page of the wiki updating the news section saying that 500D/T1i/Kiss X3 is underway. (I will do this)
- Update the repository to includes Ben`s code above
- See if we cant finalise Ben`s code to clear up the second point, I read somewhere one of the functions clears the screen, so perhaps this needs adding on crop mark change. PS I dont think your first point is a bug at all, its meant to be like that I believe.
- Define whose currently doing what so duplication doesnt occur.
- Test where we are at now, see whats working fully etc (This is what Im doing currently).
- Define what needs to be done and who can volunteer to do it etc.

If we can have Coutts, Ben, and RoaldFre with a few pointers from Alex and Arm.Indy etc then it would be awesome.

Its important to realise to start small, rather than trying to jump in the deep end and try to adjust the frame rate etc, even if this is what we all really want.
« Last Edit: 18 / April / 2011, 10:55:47 by Jamez »
Canon Kiss x3 Owner running...
Magic Lantern for 500D/T1i/Kiss X3
Canon EOS 500D/T1i - Magic Lantern Firmware Wiki

*

Offline Coutts

  • *****
  • 538
  • www.flickr.com/couttsphotog
    • Flickr
Re: 500d development
« Reply #711 on: 18 / April / 2011, 12:18:32 »
i'm gonna take a look at the crop marks right now and see if I can get that all finalized up.

While porting features is important, I'd still like to verify that all of our properties and constants are correct before we proceed any further.. we need to have our base all setup before we build on it.

I updated debug.c in the repository the other day with a working prop spy from the 5d. i don't think it's showing all of the properties though, so i'm gonna try to get the prop_spy code from the 550d to work. for some reason the camera doesn't turn on when i try to enable it though.. need to figure this out.
Canon 5d
Canon 50mm f/1.8
Sigma 24mm f/1.8

Flickr

*

Offline Coutts

  • *****
  • 538
  • www.flickr.com/couttsphotog
    • Flickr
Re: 500d development
« Reply #712 on: 18 / April / 2011, 15:46:37 »
the 500d has AllocateMemory defined in dryos.h, in the 550d i cannot find where AllocateMemory is defined.. it's nowhere. it's called in a bunch of different files but I can't find where the actual function is defined. WTF..

racking my brain here.
Canon 5d
Canon 50mm f/1.8
Sigma 24mm f/1.8

Flickr

*

Offline a1ex

  • *****
  • 671
  • ML dev
Re: 500d development
« Reply #713 on: 18 / April / 2011, 16:45:35 »
Implicit declaration ;)


*

Offline utnuc

  • **
  • 55
Re: 500d development
« Reply #714 on: 18 / April / 2011, 16:48:05 »
I can't find it either, but is mentioned in stubs-5d2.110.S
Quote
/** AllocateMemory() and FreeMemory() are wrappers around malloc? */
NSTUB( 0xFF86DFE8, AllocateMemory )
NSTUB( 0xFF86AF60, FreeMemory )

/** AllocateMemory() calls this one */
NSTUB( 0xFF86ABD0, _malloc )

*

Offline Coutts

  • *****
  • 538
  • www.flickr.com/couttsphotog
    • Flickr
Re: 500d development
« Reply #715 on: 18 / April / 2011, 20:29:30 »
Canon 5d
Canon 50mm f/1.8
Sigma 24mm f/1.8

Flickr

*

Offline utnuc

  • **
  • 55
Re: 500d development
« Reply #716 on: 18 / April / 2011, 21:45:50 »
LOL.  I'm gonna report the original ML developers to ANSI. :D

*

Offline Jamez

  • **
  • 91
Re: 500d development
« Reply #717 on: 19 / April / 2011, 00:16:34 »
I was going to say... prob half the open source projects out there dont adhere to these kinds of standards.

Maybe you can say what your looking for, or what still needs to be found Coutts at this stage?
Canon Kiss x3 Owner running...
Magic Lantern for 500D/T1i/Kiss X3
Canon EOS 500D/T1i - Magic Lantern Firmware Wiki


*

Offline a1ex

  • *****
  • 671
  • ML dev
Re: 500d development
« Reply #718 on: 19 / April / 2011, 15:20:04 »
It's a built-in function... in Canon firmware :D

*

Offline Coutts

  • *****
  • 538
  • www.flickr.com/couttsphotog
    • Flickr
Re: 500d development
« Reply #719 on: 19 / April / 2011, 20:45:41 »
I updated the repository just now guys. I'm not releasing an autoexec since htp/alo still isn't all worked out yet.

- got prop_spy to work (alex/alins take a look, i defined num_properties with 2048 instead of 4096). had a buffer over flow problem when i'd try to use 4096 (5d code has 8192?? :o )
- cleaned up the boot process - got rid of some stuff in 5d-hack.c, particularly the my_sleep_task function. deleted it, it isn't needed and it was preventing ML from ever reaching debug_init in debug.c
- commented out a couple duplicates in the stubs file.

feels good to finally make some progress :D

https://bitbucket.org/alins/magic-lantern-for-500d/changeset/de5b8ba29cbf




I started looking into making the menu close cleaner / be more stable. We need to find the location of redraw_maybe in the 500d, then we can use this to redraw all of the canon elements on the screen (i believe it's similar to when you cover the lcd sensor).
« Last Edit: 19 / April / 2011, 22:07:55 by Coutts »
Canon 5d
Canon 50mm f/1.8
Sigma 24mm f/1.8

Flickr

 

Related Topics