roland tb303 skeleton

This commit is contained in:
hap 2015-02-14 01:30:34 +01:00
parent 59a6d15b43
commit 8a09d79c8b
4 changed files with 99 additions and 0 deletions

76
src/mess/drivers/tb303.c Normal file
View File

@ -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<cpu_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 )

20
src/mess/layout/tb303.lay Normal file
View File

@ -0,0 +1,20 @@
<?xml version="1.0"?>
<mamelayout version="2">
<!-- define elements -->
<element name="led" defstate="0">
<disk state="0"><color red="0.15" green="0.03" blue="0.03" /></disk>
<disk state="1"><color red="1.0" green="0.3" blue="0.3" /></disk>
</element>
<!-- build screen -->
<view name="Internal Layout">
<bounds left="0" right="100" top="0" bottom="100" />
</view>
</mamelayout>

View File

@ -362,6 +362,7 @@ mu100r // 1997 MU-100 Rackable version
fb01 // 1986 FB-01
// Roland
tb303
mt32
cm32l
d110

View File

@ -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 \