SD980 port - page 11 - DryOS Development - CHDK Forum

SD980 port

  • 169 Replies
  • 65418 Views
*

Offline RaduP

  • *****
  • 926
Re: SD980 port
« Reply #100 on: 04 / October / 2009, 21:04:10 »
Advertisements
Managed to find (I think, will test soon)
NHSTUB(GetDrive_ClusterSize, 0xFF86BB04)
NHSTUB(GetDrive_TotalClusters, 0xFF9311E0)

As you can see, they are very far away from each other, unlike in the previous firmwares.

*

Offline RaduP

  • *****
  • 926
Re: SD980 port
« Reply #101 on: 04 / October / 2009, 21:55:15 »
I was slightly off:
NHSTUB(GetDrive_ClusterSize, 0xFF86BB04)
NHSTUB(GetDrive_TotalClusters, 0xFF86BB38)
NHSTUB(GetDrive_FreeClusters, 0xFF86BB64)
Confirmed (although the free space reported is slightly smaller than what I get in windows).

*

Offline RaduP

  • *****
  • 926
Re: SD980 port
« Reply #102 on: 05 / October / 2009, 22:21:32 »
Got the MD script to work, took me over 5 hours of debugging, because I got the strcmp address wrong by 4 octets :/

*

Offline RaduP

  • *****
  • 926
Re: SD980 port
« Reply #103 on: 06 / October / 2009, 22:17:24 »
Finished implementing the long exposure thingy :) Tested with 200 seconds, works fine.

*

Offline RaduP

  • *****
  • 926
Re: SD980 port
« Reply #104 on: 07 / October / 2009, 04:29:29 »
Hi, I will release an alpha version soon, maybe tomorrow or the day after. Many things are not implemented yet, but many things are.

Anyway, can someone check NHSTUB(VbattGet, 0xFF831E04) for me?
I am pretty sure I got the pointer right, but the battery icon shows 0. The function also seems different than the one on the SX10..

*

Offline RaduP

  • *****
  • 926
Re: SD980 port
« Reply #105 on: 07 / October / 2009, 04:59:18 »
Nevermind, works fine, the default values were wrong. As a suggestion, maybe the defaults for the battery should be stored in the include/camera.h ?

*

Offline RaduP

  • *****
  • 926
Re: SD980 port
« Reply #106 on: 07 / October / 2009, 15:24:01 »
BTW, I tried the stat() function reyalp told me to try, it didn't work (although I didn't actually investigate to see if it returns data in a different kind of structure).
I am also having a very hard time finding SetFileTimeStamp(), if someone wishes to help, I'd appreciate it.

Re: SD980 port
« Reply #107 on: 07 / October / 2009, 15:58:58 »
In my previous post I gave ROM:FF94B890                 EXPORT eventproc_export_VbattGet as the address for your function.  Did that not work for you?

Harpo

Quote
ROM:FF94B890                 EXPORT eventproc_export_VbattGet
ROM:FF94B894                 EXPORT eventproc_export_LEDDrive
ROM:FF94B898                 EXPORT eventproc_export_ShowPhySwStatus

qsort 0xFF9FC560
turnoffbacklight 0xFF895660

From SD990 comments Mount/Unmount_FileSystem don't exist in Dryos.
NHSTUB(Mount_FileSystem,0xFF858BEC)      //Do we fix? Not in Dryos?
NHSTUB(Unmount_FileSystem,0xFF858BEC)      //Do we fix? Not in Dryos?

GetOpticalTemperature 0xFF85E238  (good guess I think)

NHSTUB(ExitFromCompensationEVF,0xFF825464)
NHSTUB(EnterToCompensationEVF,0xFF836AE0)

NHSTUB(DoAFLock,0xFF87481C)   
NHSTUB(UnlockAF,0xFF87482C)   

NSTUB(GetZoomLensCurrentPoint, 0xFF947174)
FFA904E8 GetZoomLensCurrentPosition

PT_PlaySound 0xFF874760
NHSTUB(WriteSDCard, 0xFF933780)
 
malloc confirmed
« Last Edit: 07 / October / 2009, 16:00:58 by HarpoMa »
Canon Models - SD300, SD780, & SX210

*

Offline RaduP

  • *****
  • 926
Re: SD980 port
« Reply #108 on: 07 / October / 2009, 16:50:18 »
It helped, found it at NHSTUB(VbattGet, 0xFF831E04)

*

Offline RaduP

  • *****
  • 926
Re: SD980 port
« Reply #109 on: 07 / October / 2009, 19:57:06 »
I released a very alpha thing, here is the thread: http://chdk.setepontos.com/index.php/topic,4335.0.html

 

Related Topics


SimplePortal © 2008-2014, SimplePortal