From 5b2c81b51375875326dce3374c697370b2b90e43 Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Sat, 13 Oct 2018 21:00:57 +0200 Subject: [PATCH] hp_dio: remove unused map() functions --- src/devices/bus/hp_dio/hp98265a.cpp | 5 ----- src/devices/bus/hp_dio/hp98265a.h | 2 +- src/devices/bus/hp_dio/hp98620.cpp | 4 ---- src/devices/bus/hp_dio/hp98620.h | 1 - src/devices/bus/hp_dio/human_interface.cpp | 6 ------ src/devices/bus/hp_dio/human_interface.h | 1 - 6 files changed, 1 insertion(+), 18 deletions(-) diff --git a/src/devices/bus/hp_dio/hp98265a.cpp b/src/devices/bus/hp_dio/hp98265a.cpp index 78c2065a263..8146b2c16da 100644 --- a/src/devices/bus/hp_dio/hp98265a.cpp +++ b/src/devices/bus/hp_dio/hp98265a.cpp @@ -161,11 +161,6 @@ void dio16_98265a_device::device_start() m_installed_io = false; } -void dio16_98265a_device::map(address_map &map) -{ - -} - void dio16_98265a_device::device_reset() { uint8_t code = m_sw1->read() >> REG_SW1_SELECT_CODE_SHIFT; diff --git a/src/devices/bus/hp_dio/hp98265a.h b/src/devices/bus/hp_dio/hp98265a.h index 34c7808dff4..46941790f65 100644 --- a/src/devices/bus/hp_dio/hp98265a.h +++ b/src/devices/bus/hp_dio/hp98265a.h @@ -23,7 +23,7 @@ public: dio16_98265a_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); void mb87030(device_t *device); - void map(address_map &map); + protected: dio16_98265a_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); diff --git a/src/devices/bus/hp_dio/hp98620.cpp b/src/devices/bus/hp_dio/hp98620.cpp index 457b2bb95bb..e4a7aba82b6 100644 --- a/src/devices/bus/hp_dio/hp98620.cpp +++ b/src/devices/bus/hp_dio/hp98620.cpp @@ -78,10 +78,6 @@ void dio16_98620_device::device_start() save_item(NAME(dmar)); } -void dio16_98620_device::map(address_map &map) -{ - -} void dio16_98620_device::device_reset() { if (!m_installed_io) diff --git a/src/devices/bus/hp_dio/hp98620.h b/src/devices/bus/hp_dio/hp98620.h index 22b09c3732e..5ce6baab72e 100644 --- a/src/devices/bus/hp_dio/hp98620.h +++ b/src/devices/bus/hp_dio/hp98620.h @@ -20,7 +20,6 @@ public: // construction/destruction dio16_98620_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - void map(address_map &map); protected: dio16_98620_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); diff --git a/src/devices/bus/hp_dio/human_interface.cpp b/src/devices/bus/hp_dio/human_interface.cpp index 6e0595a405e..cb2319450b5 100644 --- a/src/devices/bus/hp_dio/human_interface.cpp +++ b/src/devices/bus/hp_dio/human_interface.cpp @@ -100,12 +100,6 @@ void human_interface_device::iocpu_map(address_map& map) { map(0x0000, 0x07ff).rom().region("iocpu", 0); } -void human_interface_device::map(address_map& map) -{ - map(0x00420000, 0x00420003).mirror(0x0000fffc).rw(m_iocpu, FUNC(upi41_cpu_device::upi41_master_r), FUNC(upi41_cpu_device::upi41_master_w)).umask32(0x00ff00ff); - map(0x00470000, 0x0047001f).mirror(0x0000ffe0).rw(FUNC(human_interface_device::gpib_r), FUNC(human_interface_device::gpib_w)).umask16(0x00ff); - -} human_interface_device::human_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : human_interface_device(mconfig, HPDIO_HUMAN_INTERFACE, tag, owner, clock) diff --git a/src/devices/bus/hp_dio/human_interface.h b/src/devices/bus/hp_dio/human_interface.h index b2d412b6306..c118a56842d 100644 --- a/src/devices/bus/hp_dio/human_interface.h +++ b/src/devices/bus/hp_dio/human_interface.h @@ -64,7 +64,6 @@ private: required_device m_tms9914; required_device m_rtc; - void map(address_map &map); void iocpu_map(address_map &map); static constexpr uint8_t HIL_CS = 0x01;