Search
lxdream.org :: lxdream/src/aica/aica.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/aica.c
changeset 86:f151e63f9754
prev82:81a4acf75f10
next106:9048bac046c3
author nkeynes
date Sun Jan 22 22:40:05 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Add aica_enable() function for aica-only mode, disable by default
Halt ARM on invalid address but leave everything else running
Error if ESD can't start
file annotate diff log raw
1.1 --- a/src/aica/aica.c Tue Jan 17 12:54:02 2006 +0000
1.2 +++ b/src/aica/aica.c Sun Jan 22 22:40:05 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: aica.c,v 1.15 2006-01-17 12:54:02 nkeynes Exp $
1.6 + * $Id: aica.c,v 1.16 2006-01-22 22:40:05 nkeynes Exp $
1.7 *
1.8 * This is the core sound system (ie the bit which does the actual work)
1.9 *
1.10 @@ -150,6 +150,11 @@
1.11 }
1.12 }
1.13
1.14 +void aica_enable( void )
1.15 +{
1.16 + mmio_region_AICA2_write( AICA_RESET, MMIO_READ(AICA2,AICA_RESET) & ~1 );
1.17 +}
1.18 +
1.19 /** Channel register structure:
1.20 * 00 4 Channel config
1.21 * 04 4 Waveform address lo (16 bits)
.