CHDK Wiki
Advertisement
CHDK Wiki

A540:

Contents

RegisterProductTestEvent[]

PT_CompleteCharge[]

PT_CompleteSynchroWrite[]

PT_CompleteCaptModeChange[]

PT_MovieRecordStopped[]

PT_CompletePrepareLens[]

PT_CompleteStoreLens[]

PT_CompleteStopDigZoom[]

PT_CompleteStopZoom[]

PT_NextShootAvailable[]

PT_RecreviewAvailable[]

PT_CompletePreCapt[]

PT_EraseAllFile[]

PT_mod[]

PT_atoi[]

PT_GetSystemTime[]

PT_SetPropertyCaseString[]

PT_SetPropertyCaseInt[]

PT_GetPropertyCaseString[]

PT_GetPropertyCaseInt[]

PT_GetLocalTimeString[]

PT_GetLocalDateString[]

PT_GetLocalDateAndTimeString[]

PT_PlaySound[]

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

PT_SetMessage[]

PT_UndispMessage[]

PT_LCD_BkColor[]

PT_LCD_BkColorDef[]

PT_StartBatteryTest[]

PT_FinishBatteryTest[]

PT_BatLvChange_PreWeak[]

PT_BatLvChange_Weak[]

PT_BatLvChange_Low[]

PT_BatLvChange_SysLow[]

PT_GetBatteryLevel[]

PT_GetPreWeakBatLv[]

PT_GetWeakBatLv[]

PT_GetLowBatLv[]

PT_GetSysLowBatLv[]

RegisterNRTableEvent[]

NR_SetDarkSubType[]

NR_SetDefectCorrectType[]

NR_GetDarkSubType[]

NR_GetDefectCorrectType[]

RegisterShootSeqEvent[]

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

NotifyStartupImageCreated[]

CheckLensAndShutdownReason[]

StartupZoom[]

ActivateImageSystem[]

StoreLensForShutDown[]

ShutdownImageSystem[]

EmergencyOfLens[]

StopLens[]

IsEmptyWriteCache[]

FlushWriteCache[]

EnterToRecFromPlay[]

EnterToPlayFromRec[]

IsLensExtend[]

MoveOpticalZoomToTele[]

MoveOpticalZoomToWide[]

StopOpticalZoom[]

MoveOpticalZoomAt[]

->>>first NULL name block

ChangeZoomSpeed[]

MoveDigitalZoomToTele[]

MoveDigitalZoomToWide[]

StopDigitalZoom[]

MoveDigitalZoomAt[]

PrepareCaptureModeChange[]

CaptureModeChange[]

EnterToManualFocus[]

ExitFromManualFocus[]

MoveFocusToFar[]

MoveFocusToNear[]

MoveFocusToFarRelative[]

MoveFocusToNearRelative[]

StartFewAF[]

StopFocus[]

StartMFAssist[]

StopMFAssist[]

AFFrameMoved[]

GetMFBarData[]

AFDistanceChanged[]

GetMacroSupportZoomPoint[]

DoAFLock[]

UnlockAF[]

EnterToCompensationEVF[]

ExitFromCompensationEVF[]

RectifyExposureWithMeasure[]

UpdateEVF[]

DoAELock[]

UnlockAE[]

GetProgramShiftLimitPositive[]

GetProgramShiftLimitNegative[]

FixProgramShift[]

StartFinder[]

StopFinder[]

StartPCEVF[]

StopPCEVF[]

SuspendPcEvf[]

ResumePcEvf[]

StartStitchEVF[]

StopStitchEVF[]

SetPointStitchEVF[]

UndisplayEVF[]

IsStrobeChargeCompleted[]

StrobeModeChanged[]

WBModeChanged[]

ColorModeChanged[]

ISOSpeedChanged[]

LightMeteringModeChanged[]

DisplayTypeChanged[]

MyColorModeChange[]

MyColorMenuIn[]

MyColorMenuOut[]

ShootColor[]

NotifyISModeChanged[]

NotifyConvLensSettingChanged[]

MenuIn[]

PrepareMenuOut[]

MenuOut[]

MyCameraIn[]

MyCameraOut[]

LcdBrightnessMenuIn[]

LcdBrightnessMenuOut[]

AllSettingReseted[]

PrepareStrobeCharge[]

PrepareCapture[]

ShootPicture[]

EnterToAELockEVF[]

StartBridgeEVF[]

StopContinuousShooting[]

ExitFromAELockEVF[]

ShootWhite[]

ExitShooting[]

StartRecreview[]

StopRecreview[]

RecreviewHold[]

RecreviewRelease[]

MovieParamChanged[]

RecordMovie[]

StopRecordMovie[]

IsAvailStillOnMovie[]

PrepareLensForStandby[]

EnterToRemoteCaptureMode[]

