summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/vrender0.cpp
diff options
context:
space:
mode:
author David Haywood <28625134+DavidHaywood@users.noreply.github.com>2023-03-31 19:52:13 +0100
committer GitHub <noreply@github.com>2023-04-01 05:52:13 +1100
commite23dbc99c5046bbedde25ac46afed9b42f62e4ce (patch)
tree83b6858ff8077ad4050997ccdffb8f14ae079f5a /src/devices/machine/vrender0.cpp
parentec6b3d2b5542b5b02339d066b35f7818bd5dbb57 (diff)
misc/crystal.cpp: Removed hacks: (#11054)
* cpu/se3208: Removed hack to ignore misaligned memory accesses. * machine/vrender0.cpp: Removed idle skip hack (it causes stability issues). * misc/crystal.cpp: Added default NVRAM contents for wulybuly with valid coinage settings.
Diffstat (limited to 'src/devices/machine/vrender0.cpp')
-rw-r--r--src/devices/machine/vrender0.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/devices/machine/vrender0.cpp b/src/devices/machine/vrender0.cpp
index f59edbe4a2e..23bd8b5b1d5 100644
--- a/src/devices/machine/vrender0.cpp
+++ b/src/devices/machine/vrender0.cpp
@@ -131,9 +131,6 @@ void vrender0soc_device::device_add_mconfig(machine_config &config)
m_screen->set_palette(m_palette);
VIDEO_VRENDER0(config, m_vr0vid, 14318180);
-#ifdef IDLE_LOOP_SPEEDUP
- m_vr0vid->idleskip_cb().set(FUNC(vrender0soc_device::idle_skip_speedup_w));
-#endif
PALETTE(config, m_palette, palette_device::RGB_565);
@@ -192,10 +189,6 @@ void vrender0soc_device::device_start()
save_item(NAME(m_dma[1].src));
save_item(NAME(m_dma[1].dst));
save_item(NAME(m_dma[1].size));
-
-#ifdef IDLE_LOOP_SPEEDUP
- save_item(NAME(m_FlipCntRead));
-#endif
}
void vrender0soc_device::write_line_tx(int port, uint8_t value)
@@ -226,10 +219,6 @@ void vrender0soc_device::device_reset()
m_timer_control[i] = 0xff << 8;
m_Timer[i]->adjust(attotime::never);
}
-
-#ifdef IDLE_LOOP_SPEEDUP
- m_FlipCntRead = 0;
-#endif
}
@@ -318,10 +307,6 @@ void vrender0soc_device::IntReq( int num )
m_intst |= (1 << num);
m_host_cpu->set_input_line(SE3208_INT, ASSERT_LINE);
}
-
-#ifdef IDLE_LOOP_SPEEDUP
- idle_skip_resume_w(ASSERT_LINE);
-#endif
}
@@ -733,24 +718,3 @@ WRITE_LINE_MEMBER(vrender0soc_device::screen_vblank)
m_vr0vid->execute_flipping();
}
}
-
-/*
- *
- * Hacks
- *
- */
-
-#ifdef IDLE_LOOP_SPEEDUP
-WRITE_LINE_MEMBER(vrender0soc_device::idle_skip_resume_w)
-{
- m_FlipCntRead = 0;
- m_host_cpu->resume(SUSPEND_REASON_SPIN);
-}
-
-WRITE_LINE_MEMBER(vrender0soc_device::idle_skip_speedup_w)
-{
- m_FlipCntRead++;
- if (m_FlipCntRead >= 16 && irq_pending() == false && state == ASSERT_LINE)
- m_host_cpu->suspend(SUSPEND_REASON_SPIN, 1);
-}
-#endif