Search
lxdream.org :: lxdream/src/aica/aica.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/aica.c
changeset 431:248dd77a9e44
prev301:1ace395139c3
next434:8af49a412d92
author nkeynes
date Tue Oct 09 08:12:29 2007 +0000 (16 years ago)
permissions -rw-r--r--
last change Fix compilation warnings
file annotate diff log raw
1.1 --- a/src/aica/aica.c Wed Jan 17 09:37:22 2007 +0000
1.2 +++ b/src/aica/aica.c Tue Oct 09 08:12:29 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: aica.c,v 1.21 2007-01-17 09:37:22 nkeynes Exp $
1.6 + * $Id: aica.c,v 1.22 2007-10-09 08:11:51 nkeynes Exp $
1.7 *
1.8 * This is the core sound system (ie the bit which does the actual work)
1.9 *
1.10 @@ -62,12 +62,8 @@
1.11
1.12 void aica_reset( void )
1.13 {
1.14 - struct timeval tv;
1.15 arm_reset();
1.16 aica_event(2); /* Pre-deliver a timer interrupt */
1.17 -
1.18 - // gettimeofday( &tv, NULL );
1.19 - // aica_time_of_day = tv.tv_sec + RTC_OFFSET;
1.20 aica_time_of_day = 0x5bfc8900;
1.21 }
1.22
1.23 @@ -183,7 +179,7 @@
1.24 * 29 1 Volume
1.25 * 2C
1.26 * 30
1.27 - *
1.28 + */
1.29
1.30 /* Write to channels 0-31 */
1.31 void mmio_region_AICA0_write( uint32_t reg, uint32_t val )
1.32 @@ -233,7 +229,6 @@
1.33
1.34 int32_t mmio_region_AICARTC_read( uint32_t reg )
1.35 {
1.36 - struct timeval tv;
1.37 int32_t rv = 0;
1.38 switch( reg ) {
1.39 case AICA_RTCHI:
.