mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
video21: first 4 buttons on cabinet are: bet/einsatz, start, card/karte, stop (nw)
This commit is contained in:
parent
044370414f
commit
927ece665c
@ -132,8 +132,8 @@ WRITE8_MEMBER(video21_state::lamp1_w)
|
||||
m_hopper_motor = BIT(data, 4);
|
||||
|
||||
// lamps:
|
||||
// d5: take/stand(which?)
|
||||
// d6: take/stand(which?)
|
||||
// d5: card/stop(which?)
|
||||
// d6: card/stop(which?)
|
||||
// d7: start
|
||||
for (int i = 0; i < 3; i++)
|
||||
m_lamps[i+0] = BIT(data, 7-i);
|
||||
@ -200,8 +200,8 @@ static INPUT_PORTS_START( video21 )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START1 )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_STAND )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Card")
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_STAND ) PORT_NAME("Stop")
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_CUSTOM_MEMBER(DEVICE_SELF, video21_state, hopper_coinout_r, nullptr)
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen")
|
||||
|
@ -35,27 +35,27 @@
|
||||
</text>
|
||||
</element>
|
||||
|
||||
<element name="take" defstate="0">
|
||||
<element name="card" defstate="0">
|
||||
<rect state="1">
|
||||
<color red="1.0" green="0.0" blue="0.0" />
|
||||
</rect>
|
||||
<rect state="0">
|
||||
<color red="0.3" green="0.0" blue="0.0" />
|
||||
</rect>
|
||||
<text string="Take">
|
||||
<text string="Card">
|
||||
<color red="0.0" green="0.0" blue="0.0" />
|
||||
<bounds x="0.1" y="0.25" width="0.8" height="0.5" />
|
||||
</text>
|
||||
</element>
|
||||
|
||||
<element name="stand" defstate="0">
|
||||
<element name="stop" defstate="0">
|
||||
<rect state="1">
|
||||
<color red="1.0" green="0.0" blue="0.0" />
|
||||
</rect>
|
||||
<rect state="0">
|
||||
<color red="0.3" green="0.0" blue="0.0" />
|
||||
</rect>
|
||||
<text string="Stand">
|
||||
<text string="Stop">
|
||||
<color red="0.0" green="0.0" blue="0.0" />
|
||||
<bounds x="0.1" y="0.25" width="0.8" height="0.5" />
|
||||
</text>
|
||||
@ -117,10 +117,10 @@
|
||||
<bezel name="lamp0" element="start" inputtag="IN42" inputmask="0x04">
|
||||
<bounds x="0.4" y="3.05" width="0.35" height="0.24" />
|
||||
</bezel>
|
||||
<bezel name="lamp1" element="take" inputtag="IN42" inputmask="0x08">
|
||||
<bezel name="lamp1" element="card" inputtag="IN42" inputmask="0x08">
|
||||
<bounds x="0.8" y="3.05" width="0.35" height="0.24" />
|
||||
</bezel>
|
||||
<bezel name="lamp2" element="stand" inputtag="IN42" inputmask="0x10">
|
||||
<bezel name="lamp2" element="stop" inputtag="IN42" inputmask="0x10">
|
||||
<bounds x="1.2" y="3.05" width="0.35" height="0.24" />
|
||||
</bezel>
|
||||
<bezel name="lamp3" element="accept" inputtag="IN44" inputmask="0x40">
|
||||
|
Loading…
Reference in New Issue
Block a user