mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
(MESS) glcolor.xml: documented the 'Spiel-und Lernspaß' cartridge. [TeamEurope]
This commit is contained in:
parent
e771696642
commit
aea0a1b006
2 changed files with 16 additions and 2 deletions
|
@ -57,4 +57,16 @@
|
|||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<!-- According to the boxart, this is compatible with: Leader Color/Super Color -->
|
||||
<software name="spiellern">
|
||||
<description>Spiel-und Lernspaß</description>
|
||||
<year>199?</year>
|
||||
<publisher>Video Technology</publisher>
|
||||
<part name="rom" interface="genius_cart">
|
||||
<dataarea name="rom" size="1">
|
||||
<!-- cartridge contains only a jumper wire -->
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
</softwarelist>
|
||||
|
|
|
@ -91,6 +91,7 @@ public:
|
|||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_ram(*this, RAM_TAG),
|
||||
m_cart(*this, "cart"),
|
||||
m_keyboard(*this, "KEY"),
|
||||
m_bank1(*this, "bank1"),
|
||||
m_bank2(*this, "bank2"),
|
||||
|
@ -101,6 +102,7 @@ public:
|
|||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<ram_device> m_ram;
|
||||
required_device<cartslot_image_device> m_cart;
|
||||
required_ioport_array<16> m_keyboard;
|
||||
required_memory_bank m_bank1;
|
||||
required_memory_bank m_bank2;
|
||||
|
@ -159,14 +161,14 @@ WRITE8_MEMBER( prestige_state::bankswitch_w )
|
|||
break;
|
||||
|
||||
case 1:
|
||||
if (!(m_bank[5] & 0x01) && (m_bank[5] & 0x02))
|
||||
if (!(m_bank[5] & 0x01) && (m_bank[5] & 0x02) && m_cart->exists())
|
||||
m_bank2->set_entry(0x40 + (data & 0x1f));
|
||||
else
|
||||
m_bank2->set_entry(data & 0x3f);
|
||||
break;
|
||||
|
||||
case 2:
|
||||
if (!(m_bank[5] & 0x01) && (m_bank[5] & 0x04))
|
||||
if (!(m_bank[5] & 0x01) && (m_bank[5] & 0x04) && m_cart->exists())
|
||||
m_bank3->set_entry(0x40 + (data & 0x1f));
|
||||
else
|
||||
m_bank3->set_entry(data & 0x3f);
|
||||
|
|
Loading…
Reference in a new issue