Previous 199869 Revisions Next

r31604 Monday 11th August, 2014 at 10:02:35 UTC by Sandro Ronco
(MESS) glcolor.xml: documented the 'Spiel-und Lernspaß' cartridge. [TeamEurope]
[hash]glcolor.xml
[src/mess/drivers]prestige.c

trunk/hash/glcolor.xml
r31603r31604
5757         </dataarea>
5858      </part>
5959   </software>
60
61<!-- According to the boxart, this is compatible with: Leader Color/Super Color -->
62   <software name="spiellern">
63      <description>Spiel-und Lernspaß</description>
64      <year>199?</year>
65      <publisher>Video Technology</publisher>
66      <part name="rom" interface="genius_cart">
67         <dataarea name="rom" size="1">
68            <!-- cartridge contains only a jumper wire -->
69         </dataarea>
70      </part>
71   </software>
6072</softwarelist>
trunk/src/mess/drivers/prestige.c
r31603r31604
9191      : driver_device(mconfig, type, tag),
9292         m_maincpu(*this, "maincpu"),
9393         m_ram(*this, RAM_TAG),
94         m_cart(*this, "cart"),
9495         m_keyboard(*this, "KEY"),
9596         m_bank1(*this, "bank1"),
9697         m_bank2(*this, "bank2"),
r31603r31604
101102
102103   required_device<cpu_device> m_maincpu;
103104   required_device<ram_device> m_ram;
105   required_device<cartslot_image_device> m_cart;
104106   required_ioport_array<16> m_keyboard;
105107   required_memory_bank m_bank1;
106108   required_memory_bank m_bank2;
r31603r31604
159161      break;
160162
161163   case 1:
162      if (!(m_bank[5] & 0x01) && (m_bank[5] & 0x02))
164      if (!(m_bank[5] & 0x01) && (m_bank[5] & 0x02) && m_cart->exists())
163165         m_bank2->set_entry(0x40 + (data & 0x1f));
164166      else
165167         m_bank2->set_entry(data & 0x3f);
166168      break;
167169
168170   case 2:
169      if (!(m_bank[5] & 0x01) && (m_bank[5] & 0x04))
171      if (!(m_bank[5] & 0x01) && (m_bank[5] & 0x04) && m_cart->exists())
170172         m_bank3->set_entry(0x40 + (data & 0x1f));
171173      else
172174         m_bank3->set_entry(data & 0x3f);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team