filename | src/aica.h |
changeset | 1:eea311cfd33e |
author | nkeynes |
date | Sun Dec 11 05:15:36 2005 +0000 (18 years ago) |
permissions | -rw-r--r-- |
last change | Add CPU disasembly options to mode dropdown Split sh4/mem.c into core mem.c and sh4/mem.c Start adding copyright comments to file headers |
file | annotate | diff | log | raw |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +00001.2 +++ b/src/aica.h Sun Dec 11 05:15:36 2005 +00001.3 @@ -0,0 +1,25 @@1.4 +#include "mmio.h"1.5 +1.6 +MMIO_REGION_BEGIN( 0x00700000, AICA0, "AICA Sound System 0-31" )1.7 +LONG_PORT( 0x000, AICACH0, PORT_MRW, UNDEFINED, "Channel 0" )1.8 +MMIO_REGION_END1.9 +1.10 +MMIO_REGION_BEGIN( 0x00701000, AICA1, "AICA Sound System 32-63" )1.11 +LONG_PORT( 0x000, AICACH32, PORT_MRW, UNDEFINED, "Channel 32" )1.12 +MMIO_REGION_END1.13 +1.14 +MMIO_REGION_BEGIN( 0x00702000, AICA2, "AICA Sound System Control" )1.15 +LONG_PORT( 0x040, VOLLEFT, PORT_MRW, 0, "Volume left" )1.16 +LONG_PORT( 0x044, VOLRIGHT, PORT_MRW, 0, "Volume right" )1.17 +LONG_PORT( 0x800, AICA_CTRL, PORT_MRW, UNDEFINED, "AICA control" )1.18 +LONG_PORT( 0xC00, AICA_RESET,PORT_MRW, 0, "AICA reset" )1.19 +MMIO_REGION_END1.20 +1.21 +MMIO_REGION_LIST_BEGIN( spu )1.22 + MMIO_REGION( AICA0 )1.23 + MMIO_REGION( AICA1 )1.24 + MMIO_REGION( AICA2 )1.25 +MMIO_REGION_LIST_END1.26 +1.27 +void aica_init( void );1.28 +void aica_reset( void );
.