Post Reply 
[newRPL] Filesystem related date/time issues
09-17-2016, 11:49 PM
Post: #8
RE: [newRPL] Filesystem related date/time issues
Hi Claudio.
(08-14-2016 11:06 PM)matthiaspaul Wrote:  https://sourceforge.net/p/newrpl/sources..._50g/rtc.c
Code:

int rtc_getday()
{
   // FIX 2016-08-12 MPL: removed bcd definition, added missing return value.
   return __getRTCDay(); // 1-based
}
(08-15-2016 02:44 AM)Claudio L. Wrote:  Thanks for the bogus bcd line, don't even know why it was there. The year 2k problem is a non-issue on the calc, it was sorted out in a chip revision long before the 50g came out in 2006 (EDIT: should read: long before the 49G+ came out in 2003). The RTC assumes the 2 digits are 20xx, unless I misunderstood the Samsung docs.
Something must have gone wrong here, as the code at SourceForge still shows
Code:

int rtc_getday()
{
    int bcd=__getRTCDay();
}
after the September update.

Greetings,

Matthias


--
"Programs are poems for computers."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [newRPL] Filesystem related date/time issues - matthiaspaul - 09-17-2016 11:49 PM



User(s) browsing this thread: 1 Guest(s)