summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sh
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2024-05-05 15:40:13 +0200
committer Olivier Galibert <galibert@pobox.com>2024-05-10 20:08:18 +0200
commit9292def5fa8f7f8216af0bfdd29abc6df33797bc (patch)
tree6078a299996ceebd711131505fbed727e8cb3ad5 /src/devices/cpu/sh
parenta7c6fd0f03ab5c70a309e7c79ec199aaf50e46f8 (diff)
psr540: Fix midi, finish the screen mapping, add nvram
Diffstat (limited to 'src/devices/cpu/sh')
-rw-r--r--src/devices/cpu/sh/sh7042.cpp5
-rw-r--r--src/devices/cpu/sh/sh7042.h4
2 files changed, 1 insertions, 8 deletions
diff --git a/src/devices/cpu/sh/sh7042.cpp b/src/devices/cpu/sh/sh7042.cpp
index 922655510db..e257cedb2b9 100644
--- a/src/devices/cpu/sh/sh7042.cpp
+++ b/src/devices/cpu/sh/sh7042.cpp
@@ -356,11 +356,6 @@ void sh7042_device::device_add_mconfig(machine_config &config)
}
-void sh7042_device::do_sci_w(int sci, int state)
-{
- logerror("sci %d %d\n", sci, state);
-}
-
void sh7042_device::internal_update()
{
internal_update(current_cycles());
diff --git a/src/devices/cpu/sh/sh7042.h b/src/devices/cpu/sh/sh7042.h
index b409c08a8c7..6060380cc9c 100644
--- a/src/devices/cpu/sh/sh7042.h
+++ b/src/devices/cpu/sh/sh7042.h
@@ -24,7 +24,7 @@ public:
sh7042_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
template<int Port> auto read_adc() { return m_read_adc[Port].bind(); }
- template<int Sci> void sci_rx_w(int state) { do_sci_w(Sci, state); }
+ template<int Sci> void sci_rx_w(int state) { m_sci[Sci]->do_rx_w(state); }
template<int Sci> void sci_clk_w(int state) { m_sci[Sci]->do_clk_w(state); }
template<int Sci> auto write_sci_tx() { return m_sci_tx[Sci].bind(); }
template<int Sci> auto write_sci_clk() { return m_sci_clk[Sci].bind(); }
@@ -145,8 +145,6 @@ private:
TIMER_CALLBACK_MEMBER(event_timer_tick);
void internal_update(u64 current_time);
- void do_sci_w(int sci, int state);
-
u16 pcf_ah_r();
void pcf_ah_w(offs_t, u16 data, u16 mem_mask);
u32 pcf_al_r();