Thanks for the replay!

I think figured it out (at least I'm not crashing now)!  
I had the compile setting wrong in the "68k Processor" Panel in
CodeWarrior (UGH!)...
I needed to have "PC Relative Strings" checked... that explains why
calls to DbgMessage("Blah");
crashed the device!

There's also a setting for "PC Relative Constants" that is unchecked
normally.  
Does anybody think that is important?

RE: Segement 1
I did follow a tip in a Palm OS Development book.  Using codewarrior, if
you comment out your sysAppLaunchCmdNormalLaunch and
sysAppLaunchCmdGoto, then check the .map file (in Obj/ directory) 
you can see all of the functions which are compiled from your
sublaunches.  So all of my functions are located
now in Segment 1 (I even made sure that functions not explicitly called
(i.e. Application Defined functions like Compare functions for
DmQuickSort).




On Thu, 20 Jul 2006 20:06:56 +0000, "Dmitry Grinberg"
<[EMAIL PROTECTED]> said:
> on sublaunches, unless you do some work lod load them by hand, only
> segment 1 is accessible, so make sure those functions themselves are
> in segment 1.
> 
> On 7/20/06, Chipp Jansen <[EMAIL PROTECTED]> wrote:
> > I recently changed my project to use Multiple Segments in CodeWarrior and I 
> > found that calls to DbgMessage("") and ErrDisplay("") cause devilish resets 
> > in the device when they occur through a sub-launch (i.e. 
> > sysAppLaunchCmdSystemReset)?
> >
> > Has anybody experienced something like this?  The program runs fine in 
> > UI-launches.  (Is there any
> >
> > I'm using PalmOSRuntime_2i_A5.lib (in Segment1) and PalmOSGlue(Debug).lib 
> > (I've tried it in either Segment1 and others).
> >
> > Writing for Treo(600/650).
> >
> > Thank you, any help is much appreciated!
> > Chipp Jansen
> >
> >
> > --
> > For information on using the PalmSource Developer Forums, or to 
> > unsubscribe, please see http://www.palmos.com/dev/support/forums/
> >
> 
> 
> -- 
> Best Regards, Dmitry Grinberg
> Software Engineer, http://PalmPowerups.com
> (847) 226 9295
> AIM: DmitryGrinberg
> MSN: [EMAIL PROTECTED]
> ICQ: 165589894
> Y! IM: dmitrygr2003
> 
> -- 
> For information on using the PalmSource Developer Forums, or to
> unsubscribe, please see http://www.palmos.com/dev/support/forums/
-- 
  palm
  [EMAIL PROTECTED]

-- 
http://www.fastmail.fm - A no graphics, no pop-ups email service


-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to