From a2f529a761321a824c33a39e6b2841179ea410a1 Mon Sep 17 00:00:00 2001 From: hap Date: Tue, 25 Sep 2018 22:42:37 +0200 Subject: video21: added color overlay (nw) --- src/mame/drivers/video21.cpp | 9 +- src/mame/layout/video21.lay | 216 ++++++++++++++++++++++++------------------- 2 files changed, 125 insertions(+), 100 deletions(-) diff --git a/src/mame/drivers/video21.cpp b/src/mame/drivers/video21.cpp index 38ac6e33ae8..ad3de2983cc 100644 --- a/src/mame/drivers/video21.cpp +++ b/src/mame/drivers/video21.cpp @@ -16,7 +16,6 @@ TODO: - improve sound, it's definitely beeper pitch control, but sounds offtune - identify all dips (7 total) - confirm CPU clock -- color overlay as seen on flyer upright cabinet When booted, press Key out (mapped to W by default) to get it going. @@ -69,7 +68,7 @@ private: required_shared_ptr m_p_videoram; required_region_ptr m_p_chargen; optional_device m_beeper; - output_finder<24> m_lamps; + output_finder<6> m_lamps; }; @@ -136,7 +135,7 @@ WRITE8_MEMBER(video21_state::lamp1_w) // d5: take/stand(which?) // d6: take/stand(which?) // d7: start - for (int i = 0; i < 8; i++) + for (int i = 0; i < 3; i++) m_lamps[i+0] = BIT(data, 7-i); } @@ -146,8 +145,8 @@ WRITE8_MEMBER(video21_state::lamp2_w) // d5: bet // d6: accept win/double(which?) // d7: accept win/double(which?) - for (int i = 0; i < 8; i++) - m_lamps[i+8] = BIT(data, 7-i); + for (int i = 0; i < 3; i++) + m_lamps[i+3] = BIT(data, 7-i); } diff --git a/src/mame/layout/video21.lay b/src/mame/layout/video21.lay index 5fb8ef2d20a..31d13761e30 100644 --- a/src/mame/layout/video21.lay +++ b/src/mame/layout/video21.lay @@ -1,108 +1,134 @@ - - - - - - - - - - - - + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3