From 8a09d79c8baa767c1f2bb1b71c85d019e5b8c20f Mon Sep 17 00:00:00 2001 From: hap Date: Sat, 14 Feb 2015 01:30:34 +0100 Subject: roland tb303 skeleton --- src/mess/drivers/tb303.c | 76 +++++++++++++++++++++++++++++++++++++++++++++++ src/mess/layout/tb303.lay | 20 +++++++++++++ src/mess/mess.lst | 1 + src/mess/mess.mak | 2 ++ 4 files changed, 99 insertions(+) create mode 100644 src/mess/drivers/tb303.c create mode 100644 src/mess/layout/tb303.lay diff --git a/src/mess/drivers/tb303.c b/src/mess/drivers/tb303.c new file mode 100644 index 00000000000..e2ac2b1b86e --- /dev/null +++ b/src/mess/drivers/tb303.c @@ -0,0 +1,76 @@ +// license:BSD-3-Clause +// copyright-holders:hap +/*************************************************************************** + + Roland TB-303 + * NEC uCOM-43 MCU, labeled D650C 133 + + x + +***************************************************************************/ + +#include "emu.h" +#include "cpu/ucom4/ucom4.h" +#include "sound/speaker.h" + +#include "tb303.lh" + + +class tb303_state : public driver_device +{ +public: + tb303_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag), + m_maincpu(*this, "maincpu") + { } + + required_device m_maincpu; + + virtual void machine_start(); +}; + + +static INPUT_PORTS_START( tb303 ) +INPUT_PORTS_END + + + +/*************************************************************************** + + Machine Config + +***************************************************************************/ + +void tb303_state::machine_start() +{ +} + + +static MACHINE_CONFIG_START( tb303, tb303_state ) + + /* basic machine hardware */ + MCFG_CPU_ADD("maincpu", NEC_D650, 454545) // LC circuit, 2.2us pulse + + MCFG_DEFAULT_LAYOUT(layout_tb303) + + /* no video! */ + + /* sound hardware */ + // discrete... +MACHINE_CONFIG_END + + + +/*************************************************************************** + + Game driver(s) + +***************************************************************************/ + +ROM_START( tb303 ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d650c-133.ic8", 0x0000, 0x0800, CRC(dd2f26ae) SHA1(7f5e37f38d970219dc9e5d49a20dc5335a5c0b30) ) +ROM_END + + +CONS( 1982, tb303, 0, 0, tb303, tb303, driver_device, 0, "Roland", "TB-303", GAME_NOT_WORKING | GAME_NO_SOUND | GAME_SUPPORTS_SAVE ) diff --git a/src/mess/layout/tb303.lay b/src/mess/layout/tb303.lay new file mode 100644 index 00000000000..a202f557704 --- /dev/null +++ b/src/mess/layout/tb303.lay @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/mess/mess.lst b/src/mess/mess.lst index a24d3dee6b8..1e5bf798292 100644 --- a/src/mess/mess.lst +++ b/src/mess/mess.lst @@ -362,6 +362,7 @@ mu100r // 1997 MU-100 Rackable version fb01 // 1986 FB-01 // Roland +tb303 mt32 cm32l d110 diff --git a/src/mess/mess.mak b/src/mess/mess.mak index 0c25d473382..275f19e0871 100644 --- a/src/mess/mess.mak +++ b/src/mess/mess.mak @@ -1563,6 +1563,7 @@ $(MESSOBJ)/roland.a: \ $(MESS_DRIVERS)/rmt32.o \ $(MESS_DRIVERS)/rd110.o \ $(MESS_DRIVERS)/rsc55.o \ + $(MESS_DRIVERS)/tb303.o \ $(MESSOBJ)/rockwell.a: \ $(MESS_DRIVERS)/aim65.o $(MESS_MACHINE)/aim65.o \ @@ -2202,6 +2203,7 @@ $(MESS_DRIVERS)/svmu.o: $(MESS_LAYOUT)/svmu.lh $(MESS_DRIVERS)/sym1.o: $(MESS_LAYOUT)/sym1.lh $(MESS_DRIVERS)/tandy12.o: $(MESS_LAYOUT)/tandy12.lh $(MESS_DRIVERS)/tavernie.o: $(MESS_LAYOUT)/tavernie.lh +$(MESS_DRIVERS)/tb303.o: $(MESS_LAYOUT)/tb303.lh $(MESS_DRIVERS)/tec1.o: $(MESS_LAYOUT)/tec1.lh $(MESS_DRIVERS)/tecnbras.o: $(MESS_LAYOUT)/tecnbras.lh $(MESS_DRIVERS)/ti74.o: $(MESS_LAYOUT)/ti74.lh \ -- cgit v1.2.3