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/68340sim.cpp | |
| parent | a905dffd08abdabad3d3e0cfd1c56eb1d91376cf (diff) | |
m68000: Add overrideable method to signal RESET instruction to internal peripherals (nw)
Diffstat (limited to 'src/devices/machine/68340sim.cpp')
| -rw-r--r-- | src/devices/machine/68340sim.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/devices/machine/68340sim.cpp b/src/devices/machine/68340sim.cpp index cf299ba2b22..3dbbfcb0733 100644 --- a/src/devices/machine/68340sim.cpp +++ b/src/devices/machine/68340sim.cpp @@ -493,6 +493,12 @@ void m68340_sim::reset() m_pit_irq = false; } +void m68340_sim::module_reset() +{ + // SYS set in RSR, nothing else happens + m_avr_rsr = (m_avr_rsr & 0xff00) | 0x02; +} + /* do_tick_pit works on whole clock cycles, no flank support */ void m68340_cpu_device::do_tick_pit() { |
