src/audio/dc/aica.c
branchSDL-1.3
changeset 1663 11775724e3fe
parent 1662 782fd950bd46
child 1668 4da1ee79c9af
equal deleted inserted replaced
1662:782fd950bd46 1663:11775724e3fe
     7 #include "aica.h"
     7 #include "aica.h"
     8 
     8 
     9 #include <arch/irq.h>
     9 #include <arch/irq.h>
    10 #include <dc/spu.h>
    10 #include <dc/spu.h>
    11 
    11 
    12                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  /* #define dc_snd_base ((volatile unsigned char *)0x00800000) *//* arm side */
    12 #if 0
       
    13 #define dc_snd_base ((volatile unsigned char *)0x00800000)      /* arm side */
       
    14 #endif
    13 #define dc_snd_base ((volatile unsigned char *)0xa0700000)      /* dc side */
    15 #define dc_snd_base ((volatile unsigned char *)0xa0700000)      /* dc side */
    14 
    16 
    15 /* Some convienence macros */
    17 /* Some convienence macros */
    16 #define	SNDREGADDR(x)	(0xa0700000 + (x))
    18 #define	SNDREGADDR(x)	(0xa0700000 + (x))
    17 #define	CHNREGADDR(ch,x)	SNDREGADDR(0x80*(ch)+(x))
    19 #define	CHNREGADDR(ch,x)	SNDREGADDR(0x80*(ch)+(x))