Previous 15994 Revisions Next

r14766 Sunday 18th March, 2012 at 11:38:24 UTC by Curt Coder
[C64] Split cart properly. (nw)
[hash]c64_cart.xml
[src/mess/machine]c64_super_games.c

hash/c64_cart.xml
r14765r14766
15721572      <description>Super Games</description>
15731573      <year>1988</year>
15741574      <publisher>Commodore</publisher>
1575      <info name="assy" value="311888" />
1576
15751577      <part name="cart" interface="c64_cart">
15761578         <feature name="slot" value="super_games" />
15771579         <feature name="exrom" value="0" />
15781580         <feature name="game" value="0" />
1581
15791582         <dataarea name="roml" size="0x10000">
1580            <rom name="super games (1988)(commodore).80" size="0x10000" crc="85b3c883" sha1="aadf2ac2840edd2a814f3d0d8d4a932b4c430898" offset="0x0000" />
1583            <rom name="315102-01.u1" size="0x8000" crc="2fe1c208" sha1="d037d867244221ea8f5f05e3048d9e2af39e2cc9" offset="0x0000" />
1584            <rom name="315103-01.u2" size="0x8000" crc="f8b7adf0" sha1="02a7640b69b09663df988ba0d1674d63d2f76616" offset="0x8000" />
15811585         </dataarea>
15821586      </part>
15831587   </software>
src/mess/machine/c64_super_games.c
r14765r14766
8383   {
8484      m_bank = data & 0x03;
8585 
86      m_game = BIT(data, 2);
87      m_exrom = BIT(data, 3);
86      if (BIT(data, 2))
87      {
88         if (BIT(data, 3))
89         {
90            m_game = 1;
91            m_exrom = 1;
92         }
93         else
94         {
95            m_game = 1;
96            m_exrom = 0;
97         }
98      }
99      else
100      {
101         m_game = 0;
102         m_exrom = 0;
103      }
88104   }
89105}

Previous 15994 Revisions Next


© 1998-2018 The MESS Team