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 Mar 13 00:03:32 2004 +0000 (15 years ago)
permissions -rw-r--r--
last change This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.
file annotate diff log raw
nkeynes@1
     1
#include "mmio.h"
nkeynes@1
     2
nkeynes@1
     3
MMIO_REGION_BEGIN( 0x00700000, AICA0, "AICA Sound System 0-31" )
nkeynes@1
     4
LONG_PORT( 0x000, AICACH0, PORT_MRW, UNDEFINED, "Channel 0" )
nkeynes@1
     5
MMIO_REGION_END
nkeynes@1
     6
nkeynes@1
     7
MMIO_REGION_BEGIN( 0x00701000, AICA1, "AICA Sound System 32-63" )
nkeynes@1
     8
LONG_PORT( 0x000, AICACH32, PORT_MRW, UNDEFINED, "Channel 32" )
nkeynes@1
     9
MMIO_REGION_END
nkeynes@1
    10
nkeynes@1
    11
MMIO_REGION_BEGIN( 0x00702000, AICA2, "AICA Sound System Control" )
nkeynes@1
    12
LONG_PORT( 0x040, VOLLEFT, PORT_MRW, 0, "Volume left" )
nkeynes@1
    13
LONG_PORT( 0x044, VOLRIGHT, PORT_MRW, 0, "Volume right" )
nkeynes@1
    14
LONG_PORT( 0x800, AICA_CTRL, PORT_MRW, UNDEFINED, "AICA control" )
nkeynes@1
    15
LONG_PORT( 0xC00, AICA_RESET,PORT_MRW, 0, "AICA reset" )
nkeynes@1
    16
MMIO_REGION_END
nkeynes@1
    17
nkeynes@1
    18
MMIO_REGION_LIST_BEGIN( spu )
nkeynes@1
    19
    MMIO_REGION( AICA0 )
nkeynes@1
    20
    MMIO_REGION( AICA1 )
nkeynes@1
    21
    MMIO_REGION( AICA2 )
nkeynes@1
    22
MMIO_REGION_LIST_END
nkeynes@1
    23
nkeynes@1
    24
void aica_init( void );
nkeynes@1
    25
void aica_reset( void );
.