Search
lxdream.org :: lxdream/src/asic.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/asic.c
changeset 586:2a3ba82cf243
prev549:828d103ad115
next594:6118deafd705
author nkeynes
date Tue Jan 15 20:50:23 2008 +0000 (14 years ago)
permissions -rw-r--r--
last change Merged lxdream-mmu r570:596 to trunk
file annotate diff log raw
1.1 --- a/src/asic.c Thu Dec 06 10:40:27 2007 +0000
1.2 +++ b/src/asic.c Tue Jan 15 20:50:23 2008 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: asic.c,v 1.30 2007-10-08 12:06:01 nkeynes Exp $
1.6 + * $Id$
1.7 *
1.8 * Support for the miscellaneous ASIC functions (Primarily event multiplexing,
1.9 * and DMA).
1.10 @@ -25,7 +25,7 @@
1.11 #include "mem.h"
1.12 #include "sh4/intc.h"
1.13 #include "sh4/dmac.h"
1.14 -#include "sh4/sh4core.h"
1.15 +#include "sh4/sh4.h"
1.16 #include "dreamcast.h"
1.17 #include "maple/maple.h"
1.18 #include "gdrom/ide.h"
1.19 @@ -348,7 +348,6 @@
1.20 case SYSRESET:
1.21 if( val == 0x7611 ) {
1.22 dreamcast_reset();
1.23 - sh4r.new_pc = sh4r.pc;
1.24 } else {
1.25 WARN( "Unknown value %08X written to SYSRESET port", val );
1.26 }
1.27 @@ -387,11 +386,6 @@
1.28 {
1.29 int32_t val;
1.30 switch( reg ) {
1.31 - /*
1.32 - case 0x89C:
1.33 - sh4_stop();
1.34 - return 0x000000B;
1.35 - */
1.36 case PIRQ0:
1.37 case PIRQ1:
1.38 case PIRQ2:
1.39 @@ -531,8 +525,6 @@
1.40 case PVRDMA2CTL2:
1.41 if( val != 0 ) {
1.42 ERROR( "Write to unimplemented DMA control register %08X", reg );
1.43 - //dreamcast_stop();
1.44 - //sh4_stop();
1.45 }
1.46 break;
1.47 default:
.