diff options
author | 2020-10-25 10:19:13 -0400 | |
---|---|---|
committer | 2020-10-25 10:19:13 -0400 | |
commit | 57baad2dab651c428063bd14cb5adfd3b321ace0 (patch) | |
tree | 1e8c3007090d74f756ed641ec02a629108449dce /src/devices/cpu/m6502/m3745x.cpp | |
parent | 16a0a0a21c1b39d25cc6945228979794e13443de (diff) |
M740 family updates
- Add cycle clock dividers
- Remove SO input line (not apparently supported on any Mitsubishi model)
Diffstat (limited to 'src/devices/cpu/m6502/m3745x.cpp')
-rw-r--r-- | src/devices/cpu/m6502/m3745x.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/devices/cpu/m6502/m3745x.cpp b/src/devices/cpu/m6502/m3745x.cpp index 218e16853ec..2532e25d8ab 100644 --- a/src/devices/cpu/m6502/m3745x.cpp +++ b/src/devices/cpu/m6502/m3745x.cpp @@ -170,10 +170,6 @@ void m3745x_device::execute_set_input(int inputnum, int state) m_intreq1 &= ~IRQ1_INT3; } break; - - case M3745X_SET_OVERFLOW: // the base 740 class can handle this - m740_device::execute_set_input(M740_SET_OVERFLOW, state); - break; } recalc_irqs(); @@ -389,8 +385,7 @@ void m3745x_device::adc_w(offs_t offset, uint8_t data) // starting a conversion? this takes 50 cycles. if (!(m_adctrl & ADCTRL_COMPLETE)) { - double hz = (double)clock() / 50.0; - m_timers[TIMER_ADC]->adjust(attotime::from_hz(hz)); + m_timers[TIMER_ADC]->adjust(cycles_to_attotime(50)); } break; } |