diff --git a/src/mess/drivers/edracula.c b/src/mess/drivers/edracula.c new file mode 100644 index 00000000000..189b031ec36 --- /dev/null +++ b/src/mess/drivers/edracula.c @@ -0,0 +1,81 @@ +// license:BSD-3-Clause +// copyright-holders:hap +/*************************************************************************** + + Epoch Dracula (manufactured in Japan) + * NEC uCOM-43 MCU, labeled D553C 206 + * cyan/red/green VFD display NEC FIP8BM20T + + +***************************************************************************/ + +#include "emu.h" +#include "cpu/ucom4/ucom4.h" +#include "sound/speaker.h" + +#include "edracula.lh" // this is a test layout, external artwork is necessary + + +class edracula_state : public driver_device +{ +public: + edracula_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag), + m_maincpu(*this, "maincpu"), + m_speaker(*this, "speaker") + { } + + required_device m_maincpu; + required_device m_speaker; + + virtual void machine_start(); +}; + + + +static INPUT_PORTS_START( edracula ) +INPUT_PORTS_END + + + +/*************************************************************************** + + Machine Config + +***************************************************************************/ + +void edracula_state::machine_start() +{ +} + + +static MACHINE_CONFIG_START( edracula, edracula_state ) + + /* basic machine hardware */ + MCFG_CPU_ADD("maincpu", NEC_D553, XTAL_400kHz) + + MCFG_DEFAULT_LAYOUT(layout_edracula) + + /* no video! */ + + /* sound hardware */ + MCFG_SPEAKER_STANDARD_MONO("mono") + MCFG_SOUND_ADD("speaker", SPEAKER_SOUND, 0) + MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) +MACHINE_CONFIG_END + + + +/*************************************************************************** + + Game driver(s) + +***************************************************************************/ + +ROM_START( edracula ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d553c-206", 0x0000, 0x0800, CRC(b524857b) SHA1(c1c89ed5dd4bb1e6e98462dc8fa5af2aa48d8ede) ) +ROM_END + + +CONS( 1982, edracula, 0, 0, edracula, edracula, driver_device, 0, "Epoch", "Dracula", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) diff --git a/src/mess/layout/edracula.lay b/src/mess/layout/edracula.lay new file mode 100644 index 00000000000..448ceef4342 --- /dev/null +++ b/src/mess/layout/edracula.lay @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/mess/mess.lst b/src/mess/mess.lst index 887668c85da..14bb04380d9 100644 --- a/src/mess/mess.lst +++ b/src/mess/mess.lst @@ -2611,3 +2611,4 @@ elecdet wildfire tmtennis alnchase +edracula diff --git a/src/mess/mess.mak b/src/mess/mess.mak index 500658a1c8e..2d828b2593c 100644 --- a/src/mess/mess.mak +++ b/src/mess/mess.mak @@ -1229,6 +1229,7 @@ $(MESSOBJ)/entex.a: \ $(MESS_DRIVERS)/advision.o $(MESS_MACHINE)/advision.o $(MESS_VIDEO)/advision.o \ $(MESSOBJ)/epoch.a: \ + $(MESS_DRIVERS)/edracula.o \ $(MESS_DRIVERS)/gamepock.o $(MESS_MACHINE)/gamepock.o \ $(MESS_DRIVERS)/scv.o $(MESS_AUDIO)/upd1771.o \ @@ -2126,6 +2127,7 @@ $(MESS_DRIVERS)/digel804.o: $(MESS_LAYOUT)/digel804.lh $(MESS_DRIVERS)/dmv.o: $(MESS_LAYOUT)/dmv.lh $(MESS_DRIVERS)/dolphunk.o: $(MESS_LAYOUT)/dolphunk.lh $(MESS_DRIVERS)/eacc.o: $(MESS_LAYOUT)/eacc.lh +$(MESS_DRIVERS)/edracula.o: $(MESS_LAYOUT)/edracula.lh $(MESS_DRIVERS)/elecdet.o: $(MESS_LAYOUT)/elecdet.lh $(MESS_DRIVERS)/elekscmp.o: $(MESS_LAYOUT)/elekscmp.lh $(MESS_DRIVERS)/elf.o: $(MESS_LAYOUT)/elf2.lh