Subject: Re: single-user shell on Dreamcast
To: None <bsh@grotto.iijnet.or.jp>
From: Marcus Comstedt <marcus@idonex.se>
List: port-sh3
Date: 10/17/2000 15:55:36
>>>>> "bsh" == bsh  <bsh@grotto.iijnet.or.jp> writes:

  bsh> So, DC has a battery backuped 1Hz timer in its ASIC, and doesn't use
  bsh> SH4's internal RTC? 

That is correct.  The internal RTC is not set by the boot ROM when you
set the clock.  Only the ASIC clock.  (Also, the RTC is normally
disabled altogether, as you have discovered.)


  bsh> interesting.  I'll try your code tonight.  thanks.

  bsh> Also I observed that RTC is disabled when kernel gets up.  Maybe this
  bsh> is the reason why sleep(3) doesn't work?

Probably.  I use Timer 0 to do sleeps in my code.


  // Marcus