Re: dreamcast todr(9) conversion patches to test
Izumi Tsutsui <[email protected]> Tue, 5 Sep 2006 21:07:12 +0900
| Newsgroups | gmane.os.netbsd.ports.dreamcast,gmane.os.netbsd.ports.sh3 |
|---|---|
| Message-ID | <[email protected]> |
(sorry for a late response) [email protected] wrote: > . a better name? g2todr? "todr" is VAX derived, so maybe rtc is ok. > . is the 20 year offset really into the past? if my arithmetic is > still not that rusty current code seems to imply that 0 value in the > registers is 1950-01-01 It looks true. Without "- G2RTC_OFFSET", it actually shows 2026/09/05 while dreamcast menu shows it's 2006/09/05. (I'm not sure what will happen in 2017) BTW, isn't it better to allocate struct todr_chip_handle in struct g2rtc_softc rather than static? --- Izumi Tsutsui