mirror of
https://github.com/holub/mame
synced 2025-06-30 16:00:01 +03:00
added a tvdear cart (#13574)
New software list items marked not working ------------------------------------------ Illust-Cassette No. 2 - Bad Badtz-Maru [TeamEurope]
This commit is contained in:
parent
08ff607f3f
commit
c763459e3e
@ -9,12 +9,22 @@ license:CC0-1.0
|
|||||||
Known undumped carts:
|
Known undumped carts:
|
||||||
|
|
||||||
Illust-Cassette No. 1 - Pochacco
|
Illust-Cassette No. 1 - Pochacco
|
||||||
Illust-Cassette No. 2 - Bad Badtz-Maru
|
|
||||||
|
|
||||||
There is also a Memory Cassette that may not contain any ROM.
|
There is also a Memory Cassette that may not contain any ROM.
|
||||||
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<software name="illust2" supported="no">
|
||||||
|
<description>Illust-Cassette No. 2 - Bad Badtz-Maru</description>
|
||||||
|
<year>1995</year>
|
||||||
|
<publisher>Takara</publisher>
|
||||||
|
<part name="cart" interface="tvdear_cart">
|
||||||
|
<dataarea name="rom" size="0x20000">
|
||||||
|
<rom name="lc371100.u15" size="0x20000" crc="4f13611b" sha1="1b50ef534f9d35eb55850a9b0844d5bf1dec0abc"/>
|
||||||
|
</dataarea>
|
||||||
|
</part>
|
||||||
|
</software>
|
||||||
|
|
||||||
<software name="shoujo" supported="no">
|
<software name="shoujo" supported="no">
|
||||||
<description>Shoujo Manga Collection</description>
|
<description>Shoujo Manga Collection</description>
|
||||||
<year>1996</year>
|
<year>1996</year>
|
||||||
|
@ -4,6 +4,9 @@
|
|||||||
// TV Word Processor, with printer
|
// TV Word Processor, with printer
|
||||||
|
|
||||||
#include "emu.h"
|
#include "emu.h"
|
||||||
|
|
||||||
|
#include "bus/generic/carts.h"
|
||||||
|
#include "bus/generic/slot.h"
|
||||||
#include "cpu/nec/v25.h"
|
#include "cpu/nec/v25.h"
|
||||||
#include "softlist_dev.h"
|
#include "softlist_dev.h"
|
||||||
|
|
||||||
@ -16,6 +19,7 @@ public:
|
|||||||
: driver_device(mconfig, type, tag)
|
: driver_device(mconfig, type, tag)
|
||||||
, m_maincpu(*this, "systemcpu")
|
, m_maincpu(*this, "systemcpu")
|
||||||
, m_keyboard(*this, "KEY%u", 0U)
|
, m_keyboard(*this, "KEY%u", 0U)
|
||||||
|
, m_cart(*this, "cartslot")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -32,8 +36,11 @@ private:
|
|||||||
void mem_map(address_map &map);
|
void mem_map(address_map &map);
|
||||||
void io_map(address_map &map);
|
void io_map(address_map &map);
|
||||||
|
|
||||||
|
DECLARE_DEVICE_IMAGE_LOAD_MEMBER(cart_load);
|
||||||
|
|
||||||
required_device<v25_device> m_maincpu;
|
required_device<v25_device> m_maincpu;
|
||||||
required_ioport_array<10> m_keyboard;
|
required_ioport_array<10> m_keyboard;
|
||||||
|
required_device<generic_slot_device> m_cart;
|
||||||
|
|
||||||
u8 m_p0 = 0;
|
u8 m_p0 = 0;
|
||||||
};
|
};
|
||||||
@ -175,6 +182,16 @@ static INPUT_PORTS_START(tvdear)
|
|||||||
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Key 0017")
|
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Key 0017")
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
|
||||||
|
DEVICE_IMAGE_LOAD_MEMBER(tvdear_state::cart_load)
|
||||||
|
{
|
||||||
|
uint32_t const size = m_cart->common_get_size("rom");
|
||||||
|
|
||||||
|
m_cart->rom_alloc(size, GENERIC_ROM8_WIDTH, ENDIANNESS_LITTLE);
|
||||||
|
m_cart->common_load_rom(m_cart->get_rom_base(), size, "rom");
|
||||||
|
|
||||||
|
return std::make_pair(std::error_condition(), std::string());
|
||||||
|
}
|
||||||
|
|
||||||
void tvdear_state::tvdear(machine_config &config)
|
void tvdear_state::tvdear(machine_config &config)
|
||||||
{
|
{
|
||||||
V25(config, m_maincpu, 16000000); // NEC D70320DGJ-8; XTAL marked 16AKSS5HT
|
V25(config, m_maincpu, 16000000); // NEC D70320DGJ-8; XTAL marked 16AKSS5HT
|
||||||
@ -186,6 +203,9 @@ void tvdear_state::tvdear(machine_config &config)
|
|||||||
|
|
||||||
//MB90076(config, "tvvc", 14318181); // XTAL marked 14AKSS5JT
|
//MB90076(config, "tvvc", 14318181); // XTAL marked 14AKSS5JT
|
||||||
|
|
||||||
|
GENERIC_CARTSLOT(config, m_cart, generic_linear_slot, "tvdear_cart");
|
||||||
|
m_cart->set_device_load(FUNC(tvdear_state::cart_load));
|
||||||
|
|
||||||
SOFTWARE_LIST(config, "cart_list").set_original("tvdear");
|
SOFTWARE_LIST(config, "cart_list").set_original("tvdear");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user