Developer-friendly / experimental branch (dataghost) - page 3 - CHDK Releases - CHDK Forum

Developer-friendly / experimental branch (dataghost)

  • 143 Replies
  • 98127 Views
Re: Developer-friendly / experimental branch (dataghost)
« Reply #20 on: 15 / May / 2008, 17:09:27 »
Advertisements
Where abouts is the code for viewing the camera log ?

Quote
The document with notes in shorthand is about 6 kB large.

Where is that ?

Thanks.


David
« Last Edit: 15 / May / 2008, 17:13:30 by Microfunguy »

*

Offline DataGhost

  • ****
  • 314
  • EOS 40D, S5IS
    • DataGhost.com
Re: Developer-friendly / experimental branch (dataghost)
« Reply #21 on: 15 / May / 2008, 17:42:29 »
Where abouts is the code for viewing the camera log ?
Heh, not in this one yet, it's in my very-old used-mainly-for-porting-the-basic-camera-behaviour-and-now-turned-into-a-lightweight-build-to-put-new-stuff-in-without-much-effort (basically a big large pile of spaghetti) and as a lot of my things, it's not done yet in the sense that it's useful enough. I'm pretty sure it's possible to have the camera log everything to a file but if it can't, I'll have to do that myself (which I haven't implemented yet).
I do have some notes on it, if you want... I deduced this all from a memory dump and live hex memory view, without looking at the actual code too much. It shouldn't be all too difficult to stir up a quick implementation or at least find the proper addresses for whichever camera you're using (this is all based on S5IS 1.01b). Notes on the camera log
Oh and what's not in that text file.. it's a circular buffer but an implementation needn't specifically be aware of that.

Quote
Quote
The document with notes in shorthand is about 6 kB large.

Where is that ?
On my harddrive... it's a to(maybe)do-list actually. Not really useful to anyone at this point, I guess.

*

Offline fbonomi

  • ****
  • 469
  • A570IS SD1100/Ixus80
    • Francesco Bonomi
Re: Developer-friendly / experimental branch (dataghost)
« Reply #22 on: 17 / May / 2008, 03:00:58 »
Simple racing game, using the same input as the 'camera orientation demo'
I hope you like it :)

Hah! Really nice!
I will never be able to put that on my camera or my son will use it all day to play...

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Developer-friendly / experimental branch (dataghost)
« Reply #23 on: 19 / May / 2008, 12:54:17 »
from https://tools.assembla.com/chdk/changeset/397
Quote
+ Added very basic support for A620
i suppose this basic support is regarding the cameralog, right?

my real question is regarding the orientation/accelorometer sensor: is the option to fine-grain the orientation sensors output depending on the existence of IS? or will your racing game (well, not only that) be possible on the a620 as well (or any other camera that supports orientation_sensor and does NOT sport IS)?

P.S: this is THE thread about your branch, right?
P.P.S: Do you own an a620 or did you use IDA only?
« Last Edit: 19 / May / 2008, 12:55:57 by PhyrePhoX »


*

Offline DataGhost

  • ****
  • 314
  • EOS 40D, S5IS
    • DataGhost.com
Re: Developer-friendly / experimental branch (dataghost)
« Reply #24 on: 19 / May / 2008, 13:03:00 »
from https://tools.assembla.com/chdk/changeset/397
Quote
+ Added very basic support for A620
i suppose this basic support is regarding the cameralog, right?
Yes :) It's going to be very useful in quickly locating firmware code, though, so it's useful enough for now.

Quote
my real question is regarding the orientation/accelorometer sensor: is the option to fine-grain the orientation sensors output depending on the existence of IS? or will your racing game (well, not only that) be possible on the a620 as well (or any other camera that supports orientation_sensor and does NOT sport IS)?
I don't really know. As I said, I kind of found it 'by accident', now knowing it could be this accurate. Since the firmware also needs to get the information from somewhere, I think it will be possible on any camera with orientation sensor, so not IS-dependant. Turning the camera will also trigger an entry in the camera log (0, 90, 270 or whatever the values are) so that'd be a major help in locating it. I'll try locating it on my S5IS first, because it's probably also somewhere in that IS code (might not have anything to do with IS even). Locating it on the A620 might be a different story, so it'd be nice if you (or someone else) made a short file log by enabling the file log writer, NOT leaving alt mode, turning the camera to the left, top, right and whatever you like, stopping the log writer and sending that file to me. This should give me enough pointers to figure it out but I can't promise anything :p

Quote
P.S: this is THE thread about your branch, right?
Yes. I don't always report commits in here, though...

Quote
P.P.S: Do you own an a620 or did you use IDA only?
IDA only. Microfunguy requested it so he could test some bits.

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Developer-friendly / experimental branch (dataghost)
« Reply #25 on: 19 / May / 2008, 13:53:38 »
great stuff about the logging. as of now i gave away my a620 for a few weeks so i have no direct access to it. care to find the stub adress for s3is? *begging* ;)

i'm wondering if we should have a new thread where devs comment their commits. for example people who dont read assembla often dont know that ewavr found a way to mute the microphone :D
i guess with your findings leading to actual implementations there soon will be a "CHDK reloaded" :D
keep up the good work!
« Last Edit: 19 / May / 2008, 13:57:15 by PhyrePhoX »

*

Offline DataGhost

  • ****
  • 314
  • EOS 40D, S5IS
    • DataGhost.com
Re: Developer-friendly / experimental branch (dataghost)
« Reply #26 on: 19 / May / 2008, 14:08:38 »
Sure thing. I just added basic S3IS support, I'll see if I can get anywhere with the IS functions today if I don't find more exciting things to do :P
Let me know if it works, I'm not 100% sure that the log buffer format is the same, it just looks the same 'to the naked eye'. I haven't heard from Microfunguy yet so I don't know if it works.
« Last Edit: 19 / May / 2008, 14:11:19 by DataGhost »

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Developer-friendly / experimental branch (dataghost)
« Reply #27 on: 19 / May / 2008, 16:02:58 »
for example people who dont read assembla often dont know that ewavr found a way to mute the microphone :D

If I shall find really useful thing (for example, how to turn on USB in record mode), I shall immediately write about it  :)

@DataGhost
Great! Now I discover how to obtain "artifical horizon" on A710.


*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Developer-friendly / experimental branch (dataghost)
« Reply #28 on: 19 / May / 2008, 17:22:01 »
well, to me muting the mic is a huge step :)

Dataghost: attached is a logfile from my s3is, i rotated the cam anti-clockwise. logging seems to work ;)

edit: Can this be used to find out adress of where "summertime"-flag is stored? attached also a much bigger logfile where i first pressed the keys to achieve "traveltime", then "Hometime", then "home-time+dst", each seperated by completely leaving the (canon) menu. of course i might be a total idiot trying that :D
« Last Edit: 19 / May / 2008, 17:37:30 by PhyrePhoX »

Re: Developer-friendly / experimental branch (dataghost)
« Reply #29 on: 19 / May / 2008, 17:40:39 »
Works great on my A620, both to screen and text file.

There is a lot going-on when you press a button.

The disco lights crashed the camera  :)

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal