mirror of
https://github.com/holub/mame
synced 2025-04-25 17:56:43 +03:00
added ebball2 outputs
This commit is contained in:
parent
d4a5e95c60
commit
eb960ff5da
@ -159,6 +159,7 @@ public:
|
||||
DECLARE_WRITE16_MEMBER(ebball_write_o);
|
||||
DECLARE_READ8_MEMBER(ebball_read_k);
|
||||
|
||||
void ebball2_display();
|
||||
DECLARE_WRITE16_MEMBER(ebball2_write_r);
|
||||
DECLARE_WRITE16_MEMBER(ebball2_write_o);
|
||||
DECLARE_READ8_MEMBER(ebball2_read_k);
|
||||
@ -946,14 +947,20 @@ MACHINE_CONFIG_END
|
||||
/***************************************************************************
|
||||
|
||||
Entex Electronic Baseball 2
|
||||
* TMS1000 MP0923 (die labeled MP0923)
|
||||
* boards are labeled: ZENY
|
||||
* TMS1000 MCU, MP0923 (die labeled MP0923)
|
||||
|
||||
The Japanese version was published by Gakken, black casing instead of white.
|
||||
|
||||
The sequel to Entex Baseball, this version keeps up with score and innings.
|
||||
As its predecessor, the pitcher controls are on a separate joypad.
|
||||
|
||||
|
||||
lamp translation table: led zz from game PCB = MESS lampyx:
|
||||
|
||||
00 = - 10 = lamp94 20 = lamp74 30 = lamp50
|
||||
01 = lamp53 11 = lamp93 21 = lamp75 31 = lamp51
|
||||
02 = lamp07 12 = lamp92 22 = lamp80 32 = lamp52
|
||||
02 = lamp7 12 = lamp92 22 = lamp80 32 = lamp52
|
||||
03 = lamp17 13 = lamp62 23 = lamp81 33 = lamp40
|
||||
04 = lamp27 14 = lamp70 24 = lamp82 34 = lamp41
|
||||
05 = lamp97 15 = lamp71 25 = lamp83 35 = lamp31
|
||||
@ -964,16 +971,38 @@ MACHINE_CONFIG_END
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
void hh_tms1k_state::ebball2_display()
|
||||
{
|
||||
// the first 3 are 7segs
|
||||
for (int y = 0; y < 3; y++)
|
||||
m_display_segmask[y] = 0x7f;
|
||||
|
||||
display_matrix(8, 10, ~m_o, m_r);
|
||||
}
|
||||
|
||||
WRITE16_MEMBER(hh_tms1k_state::ebball2_write_r)
|
||||
{
|
||||
// R3-R6: input mux
|
||||
m_inp_mux = data >> 3 & 0xf;
|
||||
|
||||
// R10: speaker out
|
||||
m_speaker->level_w(data >> 10 & 1);
|
||||
|
||||
// R0-R9: led columns
|
||||
m_r = data;
|
||||
ebball2_display();
|
||||
}
|
||||
|
||||
WRITE16_MEMBER(hh_tms1k_state::ebball2_write_o)
|
||||
{
|
||||
// O0-O7: led row/segment
|
||||
m_o = data;
|
||||
ebball2_display();
|
||||
}
|
||||
|
||||
READ8_MEMBER(hh_tms1k_state::ebball2_read_k)
|
||||
{
|
||||
if (m_inp_mux&1) return 2;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -991,7 +1020,7 @@ static MACHINE_CONFIG_START( ebball2, hh_tms1k_state )
|
||||
MCFG_TMS1XXX_WRITE_O_CB(WRITE16(hh_tms1k_state, ebball2_write_o))
|
||||
|
||||
MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", hh_tms1k_state, display_decay_tick, attotime::from_msec(1))
|
||||
MCFG_DEFAULT_LAYOUT(layout_ebball)
|
||||
MCFG_DEFAULT_LAYOUT(layout_ebball2)
|
||||
|
||||
/* no video! */
|
||||
|
||||
@ -1008,13 +1037,12 @@ MACHINE_CONFIG_END
|
||||
/***************************************************************************
|
||||
|
||||
Entex Electronic Baseball 3
|
||||
* boards are labeled: Zeny
|
||||
* boards are labeled: ZENY
|
||||
* TMS1100NLL 6007 MP1204 (die labeled MP1204)
|
||||
* 2*SN75492N LED display driver
|
||||
|
||||
This is another improvement over Entex Baseball, where gameplay is a bit more
|
||||
varied, and it keeps up with score and innings. Like the others, the pitcher
|
||||
controls are on a separate joypad.
|
||||
varied. Like the others, the pitcher controls are on a separate joypad.
|
||||
|
||||
|
||||
lamp translation table: led zz from game PCB = MESS lampyx:
|
||||
@ -1575,7 +1603,7 @@ MACHINE_CONFIG_END
|
||||
/***************************************************************************
|
||||
|
||||
Parker Brothers Code Name: Sector, by Bob Doyle
|
||||
* MP0905BNL ZA0379 (die labeled 0970F-05B)
|
||||
* TMS0970 MCU, MP0905BNL ZA0379 (die labeled 0970F-05B)
|
||||
|
||||
This is a tabletop submarine pursuit game. A grid board and small toy
|
||||
boats are used to remember your locations (a Paint app should be ok too).
|
||||
@ -2067,7 +2095,7 @@ MACHINE_CONFIG_END
|
||||
/***************************************************************************
|
||||
|
||||
Tandy Radio Shack Computerized Arcade (1981, 1982, 1995)
|
||||
* TMS1100 CD7282SL
|
||||
* TMS1100 MCU, labeled CD7282SL
|
||||
|
||||
This handheld contains 12 minigames. It looks and plays like "Fabulous Fred"
|
||||
by the Japanese company Mego Corp. in 1980, which in turn is a mix of Merlin
|
||||
|
@ -46,8 +46,7 @@
|
||||
<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="text_count"><text string="COUNT"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
|
||||
|
||||
<element name="digit" defstate="0">
|
||||
@ -71,23 +70,32 @@
|
||||
|
||||
<!-- 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 name="digit0" element="digit"><bounds x="5" y="7" width="8" height="12" /></bezel>
|
||||
<bezel name="digit1" element="digit"><bounds x="15" y="7" width="8" height="12" /></bezel>
|
||||
<bezel name="digit2" element="digit"><bounds x="25" y="7" width="8" height="12" /></bezel>
|
||||
|
||||
|
||||
<bezel name="lamp33" element="led"><bounds x="35" y="10" width="3" height="3" /></bezel>
|
||||
<bezel name="lamp32" element="led"><bounds x="45" y="10" width="3" height="3" /></bezel>
|
||||
|
||||
<bezel name="lamp31" element="led"><bounds x="30" y="20" width="3" height="3" /></bezel>
|
||||
<bezel name="lamp30" element="led"><bounds x="40" y="20" width="3" height="3" /></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 name="lamp40" element="led"><bounds x="86" y="7" width="3" height="3" /></bezel>
|
||||
<bezel name="lamp41" 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 name="lamp50" element="led"><bounds x="86" y="11" width="3" height="3" /></bezel>
|
||||
<bezel name="lamp51" element="led"><bounds x="90" y="11" width="3" height="3" /></bezel>
|
||||
<bezel name="lamp52" 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>
|
||||
<bezel name="lamp42" element="led"><bounds x="86" y="15" width="3" height="3" /></bezel>
|
||||
<bezel name="lamp43" element="led"><bounds x="90" y="15" width="3" height="3" /></bezel>
|
||||
|
||||
|
||||
<!-- board -->
|
||||
@ -103,21 +111,21 @@
|
||||
|
||||
<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 name="lamp81" element="led"><bounds x="2.2" y="48.2" width="3" height="3" /></bezel>
|
||||
<bezel name="lamp85" 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 name="lamp82" element="led"><bounds x="22" y="30" width="3" height="3" /></bezel>
|
||||
<bezel name="lamp84" 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 name="lamp83" 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>
|
||||
|
||||
@ -125,15 +133,15 @@
|
||||
|
||||
<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 name="lamp74" 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 name="lamp75" 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>
|
||||
<bezel name="lamp80" element="led"><bounds x="84" y="53" width="3" height="3" /></bezel>
|
||||
|
||||
<!-- pitcher -->
|
||||
|
||||
@ -141,39 +149,39 @@
|
||||
<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="lamp53" element="led"><bounds x="48.5" y="70.5" width="3" height="3" /></bezel>
|
||||
<bezel name="lamp7" element="led"><bounds x="48.5" y="76" width="3" height="3" /></bezel>
|
||||
<bezel name="lamp17" element="led"><bounds x="48.5" y="81.5" width="3" height="3" /></bezel>
|
||||
<bezel name="lamp27" 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>
|
||||
<bezel name="lamp97" element="led"><bounds x="45" y="92.5" width="3" height="3" /></bezel>
|
||||
<bezel name="lamp90" 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 name="lamp73" 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 name="lamp72" 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 name="lamp71" 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 name="lamp70" 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 name="lamp60" 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 name="lamp61" 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>
|
||||
<bezel name="lamp62" element="led"><bounds x="23.5" y="73.5" width="3" height="3" /></bezel>
|
||||
|
||||
<!-- home -->
|
||||
|
||||
@ -183,16 +191,16 @@
|
||||
<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 name="lamp95" element="led"><bounds x="42.5" y="98.5" width="3" height="3" /></bezel>
|
||||
<bezel name="lamp94" 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 name="lamp63" element="led"><bounds x="48.5" y="98.5" width="3" height="3" /></bezel>
|
||||
<bezel name="lamp93" 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>
|
||||
<bezel name="lamp91" element="led"><bounds x="54.5" y="98.5" width="3" height="3" /></bezel>
|
||||
<bezel name="lamp92" element="led"><bounds x="54.5" y="104" width="3" height="3" /></bezel>
|
||||
|
||||
|
||||
</view>
|
||||
|
Loading…
Reference in New Issue
Block a user