From a9e30eccc8662bd9e3629766cb8bbe986468beed Mon Sep 17 00:00:00 2001 From: Angelo Salese Date: Thu, 21 Jul 2011 14:47:47 +0000 Subject: [PATCH] Port from MESS, nw --- src/mame/drivers/saturn.c | 2 +- src/mame/machine/stvcd.c | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/mame/drivers/saturn.c b/src/mame/drivers/saturn.c index cf6ee5aeba1..d9557e097f7 100644 --- a/src/mame/drivers/saturn.c +++ b/src/mame/drivers/saturn.c @@ -576,7 +576,7 @@ static WRITE32_HANDLER( saturn_scu_w ) case 0x14/4: case 0x34/4: case 0x54/4: if(INDIRECT_MODE(DMA_CH)) { - if(LOG_SCU) logerror("Indirect Mode DMA lv %d set\n",DMA_CH); + //if(LOG_SCU) logerror("Indirect Mode DMA lv %d set\n",DMA_CH); if(!DWUP(DMA_CH)) state->m_scu.index[DMA_CH] = state->m_scu.dst[DMA_CH]; } diff --git a/src/mame/machine/stvcd.c b/src/mame/machine/stvcd.c index 65aff080d5b..699b3583eb0 100644 --- a/src/mame/machine/stvcd.c +++ b/src/mame/machine/stvcd.c @@ -26,6 +26,7 @@ #include "cdrom.h" #include "stvcd.h" #include "sound/cdda.h" +#include "debugger.h" // super-verbose #if 0 @@ -892,6 +893,11 @@ static void cd_writeWord(running_machine &machine, UINT32 addr, UINT16 data) hirqreg |= CMOK|DRDY; break; + /* these are ERRORS from our core and mustn't happen! */ + case 0x2100: + case 0x2300: + debugger_break(machine); + break; case 0x3000: // Set CD Device connection { @@ -1301,8 +1307,9 @@ static void cd_writeWord(running_machine &machine, UINT32 addr, UINT16 data) break; case 0x6400: // put sector data - /* TODO: Dungeon Master Nexus trips this */ + /* TODO: After Burner 2 and Dungeon Master Nexus trips this */ // ... + hirqreg |= (CMOK|EHST); break;