Search
lxdream.org :: lxdream/src/aica.h
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 (16 years ago)
permissions -rw-r--r--
last change Commit changes into cvs
view annotate diff log raw
     1 #include "mmio.h"
     3 MMIO_REGION_BEGIN( 0x00700000, AICA0, "AICA Sound System 0-31" )
     4 LONG_PORT( 0x000, AICACH0, PORT_MRW, UNDEFINED, "Channel 0" )
     5 MMIO_REGION_END
     7 MMIO_REGION_BEGIN( 0x00701000, AICA1, "AICA Sound System 32-63" )
     8 LONG_PORT( 0x000, AICACH32, PORT_MRW, UNDEFINED, "Channel 32" )
     9 MMIO_REGION_END
    11 MMIO_REGION_BEGIN( 0x00702000, AICA2, "AICA Sound System Control" )
    12 LONG_PORT( 0x040, VOLLEFT, PORT_MRW, 0, "Volume left" )
    13 LONG_PORT( 0x044, VOLRIGHT, PORT_MRW, 0, "Volume right" )
    14 LONG_PORT( 0x800, AICA_CTRL, PORT_MRW, UNDEFINED, "AICA control" )
    15 LONG_PORT( 0xC00, AICA_RESET,PORT_MRW, 0, "AICA reset" )
    16 MMIO_REGION_END
    18 MMIO_REGION_LIST_BEGIN( spu )
    19     MMIO_REGION( AICA0 )
    20     MMIO_REGION( AICA1 )
    21     MMIO_REGION( AICA2 )
    22 MMIO_REGION_LIST_END
    24 void aica_init( void );
    25 void aica_reset( void );
.