mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
Some notes
This commit is contained in:
parent
4b09e73c9f
commit
b8d6e154db
@ -458,7 +458,16 @@ READ32_MEMBER(_3do_state::_3do_madam_r){
|
||||
|
||||
|
||||
WRITE32_MEMBER(_3do_state::_3do_madam_w){
|
||||
logerror( "%08X: MADAM write offset = %08X, data = %08X, mask = %08X\n", machine().device("maincpu")->safe_pc(), offset*4, data, mem_mask );
|
||||
|
||||
if(offset == 0)
|
||||
{
|
||||
if(data == 0x0a)
|
||||
logerror( "%08X: MADAM write offset = %08X, data = %08X (\\n), mask = %08X\n", machine().device("maincpu")->safe_pc(), offset*4, data, mem_mask );
|
||||
else
|
||||
logerror( "%08X: MADAM write offset = %08X, data = %08X (%c), mask = %08X\n", machine().device("maincpu")->safe_pc(), offset*4, data, data, mem_mask );
|
||||
}
|
||||
else
|
||||
logerror( "%08X: MADAM write offset = %08X, data = %08X, mask = %08X\n", machine().device("maincpu")->safe_pc(), offset*4, data, mem_mask );
|
||||
|
||||
switch( offset ) {
|
||||
case 0x0000/4:
|
||||
@ -652,8 +661,11 @@ void _3do_madam_init( running_machine &machine )
|
||||
READ32_MEMBER(_3do_state::_3do_clio_r)
|
||||
{
|
||||
if (!space.debugger_access())
|
||||
if(offset != 0x40/4 && offset != 0x44/4 && offset != 0x48/4 && offset != 0x4c/4)
|
||||
logerror( "%08X: CLIO read offset = %08X\n", machine().device("maincpu")->safe_pc(), offset * 4 );
|
||||
{
|
||||
if(offset != 0x200/4 && offset != 0x40/4 && offset != 0x44/4 && offset != 0x48/4 && offset != 0x4c/4 &&
|
||||
offset != 0x118/4 && offset != 0x11c/4)
|
||||
logerror( "%08X: CLIO read offset = %08X\n", machine().device("maincpu")->safe_pc(), offset * 4 );
|
||||
}
|
||||
|
||||
switch( offset )
|
||||
{
|
||||
@ -757,7 +769,8 @@ READ32_MEMBER(_3do_state::_3do_clio_r)
|
||||
|
||||
WRITE32_MEMBER(_3do_state::_3do_clio_w)
|
||||
{
|
||||
if(offset != 0x40/4 && offset != 0x44/4 && offset != 0x48/4 && offset != 0x4c/4)
|
||||
if(offset != 0x200/4 && offset != 0x40/4 && offset != 0x44/4 && offset != 0x48/4 && offset != 0x4c/4 &&
|
||||
offset != 0x118/4 && offset != 0x11c/4)
|
||||
logerror( "%08X: CLIO write offset = %08X, data = %08X, mask = %08X\n", machine().device("maincpu")->safe_pc(), offset*4, data, mem_mask );
|
||||
|
||||
switch( offset )
|
||||
@ -928,6 +941,24 @@ WRITE32_MEMBER(_3do_state::_3do_clio_w)
|
||||
m_clio.poll = ( m_clio.poll & 0xf8 ) | ( data & 0x07 );
|
||||
break;
|
||||
|
||||
// DSPP operation
|
||||
/*
|
||||
---- x--- DSPPError
|
||||
---- -x-- DSPPReset
|
||||
---- --x- DSPPSleep
|
||||
---- ---x DSPPGW
|
||||
(Red revision)
|
||||
---x ---- DSPPError
|
||||
---- x--- DSPPReset
|
||||
---- -x-- DSPPSleep
|
||||
---- --x- DSPPGW-Step
|
||||
---- ---x DSPPGW
|
||||
*/
|
||||
case 0x17fc/4:
|
||||
/* TODO: DSPP enabled just before enabling DSPP irq! */
|
||||
//printf("%08x\n",data);
|
||||
break;
|
||||
|
||||
case 0xc000/4:
|
||||
case 0xc004/4:
|
||||
case 0xc00c/4:
|
||||
|
Loading…
Reference in New Issue
Block a user