diff options
author | hap <happppp@users.noreply.github.com> | 2021-09-15 10:30:41 +0200 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2021-09-15 10:30:52 +0200 |
commit | 5132133260fdaf273ab64acd6c007d2a8d641609 (patch) | |
tree | 99ae91d8df370fd58e34fd385d2fff0eaff35fd4 | |
parent | 555e6966128e67f97ab3146e2a35febe8e451ced (diff) |
fidel_checkc2: forgot to copy over local artwork file
-rw-r--r-- | src/mame/drivers/fidel_checkc2.cpp | 14 | ||||
-rw-r--r-- | src/mame/layout/fidel_cr.lay | 44 |
2 files changed, 29 insertions, 29 deletions
diff --git a/src/mame/drivers/fidel_checkc2.cpp b/src/mame/drivers/fidel_checkc2.cpp index d3ac45c9c22..f913a37fe88 100644 --- a/src/mame/drivers/fidel_checkc2.cpp +++ b/src/mame/drivers/fidel_checkc2.cpp @@ -96,7 +96,7 @@ void cr_state::machine_start() void cr_state::update_display() { - m_display->matrix(m_led_select, bitswap<7>(m_7seg_data,3,2,1,0,6,5,4)); + m_display->matrix(m_led_select, m_7seg_data); } void cr_state::segsel_w(u8 data) @@ -108,15 +108,15 @@ void cr_state::segsel_w(u8 data) void cr_state::seg0_w(u8 data) { - // H: 7seg data(low) - m_7seg_data = (m_7seg_data & 0xf0) | data; + // I: 7seg data(low) + m_7seg_data = (m_7seg_data & 0x78) | (data & 7); update_display(); } void cr_state::seg1_w(u8 data) { - // I: 7seg data(high) - m_7seg_data = (m_7seg_data & 0x0f) | data << 4; + // H: 7seg data(high) + m_7seg_data = (m_7seg_data & 0x07) | data << 3; update_display(); } @@ -218,8 +218,8 @@ void cr_state::cr(machine_config &config) m_maincpu->write_e().set(FUNC(cr_state::rama0_w)); m_maincpu->write_f().set(FUNC(cr_state::control_w)); m_maincpu->write_g().set(FUNC(cr_state::segsel_w)); - m_maincpu->write_h().set(FUNC(cr_state::seg0_w)); - m_maincpu->write_i().set(FUNC(cr_state::seg1_w)); + m_maincpu->write_h().set(FUNC(cr_state::seg1_w)); + m_maincpu->write_i().set(FUNC(cr_state::seg0_w)); /* video hardware */ PWM_DISPLAY(config, m_display).set_size(6, 7); diff --git a/src/mame/layout/fidel_cr.lay b/src/mame/layout/fidel_cr.lay index 6a77ad58c45..a1da3f43899 100644 --- a/src/mame/layout/fidel_cr.lay +++ b/src/mame/layout/fidel_cr.lay @@ -107,16 +107,16 @@ license:CC0 <!-- 7segs/leds --> <element ref="text_win"><bounds x="0.7" y="8.2" width="8" height="2" /></element> <element ref="text_lose"><bounds x="10.5" y="8.2" width="8" height="2" /></element> - <element name="4.a" ref="led"><bounds x="0" y="8.5" width="1.5" height="1.5" /></element> - <element name="5.a" ref="led"><bounds x="9.5" y="8.5" width="1.5" height="1.5" /></element> + <element name="5.a" ref="led"><bounds x="0" y="8.5" width="1.5" height="1.5" /></element> + <element name="4.a" ref="led"><bounds x="9.5" y="8.5" width="1.5" height="1.5" /></element> <element ref="text_from"><bounds x="0" y="17.2" width="8" height="2" /></element> <element ref="text_to"><bounds x="9.5" y="17.2" width="8" height="2" /></element> - <element name="digit0" ref="digit"><bounds x="0" y="11" width="4" height="6" /></element> - <element name="digit1" ref="digit"><bounds x="4" y="11" width="4" height="6" /></element> - <element name="digit2" ref="digit"><bounds x="9.5" y="11" width="4" height="6" /></element> - <element name="digit3" ref="digit"><bounds x="13.5" y="11" width="4" height="6" /></element> + <element name="digit3" ref="digit"><bounds x="0" y="11" width="4" height="6" /></element> + <element name="digit2" ref="digit"><bounds x="4" y="11" width="4" height="6" /></element> + <element name="digit1" ref="digit"><bounds x="9.5" y="11" width="4" height="6" /></element> + <element name="digit0" ref="digit"><bounds x="13.5" y="11" width="4" height="6" /></element> <!-- button panel --> <element ref="static_gray"><bounds x="0" y="20" width="4" height="3.5" /></element> @@ -153,22 +153,22 @@ license:CC0 <element ref="text_b15"><bounds x="9.1" y="32.75" width="3.8" height="2" /></element> <element ref="text_b16"><bounds x="13.6" y="32.75" width="3.8" height="2" /></element> - <element ref="hl" inputtag="RESET" inputmask="0x01"><bounds x="0" y="20" width="4" height="3.5" /><color alpha="0.2" /></element> - <element ref="hl" inputtag="IN.1" inputmask="0x01"><bounds x="4.5" y="20" width="4" height="3.5" /><color alpha="0.2" /></element> - <element ref="hl" inputtag="IN.2" inputmask="0x01"><bounds x="9" y="20" width="4" height="3.5" /><color alpha="0.2" /></element> - <element ref="hl" inputtag="IN.3" inputmask="0x01"><bounds x="13.5" y="20" width="4" height="3.5" /><color alpha="0.2" /></element> - <element ref="hl" inputtag="IN.0" inputmask="0x02"><bounds x="0" y="24" width="4" height="3.5" /><color alpha="0.2" /></element> - <element ref="hl" inputtag="IN.1" inputmask="0x02"><bounds x="4.5" y="24" width="4" height="3.5" /><color alpha="0.2" /></element> - <element ref="hl" inputtag="IN.2" inputmask="0x02"><bounds x="9" y="24" width="4" height="3.5" /><color alpha="0.2" /></element> - <element ref="hl" inputtag="IN.3" inputmask="0x02"><bounds x="13.5" y="24" width="4" height="3.5" /><color alpha="0.2" /></element> - <element ref="hl" inputtag="IN.0" inputmask="0x04"><bounds x="0" y="28" width="4" height="3.5" /><color alpha="0.2" /></element> - <element ref="hl" inputtag="IN.1" inputmask="0x04"><bounds x="4.5" y="28" width="4" height="3.5" /><color alpha="0.2" /></element> - <element ref="hl" inputtag="IN.2" inputmask="0x04"><bounds x="9" y="28" width="4" height="3.5" /><color alpha="0.2" /></element> - <element ref="hl" inputtag="IN.3" inputmask="0x04"><bounds x="13.5" y="28" width="4" height="3.5" /><color alpha="0.2" /></element> - <element ref="hl" inputtag="IN.0" inputmask="0x08"><bounds x="0" y="32" width="4" height="3.5" /><color alpha="0.2" /></element> - <element ref="hl" inputtag="IN.1" inputmask="0x08"><bounds x="4.5" y="32" width="4" height="3.5" /><color alpha="0.2" /></element> - <element ref="hl" inputtag="IN.2" inputmask="0x08"><bounds x="9" y="32" width="4" height="3.5" /><color alpha="0.2" /></element> - <element ref="hl" inputtag="IN.3" inputmask="0x08"><bounds x="13.5" y="32" width="4" height="3.5" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="IN.0" inputmask="0x08"><bounds x="0" y="20" width="4" height="3.5" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="IN.1" inputmask="0x08"><bounds x="4.5" y="20" width="4" height="3.5" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="IN.2" inputmask="0x08"><bounds x="9" y="20" width="4" height="3.5" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="IN.3" inputmask="0x08"><bounds x="13.5" y="20" width="4" height="3.5" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="IN.0" inputmask="0x04"><bounds x="0" y="24" width="4" height="3.5" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="IN.1" inputmask="0x04"><bounds x="4.5" y="24" width="4" height="3.5" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="IN.2" inputmask="0x04"><bounds x="9" y="24" width="4" height="3.5" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="IN.3" inputmask="0x04"><bounds x="13.5" y="24" width="4" height="3.5" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="IN.0" inputmask="0x02"><bounds x="0" y="28" width="4" height="3.5" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="IN.1" inputmask="0x02"><bounds x="4.5" y="28" width="4" height="3.5" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="IN.2" inputmask="0x02"><bounds x="9" y="28" width="4" height="3.5" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="IN.3" inputmask="0x02"><bounds x="13.5" y="28" width="4" height="3.5" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="IN.0" inputmask="0x01"><bounds x="0" y="32" width="4" height="3.5" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="IN.1" inputmask="0x01"><bounds x="4.5" y="32" width="4" height="3.5" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="IN.2" inputmask="0x01"><bounds x="9" y="32" width="4" height="3.5" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="IN.3" inputmask="0x01"><bounds x="13.5" y="32" width="4" height="3.5" /><color alpha="0.2" /></element> </view> </mamelayout> |