mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
Added coin counter and lockout to Asterix [Angelo Salese]
This commit is contained in:
parent
0d7ea6afb4
commit
e9e9761697
@ -40,6 +40,14 @@ WRITE16_MEMBER(asterix_state::control2_w)
|
||||
|
||||
/* bit 5 is select tile bank */
|
||||
m_k056832->set_tile_bank((data & 0x20) >> 5);
|
||||
// TODO: looks like 0xffff is used from time to time for chip selection/reset something, not unlike Jackal
|
||||
if((data & 0xff) != 0xff)
|
||||
{
|
||||
machine().bookkeeping().coin_counter_w(0, data & 0x08);
|
||||
machine().bookkeeping().coin_counter_w(1, data & 0x10);
|
||||
machine().bookkeeping().coin_lockout_w(0, data & 0x40);
|
||||
machine().bookkeeping().coin_lockout_w(1, data & 0x80);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user