Search
lxdream.org :: lxdream/src/aica/aica.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/aica.h
changeset 465:3bd7be575792
prev463:0655796f9bb5
next561:533f6b478071
author nkeynes
date Sat Oct 27 05:47:21 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Fix AICA save state section to include the current audio + IO state
file annotate diff log raw
1.1 --- a/src/aica/aica.h Wed Oct 24 21:24:09 2007 +0000
1.2 +++ b/src/aica/aica.h Sat Oct 27 05:47:21 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: aica.h,v 1.11 2007-10-24 21:24:09 nkeynes Exp $
1.6 + * $Id: aica.h,v 1.12 2007-10-27 05:47:21 nkeynes Exp $
1.7 *
1.8 * MMIO definitions for the AICA sound chip. Note that the regions defined
1.9 * here are relative to the SH4 memory map (0x00700000 based), rather than
1.10 @@ -82,3 +82,9 @@
1.11 * per sample, which isn't cycle accurate at the moment.
1.12 */
1.13 #define AICA_SAMPLE_PERIOD (1000000000 / 44100)
1.14 +
1.15 +/**
1.16 + * Offset between the AICA RTC and the unix timestamp
1.17 + * (20 years expressed in seconds)
1.18 + */
1.19 +#define AICA_RTC_OFFSET 631152000
.