summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ieee488/hardbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ieee488/hardbox.cpp')
-rw-r--r--src/devices/bus/ieee488/hardbox.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/bus/ieee488/hardbox.cpp b/src/devices/bus/ieee488/hardbox.cpp
index 14a2a9a16d2..f8fabf6a967 100644
--- a/src/devices/bus/ieee488/hardbox.cpp
+++ b/src/devices/bus/ieee488/hardbox.cpp
@@ -257,9 +257,9 @@ WRITE8_MEMBER( hardbox_device::ppi1_pc_w )
*/
- machine().output().set_led_value(LED_A, !BIT(data, 0));
- machine().output().set_led_value(LED_B, !BIT(data, 1));
- machine().output().set_led_value(LED_READY, !BIT(data, 2));
+ m_led[LED_A] = BIT(~data, 0);
+ m_led[LED_B] = BIT(~data, 1);
+ m_led[LED_READY] = BIT(~data, 2);
}
@@ -344,6 +344,7 @@ hardbox_device::hardbox_device(const machine_config &mconfig, const char *tag, d
, device_ieee488_interface(mconfig, *this)
, m_maincpu(*this, Z80_TAG)
, m_hdc(*this, CORVUS_HDC_TAG)
+ , m_led(*this, "led%u", 0U)
, m_ifc(0)
{
}
@@ -355,6 +356,7 @@ hardbox_device::hardbox_device(const machine_config &mconfig, const char *tag, d
void hardbox_device::device_start()
{
+ m_led.resolve();
}