mirror of
https://github.com/holub/mame
synced 2025-05-07 23:02:33 +03:00
added remaining lamp outputs
This commit is contained in:
parent
022ace4d67
commit
e85ce27b0a
@ -223,12 +223,20 @@ static WRITE8_DEVICE_HANDLER( jankenmn_lamps2_w )
|
|||||||
|
|
||||||
static WRITE8_DEVICE_HANDLER( jankenmn_lamps3_w )
|
static WRITE8_DEVICE_HANDLER( jankenmn_lamps3_w )
|
||||||
{
|
{
|
||||||
// TODO: multiplier lamps (doesn't look like the one in the .lay)
|
// d1: blue rotating lamp on top of cab
|
||||||
|
output_set_lamp_value(2, data >> 1 & 1);
|
||||||
|
|
||||||
//$10=left(1)
|
// d2: payout (waits for payout sensor)
|
||||||
//$08=right(2)
|
// TODO
|
||||||
|
|
||||||
//printf("%02X ",data);
|
// d3: right multiplier lamp(2), d4: left multiplier lamp(1)
|
||||||
|
output_set_lamp_value(0, data >> 4 & 1);
|
||||||
|
output_set_lamp_value(1, data >> 3 & 1);
|
||||||
|
|
||||||
|
// d5: assume coin lockout
|
||||||
|
coin_lockout_global_w(device->machine(), ~data & 0x20);
|
||||||
|
|
||||||
|
// d0, d6, d7: N/C?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user