Merge pull request #4137 from hp9k/hp_dio_fixes
hp_dio: remove unused map() functions
This commit is contained in:
commit
3a117e37c7
@ -161,11 +161,6 @@ void dio16_98265a_device::device_start()
|
|||||||
m_installed_io = false;
|
m_installed_io = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void dio16_98265a_device::map(address_map &map)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void dio16_98265a_device::device_reset()
|
void dio16_98265a_device::device_reset()
|
||||||
{
|
{
|
||||||
uint8_t code = m_sw1->read() >> REG_SW1_SELECT_CODE_SHIFT;
|
uint8_t code = m_sw1->read() >> REG_SW1_SELECT_CODE_SHIFT;
|
||||||
|
@ -23,7 +23,7 @@ public:
|
|||||||
dio16_98265a_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
dio16_98265a_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
||||||
|
|
||||||
void mb87030(device_t *device);
|
void mb87030(device_t *device);
|
||||||
void map(address_map &map);
|
|
||||||
protected:
|
protected:
|
||||||
dio16_98265a_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
|
dio16_98265a_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
|
||||||
|
|
||||||
|
@ -78,10 +78,6 @@ void dio16_98620_device::device_start()
|
|||||||
save_item(NAME(dmar));
|
save_item(NAME(dmar));
|
||||||
}
|
}
|
||||||
|
|
||||||
void dio16_98620_device::map(address_map &map)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
void dio16_98620_device::device_reset()
|
void dio16_98620_device::device_reset()
|
||||||
{
|
{
|
||||||
if (!m_installed_io)
|
if (!m_installed_io)
|
||||||
|
@ -20,7 +20,6 @@ public:
|
|||||||
// construction/destruction
|
// construction/destruction
|
||||||
dio16_98620_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
dio16_98620_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
||||||
|
|
||||||
void map(address_map &map);
|
|
||||||
protected:
|
protected:
|
||||||
dio16_98620_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
|
dio16_98620_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
|
||||||
|
|
||||||
|
@ -100,12 +100,6 @@ void human_interface_device::iocpu_map(address_map& map)
|
|||||||
{
|
{
|
||||||
map(0x0000, 0x07ff).rom().region("iocpu", 0);
|
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::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)
|
human_interface_device(mconfig, HPDIO_HUMAN_INTERFACE, tag, owner, clock)
|
||||||
|
@ -64,7 +64,6 @@ private:
|
|||||||
required_device<tms9914_device> m_tms9914;
|
required_device<tms9914_device> m_tms9914;
|
||||||
required_device<msm58321_device> m_rtc;
|
required_device<msm58321_device> m_rtc;
|
||||||
|
|
||||||
void map(address_map &map);
|
|
||||||
void iocpu_map(address_map &map);
|
void iocpu_map(address_map &map);
|
||||||
|
|
||||||
static constexpr uint8_t HIL_CS = 0x01;
|
static constexpr uint8_t HIL_CS = 0x01;
|
||||||
|
Loading…
Reference in New Issue
Block a user