diff options
author | hap <happppp@users.noreply.github.com> | 2015-03-09 20:08:11 +0100 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2015-03-09 20:08:11 +0100 |
commit | 9c35a2bf0413964f12982e2c800e560c91667849 (patch) | |
tree | 41614ab280ce4560c9ea29552e44cc4f565dad81 | |
parent | c25cc3aa7ed58dfcdee986ca48bd260fa45b7215 (diff) |
added Entex Baseball 3 skeleton
-rw-r--r-- | src/mess/drivers/hh_hmcs40.c | 4 | ||||
-rw-r--r-- | src/mess/drivers/hh_tms1k.c | 55 | ||||
-rw-r--r-- | src/mess/layout/ebball3.lay | 199 | ||||
-rw-r--r-- | src/mess/mess.lst | 1 | ||||
-rw-r--r-- | src/mess/mess.mak | 1 |
5 files changed, 255 insertions, 5 deletions
diff --git a/src/mess/drivers/hh_hmcs40.c b/src/mess/drivers/hh_hmcs40.c index 9c57a23063d..da1bd3b5d38 100644 --- a/src/mess/drivers/hh_hmcs40.c +++ b/src/mess/drivers/hh_hmcs40.c @@ -754,8 +754,8 @@ CONS( 1983, zackman, 0, 0, zackman, zackman, driver_device, 0, "Banda CONS( 1981, alnattck, 0, 0, alnattck, alnattck, driver_device, 0, "Coleco", "Alien Attack", GAME_SUPPORTS_SAVE | GAME_REQUIRES_ARTWORK | GAME_NOT_WORKING ) CONS( 1982, cdkong, 0, 0, cdkong, cdkong, driver_device, 0, "Coleco", "Donkey Kong (Coleco)", GAME_SUPPORTS_SAVE | GAME_REQUIRES_ARTWORK | GAME_NOT_WORKING ) CONS( 1982, cgalaxn, 0, 0, cgalaxn, cgalaxn, driver_device, 0, "Coleco", "Galaxian (Coleco)", GAME_SUPPORTS_SAVE | GAME_REQUIRES_ARTWORK | GAME_NOT_WORKING ) -CONS( 1981, cpacman, 0, 0, cpacman, cpacman, driver_device, 0, "Coleco", "Pac-Man (Coleco, rev.2)", GAME_SUPPORTS_SAVE | GAME_REQUIRES_ARTWORK | GAME_NOT_WORKING ) -CONS( 1981, cpacmanr1, cpacman, 0, cpacman, cpacman, driver_device, 0, "Coleco", "Pac-Man (Coleco, rev.1)", GAME_SUPPORTS_SAVE | GAME_REQUIRES_ARTWORK | GAME_NOT_WORKING ) +CONS( 1981, cpacman, 0, 0, cpacman, cpacman, driver_device, 0, "Coleco", "Pac-Man (Coleco, Rev. 29)", GAME_SUPPORTS_SAVE | GAME_REQUIRES_ARTWORK | GAME_NOT_WORKING ) +CONS( 1981, cpacmanr1, cpacman, 0, cpacman, cpacman, driver_device, 0, "Coleco", "Pac-Man (Coleco, Rev. 28)", GAME_SUPPORTS_SAVE | GAME_REQUIRES_ARTWORK | GAME_NOT_WORKING ) CONS( 1981, egalaxn2, 0, 0, egalaxn2, egalaxn2, driver_device, 0, "Entex", "Galaxian 2 (Entex)", GAME_SUPPORTS_SAVE | GAME_REQUIRES_ARTWORK | GAME_NOT_WORKING ) CONS( 1981, epacman2, 0, 0, epacman2, epacman2, driver_device, 0, "Entex", "Pac Man 2 (Entex)", GAME_SUPPORTS_SAVE | GAME_REQUIRES_ARTWORK | GAME_NOT_WORKING ) diff --git a/src/mess/drivers/hh_tms1k.c b/src/mess/drivers/hh_tms1k.c index 694b34d6874..6c95d098a19 100644 --- a/src/mess/drivers/hh_tms1k.c +++ b/src/mess/drivers/hh_tms1k.c @@ -13,8 +13,9 @@ -------------------------------------------------------------------- @CP0904A TMS0970 1977, Milton Bradley Comp IV @MP0905B TMS0970 1977, Parker Brothers Codename Sector - @MP0914 TMS1000 1978, Entex Baseball 1 + @MP0914 TMS1000 1979, Entex Baseball 1 @MP1030 TMS1100 1980, APF Mathemagician + @MP1204 TMS1100 1980, Entex Baseball 3 *MP1221 TMS1100 1980, Entex Raise The Devil *MP2788 ? 1980, Bandai Flight Time @MP3226 TMS1000 1978, Milton Bradley Simon @@ -71,6 +72,7 @@ #include "bankshot.lh" #include "cnsector.lh" #include "ebball.lh" +#include "ebball3.lh" #include "elecdet.lh" #include "comp4.lh" #include "mathmagi.lh" @@ -920,6 +922,41 @@ MACHINE_CONFIG_END + +/*************************************************************************** + + Entex Electronic Baseball 3 + * TMS1100NLL 6007 MP1204 (die labeled MP1204) + +***************************************************************************/ + +static INPUT_PORTS_START( ebball3 ) +INPUT_PORTS_END + + +static MACHINE_CONFIG_START( ebball3, hh_tms1k_state ) + + /* basic machine hardware */ + MCFG_CPU_ADD("maincpu", TMS1100, 425000) // RC osc. R=47K, C=33pf -> ~425kHz +// MCFG_TMS1XXX_READ_K_CB(READ8(hh_tms1k_state, ebball3_read_k)) +// MCFG_TMS1XXX_WRITE_R_CB(WRITE16(hh_tms1k_state, ebball3_write_r)) +// MCFG_TMS1XXX_WRITE_O_CB(WRITE16(hh_tms1k_state, ebball3_write_o)) + +// MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", hh_tms1k_state, display_decay_tick, attotime::from_msec(1)) + MCFG_DEFAULT_LAYOUT(layout_ebball3) + + /* 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 + + + + + /*************************************************************************** Ideal Electronic Detective @@ -2006,6 +2043,17 @@ ROM_START( ebball ) ROM_END +ROM_START( ebball3 ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp1204", 0x0000, 0x0800, CRC(987a29ba) SHA1(9481ae244152187d85349d1a08e439e798182938) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_ebball3_mpla.pla", 0, 867, CRC(325ae490) SHA1(f542d66ec7b46d7ab061c078f6443b920c01e189) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_ebball3_opla.pla", 0, 365, CRC(00db663b) SHA1(6eae12503364cfb1f863df0e57970d3e766ec165) ) +ROM_END + + ROM_START( elecdet ) ROM_REGION( 0x1000, "maincpu", 0 ) ROM_LOAD( "mp6100a", 0x0000, 0x1000, CRC(6f396bb8) SHA1(1f104d4ca9bee0d4572be4779b7551dfe20c4f04) ) @@ -2163,7 +2211,8 @@ CONS( 1980, mathmagi, 0, 0, mathmagi, mathmagi, driver_device, 0, "APF CONS( 1979, amaztron, 0, 0, amaztron, amaztron, driver_device, 0, "Coleco", "Amaze-A-Tron", GAME_SUPPORTS_SAVE ) CONS( 1981, tc4, 0, 0, tc4, tc4, driver_device, 0, "Coleco", "Total Control 4", GAME_SUPPORTS_SAVE ) -CONS( 1978, ebball, 0, 0, ebball, ebball, driver_device, 0, "Entex", "Electronic Baseball (Entex)", GAME_SUPPORTS_SAVE ) // or 1979? +CONS( 1979, ebball, 0, 0, ebball, ebball, driver_device, 0, "Entex", "Electronic Baseball", GAME_SUPPORTS_SAVE ) +CONS( 1980, ebball3, 0, 0, ebball3, ebball3, driver_device, 0, "Entex", "Electronic Baseball 3", GAME_SUPPORTS_SAVE | GAME_NOT_WORKING ) CONS( 1979, elecdet, 0, 0, elecdet, elecdet, driver_device, 0, "Ideal", "Electronic Detective", GAME_SUPPORTS_SAVE ) // unplayable without game cards @@ -2174,7 +2223,7 @@ CONS( 1977, comp4, 0, 0, comp4, comp4, driver_device, 0, "Mil CONS( 1978, simon, 0, 0, simon, simon, driver_device, 0, "Milton Bradley", "Simon (Rev. A)", GAME_SUPPORTS_SAVE ) CONS( 1977, cnsector, 0, 0, cnsector, cnsector, driver_device, 0, "Parker Brothers", "Code Name: Sector", GAME_SUPPORTS_SAVE | GAME_NO_SOUND_HW ) // unplayable without writing board -CONS( 1978, merlin, 0, 0, merlin, merlin, driver_device, 0, "Parker Brothers", "Merlin", GAME_SUPPORTS_SAVE ) +CONS( 1978, merlin, 0, 0, merlin, merlin, driver_device, 0, "Parker Brothers", "Merlin - The Electronic Wizard", GAME_SUPPORTS_SAVE ) CONS( 1979, stopthie, 0, 0, stopthief, stopthief, driver_device, 0, "Parker Brothers", "Stop Thief (Electronic Crime Scanner)", GAME_SUPPORTS_SAVE ) // unplayable without game board CONS( 1979, stopthiep, stopthie, 0, stopthief, stopthief, driver_device, 0, "Parker Brothers", "Stop Thief (Electronic Crime Scanner) (prototype)", GAME_SUPPORTS_SAVE | GAME_NOT_WORKING ) CONS( 1980, bankshot, 0, 0, bankshot, bankshot, driver_device, 0, "Parker Brothers", "Bank Shot - Electronic Pool", GAME_SUPPORTS_SAVE ) diff --git a/src/mess/layout/ebball3.lay b/src/mess/layout/ebball3.lay new file mode 100644 index 00000000000..48bcb51853b --- /dev/null +++ b/src/mess/layout/ebball3.lay @@ -0,0 +1,199 @@ +<?xml version="1.0"?> +<mamelayout version="2"> + +<!-- define elements --> + + <element name="static_black"><rect><color red="0.0" green="0.0" blue="0.0" /></rect></element> + <element name="disk_black"><disk><color red="0.0" green="0.0" blue="0.0" /></disk></element> + <element name="disk_green"><disk><color red="0.0" green="0.38" blue="0.15" /></disk></element> + <element name="static_white"><rect><color red="0.75" green="0.75" blue="0.75" /></rect></element> + <element name="disk_white"><disk><color red="0.75" green="0.75" blue="0.75" /></disk></element> + <element name="disk_white2"><disk><color red="0.85" green="0.85" blue="0.85" /></disk></element> + +<!-- background is dark-red, to hide the leds --> + + <element name="static_bg"><rect><color red="0.2" green="0.04" blue="0.05" /></rect></element> + <element name="disk_bg"><disk><color red="0.2" green="0.04" blue="0.05" /></disk></element> + + + <element name="field_guy"> + <rect><color red="0.0" green="0.38" blue="0.15" /></rect> + <text string=":-)"><color red="0.85" green="0.85" blue="0.85" /></text> + </element> + <element name="base_guy"> + <rect><color red="0.2" green="0.04" blue="0.05" /></rect> + <text string=":-)"><color red="0.85" green="0.85" blue="0.85" /></text> + </element> + <element name="pitcher"> + <rect><color red="0.2" green="0.04" blue="0.05" /></rect> + <text string=":-P"><color red="0.85" green="0.85" blue="0.85" /></text> + </element> + + <element name="text_s"><text string="S" align="1"><color red="0.95" green="0.95" blue="0.95" /></text></element> + <element name="text_b"><text string="B" align="1"><color red="0.95" green="0.95" blue="0.95" /></text></element> + <element name="text_o"><text string="O" align="1"><color red="0.95" green="0.95" blue="0.95" /></text></element> + + <element name="text_s2"> + <rect><color red="0.2" green="0.04" blue="0.05" /></rect> + <text string="S"><color red="0.95" green="0.95" blue="0.95" /></text> + </element> + <element name="text_b2"><text string="B"><color red="0.95" green="0.95" blue="0.95" /></text></element> + + <element name="text_single"><text string="1B"><color red="0.95" green="0.95" blue="0.95" /></text></element> + <element name="text_double"><text string="2B"><color red="0.95" green="0.95" blue="0.95" /></text></element> + <element name="text_triple"><text string="3B"><color red="0.95" green="0.95" blue="0.95" /></text></element> + + <element name="text_home"><text string="HOME" align="2"><color red="0.95" green="0.95" blue="0.95" /></text></element> + <element name="text_run"><text string="RUN" align="1"><color red="0.95" green="0.95" blue="0.95" /></text></element> + + <element name="text_score"><text string="SCORE"><color red="0.4" green="0.4" blue="0.4" /></text></element> + <element name="text_count"><text string="COUNT"><color red="0.4" green="0.4" blue="0.4" /></text></element> + + + <element name="digit" defstate="0"> + <led7seg><color red="1.0" green="0.20" blue="0.22" /></led7seg> + </element> + + <element name="led" defstate="0"> + <disk state="0"><color red="0.2" green="0.04" blue="0.05" /></disk> + <disk state="1"><color red="1.0" green="0.20" blue="0.22" /></disk> + </element> + + + +<!-- build screen --> + + <view name="Internal Layout"> + <bounds left="0" right="100" top="0" bottom="114" /> + <bezel element="static_black"> + <bounds left="0" right="100" top="0" bottom="114" /> + </bezel> + + <!-- outer bezel --> + + <bezel element="text_score"><bounds x="5.5" y="2" width="8" height="3" /></bezel> + <bezel element="text_count"><bounds x="86" y="2" width="8" height="3" /></bezel> + + <bezel name="digit8" element="digit"><bounds x="5" y="7" width="8" height="12" /></bezel> + + <bezel element="text_s"><bounds x="82.5" y="7.2" width="2" height="2.5" /></bezel> + <bezel name="lamp70" element="led"><bounds x="86" y="7" width="3" height="3" /></bezel> + <bezel name="lamp71" element="led"><bounds x="90" y="7" width="3" height="3" /></bezel> + + <bezel element="text_b"><bounds x="82.5" y="11.2" width="2" height="2.5" /></bezel> + <bezel name="lamp60" element="led"><bounds x="86" y="11" width="3" height="3" /></bezel> + <bezel name="lamp61" element="led"><bounds x="90" y="11" width="3" height="3" /></bezel> + <bezel name="lamp62" element="led"><bounds x="94" y="11" width="3" height="3" /></bezel> + + <bezel element="text_o"><bounds x="82.5" y="15.2" width="2" height="2.5" /></bezel> + <bezel name="lamp72" element="led"><bounds x="86" y="15" width="3" height="3" /></bezel> + <bezel name="lamp73" element="led"><bounds x="90" y="15" width="3" height="3" /></bezel> + + + <!-- board --> + + <bezel element="disk_green"><bounds x="-5" y="25" width="110" height="110" /></bezel> + <bezel element="static_black"><bounds x="-10" y="75" width="120" height="65" /></bezel> + <bezel element="disk_bg"><bounds x="15" y="45" width="70" height="70" /></bezel> + <bezel element="static_black"><bounds x="0" y="85" width="100" height="40" /></bezel> + <bezel element="static_bg"><bounds x="15" y="75" width="70" height="26" /></bezel> + <bezel element="disk_bg"><bounds x="40" y="91" width="20" height="20" /></bezel> + + <!-- top edge --> + + <bezel element="disk_black"><bounds x="-1.3" y="44.7" width="10" height="10" /></bezel> + <bezel element="disk_black"><bounds x="91.3" y="44.7" width="10" height="10" /></bezel> + <bezel name="lamp43" element="led"><bounds x="2.2" y="48.2" width="3" height="3" /></bezel> + <bezel name="lamp50" element="led"><bounds x="94.8" y="48.2" width="3" height="3" /></bezel> + <bezel element="text_triple"><bounds x="2.2" y="44.5" width="3" height="2.5" /></bezel> + <bezel element="text_double"><bounds x="94.8" y="44.5" width="3" height="2.5" /></bezel> + + <bezel element="disk_black"><bounds x="18.5" y="26.5" width="10" height="10" /></bezel> + <bezel element="disk_black"><bounds x="71.5" y="26.5" width="10" height="10" /></bezel> + <bezel name="lamp53" element="led"><bounds x="22" y="30" width="3" height="3" /></bezel> + <bezel name="lamp51" element="led"><bounds x="75" y="30" width="3" height="3" /></bezel> + <bezel element="text_single"><bounds x="22" y="26.3" width="3" height="2.5" /></bezel> + <bezel element="text_single"><bounds x="75" y="26.3" width="3" height="2.5" /></bezel> + + <bezel element="disk_white2"><bounds x="45" y="20" width="10" height="10" /></bezel> + <bezel element="disk_black"><bounds x="45.5" y="20.5" width="9" height="9" /></bezel> + <bezel name="lamp52" element="led"><bounds x="48.5" y="23.5" width="3" height="3" /></bezel> + <bezel element="text_home"><bounds x="36" y="21.5" width="8" height="2.5" /></bezel> + <bezel element="text_run"><bounds x="56.5" y="21.5" width="8" height="2.5" /></bezel> + + <!-- field --> + + <bezel element="field_guy"><bounds x="13" y="48.5" width="3" height="3" /></bezel> + <bezel element="disk_bg"><bounds x="12" y="52" width="5" height="5" /></bezel> + <bezel name="lamp42" element="led"><bounds x="13" y="53" width="3" height="3" /></bezel> + + <bezel element="field_guy"><bounds x="48.5" y="31.5" width="3" height="3" /></bezel> + <bezel element="disk_bg"><bounds x="47.5" y="35" width="5" height="5" /></bezel> + <bezel name="lamp41" element="led"><bounds x="48.5" y="36" width="3" height="3" /></bezel> + + <bezel element="field_guy"><bounds x="84" y="48.5" width="3" height="3" /></bezel> + <bezel element="disk_bg"><bounds x="83" y="52" width="5" height="5" /></bezel> + <bezel name="lamp40" element="led"><bounds x="84" y="53" width="3" height="3" /></bezel> + + <!-- pitcher --> + + <bezel element="pitcher"><bounds x="48.5" y="66.5" width="3" height="3" /></bezel> + <bezel element="static_white"><bounds x="46" y="71" width="0.5" height="18.5" /></bezel> + <bezel element="static_white"><bounds x="53.5" y="71" width="0.5" height="18.5" /></bezel> + + <bezel name="lamp23" element="led"><bounds x="48.5" y="70.5" width="3" height="3" /></bezel> + <bezel name="lamp0" element="led"><bounds x="48.5" y="76" width="3" height="3" /></bezel> + <bezel name="lamp1" element="led"><bounds x="48.5" y="81.5" width="3" height="3" /></bezel> + <bezel name="lamp2" element="led"><bounds x="48.5" y="87" width="3" height="3" /></bezel> + + <bezel name="lamp10" element="led"><bounds x="45" y="92.5" width="3" height="3" /></bezel> + <bezel name="lamp13" element="led"><bounds x="52" y="92.5" width="3" height="3" /></bezel> + + <!-- bases --> + + <bezel element="base_guy"><bounds x="70" y="58" width="3" height="3" /></bezel> + <bezel name="lamp30" element="led"><bounds x="70" y="62" width="3" height="3" /></bezel> + + <bezel element="base_guy"><bounds x="61" y="49" width="3" height="3" /></bezel> + <bezel name="lamp31" element="led"><bounds x="61" y="53" width="3" height="3" /></bezel> + + <bezel element="base_guy"><bounds x="36" y="49" width="3" height="3" /></bezel> + <bezel name="lamp32" element="led"><bounds x="36" y="53" width="3" height="3" /></bezel> + + <bezel element="base_guy"><bounds x="27" y="58" width="3" height="3" /></bezel> + <bezel name="lamp33" element="led"><bounds x="27" y="62" width="3" height="3" /></bezel> + + <bezel element="static_white"><bounds x="72" y="72" width="6" height="6" /></bezel> + <bezel element="static_bg"><bounds x="72.5" y="72.5" width="5" height="5" /></bezel> + <bezel name="lamp20" element="led"><bounds x="73.5" y="73.5" width="3" height="3" /></bezel> + + <bezel element="static_white"><bounds x="47" y="47" width="6" height="6" /></bezel> + <bezel element="static_bg"><bounds x="47.5" y="47.5" width="5" height="5" /></bezel> + <bezel name="lamp21" element="led"><bounds x="48.5" y="48.5" width="3" height="3" /></bezel> + + <bezel element="static_white"><bounds x="22" y="72" width="6" height="6" /></bezel> + <bezel element="static_bg"><bounds x="22.5" y="72.5" width="5" height="5" /></bezel> + <bezel name="lamp22" element="led"><bounds x="23.5" y="73.5" width="3" height="3" /></bezel> + + <!-- home --> + + <bezel element="static_white"><bounds x="47" y="97" width="6" height="3" /></bezel> + <bezel element="disk_white"><bounds x="47" y="97" width="6" height="6" /></bezel> + <bezel element="static_bg"><bounds x="47.5" y="97.5" width="5" height="2.51" /></bezel> + <bezel element="disk_bg"><bounds x="47.5" y="97.5" width="5" height="5" /></bezel> + + <bezel element="text_b2"><bounds x="42.5" y="108.3" width="3" height="2.5" /></bezel> + <bezel name="lamp11" element="led"><bounds x="42.5" y="98.5" width="3" height="3" /></bezel> + <bezel name="lamp12" element="led"><bounds x="42.5" y="104" width="3" height="3" /></bezel> + + <bezel element="text_s2"><bounds x="48.5" y="108.3" width="3" height="2.5" /></bezel> + <bezel name="lamp3" element="led"><bounds x="48.5" y="98.5" width="3" height="3" /></bezel> + <bezel name="lamp4" element="led"><bounds x="48.5" y="104" width="3" height="3" /></bezel> + + <bezel element="text_b2"><bounds x="54.5" y="108.3" width="3" height="2.5" /></bezel> + <bezel name="lamp14" element="led"><bounds x="54.5" y="98.5" width="3" height="3" /></bezel> + <bezel name="lamp15" element="led"><bounds x="54.5" y="104" width="3" height="3" /></bezel> + + + </view> +</mamelayout> diff --git a/src/mess/mess.lst b/src/mess/mess.lst index e5c33ba56f7..dd591dd6c72 100644 --- a/src/mess/mess.lst +++ b/src/mess/mess.lst @@ -2192,6 +2192,7 @@ mathmagi // APF amaztron // Coleco tc4 // Coleco ebball // Entex +ebball3 // Entex elecdet // Ideal starwbc // Kenner starwbcp // Kenner (prototype) diff --git a/src/mess/mess.mak b/src/mess/mess.mak index 86d6eb25c54..b26b547f594 100644 --- a/src/mess/mess.mak +++ b/src/mess/mess.mak @@ -2138,6 +2138,7 @@ $(MESS_DRIVERS)/hh_tms1k.o: $(MESS_LAYOUT)/amaztron.lh \ $(MESS_LAYOUT)/cnsector.lh \ $(MESS_LAYOUT)/comp4.lh \ $(MESS_LAYOUT)/ebball.lh \ + $(MESS_LAYOUT)/ebball3.lh \ $(MESS_LAYOUT)/elecdet.lh \ $(MESS_LAYOUT)/mathmagi.lh \ $(MESS_LAYOUT)/merlin.lh \ |