This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Startup code

Hello All:

How can I reference the start address of the startup code in start167.a66 in a C file? The only thing I can think of doing is

extern void C_STARTUP(void);
but that does not seem to work. As a work around I am pointing to the reset vector address which jumps to the startup code but I like to call it directly if possible.

Thanks,
Walt

Parents
  • It did it again :-((
    - second try -
    I thought that was the whole idea of using '?': the user should not have access to such sort of things, although it's nice to have it sometimes. A bit more flexibility would not hurt since we are already allowed to edit startup.a66.
    As for unexpected implications, I don't think there are any. ?C_RESET is a local symbol, so no side effects outside startup.a66. None inside also, at least it seems so.

Reply
  • It did it again :-((
    - second try -
    I thought that was the whole idea of using '?': the user should not have access to such sort of things, although it's nice to have it sometimes. A bit more flexibility would not hurt since we are already allowed to edit startup.a66.
    As for unexpected implications, I don't think there are any. ?C_RESET is a local symbol, so no side effects outside startup.a66. None inside also, at least it seems so.

Children