> Can someone please explain what the limitations are for a program running
> after a reset (responding to a SystemReset launch code).  I know there are
> no global variables available, but my program doesn't reference any, and it
> still dies on a reset.  It runs fine on normal launch, and it does the exact
> same lines of code.
>
> Here is the basic outline of the code:
>
> DWord PilotMain( Word launchCode, Ptr cmdPBP, Word launchFlags)
> {
>  if(launchCode == Normal or SysReset)
>  {
>   char *dbNames[] = {/*bunch of strings*/};


A common problem is string constants. Make sure you've got "PC-relative
strings" checked in "68K processor" panel of your project settings.
Otherwise, the strings will be stored as globals.


Neil

Reply via email to