Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new NOT WORKING systems (TV Dear) #12836

Merged
merged 2 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/mame/mame.lst
Original file line number Diff line number Diff line change
Expand Up @@ -42651,6 +42651,9 @@ tulip1 // (c) 1983 CompuData
cobrasd // (c) 1998 TourVisión
cobrasda // (c) 1997 TourVisión

@source:skeleton/tvdear.cpp
tvdear // (c)1996 Takara

@source:skeleton/unistar.cpp
unistar //

Expand Down
53 changes: 53 additions & 0 deletions src/mame/skeleton/tvdear.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
// license:BSD-3-Clause
// copyright-holders:David Haywood

// TV Word Processor, with printer

#include "emu.h"
#include "cpu/nec/v25.h"

namespace {

class tvdear_state : public driver_device
{
public:
tvdear_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "systemcpu")
{
}

void tvdear(machine_config &config);

private:
void mem_map(address_map &map);

required_device<v25_device> m_maincpu;
};


void tvdear_state::mem_map(address_map &map)
{
map(0xe0000, 0xfffff).rom().region("maincpu", 0xe0000); // wrong
}

static INPUT_PORTS_START(tvdear)
INPUT_PORTS_END

void tvdear_state::tvdear(machine_config &config)
{
V25(config, m_maincpu, 16000000);
m_maincpu->set_addrmap(AS_PROGRAM, &tvdear_state::mem_map);
}

ROM_START(tvdear)
ROM_REGION(0x200000, "maincpu", 0)
ROM_LOAD("d23c160000.u5", 0x00000, 0x200000, CRC(41ec9890) SHA1(20cfdfec7eeb39a9ce971f23fdc97b42a5d68301) )

ROM_REGION(0x20000, "cart", 0) // TODO: move this to a software list
ROM_LOAD("lc371100.u15", 0x00000, 0x20000, CRC(f70696d1) SHA1(21da45720a48e18fd6173f2482bd7db4988d1548) )
ROM_END

} // anonymous namespace

CONS( 1996, tvdear, 0, 0, tvdear, tvdear, tvdear_state, empty_init, "Takara", "TV Dear", MACHINE_IS_SKELETON )
Loading