summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ieee488/softbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ieee488/softbox.cpp')
-rw-r--r--src/devices/bus/ieee488/softbox.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/bus/ieee488/softbox.cpp b/src/devices/bus/ieee488/softbox.cpp
index 5d6be33930c..b6b3d67dd01 100644
--- a/src/devices/bus/ieee488/softbox.cpp
+++ b/src/devices/bus/ieee488/softbox.cpp
@@ -215,9 +215,9 @@ WRITE8_MEMBER( softbox_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);
}
static DEVICE_INPUT_DEFAULTS_START( terminal )
@@ -324,6 +324,7 @@ softbox_device::softbox_device(const machine_config &mconfig, const char *tag, d
, m_maincpu(*this, Z80_TAG)
, m_dbrg(*this, COM8116_TAG)
, m_hdc(*this, CORVUS_HDC_TAG)
+ , m_led(*this, "led%u", 0U)
, m_ifc(0)
{
}
@@ -335,6 +336,7 @@ softbox_device::softbox_device(const machine_config &mconfig, const char *tag, d
void softbox_device::device_start()
{
+ m_led.resolve();
}