Previous 199869 Revisions Next

r20179 Thursday 10th January, 2013 at 14:59:33 UTC by Angelo Salese
Some notes
[src/mame/machine]3do.c

trunk/src/mame/machine/3do.c
r20178r20179
458458
459459
460460WRITE32_MEMBER(_3do_state::_3do_madam_w){
461   logerror( "%08X: MADAM write offset = %08X, data = %08X, mask = %08X\n", machine().device("maincpu")->safe_pc(), offset*4, data, mem_mask );
462461
462   if(offset == 0)
463   {
464      if(data == 0x0a)
465         logerror( "%08X: MADAM write offset = %08X, data = %08X (\\n), mask = %08X\n", machine().device("maincpu")->safe_pc(), offset*4, data, mem_mask );
466      else
467         logerror( "%08X: MADAM write offset = %08X, data = %08X (%c), mask = %08X\n", machine().device("maincpu")->safe_pc(), offset*4, data, data, mem_mask );
468   }
469   else
470      logerror( "%08X: MADAM write offset = %08X, data = %08X, mask = %08X\n", machine().device("maincpu")->safe_pc(), offset*4, data, mem_mask );
471
463472   switch( offset ) {
464473   case 0x0000/4:
465474      if(data == 0x0a)
r20178r20179
652661READ32_MEMBER(_3do_state::_3do_clio_r)
653662{
654663   if (!space.debugger_access())
655      if(offset != 0x40/4 && offset != 0x44/4 && offset != 0x48/4 && offset != 0x4c/4)
656         logerror( "%08X: CLIO read offset = %08X\n", machine().device("maincpu")->safe_pc(), offset * 4 );
664   {
665      if(offset != 0x200/4 && offset != 0x40/4 && offset != 0x44/4 && offset != 0x48/4 && offset != 0x4c/4 &&
666         offset != 0x118/4 && offset != 0x11c/4)
667      logerror( "%08X: CLIO read offset = %08X\n", machine().device("maincpu")->safe_pc(), offset * 4 );
668   }
657669
658670   switch( offset )
659671   {
r20178r20179
757769
758770WRITE32_MEMBER(_3do_state::_3do_clio_w)
759771{
760   if(offset != 0x40/4 && offset != 0x44/4 && offset != 0x48/4 && offset != 0x4c/4)
772   if(offset != 0x200/4 && offset != 0x40/4 && offset != 0x44/4 && offset != 0x48/4 && offset != 0x4c/4 &&
773      offset != 0x118/4 && offset != 0x11c/4)
761774      logerror( "%08X: CLIO write offset = %08X, data = %08X, mask = %08X\n", machine().device("maincpu")->safe_pc(), offset*4, data, mem_mask );
762775
763776   switch( offset )
r20178r20179
928941      m_clio.poll = ( m_clio.poll & 0xf8 ) | ( data & 0x07 );
929942      break;
930943
944   // DSPP operation
945   /*
946   ---- x--- DSPPError
947   ---- -x-- DSPPReset
948   ---- --x- DSPPSleep
949   ---- ---x DSPPGW
950   (Red revision)
951   ---x ---- DSPPError
952   ---- x--- DSPPReset
953   ---- -x-- DSPPSleep
954   ---- --x- DSPPGW-Step
955   ---- ---x DSPPGW
956   */
957   case 0x17fc/4:
958      /* TODO: DSPP enabled just before enabling DSPP irq! */
959      //printf("%08x\n",data);
960      break;
961
931962   case 0xc000/4:
932963   case 0xc004/4:
933964   case 0xc00c/4:

Previous 199869 Revisions Next


© 1997-2024 The MAME Team