Previous 199869 Revisions Next

r34580 Saturday 24th January, 2015 at 12:54:17 UTC by MetalliC
model2.c: Zero Gunner and Pilot Kids protection and keys
[src/mame/drivers]model2.c naomi.c
[src/mame/machine]315-5881_helper.c

trunk/src/mame/drivers/model2.c
r243091r243092
13501350
13511351   if (offset == 0x0008/4)
13521352   {
1353      // code is copied to RAM first, so base address is always 0
1354      m_cryptdevice->set_addr_low(0);
1355      m_cryptdevice->set_addr_high(0);
1356
1357      if (data != 0)
1358         printf("model2_5881prot_w address isn't 0?\n");
1359
1353      // Zero Gunner uses this, it's encrypted data in prot.RAM consists of several small chunks, selected using low address
1354      // so far this is only known game with 315-5881 which uses not 0 offset in prot.RAM
1355      if (mem_mask == 0x0000ffff)
1356         m_cryptdevice->set_addr_low(data&0xffff);
1357      else if (mem_mask == 0xffff0000)
1358      {
1359         m_cryptdevice->set_addr_high(0);
1360         if (data != 0)
1361            printf("model2_5881prot_w not zero high address %08x (%08x)\n", data, mem_mask);
1362      }
13601363      first_read = 1;
13611364   }
13621365   else if (offset == 0x000c/4)
trunk/src/mame/drivers/naomi.c
r243091r243092
349349Virtua NBA (original)                           840-0021C    22949   21 (64Mb)   present     315-6213  317-0271-COM
350350Virtua Striker 2 Ver. 2000 (Rev C)              840-0010C    21929C  14 (64Mb)*  present     315-6213  317-0258-COM   joystick + 3 buttons *(+1x 32Mb)
351351Virtua Tennis / Power Smash                     840-0015C    22927   11 (64Mb)   present     315-6213  317-0263-COM
352Virtual On Oratorio Tangram M.S.B.S. ver5.66    840-0028C    23198   13 (64Mb)   ?           315-6213  317-0279-COM
352353Zombie Revenge                                  840-0003C    21707   19 (64Mb)   ?           315-6213  317-0249-COM   joystick + 3 buttons
353354
354355
trunk/src/mame/machine/315-5881_helper.c
r243091r243092
3131
3232static const struct game_keys keys_table[] =
3333{
34   // name             key              gameid #     year     chip label     platform
34   // name              key              gameid #    year     chip label     platform
3535   { "twcup98",         0x05200913 }, // 25209801    1998     317-5039-COM   ST-V
3636   { "astrass",         0x052e2901 }, // 25349801    1998     317-5040-COM   ST-V      (yes, the 317-5040-COM chip was reused for 3 different games and on both Naomi and ST-V!)
3737   { "rsgun",           0x05272d01 }, //             1998     317-5041-COM   ST-V
r243091r243092
128128   { "dynamcopb",       0x0c2a4a93 }, //             1998     317-0236-COM   Model 2
129129   { "dyndeka2b",       0x0c2a4a93 }, //             1998     317-0236-COM   Model 2
130130   { "dynamcopc",       0x0c2a4a93 }, //             1998     317-0236-COM   Model 2
131   { "zerogun",         -1         }, //             1997     317-5038-COM   Model 2  // lowest numbered chip?
132   { "zerogunj",        -1         }, //             1997     317-5038-COM   Model 2 
133   { "zeroguna",        -1         }, //             1997     317-5038-COM   Model 2 
134   { "zerogunaj",       -1         }, //             1997     317-5038-COM   Model 2 
135   { "pltkids",         -1         }, //             1998     317-5044-COM   Model 2
136   { "pltkidsa",        -1         }, //             1998     317-5044-COM   Model 2
131   { "zerogun",         0x042c0d13 }, //             1997     317-5038-COM   Model 2
132   { "zerogunj",        0x042c0d13 }, //             1997     317-5038-COM   Model 2
133   { "zeroguna",        0x042c0d13 }, //             1997     317-5038-COM   Model 2
134   { "zerogunaj",       0x042c0d13 }, //             1997     317-5038-COM   Model 2
135   { "pltkids",         0x042e2dc1 }, //             1998     317-5044-COM   Model 2
136   { "pltkidsa",        0x042e2dc1 }, //             1998     317-5044-COM   Model 2
137137
138138   { "von2",            0x092a0e97 }, //             ????     317-0234-COM   Model 3
139139   { "von254g",         0x092a0e97 }, //             ????     317-0234-COM   Model 3


Previous 199869 Revisions Next


© 1997-2024 The MAME Team