diff options
Diffstat (limited to 'src/devices/bus/ieee488/c8280.cpp')
-rw-r--r-- | src/devices/bus/ieee488/c8280.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/devices/bus/ieee488/c8280.cpp b/src/devices/bus/ieee488/c8280.cpp index 4a142b625b5..734d506738e 100644 --- a/src/devices/bus/ieee488/c8280.cpp +++ b/src/devices/bus/ieee488/c8280.cpp @@ -269,13 +269,13 @@ WRITE8_MEMBER( c8280_device::riot1_pb_w ) */ // activity led 1 - machine().output().set_led_value(LED_ACT1, BIT(data, 3)); + m_led[LED_ACT1] = BIT(data, 3); // activity led 0 - machine().output().set_led_value(LED_ACT0, BIT(data, 4)); + m_led[LED_ACT0] = BIT(data, 4); // error led - machine().output().set_led_value(LED_ERR, BIT(data, 5)); + m_led[LED_ERR] = BIT(data, 5); } static void c8280_floppies(device_slot_interface &device) @@ -385,7 +385,9 @@ c8280_device::c8280_device(const machine_config &mconfig, const char *tag, devic m_fdc(*this, WD1797_TAG), m_floppy0(*this, WD1797_TAG ":0"), m_floppy1(*this, WD1797_TAG ":1"), - m_address(*this, "ADDRESS"), m_floppy(nullptr), + m_address(*this, "ADDRESS"), + m_floppy(nullptr), + m_led(*this, "led%u", 0U), m_rfdo(1), m_daco(1), m_atna(1), m_ifc(0), m_fk5(0) @@ -399,6 +401,8 @@ c8280_device::c8280_device(const machine_config &mconfig, const char *tag, devic void c8280_device::device_start() { + m_led.resolve(); + // state saving save_item(NAME(m_rfdo)); save_item(NAME(m_daco)); |