return 0;

ExitFromRemoteCaptureMode[]

return 0;

StartClockMode[]

StopClockMode[]

StartupForTestRec[]

PrepareTestRec[]

ExitTestRec[]

MFOn[]

MFOff[]

ExecuteScript[]

RegisterDialogAPIForEventProcedure[]

needs UI_RegistDebugEventProc first (?)

LockPhysicalScreen[]

RefreshPhysicalScreen[]

EnableRefreshPhysicalScreen[]

DisableRefreshPhysicalScreen[]

IsEnableRefreshPhysicalScreen[]

CreateDialogBox[]

DeleteDialogBox[]

ResizeDialogBox[]

MoveDialogBoxPosition[]

DeleteDialogBoxAfterGetTopOfControl[]

SetPropertyToDialogItemWithID[]

GetPropertyFromDialogItemWithID[]

AddItemToDialogBox[]

DeleteItemFromDialogBox[]

SetFocusDirectionToDialogItem[]

SetFocusItemToDialogItem[]

GetFocusedItemIDOfDialogItem[]

GetItemHandleOfDialogBox[]

DisplayDialogBox[]

UndisplayDialogBox[]

SetBackgroundColorToDialogBox[]

RefreshRectangleToDialog[]

RegisterRefreshToDialog[]

RefreshRegistedRectangleToDialog[]

FillRectangleToDialog[]

DrawStringToDialog[]

TransferRectangleToDialog[]

TransferBitmapToDialog[]

DrawBinaryBitmapToDialog[]

GetDialogBoxWindow[]

SetFocusScopeToDialog[]

GetFocusScopeToDialog[]

MoveViewPortPosition[]

ResizeVirtualWindow[]

MoveDialogControllerToTopOfZOrder[]

RegisterChangeLanguageToDialog[]

UnregisterChangeLanguageToDialog[]

MoveDialogItemPositionToDialog[]

ResizeDialogItemToDialog[]

GetDialogItemPositionToDialog[]

GetDialogItemResolutionToDialog[]

SetOriginTypeToDialog[]

LockRefreshDialog[]

UnlockRefreshDialog[]

SetDefaultMovingFocusToDialog[]

KeepDefaultMoveFocusEventToDialog[]

InstallDialogItem[]

CreateDialogItem[]

DeleteDialogItem[]

DrawDialogItem[]

ControlEventHandler[]

SetPropertyToDialogItem[]

GetPropertyFromDialogItem[]

SetAttributeToDialogItem[]

GetAttributeFromDialogItem[]

MoveDialogItemPosition[]

ResizeDialogItem[]

GetDialogItemPosition[]

GetDialogItemResolution[]

SetSystemColorMode[]

SetCurrentPalette[]

DeletePalette[]

SetYUVPaletteIndex[]

SetPaletteToPhysicalScreen[]

GetPaletteFromPhysicalScreen[]

StartGUISystem[]

UI_RegistDebugEventProc[]

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

HardwareDefect[]

ShowErrorNumberList[]

List error names and numbers to stdout

SetAutoShutdownTime[]

LockMainPower[]

UnlockMainPower[]

ShowAutoShutdownTime[]

IsDisableAutoShutdown[]

DisableAutoShutdown[]

EnableAutoShutdown[]

GetMainPowerLockCounter[]

PostLogicalEventToUI[]

PostLogicalEventForNotPowerType[]

PostEventShootSeqToUI[]

ShowLogicalEventName[]

LogiEvnt_LoadCameraLog[]

CreateController[]

DeleteController[]

MoveControllerToTopOfZOrder[]

GetSelfControllerHandle[]

SetCurrentCaptureModeType[]

UIFS_StopPostingUIEvent[]

UIFS_RestartPostingUIEvent[]

UIFS_SetCaptureModeToP[]

UIFS_SetCaptureModeToM[]

UIFS_SetCaptureModeToMacro[]

UIFS_Capture[]

UIFS_StartMovieRecord[]

UIFS_StopMovieRecord[]

UIFS_PCaseToPTMID[]

UIFS_SetCradleSetting[]

UIFS_SetDialStillRec[]

UIFS_SetDialMovieRec[]

UIFS_SetDialPlay[]

ModeLevelStillRecForScript[]

ModeLevelMovieRecForScript[]

ModeLevelPlayForScript[]

UiEvnt_StartDisguiseCradleStatus[]

UiEvnt_StopDisguiseCradleStatus[]

PTM_RestoreUIProperty[]

SetScriptMode[]

IsControlEventActive[]

UiEvnt_ShowBitMaps[]

PrintBmpVramInfo[]

PrintCurrPalette[]

UI_ShowStateOfRecMode[]

GetCurrentCaptureModeType[]

FmtMenu_ExecuteQuickFormat[]

StartGUISystem[]

