Coutts,
I do not understand why you want to rewrite 500D 1.1.0 stubs, I already made this 1 year ago
http://magiclantern.wikia.com/wiki/500D#Stubs-500d.110.s
Any reason I missed ?
you detected errors in this file ?
Are you using this code base ?
https://bitbucket.org/alins/magic-lantern-for-500d/overview
Indy
I'm modifying the latest 550d code to run on the 500d, so that we'd be up to date with all of the features added since then. I'm considering putting the code on a separate bitbucket account, for sake of organization.
As for the questions about the stubs:
I've sat down and compared the 550d and 500d using idapro, using the stubs file from the latest 550d build as my reference. I first used match.py to generate a new stubs for the 500d from a 550d dump/stubs, now I'm just finishing up checking all of the stubs addresses by hand to be 100000% sure they're correct. I'll post the updated stubs file containing all of the correct / new addresses for the 500d later tonight.
you found wrong values in 550d or 500d?
the 500d, yes, more than I expected. Here's a list of what's incorrect / new functions in the current 500d build:
incorrect values:register_func
dm_set_store_level
malloc
gui_lock
sd_device
audiothresholds
FreeMemory
FIO_FindFirstEX
FIO_FindNextEX
vram_get_number
FIO_RemoveFile
new functions found:AJ_guess_LED_OFF
AJ_guess_LED_ON
DispSensorStart
SetBitmapVramAddress
bootdisk_disable
bootdisk_enable
cfReadBlk
sdReadBlk
cli_save
free
mvrSetBitRate
sei_restore
vram_get_pos_and_size
I've got 12 left to do, so I should be posting a stubs file with the correct values (it'll be formatted like the 550d's stubs, and I'll add the extras like AE_MODE_MOVIE_ON / verify they're correct) later tonight. I hope all of this time I've spent in IDA will pay off!!
i have to be honest with you: i'm really happy you are getting the hang of this, we really need more developers to hack on this code since i don't always have the time to give it the love it deserves (I still can't believe how many downloads we have for the last build).
You do have permission to submit into bitbucket right?.
I'm really happy I'm finally getting the hang of it. I actually kind of like using idapro to find addresses. it's actually pretty fun
edit:some interesting things i came across, maybe someone knows how to use these (if they're worth anything)??
i'm gonna start noting any live view exposure related things I come across, I want a way to disable live view's "exposure preview", where it makes the screen as dark/bright as the picture is gonna be. this is useless if I'm shooting flash at 1/200th in a dark room, can't see anything!!! (this has gotten in the way multiple times in the past).