diff options
| author | 2026-05-15 14:36:49 +0200 | |
|---|---|---|
| committer | 2026-05-15 18:48:44 +0200 | |
| commit | f6640b05dba864e52a5e07c7955b0fca6ea6433c (patch) | |
| tree | 0086920768e36c254fef8b2b84d45d8212d3047d /src | |
| parent | 25a48beb56e83990cd7be67dc511f97cc0ff6f61 (diff) | |
gaelco/gaelco3d.cpp: hookup coin counter
Diffstat (limited to 'src')
| -rw-r--r-- | src/mame/gaelco/gaelco3d.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mame/gaelco/gaelco3d.cpp b/src/mame/gaelco/gaelco3d.cpp index 785d738c1c2..cbc6a5ea5ae 100644 --- a/src/mame/gaelco/gaelco3d.cpp +++ b/src/mame/gaelco/gaelco3d.cpp @@ -452,7 +452,7 @@ void gaelco3d_state::tms_control3_w(int state) * *************************************/ -// TODO: find volume control, convert to device +// TODO: convert to device // These are some of the control registers. We don't use them all enum { @@ -941,9 +941,12 @@ void gaelco3d_state::gaelco3d(machine_config &config) m_mainlatch->q_out_cb<7>().set(FUNC(gaelco3d_state::unknown_13a_w)); LS259(config, m_outlatch); // IC2 on top board near edge connector + // TODO: speedup should have a second coin counter according to schematics + // this LS259 is connected to a ULM2064, that controls both coin counters and lamps + m_outlatch->q_out_cb<0>().set([this] (int state) { machine().bookkeeping().coin_counter_w(0, state); }); m_outlatch->q_out_cb<1>().set(FUNC(gaelco3d_state::tms_control3_w)); m_outlatch->q_out_cb<2>().set_output("Start_lamp"); // START LAMP - m_outlatch->q_out_cb<3>().set(FUNC(gaelco3d_state::unknown_137_w)); + m_outlatch->q_out_cb<3>().set(FUNC(gaelco3d_state::unknown_137_w)); // leader lamp? m_outlatch->q_out_cb<4>().set(m_serial, FUNC(gaelco_serial_device::irq_enable)); m_outlatch->q_out_cb<5>().set(FUNC(gaelco3d_state::analog_port_clock_w)); m_outlatch->q_out_cb<6>().set(FUNC(gaelco3d_state::analog_port_latch_w)); |