ShutdownGUISystem[]

RegisterDialogAPIForEventProcedure[]

see at top level

PTM_AllResetToFactorySetting[]

PTM_AllResetProperty[]

PTM_SetCurrentCaptureMode[]

PTM_GetWorkingCaptureMode[]

PTM_SetCurrentItem[]

PTM_GetCurrentItem[]

PTM_NextItem[]

PTM_PrevItem[]

PTM_BackupUIProperty[]

PTM_SetProprietyEnable[]

ControlViewEvent[]

UiComIF_SendEventToUI[]

UiMemory_Show[]

ExecuteResetFactoryWithRomWrite[]

dragons

ShootCon_SetEventHook[]

ShootCon_PrintMemoryDump[]

ShootCon_GetStatus[]

ShootCon_ShowState[]

ShootCon_ShowAllSemaphores[]

ZoomCon_ShowState[]

StartMovieController[]

ShutdownMovieController[]

EnableMovieController[]

DisableMovieController[]

GetStateOfMovieSequence[]

StartSwitchViewFinder[]

StopSwitchViewFinder[]

SwitchViewFinder[]

StartDpStyleMenu[]

StartDpMainMenu[]

StartDpTrimming[]

StartDpStopReconfirm[]

StartDpMovieMenu[]

DBG_changeTraceLevel[]

StartDpPrinting[]

StartDpDpofMenu[]

StartDpsMainMenu[]

StartDpsStop[]

StartDpsDpofMenu[]

StartDpConnect[]

CreateDpConnectController[]

DeleteDpConnectController[]

StopDpConnect[]

shutdownDirectPrintUI[]

StartFirmInfoMenu[]

ShutdownRecAllMenu[]

ShutdownPlayAllMenu[]

StartRecModeMenu[]

ShutdownRecModeMenu[]

StartPlayModeMenu[]

ShutdownPlayModeMenu[]

ShutdownPlayModeMenuWithoutPbRedraw[]

StartDpofPlayLoading[]

StopDpofPlayLoading[]

SyncStopDpofPlayLoading[]

MechaRegisterEventProcedure[]

MechaUnRegisterEventProcedure[]

deletes these

EnableMechaCircuit[]

DisableMechaCircuit[]

EnableFocusPiCircuit[]

DisableFocusPiCircuit[]

GetFocusPiSensorLevel[]

EnableZoomPiCircuit[]

DisableZoomPiCircuit[]

GetZoomPiSensorLevel[]

EnableZoomEncoderCircuit[]

DisableZoomEncoderCircuit[]

SendMechaCircuitData[]

ReceiveMechaCircuitDataAll[]

note: semaphore

ResetZoomLens[]

ResetZoomLensToFirstPoint[]

ResetZoomLensToTermiantePoint[]

MoveZoomLensWithPoint[]

MoveZoomLensWithPosition[]

MoveZoomLensToTerminatePosition[]

GetZoomLensCurrentPoint[]

GetZoomLensCurrentPosition[]

GetZoomLensTelePoint[]

SetZoomLensNormalControlGain[]

SetZoomLensResetControlGain[]

MoveZoomActuator[]

SetZoomActuatorSpeedPPS[]

GetZoomActuatorSpeedPPS[]

SetZoomActuatorSpeedControlGain[]

GetZoomActuatorSpeedControlGain[]

SetZoomActuatorAmpereDac[]

GetZoomActuatorAmpereDac[]

SetZoomActuatorPwmDuty[]

SetZoomActuatorPwmFixedTime[]

GetZoomActuatorCurrentPosition[]

IsZoomActuatorResetSensorPlusSide[]

SetDCMotorSpeedLevel[]

SetDCMotorChargePump[]

SetDCMotorPwmFixedTimeLevel[]

SetDCMotorPwmLevel[]

SetPM3ByGpio[]

ClearPM3ByGpio[]

ClearPM3ByFs[]

MoveDCMotorCW[]

MoveDCMotorCCW[]

StopDCMotor[]

GetCurrentEncoderPosition[]

SetDCMotorWaitTime[]

MoveFocusLensWithDistance[]

ResetFocusLens[]

MoveFocusLensToTerminate[]

MoveFocusLensWithPosition[]

MoveFocusLensWithPositionWithoutBacklas[]

MoveFocusActuator[]

GetFocusLensCurrentPosition[]

GetFocusLensResetPosition[]

GetFocusLensResetPositionForInside[]

GetFocusLensResetPositionForOutside[]

GetFocusLensResetDefaultPosition[]

SetFocusLensDefaultCondition[]

SetFocusLensCondition[]

GetFocusLensMoveCompleteTime[]

GetFocusLensNdCoefficientPulse[]

GetFocusLensSettingMaxSpeed[]

GetFocusLensSettingMaxSpeedByDeltaType[]

