diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2016-01-10 18:51:11 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2016-01-10 18:51:36 +0100 |
commit | c678902d0b36d3274a678b35610a21fe880ed53c (patch) | |
tree | 5765117b81ef85946e45f1ee1fe0c8c41ae06cad /src/mame/drivers/de_3.cpp | |
parent | 74b39e26d2fffcdb6e567b06b1f20792a5239bd2 (diff) |
make output be part of driver_device (nw)
Diffstat (limited to 'src/mame/drivers/de_3.cpp')
-rw-r--r-- | src/mame/drivers/de_3.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/de_3.cpp b/src/mame/drivers/de_3.cpp index c789b0a1f62..24793a2058b 100644 --- a/src/mame/drivers/de_3.cpp +++ b/src/mame/drivers/de_3.cpp @@ -199,7 +199,7 @@ WRITE8_MEMBER( de_3_state::dig0_w ) // data &= 0x7f; // m_strobe = data & 15; // m_diag = (data & 0x70) >> 4; -// machine().output().set_digit_value(60, patterns[data>>4]); // diag digit +// output().set_digit_value(60, patterns[data>>4]); // diag digit // m_segment1 = 0; // m_segment2 = 0; } @@ -211,9 +211,9 @@ WRITE8_MEMBER( de_3_state::dig1_w ) // if ((m_segment2 & 0x70000) == 0x30000) // { // if(m_is_alpha3) // Alphanumeric type 2 uses 7 segment LEDs on the bottom row, type 3 uses 14 segment LEDs -// machine().output().set_digit_value(m_strobe+16, BITSWAP16(m_segment2, 7, 15, 12, 10, 8, 14, 13, 9, 11, 6, 5, 4, 3, 2, 1, 0)); +// output().set_digit_value(m_strobe+16, BITSWAP16(m_segment2, 7, 15, 12, 10, 8, 14, 13, 9, 11, 6, 5, 4, 3, 2, 1, 0)); // else -// machine().output().set_digit_value(m_strobe+16, BITSWAP16(m_segment2, 11, 15, 12, 10, 8, 14, 13, 9, 7, 6, 5, 4, 3, 2, 1, 0)); +// output().set_digit_value(m_strobe+16, BITSWAP16(m_segment2, 11, 15, 12, 10, 8, 14, 13, 9, 7, 6, 5, 4, 3, 2, 1, 0)); // m_segment2 |= 0x40000; // } } @@ -246,7 +246,7 @@ WRITE8_MEMBER( de_3_state::pia2c_pa_w ) // m_segment1 |= 0x10000; // if ((m_segment1 & 0x70000) == 0x30000) // { -// machine().output().set_digit_value(m_strobe, BITSWAP16(m_segment1, 7, 15, 12, 10, 8, 14, 13, 9, 11, 6, 5, 4, 3, 2, 1, 0)); +// output().set_digit_value(m_strobe, BITSWAP16(m_segment1, 7, 15, 12, 10, 8, 14, 13, 9, 11, 6, 5, 4, 3, 2, 1, 0)); // m_segment1 |= 0x40000; // } } @@ -278,7 +278,7 @@ WRITE8_MEMBER( de_3_state::pia2c_pb_w ) // m_segment1 |= 0x20000; // if ((m_segment1 & 0x70000) == 0x30000) // { -// machine().output().set_digit_value(m_strobe, BITSWAP16(m_segment1, 7, 15, 12, 10, 8, 14, 13, 9, 11, 6, 5, 4, 3, 2, 1, 0)); +// output().set_digit_value(m_strobe, BITSWAP16(m_segment1, 7, 15, 12, 10, 8, 14, 13, 9, 11, 6, 5, 4, 3, 2, 1, 0)); // m_segment1 |= 0x40000; // } } @@ -312,7 +312,7 @@ WRITE8_MEMBER( de_3_state::pia34_pa_w ) // m_segment2 |= 0x10000; // if ((m_segment2 & 0x70000) == 0x30000) // { -// machine().output().set_digit_value(m_strobe+16, BITSWAP16(m_segment2, 7, 15, 12, 10, 8, 14, 13, 9, 11, 6, 5, 4, 3, 2, 1, 0)); +// output().set_digit_value(m_strobe+16, BITSWAP16(m_segment2, 7, 15, 12, 10, 8, 14, 13, 9, 11, 6, 5, 4, 3, 2, 1, 0)); // m_segment2 |= 0x40000; // } } |