mirror of
https://github.com/holub/mame
synced 2025-06-01 02:21:48 +03:00
mchess: switch default view (nw)
This commit is contained in:
parent
8c2797f12c
commit
6d67351c0d
@ -168,7 +168,7 @@ inline void construct_core_types_P2(simple_list<input_type_entry> &typelist)
|
||||
INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, BUTTON2, "P2 Button 2", input_seq(KEYCODE_S, input_seq::or_code, JOYCODE_BUTTON2_INDEXED(1), input_seq::or_code, MOUSECODE_BUTTON3_INDEXED(1), input_seq::or_code, GUNCODE_BUTTON2_INDEXED(1)) )
|
||||
INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, BUTTON3, "P2 Button 3", input_seq(KEYCODE_Q, input_seq::or_code, JOYCODE_BUTTON3_INDEXED(1), input_seq::or_code, MOUSECODE_BUTTON2_INDEXED(1)) )
|
||||
INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, BUTTON4, "P2 Button 4", input_seq(KEYCODE_W, input_seq::or_code, JOYCODE_BUTTON4_INDEXED(1)) )
|
||||
INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, BUTTON5, "P2 Button 5", input_seq(JOYCODE_BUTTON5_INDEXED(1)) )
|
||||
INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, BUTTON5, "P2 Button 5", input_seq(KEYCODE_E, input_seq::or_code, JOYCODE_BUTTON5_INDEXED(1)) )
|
||||
INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, BUTTON6, "P2 Button 6", input_seq(JOYCODE_BUTTON6_INDEXED(1)) )
|
||||
INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, BUTTON7, "P2 Button 7", input_seq(JOYCODE_BUTTON7_INDEXED(1)) )
|
||||
INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, BUTTON8, "P2 Button 8", input_seq(JOYCODE_BUTTON8_INDEXED(1)) )
|
||||
|
@ -372,7 +372,7 @@ WRITE8_MEMBER(csc_state::pia1_pb_w)
|
||||
m_speech->start_w(data >> 1 & 1);
|
||||
|
||||
// d4: lower TSI volume
|
||||
m_speech->set_output_gain(0, (data & 0x10) ? 0.5 : 1.0);
|
||||
m_speech->set_output_gain(0, (data & 0x10) ? 0.25 : 1.0);
|
||||
}
|
||||
|
||||
READ8_MEMBER(csc_state::pia1_pb_r)
|
||||
|
@ -176,7 +176,7 @@ WRITE8_MEMBER(elite_state::ppi_portc_w)
|
||||
m_speech_bank = data >> 4 & 1;
|
||||
|
||||
// d5: lower TSI volume
|
||||
m_speech->set_output_gain(0, (data & 0x20) ? 0.5 : 1.0);
|
||||
m_speech->set_output_gain(0, (data & 0x20) ? 0.25 : 1.0);
|
||||
|
||||
// d6,d7: bookrom bankswitch (model EAG)
|
||||
if (m_rombank != nullptr)
|
||||
|
@ -275,7 +275,7 @@ WRITE8_MEMBER(vsc_state::pio_portb_w)
|
||||
m_speech->start_w(data >> 6 & 1);
|
||||
|
||||
// d2: lower TSI volume
|
||||
m_speech->set_output_gain(0, (data & 4) ? 0.5 : 1.0);
|
||||
m_speech->set_output_gain(0, (data & 4) ? 0.25 : 1.0);
|
||||
}
|
||||
|
||||
|
||||
|
@ -44,6 +44,7 @@
|
||||
- ttfball: discrete sound part, for volume gating?
|
||||
- what's the relation between hccbaskb and tbaskb? Is one the bootleg of the
|
||||
other? Or are they both made by the same subcontractor? I presume Toytronic.
|
||||
- uspbball and pabball internal artwork
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
@ -1672,7 +1673,7 @@ INPUT_PORTS_END
|
||||
void uspbball_state::uspbball(machine_config &config)
|
||||
{
|
||||
/* basic machine hardware */
|
||||
PIC1650(config, m_maincpu, 1000000); // approximation - RC osc. R=22K, C=47pF
|
||||
PIC1650(config, m_maincpu, 900000); // approximation - RC osc. R=22K, C=47pF
|
||||
m_maincpu->read_a().set_ioport("IN.0");
|
||||
m_maincpu->write_a().set(FUNC(uspbball_state::write_a));
|
||||
m_maincpu->read_b().set_constant(0xff);
|
||||
@ -1683,7 +1684,7 @@ void uspbball_state::uspbball(machine_config &config)
|
||||
m_maincpu->write_d().set(FUNC(uspbball_state::write_d));
|
||||
|
||||
// PIC CLKOUT, tied to RTCC
|
||||
CLOCK(config, "clock", 1000000/4).signal_handler().set_inputline("maincpu", PIC16C5x_RTCC);
|
||||
CLOCK(config, "clock", 900000/4).signal_handler().set_inputline("maincpu", PIC16C5x_RTCC);
|
||||
|
||||
TIMER(config, "display_decay").configure_periodic(FUNC(hh_pic16_state::display_decay_tick), attotime::from_msec(1));
|
||||
config.set_default_layout(layout_hh_pic16_test);
|
||||
|
@ -142,7 +142,11 @@
|
||||
|
||||
<!-- build screen -->
|
||||
|
||||
<view name="Internal Layout">
|
||||
<view name="Internal Layout (Screen)">
|
||||
<group ref="display"><bounds x="0" y="0" width="86" height="94.434" /></group>
|
||||
</view>
|
||||
|
||||
<view name="Internal Layout (Full)">
|
||||
<bounds left="-1" right="185" top="-1" bottom="96" />
|
||||
<group ref="display"><bounds x="0" y="0" width="86" height="94.434" /></group>
|
||||
|
||||
@ -153,8 +157,4 @@
|
||||
<bezel element="text_switch" inputtag="IN.3" inputmask="0x01"><bounds x="95" y="38" width="24" height="2.7" /></bezel>
|
||||
</view>
|
||||
|
||||
<view name="Screen Overlay">
|
||||
<group ref="display"><bounds x="0" y="0" width="86" height="94.434" /></group>
|
||||
</view>
|
||||
|
||||
</mamelayout>
|
||||
|
Loading…
Reference in New Issue
Block a user