SetFocusLensMaxSpeedLimit[]

CancelFocusLensMaxSpeedLimit[]

EscapeFocusLens[]

EnableFocusLens[]

GetFocusLensSubjectDistance[]

GetFocusLensSubjectDistanceFromLens[]

SetFocusLensBacklashSpeedToMax[]

ClearFocusLensBacklashSpeedToMax[]

CheckFocusLensAfAging[]

ResetIrisEvent[]

MoveIrisWithAvEvent[]

MoveIrisWithAvAndSpeedEvent[]

MoveIrisToPositionWithBacklashEvent[]

MoveIrisToTerminatePositionEvent[]

MoveIrisToFullOpenEvent[]

MoveIrisToFullCloseEvent[]

GetIrisAvEvent[]

GetIrisCurrentPositionEvent[]

MoveIrisWithAvWithoutBacklashEvent[]

MoveIrisToPositionWithoutBacklashEvent[]

ReloadIrisAdjustmentDataEvent[]

MoveIrisWithAvAndSpeedWithoutBacklashEv[]

SetIrisMoveToNormalEvent[]

SetIrisMoveToAutoDeltaEvent[]

EnableIrisEvent[]

DisableIrisEvent[]

CloseMechaShutterEvent[]

OpenMechaShutterEvent[]

CloseMechaShutterWithTimingEvent[]

SetMechaShutterDacSettingEvent[]

SetMechaShutterOpenDacSettingEvent[]

SetMechaShutterFinalDacSettingEvent[]

SetMechaShutterOpenFinalDacSettingEvent[]

SetMechaShutterWaitTimeSettingEvent[]

GetMechaShutterStatusEvent[]

SaveMechaShutterCount[]

GetMechaShutterCount[]

ClearMechaShutterCount[]

TurnOnNdFilterEvent[]

TurnOffNdFilterEvent[]

MoveCZToPointEvent[]

MoveCZToWideEvent[]

MoveCZToTeleEvent[]

MoveLensToFirstPointEvent[]

MoveLensToTerminatePointEvent[]

PermitLensControllerNextStage[]

IsLensOutside[]

GetLensErrorStatus[]

TurnOnAFLampEvent[]

TurnOffAFLampEvent[]

GetOpticalTemperature[]

GetCCDTemperature[]

GetBatteryTemperature[]

MechaUnRegisterEventProcedure[]

MechaReset[]

MechaTerminate[]

ShowMechaMacro[]

EngineDriver.Create[]

EngDrvOut[]

EngDrvIn[]

EngDrvRead[]

EngDrvBits[]

EngDrvReadDump[]

Capture.Create[]

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

Capture.Delete[]

removes below

OutPort[]

InPort[]

table FFCBBE7C

ActivateImager[]

QuietImager[]

ChangeImagerToWholeSerial[]

ChangeImagerToWholeSerialLineDef[]

ChangeImagerToWholeParallel[]

ChangeImagerToWholeParallelHalf[]

ChangeImagerToSuperWideDraft[]

ChangeImagerToWideDraft[]

ChangeImagerToNarrowDraft[]

ChangeImagerToAlternateDraft[]

ChangeImagerToJetDraft[]

ChangeImagerToPetitNarrow[]

ChangeImagerToFocusJet[]

ChangeImagerToJumboDraft[]

ChangeImagerToOITA_XAVIER[]

ChangeImagerToDigiconMode[]

ChangeImagerToQVGA20Fps[]

ChangeImagerToQVGA15Fps[]

ChangeImagerToSmearCorrectWide[]

ChangeImagerToSmearCorrectSuper[]

ChangeImagerToSmearCorrectAlternate[]

CancelImager[]

StillOnMovieTest[]

SetStartLineForNarrowDraft[]

WithdrawalImagerForEmergency[]

VirtualHeadError[]

SetSmearOn[]

SetSmearOff[]

ChangeUseAf[]

table FFCA06BC (evflag)

ImgGainTool.SetDeltaGain[]

ImgGainTool.SetUserGain[]

ImgGainTool.FlushGain[]

ImgGainTool.GetDeltaGainLimit[]

ImgGainTool.GetUserGainLimit[]

ImgGainTool.GetGain[]

ImgGainTool.IsValidDeltaSv[]

table FFD155D4 (evflag)

OBCtrl.Start[]

OBCtrl.Stop[]

OBCtrl.IsStarted[]

table FFC9F6F8 (evflag)

ShutterTool.SetTv[]

ShutterTool.SetExpTime[]

ShutterTool.GetCurTv[]

ShutterTool.GetCurExpTime[]

ShutterTool.GetLimOfTv[]

ShutterTool.GetLimOfTvRegular[]

ShutterTool.GetLimOfExpTime[]

ShutterTool.GetLimOfExpTimeRegular[]

