summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2011-07-21 14:47:47 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2011-07-21 14:47:47 +0000
commita9e30eccc8662bd9e3629766cb8bbe986468beed (patch)
tree8a4c15ab52ec977db5b2d2513b2b8e6192fc0476
parent6ca8f8a8c3671128c67de49487aa0a8b039092d7 (diff)
Port from MESS, nw
-rw-r--r--src/mame/drivers/saturn.c2
-rw-r--r--src/mame/machine/stvcd.c9
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;