Search
lxdream.org :: lxdream/src/aica/aica.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/aica.h
changeset 86:f151e63f9754
prev66:2ec5b6eb75e5
next131:4c25f1b20664
author nkeynes
date Sun Jan 22 22:40:05 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Add aica_enable() function for aica-only mode, disable by default
Halt ARM on invalid address but leave everything else running
Error if ESD can't start
file annotate diff log raw
1.1 --- a/src/aica/aica.h Tue Jan 10 13:56:54 2006 +0000
1.2 +++ b/src/aica/aica.h Sun Jan 22 22:40:05 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: aica.h,v 1.7 2006-01-10 13:56:54 nkeynes Exp $
1.6 + * $Id: aica.h,v 1.8 2006-01-22 22:40:05 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 @@ -40,7 +40,7 @@
1.11 BYTE_PORT( 0x8A8, AICA_UNK3, PORT_MRW, 0, "AICA ??? 3" )
1.12 BYTE_PORT( 0x8AC, AICA_UNK4, PORT_MRW, 0, "AICA ??? 4" )
1.13 BYTE_PORT( 0x8B0, AICA_UNK5, PORT_MRW, 0, "AICA ??? 5" )
1.14 -LONG_PORT( 0xC00, AICA_RESET,PORT_MRW, 0, "AICA reset" )
1.15 +LONG_PORT( 0xC00, AICA_RESET,PORT_MRW, 1, "AICA reset" )
1.16 LONG_PORT( 0xD00, AICA_IRQ, PORT_MR, 0, "AICA IRQ Pending" )
1.17 LONG_PORT( 0xD04, AICA_IRQCLEAR, PORT_MRW, 0, "AICA IRQ Clear" )
1.18 MMIO_REGION_END
1.19 @@ -53,6 +53,7 @@
1.20
1.21 void aica_init( void );
1.22 void aica_reset( void );
1.23 +void aica_enable( void );
1.24
1.25 #define AICA_EVENT_TIMER 2
1.26 #define AICA_EVENT_OTHER 5
.