summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ieee488/d9060.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ieee488/d9060.cpp')
-rw-r--r--src/devices/bus/ieee488/d9060.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/devices/bus/ieee488/d9060.cpp b/src/devices/bus/ieee488/d9060.cpp
index 8618dc944cd..a77c2613fec 100644
--- a/src/devices/bus/ieee488/d9060.cpp
+++ b/src/devices/bus/ieee488/d9060.cpp
@@ -305,13 +305,13 @@ WRITE8_MEMBER( d9060_device_base::riot1_pb_w )
*/
// ready led
- machine().output().set_led_value(LED_READY, BIT(data, 4));
+ m_led[LED_READY] = BIT(data, 4);
// power led
- machine().output().set_led_value(LED_POWER, BIT(data, 5));
+ m_led[LED_POWER] = BIT(data, 5);
// error led
- machine().output().set_led_value(LED_ERROR, !BIT(data, 5));
+ m_led[LED_ERROR] = !BIT(data, 5);
}
@@ -486,6 +486,7 @@ d9060_device_base::d9060_device_base(const machine_config &mconfig, device_type
, m_sasibus(*this, SASIBUS_TAG)
, m_sasi_data_out(*this, "sasi_data_out")
, m_address(*this, "ADDRESS")
+ , m_led(*this, "led%u", 0U)
, m_rfdo(1)
, m_daco(1)
, m_atna(1)
@@ -523,6 +524,8 @@ d9090_device::d9090_device(const machine_config &mconfig, const char *tag, devic
void d9060_device_base::device_start()
{
+ m_led.resolve();
+
// state saving
save_item(NAME(m_rfdo));
save_item(NAME(m_daco));