diff options
Diffstat (limited to 'src/devices/bus')
26 files changed, 77 insertions, 77 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; diff --git a/src/devices/bus/cbmiec/c1541.cpp b/src/devices/bus/cbmiec/c1541.cpp index 3352de9ea50..10340727cd7 100644 --- a/src/devices/bus/cbmiec/c1541.cpp +++ b/src/devices/bus/cbmiec/c1541.cpp @@ -726,7 +726,7 @@ WRITE8_MEMBER( c1541_device_base::via1_pb_w ) m_ga->stp_w(data & 0x03); // activity LED - m_led[LED_ACT] = BIT(data, 3); + m_leds[LED_ACT] = BIT(data, 3); // density select m_ga->ds_w((data >> 5) & 0x03); @@ -943,7 +943,7 @@ c1541_device_base::c1541_device_base(const machine_config &mconfig, device_type m_via1(*this, M6522_1_TAG), m_ga(*this, C64H156_TAG), m_address(*this, "ADDRESS"), - m_led(*this, "led%u", 0U), + m_leds(*this, "led%u", 0U), m_data_out(1), m_via0_irq(CLEAR_LINE), m_via1_irq(CLEAR_LINE) @@ -1058,7 +1058,7 @@ indus_gt_device::indus_gt_device(const machine_config &mconfig, const char *tag, void c1541_device_base::device_start() { - m_led.resolve(); + m_leds.resolve(); // install image callbacks m_ga->set_floppy(m_floppy); diff --git a/src/devices/bus/cbmiec/c1541.h b/src/devices/bus/cbmiec/c1541.h index 263f8618e38..490d00614c9 100644 --- a/src/devices/bus/cbmiec/c1541.h +++ b/src/devices/bus/cbmiec/c1541.h @@ -93,7 +93,7 @@ private: required_device<via6522_device> m_via1; required_device<c64h156_device> m_ga; required_ioport m_address; - output_finder<2> m_led; + output_finder<2> m_leds; // IEC bus int m_data_out; // serial data out diff --git a/src/devices/bus/cbmiec/c1571.cpp b/src/devices/bus/cbmiec/c1571.cpp index ead261245e4..706db1fd73f 100644 --- a/src/devices/bus/cbmiec/c1571.cpp +++ b/src/devices/bus/cbmiec/c1571.cpp @@ -459,7 +459,7 @@ WRITE8_MEMBER( c1571_device::via1_pb_w ) m_ga->stp_w(data & 0x03); // TODO actually STP1=0, STP0=!(PB0^PB1), Y0=PB1, Y2=!PB1 // activity LED - m_led[LED_ACT] = BIT(data, 3); + m_leds[LED_ACT] = BIT(data, 3); // density select m_ga->ds_w((data >> 5) & 0x03); @@ -791,7 +791,7 @@ c1571_device::c1571_device(const machine_config &mconfig, device_type type, cons m_ga(*this, C64H156_TAG), m_floppy(*this, C64H156_TAG":0:525qd"), m_address(*this, "ADDRESS"), - m_led(*this, "led%u", 0U), + m_leds(*this, "led%u", 0U), m_1_2mhz(0), m_data_out(1), m_ser_dir(0), @@ -845,7 +845,7 @@ mini_chief_device::mini_chief_device(const machine_config &mconfig, const char * void c1571_device::device_start() { - m_led.resolve(); + m_leds.resolve(); // install image callbacks m_ga->set_floppy(m_floppy); diff --git a/src/devices/bus/cbmiec/c1571.h b/src/devices/bus/cbmiec/c1571.h index fa9cab64576..679c5d6f5a3 100644 --- a/src/devices/bus/cbmiec/c1571.h +++ b/src/devices/bus/cbmiec/c1571.h @@ -107,7 +107,7 @@ protected: required_device<c64h156_device> m_ga; required_device<floppy_image_device> m_floppy; required_ioport m_address; - output_finder<2> m_led; + output_finder<2> m_leds; // signals int m_1_2mhz; // clock speed diff --git a/src/devices/bus/cbmiec/c1581.cpp b/src/devices/bus/cbmiec/c1581.cpp index 569aae45421..cec3e83ad1a 100644 --- a/src/devices/bus/cbmiec/c1581.cpp +++ b/src/devices/bus/cbmiec/c1581.cpp @@ -171,10 +171,10 @@ WRITE8_MEMBER( c1581_device::cia_pa_w ) m_floppy->mon_w(BIT(data, 2)); // power led - m_led[LED_POWER] = BIT(data, 5); + m_leds[LED_POWER] = BIT(data, 5); // activity led - m_led[LED_ACT] = BIT(data, 6); + m_leds[LED_ACT] = BIT(data, 6); } READ8_MEMBER( c1581_device::cia_pb_r ) @@ -326,7 +326,7 @@ c1581_device::c1581_device(const machine_config &mconfig, device_type type, cons m_fdc(*this, WD1772_TAG), m_floppy(*this, WD1772_TAG":0:35dd"), m_address(*this, "ADDRESS"), - m_led(*this, "led%u", 0U), + m_leds(*this, "led%u", 0U), m_data_out(0), m_atn_ack(0), m_fast_ser_dir(0), @@ -355,7 +355,7 @@ c1563_device::c1563_device(const machine_config &mconfig, const char *tag, devic void c1581_device::device_start() { - m_led.resolve(); + m_leds.resolve(); // state saving save_item(NAME(m_data_out)); diff --git a/src/devices/bus/cbmiec/c1581.h b/src/devices/bus/cbmiec/c1581.h index 3102bd8eadf..000eade4756 100644 --- a/src/devices/bus/cbmiec/c1581.h +++ b/src/devices/bus/cbmiec/c1581.h @@ -82,7 +82,7 @@ private: required_device<wd1772_device> m_fdc; required_device<floppy_image_device> m_floppy; required_ioport m_address; - output_finder<2> m_led; + output_finder<2> m_leds; int m_data_out; // serial data out int m_atn_ack; // attention acknowledge diff --git a/src/devices/bus/ieee488/c2031.cpp b/src/devices/bus/ieee488/c2031.cpp index b10d14891d5..c611cf70db5 100644 --- a/src/devices/bus/ieee488/c2031.cpp +++ b/src/devices/bus/ieee488/c2031.cpp @@ -261,7 +261,7 @@ WRITE8_MEMBER( c2031_device::via1_pb_w ) m_ga->stp_w(data & 0x03); // activity LED - m_led[LED_ACT] = BIT(data, 3); + m_leds[LED_ACT] = BIT(data, 3); // density select m_ga->ds_w((data >> 5) & 0x03); @@ -398,7 +398,7 @@ c2031_device::c2031_device(const machine_config &mconfig, const char *tag, devic , m_ga(*this, C64H156_TAG) , m_floppy(*this, C64H156_TAG":0:525ssqd") , m_address(*this, "ADDRESS") - , m_led(*this, "led%u", 0U) + , m_leds(*this, "led%u", 0U) , m_nrfd_out(1) , m_ndac_out(1) , m_atna(1) @@ -415,7 +415,7 @@ c2031_device::c2031_device(const machine_config &mconfig, const char *tag, devic void c2031_device::device_start() { - m_led.resolve(); + m_leds.resolve(); // install image callbacks m_ga->set_floppy(m_floppy); diff --git a/src/devices/bus/ieee488/c2031.h b/src/devices/bus/ieee488/c2031.h index e6ac32b478c..e322267d5c0 100644 --- a/src/devices/bus/ieee488/c2031.h +++ b/src/devices/bus/ieee488/c2031.h @@ -68,7 +68,7 @@ private: required_device<c64h156_device> m_ga; required_device<floppy_image_device> m_floppy; required_ioport m_address; - output_finder<2> m_led; + output_finder<2> m_leds; // IEEE-488 bus int m_nrfd_out; // not ready for data diff --git a/src/devices/bus/ieee488/c2040.cpp b/src/devices/bus/ieee488/c2040.cpp index 609cea7cdc2..a762bef05f9 100644 --- a/src/devices/bus/ieee488/c2040.cpp +++ b/src/devices/bus/ieee488/c2040.cpp @@ -365,13 +365,13 @@ WRITE8_MEMBER( c2040_device::riot1_pb_w ) */ // activity led 1 - m_led[LED_ACT1] = BIT(data, 3); + m_leds[LED_ACT1] = BIT(data, 3); // activity led 0 - m_led[LED_ACT0] = BIT(data, 4); + m_leds[LED_ACT0] = BIT(data, 4); // error led - m_led[LED_ERR] = BIT(data, 5); + m_leds[LED_ERR] = BIT(data, 5); } @@ -650,7 +650,7 @@ c2040_device::c2040_device(const machine_config &mconfig, device_type type, cons m_fdc(*this, FDC_TAG), m_gcr(*this, "gcr"), m_address(*this, "ADDRESS"), - m_led(*this, "led%u", 0U), + m_leds(*this, "led%u", 0U), m_rfdo(1), m_daco(1), m_atna(1), @@ -690,7 +690,7 @@ c4040_device::c4040_device(const machine_config &mconfig, const char *tag, devic void c2040_device::device_start() { - m_led.resolve(); + m_leds.resolve(); // install image callbacks m_fdc->set_floppy(m_floppy0, m_floppy1); diff --git a/src/devices/bus/ieee488/c2040.h b/src/devices/bus/ieee488/c2040.h index db592853b60..dd72623c150 100644 --- a/src/devices/bus/ieee488/c2040.h +++ b/src/devices/bus/ieee488/c2040.h @@ -81,7 +81,7 @@ protected: required_device<c2040_fdc_device> m_fdc; required_memory_region m_gcr; required_ioport m_address; - output_finder<4> m_led; + output_finder<4> m_leds; // IEEE-488 bus int m_rfdo; // not ready for data output diff --git a/src/devices/bus/ieee488/c8050.cpp b/src/devices/bus/ieee488/c8050.cpp index 714fc6bcbfe..c80f23892be 100644 --- a/src/devices/bus/ieee488/c8050.cpp +++ b/src/devices/bus/ieee488/c8050.cpp @@ -415,13 +415,13 @@ WRITE8_MEMBER( c8050_device::riot1_pb_w ) */ // activity led 1 - m_led[LED_ACT1] = BIT(data, 3); + m_leds[LED_ACT1] = BIT(data, 3); // activity led 0 - m_led[LED_ACT0] = BIT(data, 4); + m_leds[LED_ACT0] = BIT(data, 4); // error led - m_led[LED_ERR] = BIT(data, 5); + m_leds[LED_ERR] = BIT(data, 5); } WRITE8_MEMBER( c8050_device::via_pb_w ) @@ -782,7 +782,7 @@ c8050_device::c8050_device(const machine_config &mconfig, device_type type, cons m_floppy1(*this, FDC_TAG ":1"), m_fdc(*this, FDC_TAG), m_address(*this, "ADDRESS"), - m_led(*this, "led%u", 0U), + m_leds(*this, "led%u", 0U), m_rfdo(1), m_daco(1), m_atna(1), @@ -832,7 +832,7 @@ sfd1001_device::sfd1001_device(const machine_config &mconfig, const char *tag, d void c8050_device::device_start() { - m_led.resolve(); + m_leds.resolve(); // install image callbacks m_fdc->set_floppy(m_floppy0, m_floppy1); diff --git a/src/devices/bus/ieee488/c8050.h b/src/devices/bus/ieee488/c8050.h index 77fd15b04f3..c4d236f1888 100644 --- a/src/devices/bus/ieee488/c8050.h +++ b/src/devices/bus/ieee488/c8050.h @@ -72,7 +72,7 @@ protected: optional_device<floppy_connector> m_floppy1; required_device<c8050_fdc_device> m_fdc; required_ioport m_address; - output_finder<4> m_led; + output_finder<4> m_leds; // IEEE-488 bus int m_rfdo; // not ready for data output diff --git a/src/devices/bus/ieee488/c8280.cpp b/src/devices/bus/ieee488/c8280.cpp index 734d506738e..57203fde779 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 - m_led[LED_ACT1] = BIT(data, 3); + m_leds[LED_ACT1] = BIT(data, 3); // activity led 0 - m_led[LED_ACT0] = BIT(data, 4); + m_leds[LED_ACT0] = BIT(data, 4); // error led - m_led[LED_ERR] = BIT(data, 5); + m_leds[LED_ERR] = BIT(data, 5); } static void c8280_floppies(device_slot_interface &device) @@ -387,7 +387,7 @@ c8280_device::c8280_device(const machine_config &mconfig, const char *tag, devic m_floppy1(*this, WD1797_TAG ":1"), m_address(*this, "ADDRESS"), m_floppy(nullptr), - m_led(*this, "led%u", 0U), + m_leds(*this, "led%u", 0U), m_rfdo(1), m_daco(1), m_atna(1), m_ifc(0), m_fk5(0) @@ -401,7 +401,7 @@ c8280_device::c8280_device(const machine_config &mconfig, const char *tag, devic void c8280_device::device_start() { - m_led.resolve(); + m_leds.resolve(); // state saving save_item(NAME(m_rfdo)); diff --git a/src/devices/bus/ieee488/c8280.h b/src/devices/bus/ieee488/c8280.h index 76aadff7217..c04f3e9b5d9 100644 --- a/src/devices/bus/ieee488/c8280.h +++ b/src/devices/bus/ieee488/c8280.h @@ -71,7 +71,7 @@ private: required_device<floppy_connector> m_floppy1; required_ioport m_address; floppy_image_device *m_floppy; - output_finder<4> m_led; + output_finder<4> m_leds; // IEEE-488 bus int m_rfdo; // not ready for data output diff --git a/src/devices/bus/ieee488/d9060.cpp b/src/devices/bus/ieee488/d9060.cpp index a77c2613fec..94551c5ca34 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 - m_led[LED_READY] = BIT(data, 4); + m_leds[LED_READY] = BIT(data, 4); // power led - m_led[LED_POWER] = BIT(data, 5); + m_leds[LED_POWER] = BIT(data, 5); // error led - m_led[LED_ERROR] = !BIT(data, 5); + m_leds[LED_ERROR] = !BIT(data, 5); } @@ -486,7 +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_leds(*this, "led%u", 0U) , m_rfdo(1) , m_daco(1) , m_atna(1) @@ -524,7 +524,7 @@ d9090_device::d9090_device(const machine_config &mconfig, const char *tag, devic void d9060_device_base::device_start() { - m_led.resolve(); + m_leds.resolve(); // state saving save_item(NAME(m_rfdo)); diff --git a/src/devices/bus/ieee488/d9060.h b/src/devices/bus/ieee488/d9060.h index f1c852745f7..d08d43ab740 100644 --- a/src/devices/bus/ieee488/d9060.h +++ b/src/devices/bus/ieee488/d9060.h @@ -73,7 +73,7 @@ private: required_device<scsi_port_device> m_sasibus; required_device<output_latch_device> m_sasi_data_out; required_ioport m_address; - output_finder<3> m_led; + output_finder<3> m_leds; // IEEE-488 bus int m_rfdo; // not ready for data output diff --git a/src/devices/bus/ieee488/hardbox.cpp b/src/devices/bus/ieee488/hardbox.cpp index f8fabf6a967..f1f6af7bbc4 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 ) */ - m_led[LED_A] = BIT(~data, 0); - m_led[LED_B] = BIT(~data, 1); - m_led[LED_READY] = BIT(~data, 2); + m_leds[LED_A] = BIT(~data, 0); + m_leds[LED_B] = BIT(~data, 1); + m_leds[LED_READY] = BIT(~data, 2); } @@ -344,7 +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_leds(*this, "led%u", 0U) , m_ifc(0) { } @@ -356,7 +356,7 @@ hardbox_device::hardbox_device(const machine_config &mconfig, const char *tag, d void hardbox_device::device_start() { - m_led.resolve(); + m_leds.resolve(); } diff --git a/src/devices/bus/ieee488/hardbox.h b/src/devices/bus/ieee488/hardbox.h index 79d3acacb7b..65736c4e04f 100644 --- a/src/devices/bus/ieee488/hardbox.h +++ b/src/devices/bus/ieee488/hardbox.h @@ -68,7 +68,7 @@ private: required_device<cpu_device> m_maincpu; required_device<corvus_hdc_device> m_hdc; - output_finder<3> m_led; + output_finder<3> m_leds; int m_ifc; // Tracks previous state of IEEE-488 IFC line }; diff --git a/src/devices/bus/ieee488/softbox.cpp b/src/devices/bus/ieee488/softbox.cpp index b6b3d67dd01..b38cf3ff874 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 ) */ - m_led[LED_A] = BIT(~data, 0); - m_led[LED_B] = BIT(~data, 1); - m_led[LED_READY] = BIT(~data, 2); + m_leds[LED_A] = BIT(~data, 0); + m_leds[LED_B] = BIT(~data, 1); + m_leds[LED_READY] = BIT(~data, 2); } static DEVICE_INPUT_DEFAULTS_START( terminal ) @@ -324,7 +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_leds(*this, "led%u", 0U) , m_ifc(0) { } @@ -336,7 +336,7 @@ softbox_device::softbox_device(const machine_config &mconfig, const char *tag, d void softbox_device::device_start() { - m_led.resolve(); + m_leds.resolve(); } diff --git a/src/devices/bus/ieee488/softbox.h b/src/devices/bus/ieee488/softbox.h index 9040c9c9853..0fce3e9f8d1 100644 --- a/src/devices/bus/ieee488/softbox.h +++ b/src/devices/bus/ieee488/softbox.h @@ -72,7 +72,7 @@ private: required_device<cpu_device> m_maincpu; required_device<com8116_device> m_dbrg; required_device<corvus_hdc_device> m_hdc; - output_finder<3> m_led; + output_finder<3> m_leds; int m_ifc; // Tracks previous state of IEEE-488 IFC line }; diff --git a/src/devices/bus/pc_kbd/pcat84.cpp b/src/devices/bus/pc_kbd/pcat84.cpp index 0b78c126d86..0fc410d152e 100644 --- a/src/devices/bus/pc_kbd/pcat84.cpp +++ b/src/devices/bus/pc_kbd/pcat84.cpp @@ -343,7 +343,7 @@ ibm_pc_at_84_keyboard_device::ibm_pc_at_84_keyboard_device(const machine_config m_dr(*this, "DR%02u", 0), m_kbdida(*this, "KBDIDA"), m_kbdidb(*this, "KBDIDB"), - m_led(*this, "led%u", 0U), + m_leds(*this, "led%u", 0U), m_db(0), m_cnt(0), m_sense(0), @@ -370,7 +370,7 @@ void ibm_pc_at_84_keyboard_device::device_start() { set_pc_kbdc_device(); - m_led.resolve(); + m_leds.resolve(); // state saving save_item(NAME(m_db)); @@ -529,9 +529,9 @@ WRITE8_MEMBER( ibm_pc_at_84_keyboard_device::p2_w ) */ - m_led[LED_SCROLL] = BIT(data, 0); - m_led[LED_NUM] = BIT(data, 1); - m_led[LED_CAPS] = BIT(data, 2); + m_leds[LED_SCROLL] = BIT(data, 0); + m_leds[LED_NUM] = BIT(data, 1); + m_leds[LED_CAPS] = BIT(data, 2); m_pc_kbdc->data_write_from_kb(!BIT(data, 7)); m_pc_kbdc->clock_write_from_kb(!BIT(data, 6)); diff --git a/src/devices/bus/pc_kbd/pcat84.h b/src/devices/bus/pc_kbd/pcat84.h index fbc73172d90..4b97b8e7aa0 100644 --- a/src/devices/bus/pc_kbd/pcat84.h +++ b/src/devices/bus/pc_kbd/pcat84.h @@ -68,7 +68,7 @@ private: required_ioport_array<16> m_dr; optional_ioport m_kbdida; optional_ioport m_kbdidb; - output_finder<3> m_led; + output_finder<3> m_leds; uint8_t m_db; int m_cnt; diff --git a/src/devices/bus/plus4/c1551.cpp b/src/devices/bus/plus4/c1551.cpp index 575f3e65171..1da50a5f47d 100644 --- a/src/devices/bus/plus4/c1551.cpp +++ b/src/devices/bus/plus4/c1551.cpp @@ -109,7 +109,7 @@ WRITE8_MEMBER( c1551_device::port_w ) m_ga->mtr_w(BIT(data, 2)); // activity LED - m_led[LED_ACT] = BIT(data, 3); + m_leds[LED_ACT] = BIT(data, 3); // density select m_ga->ds_w((data >> 5) & 0x03); @@ -416,7 +416,7 @@ c1551_device::c1551_device(const machine_config &mconfig, const char *tag, devic , m_floppy(*this, C64H156_TAG":0:525ssqd") , m_exp(*this, PLUS4_EXPANSION_SLOT_TAG) , m_jp1(*this, "JP1") - , m_led(*this, "led%u", 0U) + , m_leds(*this, "led%u", 0U) , m_tcbm_data(0xff) , m_status(1) , m_dav(1) @@ -433,7 +433,7 @@ c1551_device::c1551_device(const machine_config &mconfig, const char *tag, devic void c1551_device::device_start() { - m_led.resolve(); + m_leds.resolve(); // allocate timers m_irq_timer = timer_alloc(); diff --git a/src/devices/bus/plus4/c1551.h b/src/devices/bus/plus4/c1551.h index b79f0fb58eb..4d057ccb2bb 100644 --- a/src/devices/bus/plus4/c1551.h +++ b/src/devices/bus/plus4/c1551.h @@ -82,7 +82,7 @@ private: required_device<floppy_image_device> m_floppy; required_device<plus4_expansion_slot_device> m_exp; required_ioport m_jp1; - output_finder<2> m_led; + output_finder<2> m_leds; // TCBM bus uint8_t m_tcbm_data; // data |