summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/vrender0.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2025-09-05 02:06:54 +1000
committer Vas Crabb <vas@vastheman.com>2025-09-05 02:06:54 +1000
commita418fb42671cbb8979e4952c6e5ec56c99b3358c (patch)
treee49ae1021de5971405b7acac4c2b2617459bb486 /src/devices/machine/vrender0.cpp
parent2f02333f11ad59d2c7cb296550c428a6e8f96bbc (diff)
Various small improvements:
misc/crystal.cpp: Added lamp outputs used by Office Yeoin Cheonha and Urachacha Mudaeri, and fixed button order/names for Urachacha Mudaeri. cpu/uml.cpp: Added a couple of simplification rules. ADDC's inputs are commutative, and TEST with an immediate zero operand effectively ignores the other operand. namco/namcos23.cpp: Treat spinny things as a dial rather than half a mouse. cpu/arm7: Removed the recompiler that had never been completed. cpu/drcumlsh.h: Removed helpers for generating the unimplemented JMPH instrcution. Trying to use it would cause a compile error. docs: Documented the most common DRC UML integer arithmetic and logical instructions.
Diffstat (limited to 'src/devices/machine/vrender0.cpp')
-rw-r--r--src/devices/machine/vrender0.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/vrender0.cpp b/src/devices/machine/vrender0.cpp
index 831feed7409..c01fed77823 100644
--- a/src/devices/machine/vrender0.cpp
+++ b/src/devices/machine/vrender0.cpp
@@ -124,7 +124,7 @@ void vrender0soc_device::frame_map(address_map &map)
void vrender0soc_device::device_add_mconfig(machine_config &config)
{
for (required_device<vr0uart_device> &uart : m_uart)
- VRENDER0_UART(config, uart, 3579500); // DERIVED_CLOCK(1, 24));
+ VRENDER0_UART(config, uart, 3'579'500); // DERIVED_CLOCK(1, 24));
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
// evolution soccer defaults
@@ -133,7 +133,7 @@ void vrender0soc_device::device_add_mconfig(machine_config &config)
m_screen->screen_vblank().set(FUNC(vrender0soc_device::screen_vblank));
m_screen->set_palette(m_palette);
- // runs at double speed wrt of the bus clock
+ // runs at double speed WRT the bus clock
VIDEO_VRENDER0(config, m_vr0vid, DERIVED_CLOCK(1, 1));
PALETTE(config, m_palette, palette_device::RGB_565);
@@ -340,7 +340,7 @@ void vrender0soc_device::TimerStart(int which)
{
int PD = (m_timer_control[which] >> 8) & 0xff;
int TCV = m_timer_count[which] & 0xffff;
- // TODO: documentation claims this is bus clock, half than internal PLL frequency.
+ // TODO: documentation claims this is bus clock, half the internal PLL frequency.
attotime period = attotime::from_hz(this->clock()) * 2 * ((PD + 1) * (TCV + 1));
m_Timer[which]->adjust(period);