/*
  Hatari - rtc.h

  This file is distributed under the GNU General Public License, version 2
  or at your option any later version. Read the file gpl.txt for details.

  Prototypes for the Mega-ST real time clock emulation.
*/

#ifndef HATARI_RTC_H
#define HATARI_RTC_H

extern void Rtc_Init(void);
extern void Rtc_SecondsUnits_ReadByte(void);
extern void Rtc_SecondsTens_ReadByte(void);
extern void Rtc_MinutesUnits_ReadByte(void);
extern void Rtc_MinutesUnits_WriteByte(void);
extern void Rtc_MinutesTens_ReadByte(void);
extern void Rtc_MinutesTens_WriteByte(void);
extern void Rtc_HoursUnits_ReadByte(void);
extern void Rtc_HoursTens_ReadByte(void);
extern void Rtc_Weekday_ReadByte(void);
extern void Rtc_DayUnits_ReadByte(void);
extern void Rtc_DayTens_ReadByte(void);
extern void Rtc_MonthUnits_ReadByte(void);
extern void Rtc_MonthTens_ReadByte(void);
extern void Rtc_YearUnits_ReadByte(void);
extern void Rtc_YearTens_ReadByte(void);
extern void Rtc_ClockMod_ReadByte(void);
extern void Rtc_ClockMod_WriteByte(void);
extern void Rtc_Info(FILE *fp, uint32_t dummy);

#endif
