|Re: [hatari-devel] Real time clock support|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
On 6 Apr 2016 at 18:33, Nicolas Pomarède wrote:
> OK, I see which part you mention.
> Then yes, I think the RTC in Mega ST mode is really minimal and only
> reports current date/time.
> On the other hand, the falcon emulation also has RTC and it handles
> read/write to it.
> It uses the same chip as the mega st ; I don't remember if this was
> discussed on this ML some time ago, or if it was just an idea I had on
> my todo list, but both rtc code should be merged.
The Mega uses the RP5C15, which is incompatible on a register level with the
chip used in the TT/Falcon.
> The mega st has several registers dedicated to each unit in the rtc
> (hor, minute, ...), while the falcon has a "select register" and a "data
> register", but they're functionaly the same.
> Then not all the MC146818A datasheet is implemented, but as it's
> correctly documented it should not be too much a problem.
You'll need the RP5C15 datasheet. I can email a PDF if you like.