> From: Aaron Ardiri [mailto:[EMAIL PROTECTED]]
>   the best you can do is get a pointer reference to the start() 
>   function that is built into the program loader using code like
>   this:
> 
>   extern ULong start();
>   {
>     BytePtr startAddress = (BytePtr)&start;
>   }

Or in CodeWarrior the entry point is named __DummyStartup__() instead of
start().  The map file shows that __DummyStartup__ actually starts at an
offset of 4 bytes in the code segment, so subtract 4 if trying to fetch the
pointer (and/or handle) to the chunk.

-slj-

Reply via email to