diff options
Diffstat (limited to 'src/devices/bus/pofo/hpc101.cpp')
-rw-r--r-- | src/devices/bus/pofo/hpc101.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/bus/pofo/hpc101.cpp b/src/devices/bus/pofo/hpc101.cpp index 8d106f00a37..f5511c3963b 100644 --- a/src/devices/bus/pofo/hpc101.cpp +++ b/src/devices/bus/pofo/hpc101.cpp @@ -26,7 +26,7 @@ // DEVICE DEFINITIONS //************************************************************************** -const device_type HPC101 = device_creator<hpc101_t>; +DEFINE_DEVICE_TYPE(POFO_HPC101, pofo_hpc101_device, "pofo_hpc101", "Atari Portfolio HPC-101") //------------------------------------------------- @@ -62,7 +62,7 @@ MACHINE_CONFIG_END // machine configurations //------------------------------------------------- -machine_config_constructor hpc101_t::device_mconfig_additions() const +machine_config_constructor pofo_hpc101_device::device_mconfig_additions() const { return MACHINE_CONFIG_NAME( hpc101 ); } @@ -73,11 +73,11 @@ machine_config_constructor hpc101_t::device_mconfig_additions() const //************************************************************************** //------------------------------------------------- -// hpc101_t - constructor +// pofo_hpc101_device - constructor //------------------------------------------------- -hpc101_t::hpc101_t(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, HPC101, "Atari Portfolio HPC-101", tag, owner, clock, "hpc101", __FILE__), +pofo_hpc101_device::pofo_hpc101_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : + device_t(mconfig, POFO_HPC101, tag, owner, clock), device_portfolio_expansion_slot_interface(mconfig, *this), m_ppi(*this, M82C55A_TAG) { @@ -88,7 +88,7 @@ hpc101_t::hpc101_t(const machine_config &mconfig, const char *tag, device_t *own // device_start - device-specific startup //------------------------------------------------- -void hpc101_t::device_start() +void pofo_hpc101_device::device_start() { } @@ -97,7 +97,7 @@ void hpc101_t::device_start() // device_reset - device-specific reset //------------------------------------------------- -void hpc101_t::device_reset() +void pofo_hpc101_device::device_reset() { m_ppi->reset(); } @@ -107,7 +107,7 @@ void hpc101_t::device_reset() // nrdi_r - read //------------------------------------------------- -uint8_t hpc101_t::nrdi_r(address_space &space, offs_t offset, uint8_t data, bool iom, bool bcom, bool ncc1) +uint8_t pofo_hpc101_device::nrdi_r(address_space &space, offs_t offset, uint8_t data, bool iom, bool bcom, bool ncc1) { if (!bcom) { @@ -130,7 +130,7 @@ uint8_t hpc101_t::nrdi_r(address_space &space, offs_t offset, uint8_t data, bool // nwri_w - write //------------------------------------------------- -void hpc101_t::nwri_w(address_space &space, offs_t offset, uint8_t data, bool iom, bool bcom, bool ncc1) +void pofo_hpc101_device::nwri_w(address_space &space, offs_t offset, uint8_t data, bool iom, bool bcom, bool ncc1) { if (!bcom) { |