diff options
Diffstat (limited to 'src/devices/bus/abcbus/ram.cpp')
-rw-r--r-- | src/devices/bus/abcbus/ram.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/bus/abcbus/ram.cpp b/src/devices/bus/abcbus/ram.cpp index 07739a75f40..4886f46defa 100644 --- a/src/devices/bus/abcbus/ram.cpp +++ b/src/devices/bus/abcbus/ram.cpp @@ -15,7 +15,7 @@ // DEVICE DEFINITIONS //************************************************************************** -const device_type ABC80_16KB_RAM_CARD = device_creator<abc80_16kb_ram_card_t>; +DEFINE_DEVICE_TYPE(ABC80_16KB_RAM_CARD, abc80_16kb_ram_card_device, "abc80_16kb", "ABC 80 16KB RAM card") @@ -24,11 +24,11 @@ const device_type ABC80_16KB_RAM_CARD = device_creator<abc80_16kb_ram_card_t>; //************************************************************************** //------------------------------------------------- -// abc80_16kb_ram_card_t - constructor +// abc80_16kb_ram_card_device - constructor //------------------------------------------------- -abc80_16kb_ram_card_t::abc80_16kb_ram_card_t(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, ABC80_16KB_RAM_CARD, "ABC 80 16KB RAM card", tag, owner, clock, "abc80_16kb", __FILE__), +abc80_16kb_ram_card_device::abc80_16kb_ram_card_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : + device_t(mconfig, ABC80_16KB_RAM_CARD, tag, owner, clock), device_abcbus_card_interface(mconfig, *this), m_ram(*this, "ram") { @@ -39,7 +39,7 @@ abc80_16kb_ram_card_t::abc80_16kb_ram_card_t(const machine_config &mconfig, cons // device_start - device-specific startup //------------------------------------------------- -void abc80_16kb_ram_card_t::device_start() +void abc80_16kb_ram_card_device::device_start() { m_ram.allocate(0x4000); } @@ -54,7 +54,7 @@ void abc80_16kb_ram_card_t::device_start() // abcbus_xmemfl - //------------------------------------------------- -uint8_t abc80_16kb_ram_card_t::abcbus_xmemfl(offs_t offset) +uint8_t abc80_16kb_ram_card_device::abcbus_xmemfl(offs_t offset) { uint8_t data = 0xff; @@ -71,7 +71,7 @@ uint8_t abc80_16kb_ram_card_t::abcbus_xmemfl(offs_t offset) // abcbus_xmemw - //------------------------------------------------- -void abc80_16kb_ram_card_t::abcbus_xmemw(offs_t offset, uint8_t data) +void abc80_16kb_ram_card_device::abcbus_xmemw(offs_t offset, uint8_t data) { if (offset >= 0x8000 && offset < 0xc000) { |