Mercurial > vba-clojure
annotate src/gba/RTC.h @ 295:d35683bfc15f
dylan thought of a better program using op 0x70.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 30 Mar 2012 18:25:02 -0500 |
parents | f9f4f1b99eed |
children |
rev | line source |
---|---|
rlm@1 | 1 #ifndef VBA_RTC_H |
rlm@1 | 2 #define VBA_RTC_H |
rlm@1 | 3 |
rlm@1 | 4 #if _MSC_VER > 1000 |
rlm@1 | 5 #pragma once |
rlm@1 | 6 #endif // _MSC_VER > 1000 |
rlm@1 | 7 |
rlm@1 | 8 extern u16 rtcRead(u32 address); |
rlm@1 | 9 extern bool rtcWrite(u32 address, u16 value); |
rlm@1 | 10 extern void rtcEnable(bool); |
rlm@1 | 11 extern bool rtcIsEnabled(); |
rlm@1 | 12 extern void rtcReset(); |
rlm@1 | 13 |
rlm@1 | 14 extern void rtcReadGame(gzFile gzFile); |
rlm@1 | 15 extern void rtcSaveGame(gzFile gzFile); |
rlm@1 | 16 |
rlm@1 | 17 #endif // VBA_RTC_H |