| Previous | 15994 Revisions | Next |
| r12294 Thursday 21st July, 2011 at 14:47:45 UTC by Angelo Salese |
|---|
| debugger_break 0x21 / 0x23, aid for me ... |
| [src/mame/drivers] | saturn.c |
| [src/mame/machine] | stvcd.c |
| r12293 | r12294 | |
|---|---|---|
| 26 | 26 | #include "cdrom.h" |
| 27 | 27 | #include "stvcd.h" |
| 28 | 28 | #include "sound/cdda.h" |
| 29 | #include "debugger.h" | |
| 29 | 30 | |
| 30 | 31 | // super-verbose |
| 31 | 32 | #if 0 |
| r12293 | r12294 | |
| 892 | 893 | hirqreg |= CMOK|DRDY; |
| 893 | 894 | break; |
| 894 | 895 | |
| 896 | /* these are ERRORS from our core and mustn't happen! */ | |
| 897 | case 0x2100: | |
| 898 | case 0x2300: | |
| 899 | debugger_break(machine); | |
| 900 | break; | |
| 895 | 901 | |
| 896 | 902 | case 0x3000: // Set CD Device connection |
| 897 | 903 | { |
| r12293 | r12294 | |
| 1301 | 1307 | break; |
| 1302 | 1308 | |
| 1303 | 1309 | case 0x6400: // put sector data |
| 1304 | /* TODO: Dungeon Master Nexus trips this */ | |
| 1310 | /* TODO: After Burner 2 and Dungeon Master Nexus trips this */ | |
| 1305 | 1311 | // ... |
| 1312 | ||
| 1306 | 1313 | hirqreg |= (CMOK|EHST); |
| 1307 | 1314 | break; |
| 1308 | 1315 |
| r12293 | r12294 | |
|---|---|---|
| 576 | 576 | case 0x14/4: case 0x34/4: case 0x54/4: |
| 577 | 577 | if(INDIRECT_MODE(DMA_CH)) |
| 578 | 578 | { |
| 579 | if(LOG_SCU) logerror("Indirect Mode DMA lv %d set\n",DMA_CH); | |
| 579 | //if(LOG_SCU) logerror("Indirect Mode DMA lv %d set\n",DMA_CH); | |
| 580 | 580 | if(!DWUP(DMA_CH)) state->m_scu.index[DMA_CH] = state->m_scu.dst[DMA_CH]; |
| 581 | 581 | } |
| 582 | 582 |
| Previous | 15994 Revisions | Next |