diff options
Diffstat (limited to 'src/devices/bus/tiki100/hdc.cpp')
-rw-r--r-- | src/devices/bus/tiki100/hdc.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/bus/tiki100/hdc.cpp b/src/devices/bus/tiki100/hdc.cpp index a94856da571..3881f280235 100644 --- a/src/devices/bus/tiki100/hdc.cpp +++ b/src/devices/bus/tiki100/hdc.cpp @@ -23,7 +23,7 @@ // DEVICE DEFINITIONS //************************************************************************** -const device_type TIKI100_HDC = device_creator<tiki100_hdc_t>; +DEFINE_DEVICE_TYPE(TIKI100_HDC, tiki100_hdc_device, "tiki100_hdc", "TIKI-100 Winchester controller") //------------------------------------------------- @@ -49,7 +49,7 @@ MACHINE_CONFIG_END // machine configurations //------------------------------------------------- -machine_config_constructor tiki100_hdc_t::device_mconfig_additions() const +machine_config_constructor tiki100_hdc_device::device_mconfig_additions() const { return MACHINE_CONFIG_NAME( tiki100_hdc ); } @@ -61,11 +61,11 @@ machine_config_constructor tiki100_hdc_t::device_mconfig_additions() const //************************************************************************** //------------------------------------------------- -// tiki100_hdc_t - constructor +// tiki100_hdc_device - constructor //------------------------------------------------- -tiki100_hdc_t::tiki100_hdc_t(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, TIKI100_HDC, "TIKI-100 Winchester controller", tag, owner, clock, "tiki100_hdc", __FILE__), +tiki100_hdc_device::tiki100_hdc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : + device_t(mconfig, TIKI100_HDC, tag, owner, clock), device_tiki100bus_card_interface(mconfig, *this), m_hdc(*this, WD1010_TAG) { @@ -76,7 +76,7 @@ tiki100_hdc_t::tiki100_hdc_t(const machine_config &mconfig, const char *tag, dev // device_start - device-specific startup //------------------------------------------------- -void tiki100_hdc_t::device_start() +void tiki100_hdc_device::device_start() { } @@ -85,7 +85,7 @@ void tiki100_hdc_t::device_start() // device_reset - device-specific reset //------------------------------------------------- -void tiki100_hdc_t::device_reset() +void tiki100_hdc_device::device_reset() { m_hdc->reset(); } @@ -95,7 +95,7 @@ void tiki100_hdc_t::device_reset() // tiki100bus_iorq_r - I/O read //------------------------------------------------- -uint8_t tiki100_hdc_t::iorq_r(address_space &space, offs_t offset, uint8_t data) +uint8_t tiki100_hdc_device::iorq_r(address_space &space, offs_t offset, uint8_t data) { if ((offset & 0xf8) == 0x20) { @@ -110,7 +110,7 @@ uint8_t tiki100_hdc_t::iorq_r(address_space &space, offs_t offset, uint8_t data) // tiki100bus_iorq_w - I/O write //------------------------------------------------- -void tiki100_hdc_t::iorq_w(address_space &space, offs_t offset, uint8_t data) +void tiki100_hdc_device::iorq_w(address_space &space, offs_t offset, uint8_t data) { if ((offset & 0xf8) == 0x20) { |