summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/meyc8080.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/meyc8080.cpp')
-rw-r--r--src/mame/drivers/meyc8080.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/drivers/meyc8080.cpp b/src/mame/drivers/meyc8080.cpp
index 6092d9180c1..fd0239b685d 100644
--- a/src/mame/drivers/meyc8080.cpp
+++ b/src/mame/drivers/meyc8080.cpp
@@ -78,7 +78,7 @@ public:
, m_videoram_2(*this, "vram2")
, m_maincpu(*this, "maincpu")
, m_dac(*this, "dac")
- , m_lamp(*this, "lamp%u", 0U)
+ , m_lamps(*this, "lamp%u", 0U)
{ }
DECLARE_WRITE8_MEMBER(lights_1_w);
@@ -93,14 +93,14 @@ public:
void meyc8080_map(address_map &map);
protected:
- virtual void machine_start() override { m_lamp.resolve(); }
+ virtual void machine_start() override { m_lamps.resolve(); }
required_shared_ptr<uint8_t> m_videoram_0;
required_shared_ptr<uint8_t> m_videoram_1;
required_shared_ptr<uint8_t> m_videoram_2;
required_device<cpu_device> m_maincpu;
required_device<dac_byte_interface> m_dac;
- output_finder<11> m_lamp;
+ output_finder<11> m_lamps;
};
@@ -190,11 +190,11 @@ WRITE8_MEMBER(meyc8080_state::lights_1_w)
xxxx ---- Seems unused...
*/
- m_lamp[0] = BIT(data, 0); /* Lamp 0 */
- m_lamp[1] = BIT(data, 1); /* Lamp 1 */
- m_lamp[2] = BIT(data, 2); /* Lamp 2 */
- m_lamp[3] = BIT(data, 3); /* Lamp 3 */
- m_lamp[4] = BIT(data, 4); /* Lamp 4 */
+ m_lamps[0] = BIT(data, 0); /* Lamp 0 */
+ m_lamps[1] = BIT(data, 1); /* Lamp 1 */
+ m_lamps[2] = BIT(data, 2); /* Lamp 2 */
+ m_lamps[3] = BIT(data, 3); /* Lamp 3 */
+ m_lamps[4] = BIT(data, 4); /* Lamp 4 */
logerror("lights 1: %02x\n", data);
}
@@ -237,13 +237,13 @@ WRITE8_MEMBER(meyc8080_state::lights_2_w)
xxx- ---- Unknown.
*/
- m_lamp[5] = BIT(data, 0); /* Lamp 5 */
- m_lamp[6] = BIT(data, 1); /* Lamp 6 */
- m_lamp[7] = BIT(data, 2); /* Lamp 7 */
- m_lamp[8] = BIT(data, 3); /* Lamp 8 */
- m_lamp[9] = BIT(data, 4); /* Lamp 9 */
+ m_lamps[5] = BIT(data, 0); /* Lamp 5 */
+ m_lamps[6] = BIT(data, 1); /* Lamp 6 */
+ m_lamps[7] = BIT(data, 2); /* Lamp 7 */
+ m_lamps[8] = BIT(data, 3); /* Lamp 8 */
+ m_lamps[9] = BIT(data, 4); /* Lamp 9 */
- m_lamp[10] = BIT(data, 5); /* Lamp 10 (Game-Over) */
+ m_lamps[10] = BIT(data, 5); /* Lamp 10 (Game-Over) */
logerror("lights 2: %02x\n", data);
}