Search
lxdream.org :: lxdream/src/aica.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica.h
changeset 1:eea311cfd33e
author nkeynes
date Sat Aug 21 06:15:49 2004 +0000 (19 years ago)
permissions -rw-r--r--
last change Commit changes into cvs
file annotate diff log raw
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/src/aica.h Sat Aug 21 06:15:49 2004 +0000
1.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_END
1.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_END
1.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_END
1.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_END
1.26 +
1.27 +void aica_init( void );
1.28 +void aica_reset( void );
.