diff --git a/src/mess/drivers/hh_tms1k.c b/src/mess/drivers/hh_tms1k.c new file mode 100644 index 00000000000..21723e1f478 --- /dev/null +++ b/src/mess/drivers/hh_tms1k.c @@ -0,0 +1,87 @@ +// license:BSD-3-Clause +// copyright-holders:hap +/*************************************************************************** + + This driver is a collection of simple dedicated handheld and tabletop + toys based around the TMS1000 MCU series. Anything more complex or clearly + part of a series is (or will be) in its own driver. + + +***************************************************************************/ + +#include "emu.h" +#include "cpu/tms0980/tms0980.h" +#include "sound/speaker.h" + +#include "ebball.lh" + + +class hh_tms1k_state : public driver_device +{ +public: + hh_tms1k_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag), + m_maincpu(*this, "maincpu"), +// m_button_matrix(*this, "IN"), + m_speaker(*this, "speaker") + { } + + required_device m_maincpu; +// required_ioport_array<3> m_button_matrix; + required_device m_speaker; + + virtual void machine_start(); +}; + + +static INPUT_PORTS_START( ebball ) +INPUT_PORTS_END + + + +/*************************************************************************** + + Machine Config + +***************************************************************************/ + +void hh_tms1k_state::machine_start() +{ +} + + +static MACHINE_CONFIG_START( ebball, hh_tms1k_state ) + + /* basic machine hardware */ + MCFG_CPU_ADD("maincpu", TMS1000, 350000) // RC osc. R=43K, C=47pf -> ~350kHz + + MCFG_DEFAULT_LAYOUT(layout_ebball) + + /* 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( ebball ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp0914", 0x0000, 0x0400, CRC(3c6fb05b) SHA1(b2fe4b3ca72d6b4c9bfa84d67f64afdc215e7178) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_ebball_mpla.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_ebball_opla.pla", 0, 365, CRC(062bf5bb) SHA1(8d73ee35444299595961225528b153e3a5fe66bf) ) +ROM_END + + +CONS( 1979, ebball, 0, 0, ebball, ebball, driver_device, 0, "Entex", "Baseball (Entex)", GAME_SUPPORTS_SAVE | GAME_NOT_WORKING ) diff --git a/src/mess/layout/ebball.lay b/src/mess/layout/ebball.lay new file mode 100644 index 00000000000..e3f75ac08f6 --- /dev/null +++ b/src/mess/layout/ebball.lay @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/mess/mess.lst b/src/mess/mess.lst index dde03cb7447..c7fbff6fe67 100644 --- a/src/mess/mess.lst +++ b/src/mess/mess.lst @@ -2616,3 +2616,4 @@ tmtennis alnchase edracula tc4 +ebball diff --git a/src/mess/mess.mak b/src/mess/mess.mak index 1841a33be75..3c798d539ef 100644 --- a/src/mess/mess.mak +++ b/src/mess/mess.mak @@ -1781,6 +1781,7 @@ $(MESSOBJ)/ti.a: \ $(MESS_MACHINE)/ti99/videowrp.o \ $(MESS_VIDEO)/733_asr.o \ $(MESS_VIDEO)/911_vdt.o \ + $(MESS_DRIVERS)/hh_tms1k.o \ $(MESSOBJ)/tiger.a: \ $(MESS_DRIVERS)/gamecom.o $(MESS_MACHINE)/gamecom.o $(MESS_VIDEO)/gamecom.o \ @@ -2144,6 +2145,7 @@ $(MESS_DRIVERS)/fidelz80.o: $(MESS_LAYOUT)/fidelz80.lh \ $(MESS_DRIVERS)/gamecom.o: $(MESS_LAYOUT)/gamecom.lh $(MESS_DRIVERS)/glasgow.o: $(MESS_LAYOUT)/glasgow.lh $(MESS_DRIVERS)/h8.o: $(MESS_LAYOUT)/h8.lh +$(MESS_DRIVERS)/hh_tms1k.o: $(MESS_LAYOUT)/ebball.lh $(MESS_DRIVERS)/ie15.o: $(MESS_LAYOUT)/ie15.lh $(MESS_DRIVERS)/instruct.o: $(MESS_LAYOUT)/instruct.lh $(MESS_DRIVERS)/k1003.o: $(MESS_LAYOUT)/k1003.lh