diff options
| author | 2019-02-11 16:47:02 -0500 | |
|---|---|---|
| committer | 2019-02-11 16:47:02 -0500 | |
| commit | 2d149e21c9786d159cbde0cecf19ae531dffbd01 (patch) | |
| tree | 0c27e5aa0486f7e17ed62a05e9ac6acb8419893c /src/devices/machine/68340.cpp | |
| parent | a905dffd08abdabad3d3e0cfd1c56eb1d91376cf (diff) | |
m68000: Add overrideable method to signal RESET instruction to internal peripherals (nw)
Diffstat (limited to 'src/devices/machine/68340.cpp')
| -rw-r--r-- | src/devices/machine/68340.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/devices/machine/68340.cpp b/src/devices/machine/68340.cpp index e9f8ba7ba8e..bae8be35b62 100644 --- a/src/devices/machine/68340.cpp +++ b/src/devices/machine/68340.cpp @@ -262,3 +262,12 @@ void m68340_cpu_device::device_start() m_int_ack_callback = device_irq_acknowledge_delegate(FUNC(m68340_cpu_device::int_ack), this); } + +void m68340_cpu_device::m68k_reset_peripherals() +{ + m_m68340SIM->module_reset(); + m_m68340DMA->module_reset(); + m_serial->module_reset(); + m_timer[0]->module_reset(); + m_timer[1]->module_reset(); +} |
