/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/machine/ |
H A D | toaplan1.c | 228 case 0x0c: coin_lockout_w(0,1); coin_lockout_w(2,1); break; in WRITE_HANDLER() 229 case 0x0d: coin_lockout_w(0,0); coin_lockout_w(2,0); break; in WRITE_HANDLER() 230 case 0x0e: coin_lockout_w(1,1); coin_lockout_w(3,1); break; in WRITE_HANDLER() 231 case 0x0f: coin_lockout_w(1,0); coin_lockout_w(3,0); toaplan1_coin_count=1; break; in WRITE_HANDLER() 246 case 0xe2: coin_counter_w(1,1); coin_counter_w(1,0); coin_lockout_w(1,1); break; in WRITE_HANDLER() 247 case 0xe1: coin_counter_w(0,1); coin_counter_w(0,0); coin_lockout_w(0,1); break; in WRITE_HANDLER() 254 case 0x08: coin_lockout_w(2,0); break; /* Unlock coin slot C */ in WRITE_HANDLER() 255 case 0x09: coin_lockout_w(0,0); break; /* Unlock coin slot A */ in WRITE_HANDLER() 256 case 0x0a: coin_lockout_w(1,0); break; /* Unlock coin slot B */ in WRITE_HANDLER() 258 case 0x02: coin_lockout_w(1,1); break; /* Lock coin slot B */ in WRITE_HANDLER() [all …]
|
H A D | twincobr.c | 302 case 0x0c: coin_lockout_w(0,1); coin_lockout_w(2,1); break; in WRITE_HANDLER() 303 case 0x0d: coin_lockout_w(0,0); coin_lockout_w(2,0); break; in WRITE_HANDLER() 304 case 0x0e: coin_lockout_w(1,1); coin_lockout_w(3,1); break; in WRITE_HANDLER() 305 case 0x0f: coin_lockout_w(1,0); coin_lockout_w(3,0); coin_count=1; break; in WRITE_HANDLER()
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/machine/ |
H A D | toaplan1_machine.c | 218 case 0x0c: coin_lockout_w(0,1); coin_lockout_w(2,1); break; in WRITE_HANDLER() 219 case 0x0d: coin_lockout_w(0,0); coin_lockout_w(2,0); break; in WRITE_HANDLER() 220 case 0x0e: coin_lockout_w(1,1); coin_lockout_w(3,1); break; in WRITE_HANDLER() 221 case 0x0f: coin_lockout_w(1,0); coin_lockout_w(3,0); toaplan1_coin_count=1; break; in WRITE_HANDLER() 237 case 0xe2: coin_counter_w(1,1); coin_counter_w(1,0); coin_lockout_w(1,1); break; in WRITE_HANDLER() 238 case 0xe1: coin_counter_w(0,1); coin_counter_w(0,0); coin_lockout_w(0,1); break; in WRITE_HANDLER() 245 case 0x08: coin_lockout_w(2,0); break; /* Unlock coin slot C */ in WRITE_HANDLER() 246 case 0x09: coin_lockout_w(0,0); break; /* Unlock coin slot A */ in WRITE_HANDLER() 247 case 0x0a: coin_lockout_w(1,0); break; /* Unlock coin slot B */ in WRITE_HANDLER() 249 case 0x02: coin_lockout_w(1,1); break; /* Lock coin slot B */ in WRITE_HANDLER() [all …]
|
H A D | tnzs_machine.c | 104 coin_lockout_w( 0, (data & 0x40) ); in WRITE_HANDLER() 105 coin_lockout_w( 1, (data & 0x80) ); in WRITE_HANDLER() 744 coin_lockout_w( 0, (~data & 0x04) ); in WRITE_HANDLER() 745 coin_lockout_w( 1, (~data & 0x08) ); in WRITE_HANDLER() 751 coin_lockout_w( 0, (~data & 0x10) ); in WRITE_HANDLER() 752 coin_lockout_w( 1, (~data & 0x20) ); in WRITE_HANDLER()
|
H A D | volfied_machine.c | 37 coin_lockout_w(1, data & 0x80); in WRITE16_HANDLER() 38 coin_lockout_w(0, data & 0x40); in WRITE16_HANDLER()
|
H A D | cchip.c | 82 coin_lockout_w(1, data & 0x08); in WRITE16_HANDLER() 83 coin_lockout_w(0, data & 0x04); in WRITE16_HANDLER()
|
H A D | twincobr_machine.c | 316 case 0x0c: coin_lockout_w(0,1); break; in toaplan0_coin_dsp_w() 317 case 0x0d: coin_lockout_w(0,0); break; in toaplan0_coin_dsp_w() 318 case 0x0e: coin_lockout_w(1,1); break; in toaplan0_coin_dsp_w() 319 case 0x0f: coin_lockout_w(1,0); break; in toaplan0_coin_dsp_w()
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/machine/ |
H A D | toaplan1_machine.c | 265 case 0x0c: coin_lockout_w(0,1); coin_lockout_w(2,1); break; in WRITE_HANDLER() 266 case 0x0d: coin_lockout_w(0,0); coin_lockout_w(2,0); break; in WRITE_HANDLER() 267 case 0x0e: coin_lockout_w(1,1); coin_lockout_w(3,1); break; in WRITE_HANDLER() 268 case 0x0f: coin_lockout_w(1,0); coin_lockout_w(3,0); toaplan1_coin_count=1; break; in WRITE_HANDLER() 284 case 0xe2: coin_counter_w(1,1); coin_counter_w(1,0); coin_lockout_w(1,1); break; in WRITE_HANDLER() 285 case 0xe1: coin_counter_w(0,1); coin_counter_w(0,0); coin_lockout_w(0,1); break; in WRITE_HANDLER() 292 case 0x08: coin_lockout_w(2,0); break; /* Unlock coin slot C */ in WRITE_HANDLER() 293 case 0x09: coin_lockout_w(0,0); break; /* Unlock coin slot A */ in WRITE_HANDLER() 294 case 0x0a: coin_lockout_w(1,0); break; /* Unlock coin slot B */ in WRITE_HANDLER() 296 case 0x02: coin_lockout_w(1,1); break; /* Lock coin slot B */ in WRITE_HANDLER() [all …]
|
H A D | tnzs_machine.c | 104 coin_lockout_w( 0, (data & 0x40) ); in WRITE_HANDLER() 105 coin_lockout_w( 1, (data & 0x80) ); in WRITE_HANDLER() 733 coin_lockout_w( 0, (~data & 0x04) ); in WRITE_HANDLER() 734 coin_lockout_w( 1, (~data & 0x08) ); in WRITE_HANDLER() 739 coin_lockout_w( 0, (~data & 0x10) ); in WRITE_HANDLER() 740 coin_lockout_w( 1, (~data & 0x20) ); in WRITE_HANDLER()
|
H A D | twincobr_machine.c | 316 case 0x0c: coin_lockout_w(0,1); break; in toaplan0_coin_dsp_w() 317 case 0x0d: coin_lockout_w(0,0); break; in toaplan0_coin_dsp_w() 318 case 0x0e: coin_lockout_w(1,1); break; in toaplan0_coin_dsp_w() 319 case 0x0f: coin_lockout_w(1,0); break; in toaplan0_coin_dsp_w()
|
H A D | volfied_machine.c | 37 coin_lockout_w(1, data & 0x80); in WRITE16_HANDLER() 38 coin_lockout_w(0, data & 0x40); in WRITE16_HANDLER()
|
H A D | cchip.c | 82 coin_lockout_w(1, data & 0x08); in WRITE16_HANDLER() 83 coin_lockout_w(0, data & 0x04); in WRITE16_HANDLER()
|
/dports/emulators/mess/mame-mame0226/src/mame/machine/ |
H A D | toaplan1.cpp | 188 machine().bookkeeping().coin_lockout_w(0, !state); in WRITE_LINE_MEMBER() 193 machine().bookkeeping().coin_lockout_w(1, !state); in WRITE_LINE_MEMBER() 209 …); machine().bookkeeping().coin_counter_w(1,0); machine().bookkeeping().coin_lockout_w(1,1); break; in coin_w() 210 …); machine().bookkeeping().coin_counter_w(0,0); machine().bookkeeping().coin_lockout_w(0,1); break; in coin_w() 217 case 0x08: machine().bookkeeping().coin_lockout_w(2,0); break; /* Unlock coin slot C */ in coin_w() 218 case 0x09: machine().bookkeeping().coin_lockout_w(0,0); break; /* Unlock coin slot A */ in coin_w() 219 case 0x0a: machine().bookkeeping().coin_lockout_w(1,0); break; /* Unlock coin slot B */ in coin_w() 221 case 0x02: machine().bookkeeping().coin_lockout_w(1,1); break; /* Lock coin slot B */ in coin_w() 222 case 0x01: machine().bookkeeping().coin_lockout_w(0,1); break; /* Lock coin slot A */ in coin_w()
|
H A D | tnzs.cpp | 57 machine().bookkeeping().coin_lockout_w(0, (data & 0x40) != 0 ? m_lockout_level : !m_lockout_level); in mcu_port2_w() 58 machine().bookkeeping().coin_lockout_w(1, (data & 0x80) != 0 ? m_lockout_level : !m_lockout_level); in mcu_port2_w() 420 machine().bookkeeping().coin_lockout_w(0, (~data & 0x04)); in bankswitch1_w() 421 machine().bookkeeping().coin_lockout_w(1, (~data & 0x08)); in bankswitch1_w() 429 machine().bookkeeping().coin_lockout_w(0, (~data & 0x10)); in bankswitch1_w() 430 machine().bookkeeping().coin_lockout_w(1, (~data & 0x20)); in bankswitch1_w()
|
H A D | wrally.cpp | 71 machine().bookkeeping().coin_lockout_w(0, !state); in WRITE_LINE_MEMBER() 76 machine().bookkeeping().coin_lockout_w(1, !state); in WRITE_LINE_MEMBER()
|
/dports/emulators/mame/mame-mame0226/src/mame/machine/ |
H A D | toaplan1.cpp | 188 machine().bookkeeping().coin_lockout_w(0, !state); in WRITE_LINE_MEMBER() 193 machine().bookkeeping().coin_lockout_w(1, !state); in WRITE_LINE_MEMBER() 209 …); machine().bookkeeping().coin_counter_w(1,0); machine().bookkeeping().coin_lockout_w(1,1); break; in coin_w() 210 …); machine().bookkeeping().coin_counter_w(0,0); machine().bookkeeping().coin_lockout_w(0,1); break; in coin_w() 217 case 0x08: machine().bookkeeping().coin_lockout_w(2,0); break; /* Unlock coin slot C */ in coin_w() 218 case 0x09: machine().bookkeeping().coin_lockout_w(0,0); break; /* Unlock coin slot A */ in coin_w() 219 case 0x0a: machine().bookkeeping().coin_lockout_w(1,0); break; /* Unlock coin slot B */ in coin_w() 221 case 0x02: machine().bookkeeping().coin_lockout_w(1,1); break; /* Lock coin slot B */ in coin_w() 222 case 0x01: machine().bookkeeping().coin_lockout_w(0,1); break; /* Lock coin slot A */ in coin_w()
|
H A D | tnzs.cpp | 57 machine().bookkeeping().coin_lockout_w(0, (data & 0x40) != 0 ? m_lockout_level : !m_lockout_level); in mcu_port2_w() 58 machine().bookkeeping().coin_lockout_w(1, (data & 0x80) != 0 ? m_lockout_level : !m_lockout_level); in mcu_port2_w() 420 machine().bookkeeping().coin_lockout_w(0, (~data & 0x04)); in bankswitch1_w() 421 machine().bookkeeping().coin_lockout_w(1, (~data & 0x08)); in bankswitch1_w() 429 machine().bookkeeping().coin_lockout_w(0, (~data & 0x10)); in bankswitch1_w() 430 machine().bookkeeping().coin_lockout_w(1, (~data & 0x20)); in bankswitch1_w()
|
H A D | wrally.cpp | 71 machine().bookkeeping().coin_lockout_w(0, !state); in WRITE_LINE_MEMBER() 76 machine().bookkeeping().coin_lockout_w(1, !state); in WRITE_LINE_MEMBER()
|
/dports/emulators/mess/mame-mame0226/src/mame/video/ |
H A D | arkanoid.cpp | 33 machine().bookkeeping().coin_lockout_w(0, !(data & 0x08)); in arkanoid_d008_w() 34 machine().bookkeeping().coin_lockout_w(1, !(data & 0x08)); in arkanoid_d008_w() 135 machine().bookkeeping().coin_lockout_w(0, !(data & 0x80)); in tetrsark_d008_w() 136 machine().bookkeeping().coin_lockout_w(1, !(data & 0x80)); in tetrsark_d008_w()
|
H A D | rastan.cpp | 30 machine().bookkeeping().coin_lockout_w(1, ~data & 0x01); in spritectrl_w() 31 machine().bookkeeping().coin_lockout_w(0, ~data & 0x02); in spritectrl_w()
|
/dports/emulators/mame/mame-mame0226/src/mame/video/ |
H A D | arkanoid.cpp | 33 machine().bookkeeping().coin_lockout_w(0, !(data & 0x08)); in arkanoid_d008_w() 34 machine().bookkeeping().coin_lockout_w(1, !(data & 0x08)); in arkanoid_d008_w() 135 machine().bookkeeping().coin_lockout_w(0, !(data & 0x80)); in tetrsark_d008_w() 136 machine().bookkeeping().coin_lockout_w(1, !(data & 0x80)); in tetrsark_d008_w()
|
H A D | rastan.cpp | 30 machine().bookkeeping().coin_lockout_w(1, ~data & 0x01); in spritectrl_w() 31 machine().bookkeeping().coin_lockout_w(0, ~data & 0x02); in spritectrl_w()
|
/dports/emulators/mess/mame-mame0226/src/mame/drivers/ |
H A D | triplhnt.cpp | 33 WRITE_LINE_MEMBER(triplhnt_state::coin_lockout_w) in WRITE_LINE_MEMBER() argument 35 machine().bookkeeping().coin_lockout_w(0, !state); in WRITE_LINE_MEMBER() 36 machine().bookkeeping().coin_lockout_w(1, !state); in WRITE_LINE_MEMBER() 288 m_latch->q_out_cb<3>().set(FUNC(triplhnt_state::coin_lockout_w)); in triplhnt()
|
/dports/emulators/mame/mame-mame0226/src/mame/drivers/ |
H A D | triplhnt.cpp | 33 WRITE_LINE_MEMBER(triplhnt_state::coin_lockout_w) in WRITE_LINE_MEMBER() argument 35 machine().bookkeeping().coin_lockout_w(0, !state); in WRITE_LINE_MEMBER() 36 machine().bookkeeping().coin_lockout_w(1, !state); in WRITE_LINE_MEMBER() 288 m_latch->q_out_cb<3>().set(FUNC(triplhnt_state::coin_lockout_w)); in triplhnt()
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/vidhrdw/ |
H A D | sidearms_vidhrdw.c | 51 coin_lockout_w(0, !(data & 0x04)); in WRITE_HANDLER() 52 coin_lockout_w(1, !(data & 0x08)); in WRITE_HANDLER() 56 coin_lockout_w(0, data & 0x04); in WRITE_HANDLER() 57 coin_lockout_w(1, data & 0x08); in WRITE_HANDLER()
|