ShutterTool.SetTvForFix[]

ShutterTool.GetLimOfTvForFix[]

ShutterTool.GetLimOfTvForFixWithAv[]

table FFCA873C (evflag)

WBInteg.EnableUsageCheck[]

WBInteg.DisableUsageCheck[]

WBInteg.EnableUsageCheckSS[]

WBInteg.DisableUsageCheckSS[]

table FFCF17BC (evflag)

ExpCtrlTool.EnableUsageCheck[]

ExpCtrlTool.DisableUsageCheck[]

ExpCtrlTool.Sleep[]

ExpCtrlTool.SleepWithoutExpDrv[]

ExpCtrlTool.Pre[]

ExpCtrlTool.StartConti[]

ExpCtrlTool.StartContiNoResetIris[]

ExpCtrlTool.StopConti[]

ExpCtrlTool.StartManualExp[]

ExpCtrlTool.StopManualExp[]

ExpCtrlTool.PauseUniUni[]

ExpCtrlTool.ResumeUniUni[]

ExpCtrlTool.OneShotAE[]

ExpCtrlTool.AEFocus[]

ExpCtrlTool.AEFocusAdjust[]

ExpCtrlTool.AEFocusProg[]

ExpCtrlTool.AEPreFix[]

ExpCtrlTool.AEStillOnMovie[]

ExpCtrlTool.AEComp[]

ExpCtrlTool.AEFix[]

ExpCtrlTool.AEFixProg[]

ExpCtrlTool.AELock[]

ExpCtrlTool.Manual[]

ExpCtrlTool.Revive[]

ExpCtrlTool.ReviveRef[]

ExpCtrlTool.ReviveComp[]

ExpCtrlTool.Lock[]

ExpCtrlTool.Keep[]

ExpCtrlTool.KeepProg[]

ExpCtrlTool.Shift[]

ExpCtrlTool.Fix[]

ExpCtrlTool.GetAvLimit[]

ExpCtrlTool.GetAvLimitWithoutTv[]

ExpCtrlTool.GetTvLimit[]

ExpCtrlTool.GetShiftLimit[]

ExpCtrlTool.SetExpMode[]

table FFCF5F80 (evflag)

ExpDrvTool.ChgSpeed[]

table FFD013D0

EF.StartEFCharge[]

EF.StopEFCharge[]

EF.StartInternalPreFlash[]

EF.StartInternalMainFlash[]

EF.SetMainFlashTime[]

EF.IsChargeFull[]

table FFC9CF20

LiveImageTool.StartEVF[]

LiveImageTool.StartEVFFocusJet[]

LiveImageTool.StartEVFMovVGA[]

LiveImageTool.StartEVFMovQVGA60[]

LiveImageTool.StartEVFMovQVGA[]

LiveImageTool.StartEVFMovQQVGA[]

LiveImageTool.StopEVF[]

LiveImageTool.DzoomTele[]

LiveImageTool.DzoomWide[]

LiveImageTool.StopDzoom[]

LiveImageTool.Pause[]

LiveImageTool.Resume[]

LiveImageTool.ChangeDzoom[]

LiveImageTool.GetDzoomPosition[]

table FFCB75E0

DevelopTool.DevelopTest[]

table FFD1EF74

ChangeGradeTable[]

MakeDefData[]

KizuMarkCheck[]

GetDefectCount[]

RenewThermoLogNo[]

FA.Create[]

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

InitializeTestRec[]

TerminateTestRec[]

ExecuteTestRec[]

ExecuteTestRecCF[]

CompletePrepareTestRec[]

StrobeChargeCompForTestRec[]

func

EnableDebugLogMode[]

DisableDebugLogMode[]

func

SetDefaultRecParameter[]

SetDefectRecParameter[]

func

ShowTransparentMemory[]

DumpTransparentMemoryItem[]

AddTransparentMemory[]

AttachToTransparentMemory[]

RemoveTransparentMemory[]

GetTransparentMemorySize[]

GetTransparentMemory[]

GetTransparentMemoryPosition[]

func

StartFactoryModeController[]

IsFactoryMode[]

SetFactoryMode[]

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!

ClearFactoryMode[]

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

DisplayFactoryMode[]

UndisplayFactoryMode[]

SetDurianMode[]

Function appears similar to SetFacotryMode with different constants

ClearDurianMode[]

func

CreateAdjustmentTableMirror[]

WRITEADJTABLETOFROM[]

Called by SetFactoryMode, ClearFactoryMode etc Writes to ROM

ShowDefaultAdjTableVersion[]

EraseAdjustmentArea[]

DumpAdjArea[]

DumpAdjMirror[]

GetAdjTableVersion[]

GetAdjTableMapVersion[]

GetAdjTableValueVersion[]

LoadAdjustmentTable[]

SaveAdjustmentTable[]

