summaryrefslogtreecommitdiff
path: root/data/rtc.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/rtc.inc')
-rw-r--r--data/rtc.inc28
1 files changed, 28 insertions, 0 deletions
diff --git a/data/rtc.inc b/data/rtc.inc
new file mode 100644
index 000000000..ebb0fac3d
--- /dev/null
+++ b/data/rtc.inc
@@ -0,0 +1,28 @@
+ .align 2
+gDefaultRTCInfo:: @ 82FECC0
+ .byte 0 @ year
+ .byte 1 @ month
+ .byte 1 @ day of month
+ .byte 0 @ day of week
+ .byte 0 @ hour
+ .byte 0 @ minute
+ .byte 0 @ second
+ .byte 0 @ control register value
+ .byte 0 @ unknown 1
+ .byte 0 @ unknown 2
+ .2byte 0 @ padding
+
+ .align 2
+gDaysInEachMonth:: @ 82FECCC
+ .4byte 31 @ January
+ .4byte 28 @ February
+ .4byte 31 @ March
+ .4byte 30 @ April
+ .4byte 31 @ May
+ .4byte 30 @ June
+ .4byte 31 @ July
+ .4byte 31 @ August
+ .4byte 30 @ September
+ .4byte 31 @ October
+ .4byte 30 @ November
+ .4byte 31 @ December