filename | src/aica/aica.c |
changeset | 86:f151e63f9754 |
prev | 82:81a4acf75f10 |
next | 106:9048bac046c3 |
author | nkeynes |
date | Sun Jan 22 22:40:05 2006 +0000 (18 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 +00001.2 +++ b/src/aica/aica.c Sun Jan 22 22:40:05 2006 +00001.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.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 config1.21 * 04 4 Waveform address lo (16 bits)
.