SaveAdjustmentValue[]

LoadAdjustmentValue[]

PrintAdjTableMap[]

AddAdjDataToFRom[]

func, ev flag

StartLogOut[]

StopLogOut[]

OutputLogToFile[]

IsLogOutType[]

FAPrintf[]

FADBGPrintf[]

CreateFADBGSingalID[]

FADBGSingal[]

PrintFirmVersion[]

PrintFaexeVersioin[]

ActivateAdjLog[]

InactivateAdjLog[]

GetLogData[]

InitializeSoundRec[]

TerminateSoundRec[]

StartSoundRecord[]

FreeBufferForSoundRec[]

StartSoundPlay[]

SystemEventInit[]

SystemEventDelete[]

unregisters most of these func FFC072E0

DeleteProxyOfEventProcedure[]

CreateProxyOfEventProcedure[]

ExportToEventProcedure[]

MakeBootDisk[]

MakeScriptDisk[]

ExecuteFirmUpgrade[]

func FFC0AC98

AllocateMemory[]

works like malloc

FreeMemory[]

works like free

Wait[]

calls sleeptask

Poke32[]

Poke16[]

Poke8[]

Peek32[]

Peek16[]

Peek8[]

MonSelEvent[]

exec[]

Dump32[]

ExecuteEventProcedure[]

ExportToEventProcedure[]

appears to be dup of earlier

strcpy[]

strlen[]

strcmp[]

sprintf[]

works

memcpy[]

memset[]

memcmp[]

Open[]

Read[]

Write[]

Close[]

Lseek[]

Fopen_Fut[]

these are the functions used for stdio in CHDK

Fread_Fut[]

Fwrite_Fut[]

Fclose_Fut[]

Fseek_Fut[]

CreateCountingSemaphore[]

DeleteSemaphore[]

TakeSemaphore[]

GiveSemaphore[]

GetTimeOfSystem[]

CreateTask[]

ExitTask[]

SleepTask[]

CPrintf[]

CPutChar[]

OpenConsole[]

CloseConsole[]

GetStringWithPrompt[]

RotateConsoleZOder[]

GetCh[]

sscanf[]

WriteToRom[]

here be dragons

EraseSectorOfRom[]

here be more dragons

EraseSignature[]

here be even more dragons

GetSystemTime[]

ShowAllTaskInfo[]

Writes lists of tasks to stdout

GetLogToFile[]

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

EraseLogSector[]

memShow[]

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

LoadedScript[]

LoadScript[]

UnLoadScript[]

Printf[]

Print string on stdout

ScriptDisEnabled[]

ScriptEnabled[]

func FFC0A13C

GetBuildDate[]

GetBuildTime[]

GetFirmwareVersion[]

RomCheckSum[]

CheckSumAll[]

func FFECC3EC

MemoryChecker[]

VerifyByte[]

func FFC02C18 (assume CPU / bus etc)

StopClockSaver[]

SetLClk72MHz[]

SetLClk36MHz[]

SetLClk18MHz[]

SetHClk72MHz[]

SetHClk36MHz[]

SetHClk18MHz[]

SetMClk72MHz[]

SetMClk36MHz[]

SetMClk18MHz[]

printclock[]

func FFC0A0C0 (assume watch dog timer)

StartWDT[]

StopWDT[]

Driver_EnableEventProc[]

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

ExecuteLoadTest[]

TurnOn_LoadTest_DebugMode[]

TurnOff_LoadTest_DebugMode[]

LoadTest_Result_Print_On[]

LoadTest_Result_Print_Off[]

RAM

BeepDrive[]

BeepDriveComp[]

RAM

LEDDrive[]

AFAssistBeam[]

PostLEDMessage[]

func

GetDialEventId[]

GetSwitchStatus[]

OffPrintPhySw[]

OnPrintPhySw[]

ShowPhySwStatus[]

func

OffPrintHVStatus[]

OnPrintHVStatus[]

GetHVSw[]

OffPrintHVSw[]

OnPrintHVSw[]

func

SetBattCheckMode[]

ShowBattCheckMode[]

ShowBattChkAdj[]

GetLBOffset[]

VbattGet[]

LowBat_Result_Print_On[]

LowBat_Result_Print_Off[]

BatVoltageToAd[]

RAM factory mode only ?

SoundDevice_Rec[]

SoundDevice_Play[]

DispDev_EnableEventProc[]

RAM 0x5D98 -> 0x4498

DispCon_SetVideoAdjParameter[]

DispCon_GetVideoAdjParameter[]

DispCon_ShowVideoAdjParameter[]

DispCon_SaveVideoAdjParameter[]

DispCon_ShowColorBar[]

DispCon_ShowFiveStep[]

DispCon_ShowWhiteChart[]

DispCon_ShowBlackChart[]

