Search
lxdream.org :: lxdream/src/aica/aica.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/aica.c
changeset 30:89b30313d757
prev23:1ec3acd0594d
next35:21a4be098304
author nkeynes
date Sun Dec 25 05:57:00 2005 +0000 (14 years ago)
permissions -rw-r--r--
last change Change timeslice to nanoseconds (was microseconds)
Generize single step (now steps through active CPU)
Add lots of header blocks
file annotate diff log raw
1.1 --- a/src/aica/aica.c Fri Dec 23 11:44:55 2005 +0000
1.2 +++ b/src/aica/aica.c Sun Dec 25 05:57:00 2005 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: aica.c,v 1.4 2005-12-23 11:44:55 nkeynes Exp $
1.6 + * $Id: aica.c,v 1.5 2005-12-25 05:57:00 nkeynes Exp $
1.7 *
1.8 * This is the core sound system (ie the bit which does the actual work)
1.9 *
1.10 @@ -31,7 +31,7 @@
1.11 void aica_reset( void );
1.12 void aica_start( void );
1.13 void aica_stop( void );
1.14 -void aica_run_slice( int );
1.15 +uint32_t aica_run_slice( uint32_t );
1.16
1.17
1.18 struct dreamcast_module aica_module = { "AICA", aica_init, aica_reset,
1.19 @@ -59,7 +59,7 @@
1.20
1.21 }
1.22
1.23 -void aica_run_slice( int microsecs )
1.24 +uint32_t aica_run_slice( uint32_t nanosecs )
1.25 {
1.26 /* Run arm instructions */
1.27 /* Generate audio buffer */
.