Actually, this problem only occurs on the T615 ROM, it works fine on every other Sony 
ROM I have tried.  Another observation is
that even if I do not load my app on the T615 ROM, I get the low memory address.  So I 
suppose I will take this to the Emulator
forum as it seems to be an issue with the ROM and not my app.  (Unless anyone can see 
a problem).

Thanks,
Ed

"Edward P. Ross" wrote:

> The application that I am working on works fine on the POSE with the Palm ROMs.  I 
>had a user complain about the program not
> running correctly on the Clie, so I downloaded the ROM image and was able to 
>reproduce the error.
>
> It fails with a message saying "Application just read from memory location 
>0x0000000073, which is in low memory. (Defined as
> the first 256 bytes or memory..."
>
> When I hit Debug, Codewarrior only shows three things in the stack:
>
> 0x10274A50(prvHwrIRQ6HandlerPatch)
> 0x10274A50(prvHwrIRQ6HandlerPatch)
> 0x10270B46(<unknown>)
>
> =========================
>
> The code snippet that it fails on is:;
>   DateTimeType    thisDay, thisDayH;
>   Char sDate[25];
>   DateType     thisDate, thisDateH;
>
>    TimSecondsToDateTime(TimGetSeconds(), &thisDay);
>    TimSecondsToDateTime(TimGetSeconds(), &thisDayH);
>
>   DateToAscii(thisDay.month, thisDay.day, thisDay.year, 
>PrefGetPreference(prefDateFormat), sDate);
>   thisDate.year = thisDay.year - 1904;
>   thisDate.month = thisDay.month;
>   thisDate.day = thisDay.day;
>   todayInDays = DateToDays(thisDate);
>
>   DateToAscii(thisDayH.month, thisDayH.day, thisDayH.year, 
>PrefGetPreference(prefDateFormat), sDate); <-------------- The error
> is occuring on this line, if I comment it out the error does not occur.
>
>   thisDateH.year = thisDayH.year - 1904;
>   thisDateH.month = thisDayH.month;
>   thisDateH.day = thisDayH.day;
>
> If I step through the code, the strange thing is that the variable todayInDays shows 
>up under the global variables and its name
> is displayed as "todayInDays$261"
>
> I know this is lengthy, but I am trying to figure out why it would work on the Palm 
>ROM, but not the Sony ROM( T-615).
>
> Any insight would be appreciated.
>
> Thanks in advance,
> Ed.
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/support/forums/


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

Reply via email to