DispCon_ShowBitmapColorBar[]

DispCon_ShowCustomColorBar[]

DispCon_SetDisplayType[]

DispCon_TurnOnDisplay[]

DispCon_TurnOffDisplay[]

DispCon_SetMaxBackLightBrightness[]

RAM 0x5F30 -> 0x4630

LcdCon_SetLcdDriver[]

RAM 0x5F40 -> 0x4640

LcdCon_SetLcdAdjParameter[]

LcdCon_GetLcdAdjParameter[]

LcdCon_ShowLcdAdjParameter[]

LcdCon_SaveLcdAdjParameter[]

RAM 0x5F68 -> 0x4668

LcdCon_SetLcdBackLightBrightness[]

LcdCon_SetLcdBackLightParameter[]

LcdCon_GetLcdBackLightParameter[]

LcdCon_ShowLcdBackLightParameter[]

LcdCon_SaveLcdBackLightParameter[]

RegComEventProc[]

PTPRspnd.StartTransportLog[]

PTPRspnd.StopTransportLog[]

PTPRspnd.ShowTransportLog[]

PTPRspnd.ClearTransportLog[]

???

InitializeAdjustmentSystem[]

ret 25 ?

InitializeAdjustmentFunction[]

both do much more but, via sub_FFE93230 RAM 0x9C88

StartAEIntegralService[]

StopAEIntegralService[]

GetAEIntegralServiceMode[]

SetAEIntegValueBit[]

SetAEIntegWindowsMode[]

SetWhiteCoefficient[]

AbortAEIntegralValue[]

GETEVFEVALUATIONVALUEWITHOUTMECHASHUTTER[]

GETCRWEVALUATIONVALUEWITHOUTMECHASHUTTER[]

GETCRWEVALUATIONVALUEWITHMECHASHUTTER[]

GETEVFEVALUATIONVALUEWITHMECHASHUTTER[]

GETALTERNATEEVALUATIONVALUEWITHMECHASHUTTER[]

GETMOVIEEVALUATIONVALUEWITHMECHASHUTTER[]

GETPREFLASHEVALUATIONVALUE[]

GETMAINFLASHEVALUATIONVALUE[]

SetAEIntegralValueProperty[]

GetAEIntegralValueWithFix[]

GetAllAEIntegralAllValueWithFix[]

SetLineDefMarkThroughMode[]

SetAEIntegAverageOBData[]

PrintAllAEIntegData[]

SetAEIntegStrobeProperty[]

GetAEIntegralValue[]

RAM 0x9D74 -> 0xFFEFC264

SetObClamp[]

SetCDSGain[]

SetCDSGainStep[]

SetCdsGainValue[]

GetCdsGainValue[]

SetObClampValue[]

GetObClampValue[]

ReloadCdsAdjustment[]

SetAdjCdsMode[]

CancelAdjCdsMode[]

IsAdjCdsMode[]

SetDeltaCDSGain[]

RAM 0x9DE4 -> 0xFFEFC2D4

SetShutterSpeed[]

SetShutterSpeedWithMecha[]

GetCurrentShutterSpeed[]

GetCurrentExposureTime[]

ConvertTvToExposureTime[]

GetUserSetShutterSPeed[]

GetShutterSpeedRegularMaxLimit[]

GetShutterSpeedRegularMinLimit[]

RAM 0x9E9C -> 0xFFEFC38C

PutOutNdFilter[]

PutInNdFilter[]

ReloadNdFilterAdjustment[]

RAM 0x9E30 -> 0xFFEFC320

MoveIrisToAv[]

ReloadIrisAdjustment[]

GetCurrentAvValue[]

ResetIrisPosition[]

MoveIrisFullOpen[]

MoveIrisWithTerminatePosition[]

MoveIrisMechaPositionWithBacklash[]

MoveIrisMechaPositionWithoutBacklash[]

MoveIrisToAvWithoutBacklash[]

GetUsableMinAv[]

GetUsableMaxAv[]

GetCurrentIrisPosition[]

RAM 0x9EC0 -> 0xFFEFC3B0

OpenMShutter[]

CloseMShutter[]

RAM 0x9ED8 -> FFEFC3C8

CalculatePow2FromApex[]

CalculateLog2ToApex[]

CalcLog10[]

ConvertApexToApexStd[]

ConvertApexStdToApex[]

RAM 0x9F40 -> FFEFC430

SetToolCorrectCoefficient[]

SetReferenceWBGainForCalibration[]

ReloadWBAdjustment[]

SetWBYlStandardWidth[]

OneShotWhigeBalance[]

ConvertCxCyToWBGain[]

RAM 0x9F80 -> FFEFC470

ResetZoom[]

ResetZoomToFirstPoint[]

ResetZoomToTerminatePoint[]

MoveZoomLensToPosition[]

