Skip to content

Commit 4dff490

Browse files
authored
new NOT WORKING systems (TV Dear) (#12836)
-------------------- TV Dear [David Haywood, Team Europe]
1 parent 8e7d97a commit 4dff490

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

src/mame/mame.lst

+3
Original file line numberDiff line numberDiff line change
@@ -42651,6 +42651,9 @@ tulip1 // (c) 1983 CompuData
4265142651
cobrasd // (c) 1998 TourVisión
4265242652
cobrasda // (c) 1997 TourVisión
4265342653

42654+
@source:skeleton/tvdear.cpp
42655+
tvdear // (c)1996 Takara
42656+
4265442657
@source:skeleton/unistar.cpp
4265542658
unistar //
4265642659

src/mame/skeleton/tvdear.cpp

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// license:BSD-3-Clause
2+
// copyright-holders:David Haywood
3+
4+
// TV Word Processor, with printer
5+
6+
#include "emu.h"
7+
#include "cpu/nec/v25.h"
8+
9+
namespace {
10+
11+
class tvdear_state : public driver_device
12+
{
13+
public:
14+
tvdear_state(const machine_config &mconfig, device_type type, const char *tag)
15+
: driver_device(mconfig, type, tag)
16+
, m_maincpu(*this, "systemcpu")
17+
{
18+
}
19+
20+
void tvdear(machine_config &config);
21+
22+
private:
23+
void mem_map(address_map &map);
24+
25+
required_device<v25_device> m_maincpu;
26+
};
27+
28+
29+
void tvdear_state::mem_map(address_map &map)
30+
{
31+
map(0xe0000, 0xfffff).rom().region("maincpu", 0xe0000); // wrong
32+
}
33+
34+
static INPUT_PORTS_START(tvdear)
35+
INPUT_PORTS_END
36+
37+
void tvdear_state::tvdear(machine_config &config)
38+
{
39+
V25(config, m_maincpu, 16000000);
40+
m_maincpu->set_addrmap(AS_PROGRAM, &tvdear_state::mem_map);
41+
}
42+
43+
ROM_START(tvdear)
44+
ROM_REGION(0x200000, "maincpu", 0)
45+
ROM_LOAD("d23c160000.u5", 0x00000, 0x200000, CRC(41ec9890) SHA1(20cfdfec7eeb39a9ce971f23fdc97b42a5d68301) )
46+
47+
ROM_REGION(0x20000, "cart", 0) // TODO: move this to a software list
48+
ROM_LOAD("lc371100.u15", 0x00000, 0x20000, CRC(f70696d1) SHA1(21da45720a48e18fd6173f2482bd7db4988d1548) )
49+
ROM_END
50+
51+
} // anonymous namespace
52+
53+
CONS( 1996, tvdear, 0, 0, tvdear, tvdear, tvdear_state, empty_init, "Takara", "TV Dear", MACHINE_IS_SKELETON )

0 commit comments

Comments
 (0)