diff options
Diffstat (limited to 'src/devices/bus/ieee488/hardbox.cpp')
-rw-r--r-- | src/devices/bus/ieee488/hardbox.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/ieee488/hardbox.cpp b/src/devices/bus/ieee488/hardbox.cpp index 355f5dba2b8..aa19fe840de 100644 --- a/src/devices/bus/ieee488/hardbox.cpp +++ b/src/devices/bus/ieee488/hardbox.cpp @@ -138,7 +138,7 @@ WRITE8_MEMBER( hardbox_device::ppi0_pb_w ) READ8_MEMBER( hardbox_device::ppi0_pc_r ) { - UINT8 data = ioport("SW1")->read(); + uint8_t data = ioport("SW1")->read(); /* DIP switches on PC1,PC2,PC3 configure the IEEE-488 primary address. We get the address from the slot instead. */ @@ -168,7 +168,7 @@ READ8_MEMBER( hardbox_device::ppi1_pa_r ) */ - UINT8 data = 0; + uint8_t data = 0; data |= !m_bus->atn_r(); data |= !m_bus->dav_r() << 1; @@ -228,8 +228,8 @@ READ8_MEMBER( hardbox_device::ppi1_pc_r ) */ - UINT8 status = m_hdc->status_r(space, 0); - UINT8 data = 0; + uint8_t status = m_hdc->status_r(space, 0); + uint8_t data = 0; data |= (status & CONTROLLER_BUSY) ? 0 : 0x10; data |= (status & CONTROLLER_DIRECTION) ? 0 : 0x20; @@ -346,7 +346,7 @@ ioport_constructor hardbox_device::device_input_ports() const // hardbox_device - constructor //------------------------------------------------- -hardbox_device::hardbox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) +hardbox_device::hardbox_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, HARDBOX, "HardBox", tag, owner, clock, "hardbox", __FILE__), device_ieee488_interface(mconfig, *this), m_maincpu(*this, Z80_TAG), |