MoveZoomLensToPoint[]

GetCurrentZoomLensPosition[]

GetCurrentZoomLensPoint[]

ResetZoomToAdjTerminatePoint[]

ResetZoomToAdjFirstPoint[]

MoveZoomLensToPositionByManual[]

MoveZoomLensToMechaEnd[]

GetZoomLensResetPlus[]

GetCurrentZoomLensDirection[]

ReloadZoomAdjustment[]

GetZoomLensAmpareDac[]

GetZoomLensSpeed[]

RAM 0xA018 -> FFEFC508

ResetFocus[]

MoveFocusLensToPosition[]

MoveFocusLensToPositionWithMaxSpeed[]

MoveFocusLensToTerminatePosition[]

GetCurrentFocusLensPosition[]

GetCurrentTargetDistance[]

GetFocusResetPosition[]

GetFocusDefaultResetPosition[]

ReloadFocusLensAdjustment[]

MoveFocusLensToDistance[]

ConvertToPositionWithDistanceAndZoomPoint[]

RAM 0xA16C -> FFEFC65C

StartFocusScan[]

StartFocusScanWithRange[]

StartFocusScanWithEnableToStop[]

StartFocusScanWithAutoStop[]

StartFocusScanWithAutoStopFix[]

SetFocusScanAutoStopProperty[]

StopFocusScan[]

PrintScanTable[]

PrintMultiWinScanTable[]

CalculatePeakPositionByLeastSquare[]

SetAFSensorDriveMode[]

GetAFSensorDriveMode[]

StartMultiWinFocusScan[]

SetMultiWinPos[]

StartDigiconService[]

GetDigiconData[]

StopDigiconService[]

StartDigiconFocusScan[]

SetBPFForBestPintCorrect[]

CancelBPFForBestPintCorrect[]

ReloadBPCoeffAdjustment[]

RAM 0xA228 -> FFEFC718

ChargeStrobe[]

ReloadEfAdjustment[]

RAM 0xA240 -> FFEFC730

RegistColorMatrix[]

UnregistColorMatrix[]

ReloadColorAdjustment[]

RAM 0xA280 -> FFEFC770

FocusAEWithCompensation[]

SetAE_ShutterSpeed[]

SetAE_CdsGainValue[]

ShowCurrentExp[]

AfAEWithAperturePriority[]

AfAEWithCompensation[]

AdjAEWithAperturePriority[]

SleepAE[]

SetAdj_AEMode[]

CancelAdj_AEMode[]

PreFixAE[]

FixAEWithCompensation[]

RAM 0xA2F4 FFEFC7E4

StartEVFDrive[]

StopEVFDrive[]

IsEVFDrive[]

IsEvfDriveMode[]

SetVideoOutType[]

GetVideoOutType[]

SwitchOnDisplay[]

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

SwitchOffDisplay[]

turns LCD backlight off, framebuffers are still active

StartEVFDriveWithMode[]

GetVRAMHPixelsSize[]

GetVRAMVPixelsSize[]

StopContinuousVRAMData[]

GetContinuousVRAMData[]

GetSumYOfVRAMCenterLine[]

GetPixelsOfViewangle[]

RAM 0xA380 -> FFEFC870

SetImageMode[]

GetModelId[]

SetInputVoltage[]

CalculateBatSenseOffset[]

SaveBatSenseOffsetAdjustmentTable[]

Bat_VIN[]

Bat_Calc[]

Bat_Save[]

SetDate[]

SetYear[]

SetMonth[]

SetDay[]

SetHour[]

SetMinute[]

SetSecond[]

GetYear[]

GetMonth[]

GetDay[]

GetHour[]

GetMinute[]

GetSecond[]

TurnOnVideoOutMode[]

TurnOffVideoOutMode[]

SetLangMenuType[]

TerminateAdjustmentSystem[]

undoes above, I guess

Unknown / Automatic[]

sub_FFD3C010[]

Following two via mem 0x60BC->FFEF85AC

Movie.NormalCompressionRateMode[]

Movie.HiCompressionRateMode[]

sub_FFE3A744[]

SetUSBToDCPMode[]

RefreshUSBMode[]

sub_FFE3A7B8[]

SetUSBToPTPMode[]

DisableNotificationPTP[]

EnableNotificationPTP[]

NotifyConnectPictBridge[]

NotifyDisconnectPictBridge[]

sub_FFE6CF38[]

0x97BC->FFEFBCAC

InitializeDCPClassFunctions[]

TerminateDCPClassFunctions[]

sub_FFEC2760[]

automatic

StartCameraLog[]

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

ShowCameraLog[]

Output camera log to std out

StopCameraLog[]

Must be called to adjust size with StartCameraLog

ShowCameraLogInfo[]

Output log level and buffer size

PutsCameraLogEvent[]

Advertisement