From a73f4938bccf3e2b9e1ae9c31ca62b5ba8068865 Mon Sep 17 00:00:00 2001 From: hap Date: Mon, 27 Feb 2017 22:32:15 +0100 Subject: hh_tms1k: skeleton driver for Conic IQ (nw) --- src/mame/drivers/hh_cop400.cpp | 2 +- src/mame/drivers/hh_pic16.cpp | 10 +-- src/mame/drivers/hh_tms1k.cpp | 146 ++++++++++++++++++++++++++++++++++------- src/mame/drivers/hh_ucom4.cpp | 4 +- src/mame/mame.lst | 1 + 5 files changed, 133 insertions(+), 30 deletions(-) diff --git a/src/mame/drivers/hh_cop400.cpp b/src/mame/drivers/hh_cop400.cpp index 89fba606990..f7f478acb8a 100644 --- a/src/mame/drivers/hh_cop400.cpp +++ b/src/mame/drivers/hh_cop400.cpp @@ -595,7 +595,7 @@ MACHINE_CONFIG_END known releases: - USA: I Took a Lickin' From a Chicken - - Japan: Professor Chicken's Genius Classroom 「にわとり博士の天才教室」, distributed by Bandai + - Japan: Professor Chicken's Genius Classroom 「にわとり博士の天才教室」, published by Bandai (not sure if it's the same ROM, or just licensed the outer shell) ***************************************************************************/ diff --git a/src/mame/drivers/hh_pic16.cpp b/src/mame/drivers/hh_pic16.cpp index 0aaff36f731..d481ccf11e7 100644 --- a/src/mame/drivers/hh_pic16.cpp +++ b/src/mame/drivers/hh_pic16.cpp @@ -961,8 +961,8 @@ MACHINE_CONFIG_END known releases: - Hong Kong: Rocket Pinball - - USA(1): Rocket Pinball (model 60-2140), distributed by Tandy - - USA(2): Cosmic Pinball (model 49-65456), distributed by Sears + - USA(1): Rocket Pinball (model 60-2140), published by Tandy + - USA(2): Cosmic Pinball (model 49-65456), published by Sears ***************************************************************************/ @@ -1078,7 +1078,7 @@ MACHINE_CONFIG_END known releases: - Hong Kong: Half Court Computer Basketball - - USA: Electronic Basketball (model 49-65453), distributed by Sears + - USA: Electronic Basketball (model 49-65453), published by Sears ***************************************************************************/ @@ -1340,7 +1340,7 @@ MACHINE_CONFIG_END known releases: - USA(1): Half Court Computer Basketball - - USA(2): 2-Player Baseball (model 60-2157), distributed by Tandy + - USA(2): 2-Player Baseball (model 60-2157), published by Tandy ***************************************************************************/ @@ -1416,7 +1416,7 @@ MACHINE_CONFIG_END known releases: - USA(1): Football - - USA(2): 2-Player Baseball (model 60-2157), distributed by Tandy + - USA(2): 2-Player Baseball (model 60-2157), published by Tandy ***************************************************************************/ diff --git a/src/mame/drivers/hh_tms1k.cpp b/src/mame/drivers/hh_tms1k.cpp index 9623f2ee921..10f1899c613 100644 --- a/src/mame/drivers/hh_tms1k.cpp +++ b/src/mame/drivers/hh_tms1k.cpp @@ -27,7 +27,7 @@ *MP0230 TMS1000 1980, Entex Blast It (6015) @MP0271 TMS1000 1982, Tandy Radio Shack Monkey See @MP0907 TMS1000 1979, Conic Basketball (101-006) - *MP0908 TMS1000 1979, Conic I.Q. + @MP0908 TMS1000 1979, Conic I.Q. *MP0910 TMS1000 1979, Conic Basketball (101-003) @MP0914 TMS1000 1979, Entex Baseball 1 @MP0915 TMS1000 1979, Bandai System Control Car: Cheetah/The Incredible Brain Buggy @@ -427,8 +427,8 @@ INPUT_CHANGED_MEMBER(hh_tms1k_state::power_button) known releases: - Japan: Match Number (white case, Queen playing card bezel) - - USA: Electronic Concentration, distributed by LJN (black case, rainbow pattern bezel) - - UK: Electronic Concentration, distributed by Peter Pan Playthings (same as USA version) + - USA: Electronic Concentration, published by LJN (black case, rainbow pattern bezel) + - UK: Electronic Concentration, published by Peter Pan Playthings (same as USA version) ***************************************************************************/ @@ -736,8 +736,8 @@ MACHINE_CONFIG_END known releases: - Japan: System Control Car: Cheetah - - USA: The Incredible Brain Buggy, distributed by Fundimensions - - UK: The Incredible Brain Buggy, distributed by Palitoy (same as USA version) + - USA: The Incredible Brain Buggy, published by Fundimensions + - UK: The Incredible Brain Buggy, published by Palitoy (same as USA version) ***************************************************************************/ @@ -1144,7 +1144,7 @@ MACHINE_CONFIG_END known releases: - USA(1): Electronic Quarterback - - USA(2): Electronic Touchdown, distributed by Sears + - USA(2): Electronic Touchdown, published by Sears ***************************************************************************/ @@ -1262,7 +1262,7 @@ MACHINE_CONFIG_END known releases: - USA(1): Head to Head Football - - USA(2): Team Play Football, distributed by Sears + - USA(2): Team Play Football, published by Sears ***************************************************************************/ @@ -1785,7 +1785,7 @@ MACHINE_CONFIG_END known releases: - Hong Kong: Electronic Basketball - - USA: Electronic Basketball, distributed by Cardinal + - USA: Electronic Basketball, published by Cardinal ***************************************************************************/ @@ -1895,8 +1895,8 @@ MACHINE_CONFIG_END known releases: - Hong Kong: Electronic Multisport - Hong Kong: Basketball/Ice Hockey/Soccer (3 separate handhelds) - - USA(1): Electronic Multisport, distributed by Innocron - - USA(2): Sports Arena, distributed by Tandy (model 60-2158) + - USA(1): Electronic Multisport, published by Innocron + - USA(2): Sports Arena, published by Tandy (model 60-2158) ***************************************************************************/ @@ -2248,6 +2248,96 @@ MACHINE_CONFIG_END +/*************************************************************************** + + Conic Electronic I.Q. + * TMS1000NLL MP0908 (die label 1000B, MP0908) + * 2 7seg LEDs, 30 other LEDs, 1-bit sound + + known releases: + - Hong Kong: Electronic I.Q. + - UK: Solitaire, published by Grandstand + +***************************************************************************/ + +class eleciq_state : public hh_tms1k_state +{ +public: + eleciq_state(const machine_config &mconfig, device_type type, const char *tag) + : hh_tms1k_state(mconfig, type, tag) + { } + + void prepare_display(); + DECLARE_WRITE16_MEMBER(write_r); + DECLARE_WRITE16_MEMBER(write_o); + DECLARE_READ8_MEMBER(read_k); +}; + +// handlers + +void eleciq_state::prepare_display() +{ + // R7,R8 are 7segs + set_display_segmask(0x180, 0x7f); + display_matrix(7, 9, m_o, m_r & ~1); +} + +WRITE16_MEMBER(eleciq_state::write_r) +{ + // R0: speaker out + m_speaker->level_w(data & 1); + + // R1-R6,R9: input mux + m_inp_mux = (data >> 1 & 0x3f) | (data >> 3 & 0x40); + + // R1-R8: led select + m_r = data; + prepare_display(); +} + +WRITE16_MEMBER(eleciq_state::write_o) +{ + // O0-O6: led/digit data + m_o = data; + prepare_display(); +} + +READ8_MEMBER(eleciq_state::read_k) +{ + // K: multiplexed inputs + return 0; + //return read_inputs(3); +} + + +// config + +static INPUT_PORTS_START( eleciq ) + PORT_START("IN.0") + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) +INPUT_PORTS_END + +static MACHINE_CONFIG_START( eleciq, eleciq_state ) + + /* basic machine hardware */ + MCFG_CPU_ADD("maincpu", TMS1000, 325000) // approximation - RC osc. R=47K, C=50pF + MCFG_TMS1XXX_READ_K_CB(READ8(eleciq_state, read_k)) + MCFG_TMS1XXX_WRITE_R_CB(WRITE16(eleciq_state, write_r)) + MCFG_TMS1XXX_WRITE_O_CB(WRITE16(eleciq_state, write_o)) + + MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", hh_tms1k_state, display_decay_tick, attotime::from_msec(1)) + //MCFG_DEFAULT_LAYOUT(layout_eleciq) + + /* 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 + + + + + /*************************************************************************** Entex (Electronic) Soccer @@ -3398,8 +3488,8 @@ MACHINE_CONFIG_END known releases: - World: 2 Player Baseball - - USA: 2 Player Baseball, distributed by Sears - - Canada: 2 Player Baseball, distributed by Talbot Electronics + - USA: 2 Player Baseball, published by Sears + - Canada: 2 Player Baseball, published by Talbot Electronics led translation table: led zz from game PCB = MAME y.x: @@ -3895,7 +3985,7 @@ MACHINE_CONFIG_END * 1 7seg led, 6 other leds, 1-bit sound This is a simple educational home computer. Refer to the extensive manual - for more information. It was distributed later in the USA by Tandy Radio Shack, + for more information. It was published later in the USA by Tandy Radio Shack, under their Science Fair series. Another 25 years later, Gakken re-released the R-165 as GMC-4, obviously on modern hardware, but fully compatible. @@ -4587,7 +4677,7 @@ MACHINE_CONFIG_END known releases: - USA: Thoroughbred Horse Race Analyzer - - China/Canada: Thoroughbred Horse Race Analyzer, distributed in 1994 by + - China/Canada: Thoroughbred Horse Race Analyzer, published in 1994 by Advanced Handicapping Technologies, Inc. ***************************************************************************/ @@ -6803,9 +6893,9 @@ MACHINE_CONFIG_END The hardware is almost the same as the MP1193 one, they added an extra row of leds. known releases: - - World(1): Superbowl XV Football, distributed by E.R.S.(Electronic Readout Systems) + - World(1): Superbowl XV Football, published by E.R.S.(Electronic Readout Systems) - World(2): Super-Pro Football, no brand - - USA: Championship Football (model 60-2151), distributed by Tandy + - USA: Championship Football (model 60-2151), published by Tandy ***************************************************************************/ @@ -6867,7 +6957,7 @@ MACHINE_CONFIG_END known releases: - World: Tandy-12: Computerized Arcade - - Mexico: Fabuloso Fred, distributed by Ensueño Toys (also released as + - Mexico: Fabuloso Fred, published by Ensueño Toys (also released as 9-button version, a clone of Mego Fabulous Fred) This handheld contains 12 minigames. It looks and plays like Game Robot 9 by @@ -7035,7 +7125,7 @@ MACHINE_CONFIG_END known releases: - USA(1): Monkey See - - USA(2): Heathcliff, distributed by McNaught Syndicate in 1983 + - USA(2): Heathcliff, published by McNaught Syndicate in 1983 ***************************************************************************/ @@ -7289,8 +7379,8 @@ MACHINE_CONFIG_END known releases: - World: Copy Cat - - USA(1): Follow Me, distributed by Sears - - USA(2): Electronic Repeat, distributed by Tandy + - USA(1): Follow Me, published by Sears + - USA(2): Electronic Repeat, published by Tandy ***************************************************************************/ @@ -7470,7 +7560,7 @@ MACHINE_CONFIG_END known releases: - World: Ditto - - USA: Electronic Pocket Repeat (model 60-2152/60-2468A), distributed by Tandy + - USA: Electronic Pocket Repeat (model 60-2152/60-2468A), published by Tandy note: 1996 model 60-2482 MCU is a Z8, and is assumed to be a clone of Tiger Copycat Jr. ***************************************************************************/ @@ -7545,7 +7635,7 @@ MACHINE_CONFIG_END known releases: - World: 7 in 1 Sports Stadium - - USA: 7 in 1 Sports, distributed by Sears + - USA: 7 in 1 Sports, published by Sears ***************************************************************************/ @@ -8266,6 +8356,17 @@ ROM_START( cnfball2 ) ROM_END +ROM_START( eleciq ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp0908", 0x0000, 0x0400, CRC(db59b82c) SHA1(c9a6bcba208969560495ad9f8775f53de16a69c3) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_eleciq_output.pla", 0, 365, CRC(b8e04232) SHA1(22eed6d9b1fb1e5c9974ea3df16cda71a39aad57) ) +ROM_END + + ROM_START( esoccer ) ROM_REGION( 0x0400, "maincpu", 0 ) ROM_LOAD( "mp0158.ic1", 0x0000, 0x0400, CRC(ae4581ea) SHA1(5f6881f8247094abf8cffb17f6e6586e94cff38c) ) @@ -8838,6 +8939,7 @@ CONS( 1979, cnbaskb, 0, 0, cnbaskb, cnbaskb, driver_device, 0, "Con CONS( 1979, cmsport, 0, 0, cmsport, cmsport, driver_device, 0, "Conic", "Electronic Multisport", MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK ) CONS( 1979, cnfball, 0, 0, cnfball, cnfball, driver_device, 0, "Conic", "Electronic Football (Conic, TMS1000 version)", MACHINE_SUPPORTS_SAVE ) CONS( 1979, cnfball2, 0, 0, cnfball2, cnfball2, driver_device, 0, "Conic", "Electronic Football II (Conic)", MACHINE_SUPPORTS_SAVE ) +CONS( 1979, eleciq, 0, 0, eleciq, eleciq, driver_device, 0, "Conic", "Electronic I.Q.", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) CONS( 1979, esoccer, 0, 0, esoccer, esoccer, driver_device, 0, "Entex", "Electronic Soccer (Entex)", MACHINE_SUPPORTS_SAVE ) CONS( 1979, ebball, 0, 0, ebball, ebball, driver_device, 0, "Entex", "Electronic Baseball (Entex)", MACHINE_SUPPORTS_SAVE ) diff --git a/src/mame/drivers/hh_ucom4.cpp b/src/mame/drivers/hh_ucom4.cpp index 796fa6bfeba..37a687f640d 100644 --- a/src/mame/drivers/hh_ucom4.cpp +++ b/src/mame/drivers/hh_ucom4.cpp @@ -1854,8 +1854,8 @@ MACHINE_CONFIG_END known releases: - Japan: Game Robot 9 - - USA: Fabulous Fred - The Ultimate Electronic Game, distributed by Mego - - Mexico: Fabuloso Fred, distributed by Ensueño Toys (also released as + - USA: Fabulous Fred - The Ultimate Electronic Game, published by Mego + - Mexico: Fabuloso Fred, published by Ensueño Toys (also released as 12-button version, a clone of Tandy-12) Accessories were included for some of the minigames. diff --git a/src/mame/mame.lst b/src/mame/mame.lst index bb28a2eb446..dd3a45065f0 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -14379,6 +14379,7 @@ efootb4 // Entex einvader // Entex elecbowl // Marx elecdet // Ideal +eleciq // Conic esbattle // Entex esoccer // Entex f2pbball // Fonas -- cgit v1.2.3