Hi all....(SX1 Owners)
Due to missing feedback on my other thread and (still) no answer from "ewavr" on my mail request, I've started to "dig" into porting CHDK to the
SX1 IS for Fw 2.00h.
Based on
SX10 FW/CHDK / I've compared/searched for the corresponding Adresses in the FW 2.00h Firmware. That's so far my findings....(see below). Some values have not yet been found by me....(the one's marked with X NOT FOUND YET). The other lines reflect the values needed for FW 2.00h
I hope some other Porters can help me / give hints of how to find the values for "stubs_entry_2"....I would proceed faster...nevertheless...I'm confident to be able to compile a first Alpha version this weekend.
___________________________
stubs_entry_2
___________________________
#include "stubs_asm.h"
NHSTUB(AllocateUncacheableMemory, 0xFF82806C)
NHSTUB(GetDrive_ClusterSize, 0xFF85E284)
NHSTUB(GetDrive_TotalClusters, 0xFF85E2Bπ
NHSTUB(GetDrive_FreeClusters, 0xFF85E2EC)
NHSTUB(SetPropertyCase, 0xFF87DAC4)
NHSTUB(kbd_read_keys, 0xFF821AF4)
NHSTUB(platformsub_kbd_fetch_data, 0xFF84D880)
NHSTUB(kbd_read_keys_r2, 0xFF84D130)
NHSTUB(qsort, 0xFFAE3D50)
NHSTUB(strchr, 0xFF8A0820)
NHSTUB(strrchr, 0xFF9FCEDπ
NHSTUB(TurnOffBackLight, 0xFF893FCπ
NHSTUB(vsprintf, 0xFF81CAEπ
NHSTUB(VbattGet, 0xFF82046C)
NHSTUB(GetZoomLensCurrentPoint, 0xFF9548Aπ
NHSTUB(GetZoomLensCurrentPosition, 0xFFA820Fπ
NHSTUB(RefreshPhysicalScreen, 0xFF9FA6FC)
NHSTUB(EnterToCompensationEVF, 0xFF825B44)
NHSTUB(ExitFromCompensationEVF, 0xFF825BAC)
NHSTUB(PT_PlaySound, 0xFF869110)
NHSTUB(DoAFLock, 0xFF82589π
NHSTUB(UnlockAF, 0xFF8258D0)
NHSTUB(LEDDrive, 0xFF84CC34)
NHSTUB(WriteSDCard, 0xFF93DD0C)
NHSTUB(PostLogicalEventForNotPowerType, 0xFF88328C)
// null sub
NHSTUB(kbd_pwr_off, 0xFFC0095π
NHSTUB(kbd_pwr_on, 0xFFC0095π
NHSTUB(Mount_FileSystem, 0xFFC0095π
NHSTUB(Unmount_FileSystem, 0xFFC0095π
NHSTUB(SetZoomActuatorSpeedPercent, 0xFFC0095π
NHSTUB(rewinddir, 0xFFC0095π
________________________
Stubs_min
#include "stubs_asm.h"
DEF(physw_status, 0x12DA4)
DEF(physw_run, 0x1C30)
DEF(FlashParamsTable,0xFFBBB2A4)
DEF(led_table, 0x264B)
DEF(zoom_busy, 0x9AEπ
DEF(focus_busy, 0x9974)
DEF(zoom_status, 0xF2A0)
DEF(enabled_refresh_physical_screen, 0xCABC+0x34)
DEF(canon_menu_active, 0x5A58 + 4)
DEF(playrec_mode, 0x57C0+0x4)
DEF(canon_shoot_menu_active, 0xAC28 + 1) X NOT YET FOUND
DEF(recreview_hold, 0xA78C + 0xDC) X NOT YET FOUND
DEF(movie_status, 0x53F8 + 0x3π X NOT YET FOUND
__________________________________________