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

port for A3300IS / what reference port to use?

  • 289 Replies
  • 102677 Views
Re: port for A3300IS / what reference port to use?
« Reply #110 on: 01 / January / 2012, 14:51:12 »
Advertisements
Ok, I already have the exact values from my last version that I sent you, I went and manually found them in the firmware and put correct values.

I will check them again to see if they match up with my new stubs_entry file first though.

Re: port for A3300IS / what reference port to use?
« Reply #111 on: 01 / January / 2012, 16:28:09 »
Ok, now, Updated everything from stubs_entry.s and fixed, lib.c, kbd.c , platform_camera.h and stubs_min.s.

I then fixed everything in boot.c and shooting.c.

Now, I goto compile with sigs and stubs checked and here is what comes up with an orange highlight on my model.

========== E:\CHDK3\TRUNK\TRUNK1509\BIN\LOGS\ERR-A3300-100A.TXT ==========

Time to generate stubs 17.75 seconds


It did generate a zip file just fine.

Re: port for A3300IS / what reference port to use?
« Reply #112 on: 01 / January / 2012, 16:32:57 »
Heres is whats in my stubs_entry_2.s file, its still from the a2200, I am worried to erase everything.

Everytime I did, when I compiled, the stubs_entry.s file would not generate.

Is it safe to do it?

just havethis line in it right?
#include "stubs_asm.h"

Re: port for A3300IS / what reference port to use?
« Reply #113 on: 01 / January / 2012, 16:37:21 »
this is my stubs_entry_2.s file so far.

Code: [Select]
#include "stubs_asm.h"

//#define NULLSUB 0xFF810B24

// Not 100% mached
NHSTUB(kbd_pwr_off ,0xff8602cc)
NHSTUB(mkdir ,0xff837214)

// Unresolved

// Not found

// Uresolved
//NHSTUB(kbd_pwr_on, NULLSUB)
NHSTUB(kbd_pwr_on, 0xFF810B24)

// Not detected
NHSTUB(MakeAFScan ,0xff96771c)
NHSTUB(platformsub_kbd_fetch_data, 0xff8602b4)

// Unresolved
//NHSTUB(SetZoomActuatorSpeedPercent, NULLSUB)
NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B24)


Re: port for A3300IS / what reference port to use?
« Reply #114 on: 01 / January / 2012, 16:40:16 »
Quote
Now, I goto compile with sigs and stubs checked and here is what comes up with an orange highlight on my model.

========== E:\CHDK3\TRUNK\TRUNK1509\BIN\LOGS\ERR-A3300-100A.TXT ==========

Time to generate stubs 17.75 seconds


It did generate a zip file just fine.
Seems to have worked fine - its just a telling you that it did the whole stubs_entry.S file generation.  Not an error or anything bad.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: port for A3300IS / what reference port to use?
« Reply #115 on: 01 / January / 2012, 16:41:21 »
this is my stubs_entry_2.s file so far.

Code: [Select]
#include "stubs_asm.h"

//#define NULLSUB 0xFF810B24

// Not 100% mached
NHSTUB(kbd_pwr_off ,0xff8602cc)
NHSTUB(mkdir ,0xff837214)

// Unresolved

// Not found

// Uresolved
//NHSTUB(kbd_pwr_on, NULLSUB)
NHSTUB(kbd_pwr_on, 0xFF810B24)

// Not detected
NHSTUB(MakeAFScan ,0xff96771c)
NHSTUB(platformsub_kbd_fetch_data, 0xff8602b4)

// Unresolved
//NHSTUB(SetZoomActuatorSpeedPercent, NULLSUB)
NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B24)
Looks good on a quick glance.   Does it work ?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: port for A3300IS / what reference port to use?
« Reply #116 on: 01 / January / 2012, 16:45:48 »
holy cow i just tried the bin not expecting anything differ.

when i load it in shoot mode, i see just a orange rectangle logo now, the dials are not in the logo this time for some reason.

but guess what, i now see i guess some chdk stuff.

time in upper right corner
opt:29 under time

batt symbol top middle
56% under that

976M to left of batt symbol

and in lower left corner theres a skinny white rectangle.

i cant seem to control anything or bring anything up but normal cam stuff?

Re: port for A3300IS / what reference port to use?
« Reply #117 on: 01 / January / 2012, 16:54:13 »
Now so i dont mess anything up, do i do anything with this info in the stubs_entry_2.s file?

Do I now go and find them in my firmware and get the right addresses?

Then do I leave them in this file just changing addresses and values?

Just want to make sure I do everything right this time around.


Re: port for A3300IS / what reference port to use?
« Reply #118 on: 01 / January / 2012, 17:04:14 »
Now so i dont mess anything up, do i do anything with this info in the stubs_entry_2.s file?
Do I now go and find them in my firmware and get the right addresses?
Then do I leave them in this file just changing addresses and values?
Just want to make sure I do everything right this time around.
That's the correct process.  However,  you don't need to worry about some of them.

// these are zombie links - set to Nullsub

NHSTUB(kbd_pwr_off, 0xff8602cc)
NHSTUB(kbd_pwr_on, 0xFF810B24)
NHSTUB(platformsub_kbd_fetch_data, 0xff8602b4)

//find these - are you sure they are not correctly found in stubs_entry.S ???

NHSTUB(mkdir, 0xff837214)
NHSTUB(MakeAFScan, 0xff96771c)
NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B24)
Ported :   A1200    SD940   G10    Powershot N    G16

Re: port for A3300IS / what reference port to use?
« Reply #119 on: 01 / January / 2012, 17:11:32 »
the only ones that are in the stubs_entry.s at all are

//NSTUB(kbd_pwr_off                           ,0xff86031c) //  2 60%    *** != 0xff8602cc
// ERROR: kbd_pwr_on is not found.                         //--- ---    *** != 0xff810b24
//NSTUB(mkdir                                 ,0xff837160) //  6        *** != 0xff837214

im checking firmware for them right now though

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal