port for A3300IS / what reference port to use? - page 19 - General Discussion and Assistance - CHDK Forum

port for A3300IS / what reference port to use?

  • 289 Replies
  • 105674 Views
Re: port for A3300IS / what reference port to use?
« Reply #180 on: 09 / January / 2012, 20:04:45 »
Advertisements
Just dont understand why the cam works fine with the _my address commented out and just using the address without _my added, I dont leave out the address I just get rid of the _my to make it look like the firmware.
It works fine because when you change the _my addresses to the firmware addresses, capt_seq_task() & exp_drv_task() never execute most of the code in capt_seq.c - they just run the code in the original firmware.  So you don't get several of the features enabled by the CHDK hooks that way, like exposure times longer than 75 seconds and switchable NR settings and USB remote sync modes.

Yeah, I know, I remember you explained that before, this is why I am killing myself trying to pinpoint whats wrong, I want it fully functional like you said, I dont want to quit till its perfect.

Re: port for A3300IS / what reference port to use?
« Reply #181 on: 09 / January / 2012, 20:28:30 »
Yeah, I know, I remember you explained that before, this is why I am killing myself trying to pinpoint whats wrong, I want it fully functional like you said, I dont want to quit till its perfect.
Here's a thought.   Use CHDK-PT to create a "new" capt_seq.c file and then use something like the file compare function in Notepad++ to compare it to your current file.  You will have to do lots of little cleanup to the CHDK-PT file until it matches your current capt_seq.c file but you may very well discover what is different that way.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: port for A3300IS / what reference port to use?
« Reply #182 on: 09 / January / 2012, 20:53:22 »
Yeah, I know, I remember you explained that before, this is why I am killing myself trying to pinpoint whats wrong, I want it fully functional like you said, I dont want to quit till its perfect.
Here's a thought.   Use CHDK-PT to create a "new" capt_seq.c file and then use something like the file compare function in Notepad++ to compare it to your current file.  You will have to do lots of little cleanup to the CHDK-PT file until it matches your current capt_seq.c file but you may very well discover what is different that way.
hmmmm, thats sounds like a plan, thanks i will give it a shot!!!

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: port for A3300IS / what reference port to use?
« Reply #183 on: 10 / January / 2012, 02:03:46 »
Yeah, I know, I remember you explained that before, this is why I am killing myself trying to pinpoint whats wrong, I want it fully functional like you said, I dont want to quit till its perfect.

In your capt_seq.c, line 312:
        BL    sub_FFAA588C
in the firmware @ address 0xFF96F00C
        BL    sub_FFAB588C

This is the only mistake I noticed; but I only did a quick check.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Re: port for A3300IS / what reference port to use?
« Reply #184 on: 10 / January / 2012, 05:02:52 »
Yeah, I know, I remember you explained that before, this is why I am killing myself trying to pinpoint whats wrong, I want it fully functional like you said, I dont want to quit till its perfect.

In your capt_seq.c, line 312:
        BL    sub_FFAA588C
in the firmware @ address 0xFF96F00C
        BL    sub_FFAB588C

This is the only mistake I noticed; but I only did a quick check.

Phil.

Wow, thanks for taking the time to do even a quick look, I will give it a fix and a shot.

That was not it, maybe its the address for SsCaptureSeq.c I dont think I understand how to get the addresess correctly, I would double click it in IDA and get the address which is on the left of it, am I wrong? Are you suppose to jump around a certain way to get the address for these types of things?
« Last Edit: 10 / January / 2012, 05:16:07 by mk11174 »

Re: port for A3300IS / what reference port to use?
« Reply #185 on: 10 / January / 2012, 06:37:28 »
Just to let you know, the chdk pt trick worked like a charm, 2 lines at the end, for some reason they dont show in IDA but they were added using chdk pt and now it works!!!!

Re: port for A3300IS / what reference port to use?
« Reply #186 on: 10 / January / 2012, 15:11:01 »
Is it possible for full_screen_refresh to use a differ mem address for shoot and play mode?

One other bug I have been going back and forth on while working on other bug is the chdk menu.

When I use the bitmap refresh code to make the menu open and close properly, in shoot mode it freezes righ as I press to open it.

I can bring up the Alt symbol fine, just pressing any button to open the menu freezes sceen.

I at least tracked it down to full_screen_refresh.

In play mode it works great.

Cam works fine if I dont try to use this feature but the chdk menu does not close right away till you draw canon display over it.

My romlog shows Exception!! Spytask 0x10 so I assume that means invalid mem address, but makes me wonder why it works in play mode?

Re: port for A3300IS / what reference port to use?
« Reply #187 on: 12 / January / 2012, 10:47:11 »
I dont really know where I am suppose to put this, but I would like to share my port with anyone wanting it for this cam.

So I will just upload it here.

I am done working on it, its working fine for my needs, anyone feel free to finish it off.

Here is the link to the source I used with chdk-shell: http://www.mediafire.com/file/4k01wi756r2r2yz/trunk_1509_a3300is_100a.zip

Re: port for A3300IS / what reference port to use?
« Reply #188 on: 12 / January / 2012, 17:28:15 »
How do I install this on my camera?

Re: port for A3300IS / what reference port to use?
« Reply #189 on: 12 / January / 2012, 18:44:11 »
How do I install this on my camera?
Just use card tricks to format your card, set it to be able to boot from it, instal the chdk folder and copy my diskboot.bin to the card.  : http://chdk.wikia.com/wiki/CardTricks

Dont forget to set your mem card to lock before you put in cam so chdk loads.

For the most part it works good, my family said I spent to much time on it so I have to stop progress, but I noticed everything is working, shooting.c may needs some tweaks, and you will probably want to pick your own colors for visual settings, but its working petty good for my first and only port i think.

Raw seems to work and saves a crw, but i didnt look into it anymore on how to open it, I use photoshop for my t1i CRW files but photoshop does not open these so I guess raw might need to be tweaked a bit or a special convertor is needed.

I have no use for Raw, I just did this port for my daughter to get full manual control of cam and to shut that dark dark frame off after long exposures for lightning photography, and it does all this just fine.

Maybe a real code genuis will fix all the little things I dont have experience do fix, but it does all the usefull things fine.

Scripts for interval, motion detection, and hdr seem to work just fine as well.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal