diff options
Diffstat (limited to 'src/devices/bus/abckb')
-rw-r--r-- | src/devices/bus/abckb/abc99.cpp | 26 | ||||
-rw-r--r-- | src/devices/bus/abckb/abc99.h | 2 |
2 files changed, 14 insertions, 14 deletions
diff --git a/src/devices/bus/abckb/abc99.cpp b/src/devices/bus/abckb/abc99.cpp index 49d0e9e7dd9..703c7d12933 100644 --- a/src/devices/bus/abckb/abc99.cpp +++ b/src/devices/bus/abckb/abc99.cpp @@ -478,7 +478,7 @@ abc99_device::abc99_device(const machine_config &mconfig, const char *tag, devic m_speaker(*this, "speaker"), m_z14(*this, "Z14"), m_mouseb(*this, "MOUSEB"), - m_led(*this, "led%u", 0U), + m_leds(*this, "led%u", 0U), m_si(1), m_si_en(1), m_so_z2(1), @@ -499,7 +499,7 @@ abc99_device::abc99_device(const machine_config &mconfig, const char *tag, devic void abc99_device::device_start() { - m_led.resolve(); + m_leds.resolve(); // allocate timers m_serial_timer = timer_alloc(TIMER_SERIAL); m_serial_timer->adjust(MCS48_ALE_CLOCK(XTAL(6'000'000)/3), 0, MCS48_ALE_CLOCK(XTAL(6'000'000)/3)); @@ -575,14 +575,14 @@ WRITE8_MEMBER( abc99_device::z2_led_w ) { if (m_led_en) return; - m_led[LED_1] = BIT(data, 0); - m_led[LED_2] = BIT(data, 1); - m_led[LED_3] = BIT(data, 2); - m_led[LED_4] = BIT(data, 3); - m_led[LED_5] = BIT(data, 4); - m_led[LED_6] = BIT(data, 5); - m_led[LED_7] = BIT(data, 6); - m_led[LED_8] = BIT(data, 7); + m_leds[LED_1] = BIT(data, 0); + m_leds[LED_2] = BIT(data, 1); + m_leds[LED_3] = BIT(data, 2); + m_leds[LED_4] = BIT(data, 3); + m_leds[LED_5] = BIT(data, 4); + m_leds[LED_6] = BIT(data, 5); + m_leds[LED_7] = BIT(data, 6); + m_leds[LED_8] = BIT(data, 7); } @@ -618,9 +618,9 @@ WRITE8_MEMBER( abc99_device::z2_p1_w ) m_t1_z5 = BIT(data, 2); // key LEDs - m_led[LED_INS] = BIT(data, 3); - m_led[LED_ALT] = BIT(data, 4); - m_led[LED_CAPS_LOCK] = BIT(data, 5); + m_leds[LED_INS] = BIT(data, 3); + m_leds[LED_ALT] = BIT(data, 4); + m_leds[LED_CAPS_LOCK] = BIT(data, 5); // speaker output m_speaker->level_w(!BIT(data, 6)); diff --git a/src/devices/bus/abckb/abc99.h b/src/devices/bus/abckb/abc99.h index 83682548275..1ad279141e8 100644 --- a/src/devices/bus/abckb/abc99.h +++ b/src/devices/bus/abckb/abc99.h @@ -97,7 +97,7 @@ private: required_device<speaker_sound_device> m_speaker; required_ioport m_z14; required_ioport m_mouseb; - output_finder<11> m_led; + output_finder<11> m_leds; int m_si; int m_si_en; |