Subject: Re: dreamcast todr(9) conversion patches to test
To: None <uwe@ptc.spbu.ru>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-sh3
Date: 09/05/2006 21:07:12
(sorry for a late response)

uwe@ptc.spbu.ru 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