MOV R0, #0BX LR
int my_PT_CompletePreCapt() { _LogPrintf(0x120,"my_PT_CompletePreCapt"); return 0;}int my_PT_ShootPicture() { _LogPrintf(0x120,"my_PT_ShootPicture"); return 0;}int register_pt_hooks() { if(_ExecuteEventProcedure("System.Create") == -1) { return -1; } if(_ExecuteEventProcedure("SS.Create") == -1) { return -1; } if(_ExecuteEventProcedure("ExportToEventProcedure","PT_CompletePreCapt",my_PT_CompletePreCapt) == -1) { return -1; } if(_ExecuteEventProcedure("ExportToEventProcedure","PT_ShootPicture",my_PT_ShootPicture) == -1) { return -1; } return 0;}
00011670: PT_CompletePreCapt00011670: SS:my_PT_CompletePreCapt...00011690: UI:MuteOnPhysicalScreen00011690: SS:Shoot00011690: PT_ShootPicture00011690: SS:my_PT_ShootPicture
What do you think 'PT' stands for ?
While you are looking at this stuff, do you know if the movie-capture task can be paused anywhere without causing a crash ?(I can start a new thread about this).
If not, is there anywhere an led can be very briefly flashed at the instant each frame is captured ?
For capt_seq, we still need all the asm for the raw hook, though?
This makes me wonder if there are more such vacant eventprocs for testing or debug?
Maybe some that aren't even empty like these PT* functions but contain things like console logging that doesn't really need to be done by a replacement...
edit: these are empty as well:PT_BatLvChange_PreWeakPT_BatLvChange_WeakPT_BatLvChange_LowPT_BatLvChange_SysLow
This is very interesting but it's still a mystery for many.It would be nice to have some Lua examples on how to call/use some of these EventProcedure.It is nice to know they are there and thanks for bringing them up!
Two more likely candidates on d10, not on older cameras like a570UIFS_ChangeShootState called by sub_FF9317E4UIFS_ShootSeqToUI called by sub_FF931808. This one looks interesting, it is called from PostEventShootSeqToUI. Calls to this go into the camera log as "ShootSeqToUI:0x%04x:adr:%p,Para:%ld"
UIFS_ShootSeqToUI called by sub_FF931808. This one looks interesting, it is called from PostEventShootSeqToUI. Calls to this go into the camera log as "ShootSeqToUI:0x%04x:adr:%p,Para:%ld"
Started by vine General Discussion and Assistance
Started by mxquattro « 1 2 » General Help and Assistance on using CHDK stable releases
Started by colinbm General Help and Assistance on using CHDK stable releases
Started by reyalp « 1 2 ... 29 30 » General Discussion and Assistance
Started by reyalp « 1 2 ... 7 8 » General Discussion and Assistance