Search
lxdream.org :: lxdream :: r829:517425d04f1b
lxdream 0.9.1
released Jun 29
Download Now
changeset829:517425d04f1b
parent828:b42865f00fb5
child830:73637b9624e4
authornkeynes
dateMon Aug 25 09:16:44 2008 +0000 (12 years ago)
Add default value for the AICA 0x2808 port
src/aica/aica.c
src/aica/aica.h
1.1 --- a/src/aica/aica.c Mon Aug 25 09:15:42 2008 +0000
1.2 +++ b/src/aica/aica.c Mon Aug 25 09:16:44 2008 +0000
1.3 @@ -233,6 +233,8 @@
1.4 case AICA_IRQCLEAR:
1.5 aica_clear_event();
1.6 break;
1.7 + case AICA_FIFOIN: /* Read-only */
1.8 + break;
1.9 default:
1.10 MMIO_WRITE( AICA2, reg, val );
1.11 break;
2.1 --- a/src/aica/aica.h Mon Aug 25 09:15:42 2008 +0000
2.2 +++ b/src/aica/aica.h Mon Aug 25 09:16:44 2008 +0000
2.3 @@ -32,7 +32,7 @@
2.4 LONG_PORT( 0x040, CDDA_VOL_L, PORT_MRW, 0, "CDDA Volume left" )
2.5 LONG_PORT( 0x044, CDDA_VOL_R, PORT_MRW, 0, "CDDA Volume right" )
2.6 LONG_PORT( 0x800, VOL_MASTER, PORT_MRW, UNDEFINED, "Master volume" )
2.7 -LONG_PORT( 0x808, AICA_UNK7, PORT_MRW, 0, "AICA ??? 7" )
2.8 +LONG_PORT( 0x808, AICA_FIFOIN, PORT_MRW, 0x900, "AICA FIFO input" )
2.9 LONG_PORT( 0x80C, AICA_CHANSEL, PORT_MRW, 0, "AICA channel select" )
2.10 LONG_PORT( 0x810, AICA_CHANSTATE, PORT_MRW, 0, "AICA channel state" )
2.11 LONG_PORT( 0x814, AICA_CHANPOSN, PORT_MRW, 0, "AICA channel position" )
.