branches/kale/src/mess/drivers/hh_tms1k.c
| r0 | r244623 | |
| 1 | // license:BSD-3-Clause |
| 2 | // copyright-holders:hap |
| 3 | /*************************************************************************** |
| 4 | |
| 5 | This driver is a collection of simple dedicated handheld and tabletop |
| 6 | toys based around the TMS1000 MCU series. Anything more complex or clearly |
| 7 | part of a series is (or will be) in its own driver. |
| 8 | |
| 9 | |
| 10 | ***************************************************************************/ |
| 11 | |
| 12 | #include "emu.h" |
| 13 | #include "cpu/tms0980/tms0980.h" |
| 14 | #include "sound/speaker.h" |
| 15 | |
| 16 | #include "ebball.lh" |
| 17 | |
| 18 | |
| 19 | class hh_tms1k_state : public driver_device |
| 20 | { |
| 21 | public: |
| 22 | hh_tms1k_state(const machine_config &mconfig, device_type type, const char *tag) |
| 23 | : driver_device(mconfig, type, tag), |
| 24 | m_maincpu(*this, "maincpu"), |
| 25 | // m_button_matrix(*this, "IN"), |
| 26 | m_speaker(*this, "speaker") |
| 27 | { } |
| 28 | |
| 29 | required_device<cpu_device> m_maincpu; |
| 30 | // required_ioport_array<3> m_button_matrix; |
| 31 | required_device<speaker_sound_device> m_speaker; |
| 32 | |
| 33 | virtual void machine_start(); |
| 34 | }; |
| 35 | |
| 36 | |
| 37 | static INPUT_PORTS_START( ebball ) |
| 38 | INPUT_PORTS_END |
| 39 | |
| 40 | |
| 41 | |
| 42 | /*************************************************************************** |
| 43 | |
| 44 | Machine Config |
| 45 | |
| 46 | ***************************************************************************/ |
| 47 | |
| 48 | void hh_tms1k_state::machine_start() |
| 49 | { |
| 50 | } |
| 51 | |
| 52 | |
| 53 | static MACHINE_CONFIG_START( ebball, hh_tms1k_state ) |
| 54 | |
| 55 | /* basic machine hardware */ |
| 56 | MCFG_CPU_ADD("maincpu", TMS1000, 350000) // RC osc. R=43K, C=47pf -> ~350kHz |
| 57 | |
| 58 | MCFG_DEFAULT_LAYOUT(layout_ebball) |
| 59 | |
| 60 | /* no video! */ |
| 61 | |
| 62 | /* sound hardware */ |
| 63 | MCFG_SPEAKER_STANDARD_MONO("mono") |
| 64 | MCFG_SOUND_ADD("speaker", SPEAKER_SOUND, 0) |
| 65 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) |
| 66 | MACHINE_CONFIG_END |
| 67 | |
| 68 | |
| 69 | |
| 70 | /*************************************************************************** |
| 71 | |
| 72 | Game driver(s) |
| 73 | |
| 74 | ***************************************************************************/ |
| 75 | |
| 76 | ROM_START( ebball ) |
| 77 | ROM_REGION( 0x0400, "maincpu", 0 ) |
| 78 | ROM_LOAD( "mp0914", 0x0000, 0x0400, CRC(3c6fb05b) SHA1(b2fe4b3ca72d6b4c9bfa84d67f64afdc215e7178) ) |
| 79 | |
| 80 | ROM_REGION( 867, "maincpu:mpla", 0 ) |
| 81 | ROM_LOAD( "tms1000_ebball_mpla.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) |
| 82 | ROM_REGION( 365, "maincpu:opla", 0 ) |
| 83 | ROM_LOAD( "tms1000_ebball_opla.pla", 0, 365, CRC(062bf5bb) SHA1(8d73ee35444299595961225528b153e3a5fe66bf) ) |
| 84 | ROM_END |
| 85 | |
| 86 | |
| 87 | CONS( 1979, ebball, 0, 0, ebball, ebball, driver_device, 0, "Entex", "Baseball (Entex)", GAME_SUPPORTS_SAVE | GAME_NOT_WORKING ) |
branches/kale/src/mess/mess.mak
| r244622 | r244623 | |
| 1781 | 1781 | $(MESS_MACHINE)/ti99/videowrp.o \ |
| 1782 | 1782 | $(MESS_VIDEO)/733_asr.o \ |
| 1783 | 1783 | $(MESS_VIDEO)/911_vdt.o \ |
| 1784 | $(MESS_DRIVERS)/hh_tms1k.o \ |
| 1784 | 1785 | |
| 1785 | 1786 | $(MESSOBJ)/tiger.a: \ |
| 1786 | 1787 | $(MESS_DRIVERS)/gamecom.o $(MESS_MACHINE)/gamecom.o $(MESS_VIDEO)/gamecom.o \ |
| r244622 | r244623 | |
| 2144 | 2145 | $(MESS_DRIVERS)/gamecom.o: $(MESS_LAYOUT)/gamecom.lh |
| 2145 | 2146 | $(MESS_DRIVERS)/glasgow.o: $(MESS_LAYOUT)/glasgow.lh |
| 2146 | 2147 | $(MESS_DRIVERS)/h8.o: $(MESS_LAYOUT)/h8.lh |
| 2148 | $(MESS_DRIVERS)/hh_tms1k.o: $(MESS_LAYOUT)/ebball.lh |
| 2147 | 2149 | $(MESS_DRIVERS)/ie15.o: $(MESS_LAYOUT)/ie15.lh |
| 2148 | 2150 | $(MESS_DRIVERS)/instruct.o: $(MESS_LAYOUT)/instruct.lh |
| 2149 | 2151 | $(MESS_DRIVERS)/k1003.o: $(MESS_LAYOUT)/k1003.lh |