diff options
Diffstat (limited to 'src/devices/bus/ql/kempston_di.cpp')
-rw-r--r-- | src/devices/bus/ql/kempston_di.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/bus/ql/kempston_di.cpp b/src/devices/bus/ql/kempston_di.cpp index 4430c07b3a2..171c5788f06 100644 --- a/src/devices/bus/ql/kempston_di.cpp +++ b/src/devices/bus/ql/kempston_di.cpp @@ -15,7 +15,7 @@ // DEVICE DEFINITIONS //************************************************************************** -const device_type KEMPSTON_DISK_INTERFACE = device_creator<kempston_disk_interface_t>; +DEFINE_DEVICE_TYPE(KEMPSTON_DISK_INTERFACE, kempston_disk_interface_device, "ql_kdi", "Kempston Disk Interface") //------------------------------------------------- @@ -34,7 +34,7 @@ ROM_END // rom_region - device-specific ROM region //------------------------------------------------- -const tiny_rom_entry *kempston_disk_interface_t::device_rom_region() const +const tiny_rom_entry *kempston_disk_interface_device::device_rom_region() const { return ROM_NAME( kempston_disk_system ); } @@ -46,11 +46,11 @@ const tiny_rom_entry *kempston_disk_interface_t::device_rom_region() const //************************************************************************** //------------------------------------------------- -// kempston_disk_interface_t - constructor +// kempston_disk_interface_device - constructor //------------------------------------------------- -kempston_disk_interface_t::kempston_disk_interface_t(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, KEMPSTON_DISK_INTERFACE, "Kempston Disk Interface", tag, owner, clock, "ql_kdi", __FILE__), +kempston_disk_interface_device::kempston_disk_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : + device_t(mconfig, KEMPSTON_DISK_INTERFACE, tag, owner, clock), device_ql_expansion_card_interface(mconfig, *this) { } @@ -60,7 +60,7 @@ kempston_disk_interface_t::kempston_disk_interface_t(const machine_config &mconf // device_start - device-specific startup //------------------------------------------------- -void kempston_disk_interface_t::device_start() +void kempston_disk_interface_device::device_start() { } @@ -69,7 +69,7 @@ void kempston_disk_interface_t::device_start() // read - //------------------------------------------------- -uint8_t kempston_disk_interface_t::read(address_space &space, offs_t offset, uint8_t data) +uint8_t kempston_disk_interface_device::read(address_space &space, offs_t offset, uint8_t data) { return data; } @@ -79,6 +79,6 @@ uint8_t kempston_disk_interface_t::read(address_space &space, offs_t offset, uin // write - //------------------------------------------------- -void kempston_disk_interface_t::write(address_space &space, offs_t offset, uint8_t data) +void kempston_disk_interface_device::write(address_space &space, offs_t offset, uint8_t data) { } |