Wikia

CHDK Wiki

ReyalP/EventProcNotes

Talk0
570pages on
this wiki

< User:ReyalP

Revision as of 04:24, August 15, 2013 by ReyalP (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A540:

RegisterProductTestEventEdit

PT_CompleteChargeEdit

PT_CompleteSynchroWriteEdit

PT_CompleteCaptModeChangeEdit

PT_MovieRecordStoppedEdit

PT_CompletePrepareLensEdit

PT_CompleteStoreLensEdit

PT_CompleteStopDigZoomEdit

PT_CompleteStopZoomEdit

PT_NextShootAvailableEdit

PT_RecreviewAvailableEdit

PT_CompletePreCaptEdit

PT_EraseAllFileEdit

PT_modEdit

PT_atoiEdit

PT_GetSystemTimeEdit

PT_SetPropertyCaseStringEdit

PT_SetPropertyCaseIntEdit

PT_GetPropertyCaseStringEdit

PT_GetPropertyCaseIntEdit

PT_GetLocalTimeStringEdit

PT_GetLocalDateStringEdit

PT_GetLocalDateAndTimeStringEdit

PT_PlaySoundEdit

note on some cameras (Dryos), this takes a pointer, and is not the function with this name in CHDK

PT_SetMessageEdit

PT_UndispMessageEdit

PT_LCD_BkColorEdit

PT_LCD_BkColorDefEdit

PT_StartBatteryTestEdit

PT_FinishBatteryTestEdit

PT_BatLvChange_PreWeakEdit

PT_BatLvChange_WeakEdit

PT_BatLvChange_LowEdit

PT_BatLvChange_SysLowEdit

PT_GetBatteryLevelEdit

PT_GetPreWeakBatLvEdit

PT_GetWeakBatLvEdit

PT_GetLowBatLvEdit

PT_GetSysLowBatLvEdit

RegisterNRTableEventEdit

NR_SetDarkSubTypeEdit

NR_SetDefectCorrectTypeEdit

NR_GetDarkSubTypeEdit

NR_GetDefectCorrectTypeEdit

RegisterShootSeqEventEdit

Note, some in this table have NULL name but func pointer. Later ones still registered

NotifyStartupImageCreatedEdit

CheckLensAndShutdownReasonEdit

StartupZoomEdit

ActivateImageSystemEdit

StoreLensForShutDownEdit

ShutdownImageSystemEdit

EmergencyOfLensEdit

StopLensEdit

IsEmptyWriteCacheEdit

FlushWriteCacheEdit

EnterToRecFromPlayEdit

EnterToPlayFromRecEdit

IsLensExtendEdit

MoveOpticalZoomToTeleEdit

MoveOpticalZoomToWideEdit

StopOpticalZoomEdit

MoveOpticalZoomAtEdit

->>>first NULL name block

ChangeZoomSpeedEdit

MoveDigitalZoomToTeleEdit

MoveDigitalZoomToWideEdit

StopDigitalZoomEdit

MoveDigitalZoomAtEdit

PrepareCaptureModeChangeEdit

CaptureModeChangeEdit

EnterToManualFocusEdit

ExitFromManualFocusEdit

MoveFocusToFarEdit

MoveFocusToNearEdit

MoveFocusToFarRelativeEdit

MoveFocusToNearRelativeEdit

StartFewAFEdit

StopFocusEdit

StartMFAssistEdit

StopMFAssistEdit

AFFrameMovedEdit

GetMFBarDataEdit

AFDistanceChangedEdit

GetMacroSupportZoomPointEdit

DoAFLockEdit

UnlockAFEdit

EnterToCompensationEVFEdit

ExitFromCompensationEVFEdit

RectifyExposureWithMeasureEdit

UpdateEVFEdit

DoAELockEdit

UnlockAEEdit

GetProgramShiftLimitPositiveEdit

GetProgramShiftLimitNegativeEdit

FixProgramShiftEdit

StartFinderEdit

StopFinderEdit

StartPCEVFEdit

StopPCEVFEdit

SuspendPcEvfEdit

ResumePcEvfEdit

StartStitchEVFEdit

StopStitchEVFEdit

SetPointStitchEVFEdit

UndisplayEVFEdit

IsStrobeChargeCompletedEdit

StrobeModeChangedEdit

WBModeChangedEdit

ColorModeChangedEdit

ISOSpeedChangedEdit

LightMeteringModeChangedEdit

DisplayTypeChangedEdit

MyColorModeChangeEdit

MyColorMenuInEdit

MyColorMenuOutEdit

ShootColorEdit

NotifyISModeChangedEdit

NotifyConvLensSettingChangedEdit

MenuInEdit

PrepareMenuOutEdit

MenuOutEdit

MyCameraInEdit

MyCameraOutEdit

LcdBrightnessMenuInEdit

LcdBrightnessMenuOutEdit

AllSettingResetedEdit

PrepareStrobeChargeEdit

PrepareCaptureEdit

ShootPictureEdit

EnterToAELockEVFEdit

StartBridgeEVFEdit

StopContinuousShootingEdit

ExitFromAELockEVFEdit

ShootWhiteEdit

ExitShootingEdit

StartRecreviewEdit

StopRecreviewEdit

RecreviewHoldEdit

RecreviewReleaseEdit

MovieParamChangedEdit

RecordMovieEdit

StopRecordMovieEdit

IsAvailStillOnMovieEdit

PrepareLensForStandbyEdit

EnterToRemoteCaptureModeEdit

return 0;

ExitFromRemoteCaptureModeEdit

return 0;

StartClockModeEdit

StopClockModeEdit

StartupForTestRecEdit

PrepareTestRecEdit

ExitTestRecEdit

MFOnEdit

MFOffEdit

ExecuteScriptEdit

RegisterDialogAPIForEventProcedureEdit

needs UI_RegistDebugEventProc first (?)

LockPhysicalScreenEdit

RefreshPhysicalScreenEdit

EnableRefreshPhysicalScreenEdit

DisableRefreshPhysicalScreenEdit

IsEnableRefreshPhysicalScreenEdit

CreateDialogBoxEdit

DeleteDialogBoxEdit

ResizeDialogBoxEdit

MoveDialogBoxPositionEdit

DeleteDialogBoxAfterGetTopOfControlEdit

SetPropertyToDialogItemWithIDEdit

GetPropertyFromDialogItemWithIDEdit

AddItemToDialogBoxEdit

DeleteItemFromDialogBoxEdit

SetFocusDirectionToDialogItemEdit

SetFocusItemToDialogItemEdit

GetFocusedItemIDOfDialogItemEdit

GetItemHandleOfDialogBoxEdit

DisplayDialogBoxEdit

UndisplayDialogBoxEdit

SetBackgroundColorToDialogBoxEdit

RefreshRectangleToDialogEdit

RegisterRefreshToDialogEdit

RefreshRegistedRectangleToDialogEdit

FillRectangleToDialogEdit

DrawStringToDialogEdit

TransferRectangleToDialogEdit

TransferBitmapToDialogEdit

DrawBinaryBitmapToDialogEdit

GetDialogBoxWindowEdit

SetFocusScopeToDialogEdit

GetFocusScopeToDialogEdit

MoveViewPortPositionEdit

ResizeVirtualWindowEdit

MoveDialogControllerToTopOfZOrderEdit

RegisterChangeLanguageToDialogEdit

UnregisterChangeLanguageToDialogEdit

MoveDialogItemPositionToDialogEdit

ResizeDialogItemToDialogEdit

GetDialogItemPositionToDialogEdit

GetDialogItemResolutionToDialogEdit

SetOriginTypeToDialogEdit

LockRefreshDialogEdit

UnlockRefreshDialogEdit

SetDefaultMovingFocusToDialogEdit

KeepDefaultMoveFocusEventToDialogEdit

InstallDialogItemEdit

CreateDialogItemEdit

DeleteDialogItemEdit

DrawDialogItemEdit

ControlEventHandlerEdit

SetPropertyToDialogItemEdit

GetPropertyFromDialogItemEdit

SetAttributeToDialogItemEdit

GetAttributeFromDialogItemEdit

MoveDialogItemPositionEdit

ResizeDialogItemEdit

GetDialogItemPositionEdit

GetDialogItemResolutionEdit

SetSystemColorModeEdit

SetCurrentPaletteEdit

DeletePaletteEdit

SetYUVPaletteIndexEdit

SetPaletteToPhysicalScreenEdit

GetPaletteFromPhysicalScreenEdit

StartGUISystemEdit

UI_RegistDebugEventProcEdit

Also registers all named LogicalEvent, calling posts the event. Presume you can pass args

HardwareDefectEdit

ShowErrorNumberListEdit

List error names and numbers to stdout

SetAutoShutdownTimeEdit

LockMainPowerEdit

UnlockMainPowerEdit

ShowAutoShutdownTimeEdit

IsDisableAutoShutdownEdit

DisableAutoShutdownEdit

EnableAutoShutdownEdit

GetMainPowerLockCounterEdit

PostLogicalEventToUIEdit

PostLogicalEventForNotPowerTypeEdit

PostEventShootSeqToUIEdit

ShowLogicalEventNameEdit

LogiEvnt_LoadCameraLogEdit

CreateControllerEdit

DeleteControllerEdit

MoveControllerToTopOfZOrderEdit

GetSelfControllerHandleEdit

SetCurrentCaptureModeTypeEdit

UIFS_StopPostingUIEventEdit

UIFS_RestartPostingUIEventEdit

UIFS_SetCaptureModeToPEdit

UIFS_SetCaptureModeToMEdit

UIFS_SetCaptureModeToMacroEdit

UIFS_CaptureEdit

UIFS_StartMovieRecordEdit

UIFS_StopMovieRecordEdit

UIFS_PCaseToPTMIDEdit

UIFS_SetCradleSettingEdit

UIFS_SetDialStillRecEdit

UIFS_SetDialMovieRecEdit

UIFS_SetDialPlayEdit

ModeLevelStillRecForScriptEdit

ModeLevelMovieRecForScriptEdit

ModeLevelPlayForScriptEdit

UiEvnt_StartDisguiseCradleStatusEdit

UiEvnt_StopDisguiseCradleStatusEdit

PTM_RestoreUIPropertyEdit

SetScriptModeEdit

IsControlEventActiveEdit

UiEvnt_ShowBitMapsEdit

PrintBmpVramInfoEdit

PrintCurrPaletteEdit

UI_ShowStateOfRecModeEdit

GetCurrentCaptureModeTypeEdit

FmtMenu_ExecuteQuickFormatEdit

StartGUISystemEdit

ShutdownGUISystemEdit

RegisterDialogAPIForEventProcedureEdit

see at top level

PTM_AllResetToFactorySettingEdit

PTM_AllResetPropertyEdit

PTM_SetCurrentCaptureModeEdit

PTM_GetWorkingCaptureModeEdit

PTM_SetCurrentItemEdit

PTM_GetCurrentItemEdit

PTM_NextItemEdit

PTM_PrevItemEdit

PTM_BackupUIPropertyEdit

PTM_SetProprietyEnableEdit

ControlViewEventEdit

UiComIF_SendEventToUIEdit

UiMemory_ShowEdit

ExecuteResetFactoryWithRomWriteEdit

dragons

ShootCon_SetEventHookEdit

ShootCon_PrintMemoryDumpEdit

ShootCon_GetStatusEdit

ShootCon_ShowStateEdit

ShootCon_ShowAllSemaphoresEdit

ZoomCon_ShowStateEdit

StartMovieControllerEdit

ShutdownMovieControllerEdit

EnableMovieControllerEdit

DisableMovieControllerEdit

GetStateOfMovieSequenceEdit

StartSwitchViewFinderEdit

StopSwitchViewFinderEdit

SwitchViewFinderEdit

StartDpStyleMenuEdit

StartDpMainMenuEdit

StartDpTrimmingEdit

StartDpStopReconfirmEdit

StartDpMovieMenuEdit

DBG_changeTraceLevelEdit

StartDpPrintingEdit

StartDpDpofMenuEdit

StartDpsMainMenuEdit

StartDpsStopEdit

StartDpsDpofMenuEdit

StartDpConnectEdit

CreateDpConnectControllerEdit

DeleteDpConnectControllerEdit

StopDpConnectEdit

shutdownDirectPrintUIEdit

StartFirmInfoMenuEdit

ShutdownRecAllMenuEdit

ShutdownPlayAllMenuEdit

StartRecModeMenuEdit

ShutdownRecModeMenuEdit

StartPlayModeMenuEdit

ShutdownPlayModeMenuEdit

ShutdownPlayModeMenuWithoutPbRedrawEdit

StartDpofPlayLoadingEdit

StopDpofPlayLoadingEdit

SyncStopDpofPlayLoadingEdit

MechaRegisterEventProcedureEdit

MechaUnRegisterEventProcedureEdit

deletes these

EnableMechaCircuitEdit

DisableMechaCircuitEdit

EnableFocusPiCircuitEdit

DisableFocusPiCircuitEdit

GetFocusPiSensorLevelEdit

EnableZoomPiCircuitEdit

DisableZoomPiCircuitEdit

GetZoomPiSensorLevelEdit

EnableZoomEncoderCircuitEdit

DisableZoomEncoderCircuitEdit

SendMechaCircuitDataEdit

ReceiveMechaCircuitDataAllEdit

note: semaphore

ResetZoomLensEdit

ResetZoomLensToFirstPointEdit

ResetZoomLensToTermiantePointEdit

MoveZoomLensWithPointEdit

MoveZoomLensWithPositionEdit

MoveZoomLensToTerminatePositionEdit

GetZoomLensCurrentPointEdit

GetZoomLensCurrentPositionEdit

GetZoomLensTelePointEdit

SetZoomLensNormalControlGainEdit

SetZoomLensResetControlGainEdit

MoveZoomActuatorEdit

SetZoomActuatorSpeedPPSEdit

GetZoomActuatorSpeedPPSEdit

SetZoomActuatorSpeedControlGainEdit

GetZoomActuatorSpeedControlGainEdit

SetZoomActuatorAmpereDacEdit

GetZoomActuatorAmpereDacEdit

SetZoomActuatorPwmDutyEdit

SetZoomActuatorPwmFixedTimeEdit

GetZoomActuatorCurrentPositionEdit

IsZoomActuatorResetSensorPlusSideEdit

SetDCMotorSpeedLevelEdit

SetDCMotorChargePumpEdit

SetDCMotorPwmFixedTimeLevelEdit

SetDCMotorPwmLevelEdit

SetPM3ByGpioEdit

ClearPM3ByGpioEdit

ClearPM3ByFsEdit

MoveDCMotorCWEdit

MoveDCMotorCCWEdit

StopDCMotorEdit

GetCurrentEncoderPositionEdit

SetDCMotorWaitTimeEdit

MoveFocusLensWithDistanceEdit

ResetFocusLensEdit

MoveFocusLensToTerminateEdit

MoveFocusLensWithPositionEdit

MoveFocusLensWithPositionWithoutBacklasEdit

MoveFocusActuatorEdit

GetFocusLensCurrentPositionEdit

GetFocusLensResetPositionEdit

GetFocusLensResetPositionForInsideEdit

GetFocusLensResetPositionForOutsideEdit

GetFocusLensResetDefaultPositionEdit

SetFocusLensDefaultConditionEdit

SetFocusLensConditionEdit

GetFocusLensMoveCompleteTimeEdit

GetFocusLensNdCoefficientPulseEdit

GetFocusLensSettingMaxSpeedEdit

GetFocusLensSettingMaxSpeedByDeltaTypeEdit

SetFocusLensMaxSpeedLimitEdit

CancelFocusLensMaxSpeedLimitEdit

EscapeFocusLensEdit

EnableFocusLensEdit

GetFocusLensSubjectDistanceEdit

GetFocusLensSubjectDistanceFromLensEdit

SetFocusLensBacklashSpeedToMaxEdit

ClearFocusLensBacklashSpeedToMaxEdit

CheckFocusLensAfAgingEdit

ResetIrisEventEdit

MoveIrisWithAvEventEdit

MoveIrisWithAvAndSpeedEventEdit

MoveIrisToPositionWithBacklashEventEdit

MoveIrisToTerminatePositionEventEdit

MoveIrisToFullOpenEventEdit

MoveIrisToFullCloseEventEdit

GetIrisAvEventEdit

GetIrisCurrentPositionEventEdit

MoveIrisWithAvWithoutBacklashEventEdit

MoveIrisToPositionWithoutBacklashEventEdit

ReloadIrisAdjustmentDataEventEdit

MoveIrisWithAvAndSpeedWithoutBacklashEvEdit

SetIrisMoveToNormalEventEdit

SetIrisMoveToAutoDeltaEventEdit

EnableIrisEventEdit

DisableIrisEventEdit

CloseMechaShutterEventEdit

OpenMechaShutterEventEdit

CloseMechaShutterWithTimingEventEdit

SetMechaShutterDacSettingEventEdit

SetMechaShutterOpenDacSettingEventEdit

SetMechaShutterFinalDacSettingEventEdit

SetMechaShutterOpenFinalDacSettingEventEdit

SetMechaShutterWaitTimeSettingEventEdit

GetMechaShutterStatusEventEdit

SaveMechaShutterCountEdit

GetMechaShutterCountEdit

ClearMechaShutterCountEdit

TurnOnNdFilterEventEdit

TurnOffNdFilterEventEdit

MoveCZToPointEventEdit

MoveCZToWideEventEdit

MoveCZToTeleEventEdit

MoveLensToFirstPointEventEdit

MoveLensToTerminatePointEventEdit

PermitLensControllerNextStageEdit

IsLensOutsideEdit

GetLensErrorStatusEdit

TurnOnAFLampEventEdit

TurnOffAFLampEventEdit

GetOpticalTemperatureEdit

GetCCDTemperatureEdit

GetBatteryTemperatureEdit

MechaUnRegisterEventProcedureEdit

MechaResetEdit

MechaTerminateEdit

ShowMechaMacroEdit

EngineDriver.CreateEdit

EngDrvOutEdit

EngDrvInEdit

EngDrvReadEdit

EngDrvBitsEdit

EngDrvReadDumpEdit

Capture.CreateEdit

some of the functions here do more than just register event proc

Capture.DeleteEdit

removes below

OutPortEdit

InPortEdit

table FFCBBE7C

ActivateImagerEdit

QuietImagerEdit

ChangeImagerToWholeSerialEdit

ChangeImagerToWholeSerialLineDefEdit

ChangeImagerToWholeParallelEdit

ChangeImagerToWholeParallelHalfEdit

ChangeImagerToSuperWideDraftEdit

ChangeImagerToWideDraftEdit

ChangeImagerToNarrowDraftEdit

ChangeImagerToAlternateDraftEdit

ChangeImagerToJetDraftEdit

ChangeImagerToPetitNarrowEdit

ChangeImagerToFocusJetEdit

ChangeImagerToJumboDraftEdit

ChangeImagerToOITA_XAVIEREdit

ChangeImagerToDigiconModeEdit

ChangeImagerToQVGA20FpsEdit

ChangeImagerToQVGA15FpsEdit

ChangeImagerToSmearCorrectWideEdit

ChangeImagerToSmearCorrectSuperEdit

ChangeImagerToSmearCorrectAlternateEdit

CancelImagerEdit

StillOnMovieTestEdit

SetStartLineForNarrowDraftEdit

WithdrawalImagerForEmergencyEdit

VirtualHeadErrorEdit

SetSmearOnEdit

SetSmearOffEdit

ChangeUseAfEdit

table FFCA06BC (evflag)

ImgGainTool.SetDeltaGainEdit

ImgGainTool.SetUserGainEdit

ImgGainTool.FlushGainEdit

ImgGainTool.GetDeltaGainLimitEdit

ImgGainTool.GetUserGainLimitEdit

ImgGainTool.GetGainEdit

ImgGainTool.IsValidDeltaSvEdit

table FFD155D4 (evflag)

OBCtrl.StartEdit

OBCtrl.StopEdit

OBCtrl.IsStartedEdit

table FFC9F6F8 (evflag)

ShutterTool.SetTvEdit

ShutterTool.SetExpTimeEdit

ShutterTool.GetCurTvEdit

ShutterTool.GetCurExpTimeEdit

ShutterTool.GetLimOfTvEdit

ShutterTool.GetLimOfTvRegularEdit

ShutterTool.GetLimOfExpTimeEdit

ShutterTool.GetLimOfExpTimeRegularEdit

ShutterTool.SetTvForFixEdit

ShutterTool.GetLimOfTvForFixEdit

ShutterTool.GetLimOfTvForFixWithAvEdit

table FFCA873C (evflag)

WBInteg.EnableUsageCheckEdit

WBInteg.DisableUsageCheckEdit

WBInteg.EnableUsageCheckSSEdit

WBInteg.DisableUsageCheckSSEdit

table FFCF17BC (evflag)

ExpCtrlTool.EnableUsageCheckEdit

ExpCtrlTool.DisableUsageCheckEdit

ExpCtrlTool.SleepEdit

ExpCtrlTool.SleepWithoutExpDrvEdit

ExpCtrlTool.PreEdit

ExpCtrlTool.StartContiEdit

ExpCtrlTool.StartContiNoResetIrisEdit

ExpCtrlTool.StopContiEdit

ExpCtrlTool.StartManualExpEdit

ExpCtrlTool.StopManualExpEdit

ExpCtrlTool.PauseUniUniEdit

ExpCtrlTool.ResumeUniUniEdit

ExpCtrlTool.OneShotAEEdit

ExpCtrlTool.AEFocusEdit

ExpCtrlTool.AEFocusAdjustEdit

ExpCtrlTool.AEFocusProgEdit

ExpCtrlTool.AEPreFixEdit

ExpCtrlTool.AEStillOnMovieEdit

ExpCtrlTool.AECompEdit

ExpCtrlTool.AEFixEdit

ExpCtrlTool.AEFixProgEdit

ExpCtrlTool.AELockEdit

ExpCtrlTool.ManualEdit

ExpCtrlTool.ReviveEdit

ExpCtrlTool.ReviveRefEdit

ExpCtrlTool.ReviveCompEdit

ExpCtrlTool.LockEdit

ExpCtrlTool.KeepEdit

ExpCtrlTool.KeepProgEdit

ExpCtrlTool.ShiftEdit

ExpCtrlTool.FixEdit

ExpCtrlTool.GetAvLimitEdit

ExpCtrlTool.GetAvLimitWithoutTvEdit

ExpCtrlTool.GetTvLimitEdit

ExpCtrlTool.GetShiftLimitEdit

ExpCtrlTool.SetExpModeEdit

table FFCF5F80 (evflag)

ExpDrvTool.ChgSpeedEdit

table FFD013D0

EF.StartEFChargeEdit

EF.StopEFChargeEdit

EF.StartInternalPreFlashEdit

EF.StartInternalMainFlashEdit

EF.SetMainFlashTimeEdit

EF.IsChargeFullEdit

table FFC9CF20

LiveImageTool.StartEVFEdit

LiveImageTool.StartEVFFocusJetEdit

LiveImageTool.StartEVFMovVGAEdit

LiveImageTool.StartEVFMovQVGA60Edit

LiveImageTool.StartEVFMovQVGAEdit

LiveImageTool.StartEVFMovQQVGAEdit

LiveImageTool.StopEVFEdit

LiveImageTool.DzoomTeleEdit

LiveImageTool.DzoomWideEdit

LiveImageTool.StopDzoomEdit

LiveImageTool.PauseEdit

LiveImageTool.ResumeEdit

LiveImageTool.ChangeDzoomEdit

LiveImageTool.GetDzoomPositionEdit

table FFCB75E0

DevelopTool.DevelopTestEdit

table FFD1EF74

ChangeGradeTableEdit

MakeDefDataEdit

KizuMarkCheckEdit

GetDefectCountEdit

RenewThermoLogNoEdit

FA.CreateEdit

"FA.Delete" <- unregisters (from ram) FA offsets 0xA4E0 -> 0x8BE0 0xA53C -> 0x8C3C 0xA520 -> 0x8C20 0xA44C -> 0x8B4C 0x999C -> 0x809C 0x9B1C -> 0x821C 0x9BC4 -> 0x82C4 (ev flag) func

InitializeTestRecEdit

TerminateTestRecEdit

ExecuteTestRecEdit

ExecuteTestRecCFEdit

CompletePrepareTestRecEdit

StrobeChargeCompForTestRecEdit

func

EnableDebugLogModeEdit

DisableDebugLogModeEdit

func

SetDefaultRecParameterEdit

SetDefectRecParameterEdit

func

ShowTransparentMemoryEdit

DumpTransparentMemoryItemEdit

AddTransparentMemoryEdit

AttachToTransparentMemoryEdit

RemoveTransparentMemoryEdit

GetTransparentMemorySizeEdit

GetTransparentMemoryEdit

GetTransparentMemoryPositionEdit

func

StartFactoryModeControllerEdit

IsFactoryModeEdit

SetFactoryModeEdit

Sets the camera to factory mode. This is written to ROM, so the camera will stay in factory mode after re-boots. In factory mode, the camera appears dead, just an LED (yellow one on some A series at least) and a black screen. If plugged into USB it shows up as DCP CONNECT. CHDK still loads in factory mode, but interface is not visible. note: this writes to ROM, and not all possible side effects are known. Dragons!

ClearFactoryModeEdit

Undoes the above. note: this writes to ROM, and not all possible side effects are known. Dragons!

DisplayFactoryModeEdit

UndisplayFactoryModeEdit

SetDurianModeEdit

Function appears similar to SetFacotryMode with different constants

ClearDurianModeEdit

func

CreateAdjustmentTableMirrorEdit

WRITEADJTABLETOFROMEdit

Called by SetFactoryMode, ClearFactoryMode etc Writes to ROM

ShowDefaultAdjTableVersionEdit

EraseAdjustmentAreaEdit

DumpAdjAreaEdit

DumpAdjMirrorEdit

GetAdjTableVersionEdit

GetAdjTableMapVersionEdit

GetAdjTableValueVersionEdit

LoadAdjustmentTableEdit

SaveAdjustmentTableEdit

SaveAdjustmentValueEdit

LoadAdjustmentValueEdit

PrintAdjTableMapEdit

AddAdjDataToFRomEdit

func, ev flag

StartLogOutEdit

StopLogOutEdit

OutputLogToFileEdit

IsLogOutTypeEdit

FAPrintfEdit

FADBGPrintfEdit

CreateFADBGSingalIDEdit

FADBGSingalEdit

PrintFirmVersionEdit

PrintFaexeVersioinEdit

ActivateAdjLogEdit

InactivateAdjLogEdit

GetLogDataEdit

InitializeSoundRecEdit

TerminateSoundRecEdit

StartSoundRecordEdit

FreeBufferForSoundRecEdit

StartSoundPlayEdit

SystemEventInitEdit

SystemEventDeleteEdit

unregisters most of these func FFC072E0

DeleteProxyOfEventProcedureEdit

CreateProxyOfEventProcedureEdit

ExportToEventProcedureEdit

MakeBootDiskEdit

MakeScriptDiskEdit

ExecuteFirmUpgradeEdit

func FFC0AC98

AllocateMemoryEdit

works like malloc

FreeMemoryEdit

works like free

WaitEdit

calls sleeptask

Poke32Edit

Poke16Edit

Poke8Edit

Peek32Edit

Peek16Edit

Peek8Edit

MonSelEventEdit

execEdit

Dump32Edit

ExecuteEventProcedureEdit

ExportToEventProcedureEdit

appears to be dup of earlier

strcpyEdit

strlenEdit

strcmpEdit

sprintfEdit

works

memcpyEdit

memsetEdit

memcmpEdit

OpenEdit

ReadEdit

WriteEdit

CloseEdit

LseekEdit

Fopen_FutEdit

these are the functions used for stdio in CHDK

Fread_FutEdit

Fwrite_FutEdit

Fclose_FutEdit

Fseek_FutEdit

CreateCountingSemaphoreEdit

DeleteSemaphoreEdit

TakeSemaphoreEdit

GiveSemaphoreEdit

GetTimeOfSystemEdit

CreateTaskEdit

ExitTaskEdit

SleepTaskEdit

CPrintfEdit

CPutCharEdit

OpenConsoleEdit

CloseConsoleEdit

GetStringWithPromptEdit

RotateConsoleZOderEdit

GetChEdit

sscanfEdit

WriteToRomEdit

here be dragons

EraseSectorOfRomEdit

here be more dragons

EraseSignatureEdit

here be even more dragons

GetSystemTimeEdit

ShowAllTaskInfoEdit

Writes lists of tasks to stdout

GetLogToFileEdit

takes a pointer to some ints. On Dryos this writes a nice human readable version of the crash log (from ROM) to a file on vxworks, looks like it would be unformatted. Couldn't get it to work in vx

EraseLogSectorEdit

memShowEdit

writes memory use info to stdout func FFEC34AC (does more than just reg)

LoadedScriptEdit

LoadScriptEdit

UnLoadScriptEdit

PrintfEdit

Print string on stdout

ScriptDisEnabledEdit

ScriptEnabledEdit

func FFC0A13C

GetBuildDateEdit

GetBuildTimeEdit

GetFirmwareVersionEdit

RomCheckSumEdit

CheckSumAllEdit

func FFECC3EC

MemoryCheckerEdit

VerifyByteEdit

func FFC02C18 (assume CPU / bus etc)

StopClockSaverEdit

SetLClk72MHzEdit

SetLClk36MHzEdit

SetLClk18MHzEdit

SetHClk72MHzEdit

SetHClk36MHzEdit

SetHClk18MHzEdit

SetMClk72MHzEdit

SetMClk36MHzEdit

SetMClk18MHzEdit

printclockEdit

func FFC0A0C0 (assume watch dog timer)

StartWDTEdit

StopWDTEdit

Driver_EnableEventProcEdit

some come from RAM +(0x2060 - 0x1900) +(0x20C4 - 0x1900) +(0x2098 - 0x1900) +(0x22DC - 0x1900) RAM

ExecuteLoadTestEdit

TurnOn_LoadTest_DebugModeEdit

TurnOff_LoadTest_DebugModeEdit

LoadTest_Result_Print_OnEdit

LoadTest_Result_Print_OffEdit

RAM

BeepDriveEdit

BeepDriveCompEdit

RAM

LEDDriveEdit

AFAssistBeamEdit

PostLEDMessageEdit

func

GetDialEventIdEdit

GetSwitchStatusEdit

OffPrintPhySwEdit

OnPrintPhySwEdit

ShowPhySwStatusEdit

func

OffPrintHVStatusEdit

OnPrintHVStatusEdit

GetHVSwEdit

OffPrintHVSwEdit

OnPrintHVSwEdit

func

SetBattCheckModeEdit

ShowBattCheckModeEdit

ShowBattChkAdjEdit

GetLBOffsetEdit

VbattGetEdit

LowBat_Result_Print_OnEdit

LowBat_Result_Print_OffEdit

BatVoltageToAdEdit

RAM factory mode only ?

SoundDevice_RecEdit

SoundDevice_PlayEdit

DispDev_EnableEventProcEdit

RAM 0x5D98 -> 0x4498

DispCon_SetVideoAdjParameterEdit

DispCon_GetVideoAdjParameterEdit

DispCon_ShowVideoAdjParameterEdit

DispCon_SaveVideoAdjParameterEdit

DispCon_ShowColorBarEdit

DispCon_ShowFiveStepEdit

DispCon_ShowWhiteChartEdit

DispCon_ShowBlackChartEdit

DispCon_ShowBitmapColorBarEdit

DispCon_ShowCustomColorBarEdit

DispCon_SetDisplayTypeEdit

DispCon_TurnOnDisplayEdit

DispCon_TurnOffDisplayEdit

DispCon_SetMaxBackLightBrightnessEdit

RAM 0x5F30 -> 0x4630

LcdCon_SetLcdDriverEdit

RAM 0x5F40 -> 0x4640

LcdCon_SetLcdAdjParameterEdit

LcdCon_GetLcdAdjParameterEdit

LcdCon_ShowLcdAdjParameterEdit

LcdCon_SaveLcdAdjParameterEdit

RAM 0x5F68 -> 0x4668

LcdCon_SetLcdBackLightBrightnessEdit

LcdCon_SetLcdBackLightParameterEdit

LcdCon_GetLcdBackLightParameterEdit

LcdCon_ShowLcdBackLightParameterEdit

LcdCon_SaveLcdBackLightParameterEdit

RegComEventProcEdit

PTPRspnd.StartTransportLogEdit

PTPRspnd.StopTransportLogEdit

PTPRspnd.ShowTransportLogEdit

PTPRspnd.ClearTransportLogEdit

???

InitializeAdjustmentSystemEdit

ret 25 ?

InitializeAdjustmentFunctionEdit

both do much more but, via sub_FFE93230 RAM 0x9C88

StartAEIntegralServiceEdit

StopAEIntegralServiceEdit

GetAEIntegralServiceModeEdit

SetAEIntegValueBitEdit

SetAEIntegWindowsModeEdit

SetWhiteCoefficientEdit

AbortAEIntegralValueEdit

GETEVFEVALUATIONVALUEWITHOUTMECHASHUTTEREdit

GETCRWEVALUATIONVALUEWITHOUTMECHASHUTTEREdit

GETCRWEVALUATIONVALUEWITHMECHASHUTTEREdit

GETEVFEVALUATIONVALUEWITHMECHASHUTTEREdit

GETALTERNATEEVALUATIONVALUEWITHMECHASHUTTEREdit

GETMOVIEEVALUATIONVALUEWITHMECHASHUTTEREdit

GETPREFLASHEVALUATIONVALUEEdit

GETMAINFLASHEVALUATIONVALUEEdit

SetAEIntegralValuePropertyEdit

GetAEIntegralValueWithFixEdit

GetAllAEIntegralAllValueWithFixEdit

SetLineDefMarkThroughModeEdit

SetAEIntegAverageOBDataEdit

PrintAllAEIntegDataEdit

SetAEIntegStrobePropertyEdit

GetAEIntegralValueEdit

RAM 0x9D74 -> 0xFFEFC264

SetObClampEdit

SetCDSGainEdit

SetCDSGainStepEdit

SetCdsGainValueEdit

GetCdsGainValueEdit

SetObClampValueEdit

GetObClampValueEdit

ReloadCdsAdjustmentEdit

SetAdjCdsModeEdit

CancelAdjCdsModeEdit

IsAdjCdsModeEdit

SetDeltaCDSGainEdit

RAM 0x9DE4 -> 0xFFEFC2D4

SetShutterSpeedEdit

SetShutterSpeedWithMechaEdit

GetCurrentShutterSpeedEdit

GetCurrentExposureTimeEdit

ConvertTvToExposureTimeEdit

GetUserSetShutterSPeedEdit

GetShutterSpeedRegularMaxLimitEdit

GetShutterSpeedRegularMinLimitEdit

RAM 0x9E9C -> 0xFFEFC38C

PutOutNdFilterEdit

PutInNdFilterEdit

ReloadNdFilterAdjustmentEdit

RAM 0x9E30 -> 0xFFEFC320

MoveIrisToAvEdit

ReloadIrisAdjustmentEdit

GetCurrentAvValueEdit

ResetIrisPositionEdit

MoveIrisFullOpenEdit

MoveIrisWithTerminatePositionEdit

MoveIrisMechaPositionWithBacklashEdit

MoveIrisMechaPositionWithoutBacklashEdit

MoveIrisToAvWithoutBacklashEdit

GetUsableMinAvEdit

GetUsableMaxAvEdit

GetCurrentIrisPositionEdit

RAM 0x9EC0 -> 0xFFEFC3B0

OpenMShutterEdit

CloseMShutterEdit

RAM 0x9ED8 -> FFEFC3C8

CalculatePow2FromApexEdit

CalculateLog2ToApexEdit

CalcLog10Edit

ConvertApexToApexStdEdit

ConvertApexStdToApexEdit

RAM 0x9F40 -> FFEFC430

SetToolCorrectCoefficientEdit

SetReferenceWBGainForCalibrationEdit

ReloadWBAdjustmentEdit

SetWBYlStandardWidthEdit

OneShotWhigeBalanceEdit

ConvertCxCyToWBGainEdit

RAM 0x9F80 -> FFEFC470

ResetZoomEdit

ResetZoomToFirstPointEdit

ResetZoomToTerminatePointEdit

MoveZoomLensToPositionEdit

MoveZoomLensToPointEdit

GetCurrentZoomLensPositionEdit

GetCurrentZoomLensPointEdit

ResetZoomToAdjTerminatePointEdit

ResetZoomToAdjFirstPointEdit

MoveZoomLensToPositionByManualEdit

MoveZoomLensToMechaEndEdit

GetZoomLensResetPlusEdit

GetCurrentZoomLensDirectionEdit

ReloadZoomAdjustmentEdit

GetZoomLensAmpareDacEdit

GetZoomLensSpeedEdit

RAM 0xA018 -> FFEFC508

ResetFocusEdit

MoveFocusLensToPositionEdit

MoveFocusLensToPositionWithMaxSpeedEdit

MoveFocusLensToTerminatePositionEdit

GetCurrentFocusLensPositionEdit

GetCurrentTargetDistanceEdit

GetFocusResetPositionEdit

GetFocusDefaultResetPositionEdit

ReloadFocusLensAdjustmentEdit

MoveFocusLensToDistanceEdit

ConvertToPositionWithDistanceAndZoomPointEdit

RAM 0xA16C -> FFEFC65C

StartFocusScanEdit

StartFocusScanWithRangeEdit

StartFocusScanWithEnableToStopEdit

StartFocusScanWithAutoStopEdit

StartFocusScanWithAutoStopFixEdit

SetFocusScanAutoStopPropertyEdit

StopFocusScanEdit

PrintScanTableEdit

PrintMultiWinScanTableEdit

CalculatePeakPositionByLeastSquareEdit

SetAFSensorDriveModeEdit

GetAFSensorDriveModeEdit

StartMultiWinFocusScanEdit

SetMultiWinPosEdit

StartDigiconServiceEdit

GetDigiconDataEdit

StopDigiconServiceEdit

StartDigiconFocusScanEdit

SetBPFForBestPintCorrectEdit

CancelBPFForBestPintCorrectEdit

ReloadBPCoeffAdjustmentEdit

RAM 0xA228 -> FFEFC718

ChargeStrobeEdit

ReloadEfAdjustmentEdit

RAM 0xA240 -> FFEFC730

RegistColorMatrixEdit

UnregistColorMatrixEdit

ReloadColorAdjustmentEdit

RAM 0xA280 -> FFEFC770

FocusAEWithCompensationEdit

SetAE_ShutterSpeedEdit

SetAE_CdsGainValueEdit

ShowCurrentExpEdit

AfAEWithAperturePriorityEdit

AfAEWithCompensationEdit

AdjAEWithAperturePriorityEdit

SleepAEEdit

SetAdj_AEModeEdit

CancelAdj_AEModeEdit

PreFixAEEdit

FixAEWithCompensationEdit

RAM 0xA2F4 FFEFC7E4

StartEVFDriveEdit

StopEVFDriveEdit

IsEVFDriveEdit

IsEvfDriveModeEdit

SetVideoOutTypeEdit

GetVideoOutTypeEdit

SwitchOnDisplayEdit

turns backlight back on, but nothing there ? Or ptp issue ?

SwitchOffDisplayEdit

turns LCD backlight off, framebuffers are still active

StartEVFDriveWithModeEdit

GetVRAMHPixelsSizeEdit

GetVRAMVPixelsSizeEdit

StopContinuousVRAMDataEdit

GetContinuousVRAMDataEdit

GetSumYOfVRAMCenterLineEdit

GetPixelsOfViewangleEdit

RAM 0xA380 -> FFEFC870

SetImageModeEdit

GetModelIdEdit

SetInputVoltageEdit

CalculateBatSenseOffsetEdit

SaveBatSenseOffsetAdjustmentTableEdit

Bat_VINEdit

Bat_CalcEdit

Bat_SaveEdit

SetDateEdit

SetYearEdit

SetMonthEdit

SetDayEdit

SetHourEdit

SetMinuteEdit

SetSecondEdit

GetYearEdit

GetMonthEdit

GetDayEdit

GetHourEdit

GetMinuteEdit

GetSecondEdit

TurnOnVideoOutModeEdit

TurnOffVideoOutModeEdit

SetLangMenuTypeEdit

TerminateAdjustmentSystemEdit

undoes above, I guess

Unknown / AutomaticEdit

sub_FFD3C010Edit

Following two via mem 0x60BC->FFEF85AC

Movie.NormalCompressionRateModeEdit

Movie.HiCompressionRateModeEdit

sub_FFE3A744Edit

SetUSBToDCPModeEdit

RefreshUSBModeEdit

sub_FFE3A7B8Edit

SetUSBToPTPModeEdit

DisableNotificationPTPEdit

EnableNotificationPTPEdit

NotifyConnectPictBridgeEdit

NotifyDisconnectPictBridgeEdit

sub_FFE6CF38Edit

0x97BC->FFEFBCAC

InitializeDCPClassFunctionsEdit

TerminateDCPClassFunctionsEdit

sub_FFEC2760Edit

automatic

StartCameraLogEdit

Starts camera log, args are log level (default 0x20) and buffer size (default 0x1000)

ShowCameraLogEdit

Output camera log to std out

StopCameraLogEdit

Must be called to adjust size with StartCameraLog

ShowCameraLogInfoEdit

Output log level and buffer size

PutsCameraLogEventEdit

Around Wikia's network

Random Wiki