Search
lxdream.org :: lxdream/src/aica/aica.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/aica.h
changeset 131:4c25f1b20664
prev86:f151e63f9754
next301:1ace395139c3
author nkeynes
date Thu Mar 30 11:27:11 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Add basic AICA RTC implementation
file annotate diff log raw
1.1 --- a/src/aica/aica.h Sun Jan 22 22:40:05 2006 +0000
1.2 +++ b/src/aica/aica.h Thu Mar 30 11:27:11 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: aica.h,v 1.8 2006-01-22 22:40:05 nkeynes Exp $
1.6 + * $Id: aica.h,v 1.9 2006-03-30 11:27:11 nkeynes Exp $
1.7 *
1.8 * MMIO definitions for the AICA sound chip. Note that the regions defined
1.9 * here are relative to the SH4 memory map (0x00700000 based), rather than
1.10 @@ -45,10 +45,16 @@
1.11 LONG_PORT( 0xD04, AICA_IRQCLEAR, PORT_MRW, 0, "AICA IRQ Clear" )
1.12 MMIO_REGION_END
1.13
1.14 +MMIO_REGION_BEGIN( 0x00710000, AICARTC, "AICA Sound System RTC" )
1.15 + LONG_PORT( 0x000, AICA_RTCHI, PORT_R, 0, "RTC High 16-bits" )
1.16 + LONG_PORT( 0x004, AICA_RTCLO, PORT_R, 0, "RTC Low 16-bits" )
1.17 +MMIO_REGION_END
1.18 +
1.19 MMIO_REGION_LIST_BEGIN( spu )
1.20 MMIO_REGION( AICA0 )
1.21 MMIO_REGION( AICA1 )
1.22 MMIO_REGION( AICA2 )
1.23 + MMIO_REGION( AICARTC )
1.24 MMIO_REGION_LIST_END
1.25
1.26 void aica_init( void );
.