mirror of
https://github.com/holub/mame
synced 2025-05-29 17:13:05 +03:00
Port from MESS, nw
This commit is contained in:
parent
6ca8f8a8c3
commit
a9e30eccc8
@ -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];
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user