summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cbus/pc9801_cbus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cbus/pc9801_cbus.cpp')
-rw-r--r--src/devices/bus/cbus/pc9801_cbus.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/devices/bus/cbus/pc9801_cbus.cpp b/src/devices/bus/cbus/pc9801_cbus.cpp
index 5a53eddcce7..eb62af6daaa 100644
--- a/src/devices/bus/cbus/pc9801_cbus.cpp
+++ b/src/devices/bus/cbus/pc9801_cbus.cpp
@@ -55,8 +55,7 @@ device_pc9801cbus_card_interface::~device_pc9801cbus_card_interface()
pc9801_slot_device::pc9801_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, PC9801CBUS_SLOT, tag, owner, clock),
device_slot_interface(mconfig, *this),
- m_memspace(*this, finder_base::DUMMY_TAG, -1),
- m_iospace(*this, finder_base::DUMMY_TAG, -1),
+ m_cpu(*this, finder_base::DUMMY_TAG),
m_int_callback{{*this}, {*this}, {*this}, {*this}, {*this}, {*this}, {*this}}
{
}
@@ -98,17 +97,17 @@ void pc9801_slot_device::device_start()
void pc9801_slot_device::install_io(offs_t start, offs_t end, read8_delegate rhandler, write8_delegate whandler)
{
- int buswidth = m_iospace->data_width();
+ int buswidth = this->io_space().data_width();
switch(buswidth)
{
case 8:
- m_iospace->install_readwrite_handler(start, end, rhandler, whandler, 0);
+ this->io_space().install_readwrite_handler(start, end, rhandler, whandler, 0);
break;
case 16:
- m_iospace->install_readwrite_handler(start, end, rhandler, whandler, 0xffff);
+ this->io_space().install_readwrite_handler(start, end, rhandler, whandler, 0xffff);
break;
case 32:
- m_iospace->install_readwrite_handler(start, end, rhandler, whandler, 0xffffffff);
+ this->io_space().install_readwrite_handler(start, end, rhandler, whandler, 0xffffffff);
break;
default:
fatalerror("PC-9801-26: Bus width %d not supported\n", buswidth);