Home
last modified time | relevance | path

Searched refs:RTC_REGA (Results 1 – 5 of 5) sorted by relevance

/dports/emulators/vmips/vmips-1.5.1/
H A Ddecrtc.cc55 rtc_reg[RTC_REGA] = 0x20; // Timebase divisor = 010 (32.768 kHz) in DECRTCDevice()
60 write_masks[RTC_REGA] = 0x7f; in DECRTCDevice()
80 if (reg_no == RTC_REGA) { in fetch_word()
84 rtc_reg[RTC_REGA] |= REGA_UIP; in fetch_word()
86 rtc_reg[RTC_REGA] &= ~REGA_UIP; in fetch_word()
129 if (reg_no == RTC_REGA) { in store_word()
131 uint8 rate_selector = rtc_reg[RTC_REGA] & REGA_RSX; in store_word()
H A Ddecrtcreg.h36 #define RTC_REGA 10 /* Register A */ macro
H A DChangeLog6520 Initialize timebase divisor in RTC_REGA and add comments to constructor.
6521 If user program is reading RTC_REGA, fake "update in progress" once a second.
/dports/emulators/pcem/pcem_emulator-pcem-faf5d6423060/src/
H A Dnvr.c66 c = 1 << ((nvrram[RTC_REGA] & RTC_RS) - 1); in nvr_recalc()
74 if (!(nvrram[RTC_REGA] & RTC_RS)) in nvr_rtc()
79 c = 1 << ((nvrram[RTC_REGA] & RTC_RS) - 1); in nvr_rtc()
171 if (nvraddr == RTC_REGA) in writenvr()
188 … nvrram[RTC_REGA] &= ~RTC_UIP; /* This has to be done according to the datasheet. */ in writenvr()
193 if ((nvraddr < RTC_REGA) || (nvraddr == RTC_CENTURY)) in writenvr()
233 if (nvraddr == RTC_REGA) in readnvr()
234 return ((nvrram[RTC_REGA] & 0x7F) | nvr_update_status); in readnvr()
348 nvrram[RTC_REGA] = 6; in loadnvr()
350 c = 1 << ((nvrram[RTC_REGA] & RTC_RS) - 1); in loadnvr()
H A Drtc.h16 RTC_REGA, enumerator