Previous 199869 Revisions Next

r24583 Tuesday 30th July, 2013 at 19:39:49 UTC by David Haywood
make puzzli2 play some intro music (nw)
[src/mame/machine]pgmprot_igs027a_type1.c

trunk/src/mame/machine/pgmprot_igs027a_type1.c
r24582r24583
570570
571571   switch (m_ddp3lastcommand)
572572   {
573      case 0x13: // ASIC status?
573      case 0x13: // getting some kind of list maybe?
574      {
575
574576         m_valueresponse = 0x74<<16; // 2d or 74! (based on?)
577
578      }
575579      break;
576580
577581      case 0x31:
r24582r24583
626630         m_valueresponse = 0x36<<16;
627631      break;
628632
633
634      // 63/67 are used on startup to get the z80 music at least
635
629636      case 0x63: // used as a read address by the 68k code (related to previous uploaded values like cave?) should point at a table of ~0x80 in size? seems to use values as further pointers?
630         m_valueresponse = 0x00600000;
637         if (m_value0==0x0002)
638         {
639            m_valueresponse = 0x0016ebf2; // right for puzzli2 , wrong for puzzli2s, probably calculated from the writes then?
640         }
641         else
642         {
643            m_valueresponse = 0x00600000; // wrong
644
645         }
631646      break;
632647
633648      case 0x67: // used as a read address by the 68k code (related to previous uploaded values like cave?) directly reads ~0xDBE from the address..
634         m_valueresponse = 0x00400000;
649         if (m_value0==0x0002)
650         {
651            m_valueresponse = 0x00166178; // right for puzzli2 , wrong for puzzli2s, probably calculated from the writes then?
652         }
653         else
654         {
655            m_valueresponse = 0x00400000; // wrong
656         }
635657      break;
636658
637659      default:

Previous 199869 Revisions Next


© 1997-2024 The MAME Team