Merge pull request #4137 from hp9k/hp_dio_fixes

hp_dio: remove unused map() functions
This commit is contained in:
R. Belmont 2018-10-13 16:35:50 -04:00 committed by GitHub
commit 3a117e37c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 18 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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)

View File

@ -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);

View File

@ -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)

View File

@ -64,7 +64,6 @@ private:
required_device<tms9914_device> m_tms9914;
required_device<msm58321_device> m_rtc;
void map(address_map &map);
void iocpu_map(address_map &map);
static constexpr uint8_t HIL_CS = 0x01;