mirror of
https://github.com/holub/mame
synced 2025-04-26 02:07:14 +03:00
New working systems
------------------- Lite 'n Learn: Electronic Organ [hap, Sean Riddle] Weight Talker [hap, Sean Riddle]
This commit is contained in:
parent
e382e72228
commit
ba2ca8eb55
@ -207,7 +207,7 @@ u8 ctstein_state::read_l()
|
||||
return read_inputs(3, 0xf) << 4 | 0xf;
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( ctstein )
|
||||
PORT_START("IN.0") // G0 port L
|
||||
@ -229,6 +229,8 @@ static INPUT_PORTS_START( ctstein )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Blue Button")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void ctstein_state::ctstein(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -326,7 +328,7 @@ u8 h2hbaskbc_state::read_in()
|
||||
return read_inputs(4, 7) | (m_inputs[4]->read() & 8);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( h2hbaskbc )
|
||||
PORT_START("IN.0") // G0 port IN
|
||||
@ -377,6 +379,8 @@ static INPUT_PORTS_START( h2hsoccerc )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_CUSTOM )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void h2hbaskbc_state::h2hbaskbc(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -499,7 +503,7 @@ void einvaderc_state::write_l(u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( einvaderc )
|
||||
PORT_START("IN.0") // port IN
|
||||
@ -511,6 +515,8 @@ static INPUT_PORTS_START( einvaderc )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void einvaderc_state::einvaderc(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -631,7 +637,7 @@ u8 unkeinv_state::read_l()
|
||||
return ret & ~m_l;
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( unkeinv )
|
||||
PORT_START("IN.0")
|
||||
@ -641,6 +647,8 @@ static INPUT_PORTS_START( unkeinv )
|
||||
PORT_BIT( 0x0f, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(12) PORT_SENSITIVITY(10) PORT_KEYDELTA(1) PORT_CENTERDELTA(0)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void unkeinv_state::unkeinv(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -771,7 +779,7 @@ u8 lchicken_state::read_g()
|
||||
return read_inputs(4, m_g);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( lchicken )
|
||||
PORT_START("IN.0") // D0 port G
|
||||
@ -799,6 +807,8 @@ static INPUT_PORTS_START( lchicken )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_READ_LINE_MEMBER(lchicken_state, motor_switch_r)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void lchicken_state::lchicken(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -901,7 +911,7 @@ u8 funjacks_state::read_g()
|
||||
return m_inputs[3]->read() | (m_g & 2);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( funjacks )
|
||||
PORT_START("IN.0") // D0 port L
|
||||
@ -925,6 +935,8 @@ static INPUT_PORTS_START( funjacks )
|
||||
PORT_CONFSETTING( 0x00, "2" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void funjacks_state::funjacks(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1012,7 +1024,7 @@ void funrlgl_state::write_g(u8 data)
|
||||
m_speaker->level_w(data >> 3 & 1);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( funrlgl )
|
||||
PORT_START("IN.0") // port G
|
||||
@ -1027,6 +1039,8 @@ static INPUT_PORTS_START( funrlgl )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_cop400_state, reset_button, 0)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void funrlgl_state::funrlgl(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1126,7 +1140,7 @@ u8 funtag_state::read_g()
|
||||
return read_inputs(3, 3) | m_inputs[3]->read() | 4;
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( funtag )
|
||||
PORT_START("IN.0") // D0 port G
|
||||
@ -1150,6 +1164,8 @@ static INPUT_PORTS_START( funtag )
|
||||
PORT_CONFSETTING( 0x00, "2" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void funtag_state::funtag(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1273,7 +1289,7 @@ u8 mbaskb2_state::sub_read_in()
|
||||
return read_inputs(3, 0xf);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
CUSTOM_INPUT_MEMBER(mbaskb2_state::switch_r)
|
||||
{
|
||||
@ -1315,6 +1331,8 @@ static INPUT_PORTS_START( msoccer2 )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) PORT_NAME("Teammate")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void mbaskb2_state::mbaskb2(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1435,7 +1453,7 @@ u8 lafootb_state::read_g()
|
||||
return read_inputs(2, 7) | (m_inputs[2]->read() & 8);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( lafootb )
|
||||
PORT_START("IN.0") // D2 port G
|
||||
@ -1454,6 +1472,8 @@ static INPUT_PORTS_START( lafootb )
|
||||
PORT_CONFSETTING( 0x00, "2" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void lafootb_state::lafootb(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1558,7 +1578,7 @@ u8 mdallas_state::read_in()
|
||||
return read_inputs(6, 0xf);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
/* physical button layout and labels are like this:
|
||||
|
||||
@ -1608,6 +1628,8 @@ static INPUT_PORTS_START( mdallas )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYPAD ) PORT_CODE(KEYCODE_W) PORT_NAME("North") // N
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void mdallas_state::mdallas(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1685,7 +1707,7 @@ u8 plus1_state::read_l()
|
||||
return m_inputs[1]->read() & m_l;
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( plus1 )
|
||||
PORT_START("IN.0") // port G
|
||||
@ -1702,6 +1724,8 @@ static INPUT_PORTS_START( plus1 )
|
||||
PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void plus1_state::plus1(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1804,7 +1828,7 @@ u8 lightfgt_state::read_g()
|
||||
return read_inputs(5, 0xf);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( lightfgt )
|
||||
PORT_START("IN.0") // SO port G
|
||||
@ -1838,6 +1862,8 @@ static INPUT_PORTS_START( lightfgt )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_COCKTAIL
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void lightfgt_state::lightfgt(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1932,7 +1958,7 @@ WRITE_LINE_MEMBER(bshipg_state::write_so)
|
||||
m_display->matrix(1, state);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( bshipg )
|
||||
PORT_START("IN.0") // D0 ports L,IN
|
||||
@ -1995,6 +2021,8 @@ static INPUT_PORTS_START( bshipg )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYPAD ) PORT_TOGGLE PORT_CODE(KEYCODE_F1) PORT_NAME("Load/Go") // switch
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void bshipg_state::bshipg(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2099,7 +2127,7 @@ WRITE_LINE_MEMBER(qkracer_state::write_sk)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( qkracer )
|
||||
PORT_START("IN.0") // D3 port IN
|
||||
@ -2133,6 +2161,8 @@ static INPUT_PORTS_START( qkracer )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYPAD ) PORT_CODE(KEYCODE_PLUS_PAD) PORT_NAME("+")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void qkracer_state::qkracer(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2178,7 +2208,7 @@ ROM_END
|
||||
|
||||
// handlers: see mdallas_state
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( copspa )
|
||||
PORT_START("IN.0") // G0 port IN
|
||||
@ -2308,7 +2338,7 @@ void scat_state::main_map(address_map &map)
|
||||
map(0x0000, 0x07ff).rom();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( solution )
|
||||
PORT_START("IN.0") // D0 port IN
|
||||
@ -2348,6 +2378,8 @@ static INPUT_PORTS_START( solution )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYPAD ) PORT_CODE(KEYCODE_BACKSPACE) PORT_CODE(KEYCODE_DEL) PORT_NAME("CE/C")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void scat_state::scat(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2439,7 +2471,7 @@ WRITE_LINE_MEMBER(vidchal_state::write_sk)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( vidchal )
|
||||
PORT_START("IN.0") // port IN
|
||||
@ -2449,6 +2481,8 @@ static INPUT_PORTS_START( vidchal )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_F1) PORT_NAME("Light Sensor")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void vidchal_state::vidchal(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2564,7 +2598,7 @@ WRITE_LINE_MEMBER(lilcomp_state::write_sk)
|
||||
m_sk = state;
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( lilcomp )
|
||||
PORT_START("IN.0") // L0 port G
|
||||
@ -2589,6 +2623,8 @@ static INPUT_PORTS_START( lilcomp )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_POWER_ON ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_cop400_state, power_button, true)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void lilcomp_state::lilcomp(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
|
@ -218,7 +218,7 @@ u8 mbaskb_state::read_f()
|
||||
return m_inputs[2]->read() | (m_f & 2);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( mbaskb )
|
||||
PORT_START("IN.0") // port K
|
||||
@ -243,6 +243,8 @@ static INPUT_PORTS_START( mhockeya )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_CUSTOM ) // tied high to select Hockey
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void mbaskb_state::mbaskb(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -417,7 +419,7 @@ int qkracerm_state::read_si()
|
||||
return 0;
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( qkracerm )
|
||||
PORT_START("IN.0") // DS8874 OUT 4 port K
|
||||
@ -451,6 +453,8 @@ static INPUT_PORTS_START( qkracerm )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_PLUS_PAD) PORT_NAME("+")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void qkracerm_state::qkracerm(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -565,7 +569,7 @@ u8 qkspeller_state::read_k()
|
||||
return read_inputs(8);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( qkspeller )
|
||||
PORT_START("IN.0") // Sa port K
|
||||
@ -633,6 +637,8 @@ static INPUT_PORTS_START( qkspeller )
|
||||
PORT_CONFSETTING( 0x01, DEF_STR( On ) )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void qkspeller_state::qkspeller(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -756,7 +762,7 @@ u8 cambrp_state::read_k()
|
||||
return read_inputs(6);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( cambrp )
|
||||
PORT_START("IN.0") // DS8874 OUT 3 port K
|
||||
@ -794,6 +800,8 @@ static INPUT_PORTS_START( cambrp )
|
||||
PORT_BIT( 0x0e, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void cambrp_state::cambrp(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
|
@ -326,7 +326,7 @@ u16 wantgman_state::input_r()
|
||||
return read_inputs(6) & 0x8000;
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( wantgman )
|
||||
PORT_START("IN.0") // D1 line D15
|
||||
@ -348,6 +348,8 @@ static INPUT_PORTS_START( wantgman )
|
||||
PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Demo")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void wantgman_state::wantgman(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -441,7 +443,7 @@ u8 bambball_state::input_r()
|
||||
return read_inputs(4);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( bambball )
|
||||
PORT_START("IN.0") // D7 port R0x
|
||||
@ -470,6 +472,8 @@ static INPUT_PORTS_START( bambball )
|
||||
PORT_CONFSETTING( 0x00, "2" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void bambball_state::bambball(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -568,7 +572,7 @@ u8 bmboxing_state::input_r()
|
||||
return read_inputs(4);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
/* physical button layout and labels are like this:
|
||||
|
||||
@ -617,6 +621,8 @@ static INPUT_PORTS_START( bmboxing )
|
||||
PORT_BIT( 0xfff8, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void bmboxing_state::bmboxing(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -726,7 +732,7 @@ void bfriskyt_state::update_int1()
|
||||
set_interrupt(1, read_inputs(5));
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( bfriskyt )
|
||||
PORT_START("IN.0") // D11 INT1
|
||||
@ -748,6 +754,8 @@ static INPUT_PORTS_START( bfriskyt )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 0)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void bfriskyt_state::bfriskyt(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -849,7 +857,7 @@ u16 packmon_state::input_r()
|
||||
return read_inputs(5) & 0x20;
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( packmon )
|
||||
PORT_START("IN.0") // D11 line D5
|
||||
@ -868,6 +876,8 @@ static INPUT_PORTS_START( packmon )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void packmon_state::packmon(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -973,7 +983,7 @@ void bzaxxon_state::update_int1()
|
||||
set_interrupt(1, read_inputs(4));
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( bzaxxon )
|
||||
PORT_START("IN.0") // D7 INT1
|
||||
@ -996,6 +1006,8 @@ static INPUT_PORTS_START( bzaxxon )
|
||||
PORT_BIT( 0xfff7, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void bzaxxon_state::bzaxxon(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1105,7 +1117,7 @@ void zackman_state::update_int0()
|
||||
set_interrupt(0, read_inputs(4));
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( zackman )
|
||||
PORT_START("IN.0") // D11 INT0
|
||||
@ -1124,6 +1136,8 @@ static INPUT_PORTS_START( zackman )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 1)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void zackman_state::zackman(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1231,7 +1245,7 @@ void bpengo_state::update_int0()
|
||||
set_interrupt(0, read_inputs(4));
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( bpengo )
|
||||
PORT_START("IN.0") // D12 INT0
|
||||
@ -1256,6 +1270,8 @@ static INPUT_PORTS_START( bpengo )
|
||||
PORT_BIT( 0xf7ff, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void bpengo_state::bpengo(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1364,7 +1380,7 @@ void bbtime_state::update_int0()
|
||||
set_interrupt(0, read_inputs(5));
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( bbtime )
|
||||
PORT_START("IN.0") // D10 INT0
|
||||
@ -1386,6 +1402,8 @@ static INPUT_PORTS_START( bbtime )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 1)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void bbtime_state::bbtime(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1473,7 +1491,7 @@ void ktparman_state::grid_w(u16 data)
|
||||
plate_w(4, data & 7);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( ktparman )
|
||||
PORT_START("IN.0") // port D
|
||||
@ -1486,6 +1504,8 @@ static INPUT_PORTS_START( ktparman )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 0)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void ktparman_state::ktparman(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1568,7 +1588,7 @@ void bdoramon_state::grid_w(u16 data)
|
||||
plate_w(4, data & 0xf);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( bdoramon )
|
||||
PORT_START("IN.0") // INT0
|
||||
@ -1590,6 +1610,8 @@ static INPUT_PORTS_START( bdoramon )
|
||||
PORT_CONFSETTING( 0x08, DEF_STR( On ) )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void bdoramon_state::bdoramon(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1686,7 +1708,7 @@ u16 tkjmaru_state::input_r()
|
||||
return read_inputs(4) | m_inputs[4]->read();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( tkjmaru )
|
||||
PORT_START("IN.0") // D4 line D3
|
||||
@ -1708,6 +1730,8 @@ static INPUT_PORTS_START( tkjmaru )
|
||||
PORT_CONFSETTING( 0x200, DEF_STR( On ) )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void tkjmaru_state::tkjmaru(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1790,7 +1814,7 @@ void bultrman_state::grid_w(u16 data)
|
||||
plate_w(4, data & 7);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( bultrman )
|
||||
PORT_START("IN.0") // INT0
|
||||
@ -1805,6 +1829,8 @@ static INPUT_PORTS_START( bultrman )
|
||||
PORT_BIT( 0xff8f, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void bultrman_state::bultrman(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1913,7 +1939,7 @@ void ggdman_state::update_int0()
|
||||
set_interrupt(0, read_inputs(4));
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( ggdman )
|
||||
PORT_START("IN.0") // D6 INT0
|
||||
@ -1932,6 +1958,8 @@ static INPUT_PORTS_START( ggdman )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 1)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void ggdman_state::ggdman(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2017,7 +2045,7 @@ void machiman_state::grid_w(u16 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( machiman )
|
||||
PORT_START("IN.0") // INT0
|
||||
@ -2029,6 +2057,8 @@ static INPUT_PORTS_START( machiman )
|
||||
PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void machiman_state::machiman(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2168,7 +2198,7 @@ void pairmtch_state::speaker_w(u16 data)
|
||||
m_maincpu->set_input_line(0, (data & 2) ? ASSERT_LINE : CLEAR_LINE);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( pairmtch )
|
||||
PORT_START("IN.0") // D10 port R4x
|
||||
@ -2199,6 +2229,8 @@ static INPUT_PORTS_START( pairmtch )
|
||||
PORT_BIT( 0x86bf, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void pairmtch_state::pairmtch(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2306,7 +2338,7 @@ u16 alnattck_state::input_r()
|
||||
return read_inputs(7) & 0x20;
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( alnattck )
|
||||
PORT_START("IN.0") // D7 line D5
|
||||
@ -2333,6 +2365,8 @@ static INPUT_PORTS_START( alnattck )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Fire")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void alnattck_state::alnattck(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2458,7 +2492,7 @@ void cdkong_state::grid_w(u16 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( cdkong )
|
||||
PORT_START("IN.0") // INT0
|
||||
@ -2472,6 +2506,8 @@ static INPUT_PORTS_START( cdkong )
|
||||
PORT_BIT( 0x7ff8, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void cdkong_state::cdkong(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2596,7 +2632,7 @@ u8 cgalaxn_state::input_r()
|
||||
return read_inputs(2);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( cgalaxn )
|
||||
PORT_START("IN.0") // R10 port R0x
|
||||
@ -2618,6 +2654,8 @@ static INPUT_PORTS_START( cgalaxn )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 1)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void cgalaxn_state::cgalaxn(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2726,7 +2764,7 @@ u8 cpacman_state::input_r()
|
||||
return read_inputs(3);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( cpacman )
|
||||
PORT_START("IN.0") // D13 port R0x
|
||||
@ -2748,6 +2786,8 @@ static INPUT_PORTS_START( cpacman )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_PLAYER(2)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void cpacman_state::cpacman(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2863,7 +2903,7 @@ u8 cmspacmn_state::input_r()
|
||||
return read_inputs(3);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( cmspacmn )
|
||||
PORT_START("IN.0") // D13 port R0x
|
||||
@ -2885,6 +2925,8 @@ static INPUT_PORTS_START( cmspacmn )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void cmspacmn_state::cmspacmn(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2989,7 +3031,7 @@ u8 egalaxn2_state::input_r()
|
||||
return read_inputs(4);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( egalaxn2 )
|
||||
PORT_START("IN.0") // D1 port R0x
|
||||
@ -3021,6 +3063,8 @@ static INPUT_PORTS_START( egalaxn2 )
|
||||
PORT_CONFSETTING( 0x04, "2" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void egalaxn2_state::egalaxn2(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -3085,7 +3129,7 @@ public:
|
||||
|
||||
// handlers are identical to Galaxian 2, so we can use those
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( epacman2 )
|
||||
PORT_START("IN.0") // D1 port R0x
|
||||
@ -3117,6 +3161,8 @@ static INPUT_PORTS_START( epacman2 )
|
||||
PORT_CONFSETTING( 0x00, "2" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void epacman2_state::epacman2(machine_config &config)
|
||||
{
|
||||
egalaxn2(config);
|
||||
@ -3215,7 +3261,7 @@ u16 einvader2_state::input_r()
|
||||
return read_inputs(3) << 13;
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( einvader2 )
|
||||
PORT_START("IN.0") // D3
|
||||
@ -3239,6 +3285,8 @@ static INPUT_PORTS_START( einvader2 )
|
||||
PORT_CONFSETTING( 0x02, "2" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void einvader2_state::einvader2(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -3410,7 +3458,7 @@ u8 eturtles_state::cop_ack_r()
|
||||
return m_d & 1;
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( eturtles )
|
||||
PORT_START("IN.0") // D1 INT0/1
|
||||
@ -3445,6 +3493,8 @@ static INPUT_PORTS_START( eturtles )
|
||||
PORT_ADJUSTER(50, "Game Speed") PORT_CHANGED_MEMBER(DEVICE_SELF, eturtles_state, game_speed, 0)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void eturtles_state::eturtles(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -3549,7 +3599,7 @@ void estargte_state::cop_vol_w(u8 data)
|
||||
m_volume->flt_volume_set_volume(((data & 7) | 8) / 15.0);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( estargte )
|
||||
PORT_INCLUDE( eturtles )
|
||||
@ -3583,6 +3633,8 @@ static INPUT_PORTS_START( estargte )
|
||||
PORT_BIT( 0x03, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void estargte_state::estargte(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -3697,7 +3749,7 @@ u16 ghalien_state::input_r()
|
||||
return read_inputs(7) & 0x8000;
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( ghalien )
|
||||
PORT_START("IN.0") // D0 line D15
|
||||
@ -3724,6 +3776,8 @@ static INPUT_PORTS_START( ghalien )
|
||||
PORT_CONFSETTING( 0x8000, "2" ) // PRO
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void ghalien_state::ghalien(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -3831,7 +3885,7 @@ void gckong_state::update_int1()
|
||||
set_interrupt(1, read_inputs(4));
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( gckong )
|
||||
PORT_START("IN.0") // D5 INT1
|
||||
@ -3856,6 +3910,8 @@ static INPUT_PORTS_START( gckong )
|
||||
PORT_BIT( 0xffef, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void gckong_state::gckong(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -3969,7 +4025,7 @@ void gscobra_state::update_int0()
|
||||
set_interrupt(0, read_inputs(6));
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( gscobra )
|
||||
PORT_START("IN.0") // D10 INT0
|
||||
@ -3991,6 +4047,8 @@ static INPUT_PORTS_START( gscobra )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_CHANGED_MEMBER(DEVICE_SELF, gscobra_state, input_changed, 0)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void gscobra_state::gscobra(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -4106,7 +4164,7 @@ void gdefender_state::update_int1()
|
||||
set_interrupt(1, read_inputs(4) & 1);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( gdefender )
|
||||
PORT_START("IN.0") // D11 INT1/D1
|
||||
@ -4126,6 +4184,8 @@ static INPUT_PORTS_START( gdefender )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void gdefender_state::gdefender(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -4229,7 +4289,7 @@ void gdigdug_state::update_int1()
|
||||
set_interrupt(1, read_inputs(5));
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( gdigdug )
|
||||
PORT_START("IN.0") // D11 INT1
|
||||
@ -4251,6 +4311,8 @@ static INPUT_PORTS_START( gdigdug )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 0)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void gdigdug_state::gdigdug(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -4360,7 +4422,7 @@ u8 mwcbaseb_state::input_r()
|
||||
return read_inputs(7);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
/* physical button layout and labels are like this:
|
||||
|
||||
@ -4423,6 +4485,8 @@ static INPUT_PORTS_START( mwcbaseb ) // P1 = left/visitor, P2 = right/home
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_1) PORT_CODE(KEYCODE_1_PAD) PORT_NAME("P1 1")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void mwcbaseb_state::mwcbaseb(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -4542,7 +4606,7 @@ void msthawk_state::update_int0()
|
||||
set_interrupt(0, read_inputs(6));
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( msthawk )
|
||||
PORT_START("IN.0") // D10 INT0
|
||||
@ -4567,6 +4631,8 @@ static INPUT_PORTS_START( msthawk )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 1) PORT_NAME("Fire")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void msthawk_state::msthawk(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -4653,7 +4719,7 @@ void pbqbert_state::grid_w(u16 data)
|
||||
plate_w(7, data >> 8 & 1);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( pbqbert )
|
||||
PORT_START("IN.0") // port D
|
||||
@ -4664,6 +4730,8 @@ static INPUT_PORTS_START( pbqbert )
|
||||
PORT_BIT( 0xe1ff, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void pbqbert_state::pbqbert(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -4759,7 +4827,7 @@ void puckimon_state::plate_w(u16 data)
|
||||
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( puckimon )
|
||||
PORT_START("IN.0") // port R0x
|
||||
@ -4769,6 +4837,8 @@ static INPUT_PORTS_START( puckimon )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void puckimon_state::puckimon(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -4872,7 +4942,7 @@ void tmtron_state::update_int1()
|
||||
set_interrupt(1, read_inputs(4));
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( tmtron )
|
||||
PORT_START("IN.0") // D12 INT1
|
||||
@ -4891,6 +4961,8 @@ static INPUT_PORTS_START( tmtron )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 0)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void tmtron_state::tmtron(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -5002,7 +5074,7 @@ void kingman_state::update_int0()
|
||||
set_interrupt(0, read_inputs(4));
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( kingman )
|
||||
PORT_START("IN.0") // D12 INT0
|
||||
@ -5021,6 +5093,8 @@ static INPUT_PORTS_START( kingman )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 1)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void kingman_state::kingman(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -5127,7 +5201,7 @@ void bombman_state::update_int0()
|
||||
set_interrupt(0, read_inputs(5));
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( bombman )
|
||||
PORT_START("IN.0") // D11 INT0
|
||||
@ -5146,6 +5220,8 @@ static INPUT_PORTS_START( bombman )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_16WAY PORT_CHANGED_MEMBER(DEVICE_SELF, bombman_state, input_changed, 0)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void bombman_state::bombman(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -5232,7 +5308,7 @@ void vinvader_state::grid_w(u16 data)
|
||||
plate_w(3 + 1, data >> 4 & 7);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( vinvader )
|
||||
PORT_START("IN.0") // port R0x
|
||||
@ -5248,6 +5324,8 @@ static INPUT_PORTS_START( vinvader )
|
||||
PORT_BIT( 0xfff5, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void vinvader_state::vinvader(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
|
@ -182,7 +182,7 @@ u16 cfrogger_state::input_r()
|
||||
return (m_inputs[2]->read() & 8) | (read_inputs(2) & 3);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( cfrogger )
|
||||
PORT_START("IN.0") // F0 port K0,K1
|
||||
@ -202,6 +202,8 @@ static INPUT_PORTS_START( cfrogger )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_melps4_state, reset_button, 0)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void cfrogger_state::cfrogger(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -307,7 +309,7 @@ u16 gjungler_state::input_r()
|
||||
return (m_inputs[2]->read() & 0xc) | (read_inputs(2) & 3);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( gjungler )
|
||||
PORT_START("IN.0") // G0 port K0,K1
|
||||
@ -328,6 +330,8 @@ static INPUT_PORTS_START( gjungler )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_melps4_state, reset_button, 0)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void gjungler_state::gjungler(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
|
@ -281,7 +281,7 @@ void touchme_state::write_c(u8 data)
|
||||
update_speaker();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( touchme )
|
||||
PORT_START("IN.0") // B0 port A
|
||||
@ -304,6 +304,8 @@ static INPUT_PORTS_START( touchme )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void touchme_state::touchme(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -400,7 +402,7 @@ void pabball_state::write_c(u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( pabball )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -420,6 +422,8 @@ static INPUT_PORTS_START( pabball )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_CHANGED_MEMBER(DEVICE_SELF, pabball_state, reset_button, 0) PORT_NAME("P1 Reset")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void pabball_state::pabball(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -521,7 +525,7 @@ u8 sfxphasor_state::read_c()
|
||||
return lo | hi << 4;
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( sfxphasor )
|
||||
PORT_START("IN.0") // C4 port C
|
||||
@ -557,6 +561,8 @@ static INPUT_PORTS_START( sfxphasor )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F2) PORT_NAME("On / Music") PORT_CHANGED_MEMBER(DEVICE_SELF, sfxphasor_state, power_button, true)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void sfxphasor_state::sfxphasor(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -640,7 +646,7 @@ void melodym_state::write_c(u8 data)
|
||||
m_speaker->level_w(~data >> 7 & 1);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( melodym )
|
||||
PORT_START("IN.0") // B2 port C
|
||||
@ -685,6 +691,8 @@ static INPUT_PORTS_START( melodym )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYPAD ) PORT_CODE(KEYCODE_0) PORT_NAME("Note")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void melodym_state::melodym(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -779,7 +787,7 @@ void maniac_state::write_c(u8 data)
|
||||
update_speaker();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( maniac )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -789,6 +797,8 @@ static INPUT_PORTS_START( maniac )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(4)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void maniac_state::maniac(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -928,7 +938,7 @@ void flash_state::write_c(u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( flash )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -946,6 +956,8 @@ static INPUT_PORTS_START( flash )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON8 )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void flash_state::flash(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1064,7 +1076,7 @@ void matchme_state::write_c(u8 data)
|
||||
m_maincpu->set_input_line(PIC16C5x_RTCC, data >> 7 & 1);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( matchme )
|
||||
PORT_START("IN.0") // C4 port C
|
||||
@ -1107,6 +1119,8 @@ static INPUT_PORTS_START( matchme )
|
||||
PORT_CONFSETTING( 0x00, "Auto" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void matchme_state::matchme(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1205,7 +1219,7 @@ void drdunk_state::write_c(u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( drdunk )
|
||||
PORT_START("IN.0") // B0 port A3
|
||||
@ -1229,6 +1243,8 @@ static INPUT_PORTS_START( drdunk )
|
||||
PORT_CONFSETTING( 0x00, "2" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void drdunk_state::drdunk(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1356,7 +1372,7 @@ void leboom_state::write_c(u8 data)
|
||||
speaker_update();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( leboom )
|
||||
PORT_START("IN.0") // B0 port A
|
||||
@ -1396,6 +1412,8 @@ static INPUT_PORTS_START( leboom )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYPAD ) PORT_CODE(KEYCODE_N) PORT_NAME("Blue Button 8")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void leboom_state::leboom(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1501,7 +1519,7 @@ void rockpin_state::write_d(u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( rockpin )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -1511,6 +1529,8 @@ static INPUT_PORTS_START( rockpin )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Ball")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void rockpin_state::rockpin(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1616,7 +1636,7 @@ void hccbaskb_state::write_c(u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( hccbaskb )
|
||||
PORT_START("IN.0") // B0 port A3
|
||||
@ -1640,6 +1660,8 @@ static INPUT_PORTS_START( hccbaskb )
|
||||
PORT_CONFSETTING( 0x00, "2" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void hccbaskb_state::hccbaskb(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1741,7 +1763,7 @@ void ttfball_state::write_c(u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( ttfball )
|
||||
PORT_START("IN.0") // B0 port A3
|
||||
@ -1767,6 +1789,8 @@ static INPUT_PORTS_START( ttfball )
|
||||
PORT_CONFSETTING( 0x00, "2" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void ttfball_state::ttfball(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1846,7 +1870,7 @@ void ttfballa_state::write_c(u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( ttfballa )
|
||||
PORT_START("IN.0") // B0 port A3
|
||||
@ -1872,6 +1896,8 @@ static INPUT_PORTS_START( ttfballa )
|
||||
PORT_CONFSETTING( 0x00, "2" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void ttfballa_state::ttfballa(machine_config &config)
|
||||
{
|
||||
ttfball(config);
|
||||
@ -1960,7 +1986,7 @@ void uspbball_state::write_d(u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( uspbball )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -1979,6 +2005,8 @@ static INPUT_PORTS_START( uspbball )
|
||||
PORT_CONFSETTING( 0x00, "2" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void uspbball_state::uspbball(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2089,7 +2117,7 @@ void us2pfball_state::write_d(u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( us2pfball )
|
||||
PORT_START("IN.0") // B0 port A low
|
||||
@ -2123,6 +2151,8 @@ static INPUT_PORTS_START( us2pfball )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START ) PORT_NAME("Status/Score") // S
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void us2pfball_state::us2pfball(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
|
@ -181,7 +181,7 @@ void ftri1_state::write_r(u16 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( ftri1 )
|
||||
PORT_START("IN.0")
|
||||
@ -200,6 +200,8 @@ static INPUT_PORTS_START( ftri1 )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_pps41_state, reset_button, 0) PORT_CODE(KEYCODE_F1) PORT_NAME("Game Reset")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void ftri1_state::ftri1(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -298,7 +300,7 @@ u8 mastmind_state::read_p()
|
||||
return ~read_inputs(4);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( mastmind )
|
||||
PORT_START("IN.0") // DIO0
|
||||
@ -326,6 +328,8 @@ static INPUT_PORTS_START( mastmind )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_3) PORT_CODE(KEYCODE_3_PAD) PORT_NAME("3")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void mastmind_state::mastmind(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -445,7 +449,7 @@ void dunksunk_state::write_r(u16 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( dunksunk )
|
||||
PORT_START("IN.0") // PI
|
||||
@ -470,6 +474,8 @@ static INPUT_PORTS_START( dunksunk )
|
||||
PORT_CONFSETTING( 0x00, "Submarine Chase" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void dunksunk_state::dunksunk(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -579,7 +585,7 @@ u8 memoquiz_state::read_p()
|
||||
return ~read_inputs(4);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( memoquiz )
|
||||
PORT_START("IN.0") // DIO0
|
||||
@ -613,6 +619,8 @@ static INPUT_PORTS_START( memoquiz )
|
||||
PORT_CONFSETTING( 0x00, "5" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void memoquiz_state::memoquiz(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -700,7 +708,7 @@ void mfootb2_state::write_spk(u8 data)
|
||||
m_speaker->level_w(data);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( mfootb2 )
|
||||
PORT_START("IN.0") // PI
|
||||
@ -719,6 +727,8 @@ static INPUT_PORTS_START( mfootb2 )
|
||||
PORT_CONFSETTING( 0x400, "2" ) // PRO 2
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void mfootb2_state::mfootb2(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -820,7 +830,7 @@ void brainbaf_state::write_spk(u8 data)
|
||||
m_speaker->level_w(data);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( brainbaf )
|
||||
PORT_START("IN.0") // DIO0
|
||||
@ -884,6 +894,8 @@ static INPUT_PORTS_START( brainbaf )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F10) PORT_NAME("Score")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void brainbaf_state::brainbaf(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -986,7 +998,7 @@ void horocomp_state::write_spk(u8 data)
|
||||
m_speaker->level_w(data);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
/* physical button layout and labels are like this:
|
||||
|
||||
@ -1062,6 +1074,8 @@ static INPUT_PORTS_START( horocomp )
|
||||
PORT_CONFSETTING( 0x00, "P" ) // personal
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void horocomp_state::horocomp(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1195,7 +1209,7 @@ void mwcfootb_state::sub_write_r(u16 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
/* physical button layout and labels are like this:
|
||||
|
||||
@ -1246,6 +1260,8 @@ static INPUT_PORTS_START( mwcfootb ) // P1 = left/home, P2 = right/visitor
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_PLAYER(1) PORT_16WAY PORT_NAME("P1 Up/1")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void mwcfootb_state::mwcfootb(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1364,7 +1380,7 @@ u8 scrabsen_state::read_p()
|
||||
return ~read_inputs(5);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( scrabsen )
|
||||
PORT_START("IN.0") // DIO0
|
||||
@ -1418,6 +1434,8 @@ static INPUT_PORTS_START( scrabsen )
|
||||
PORT_CONFSETTING( 0x00, "2" ) // double
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void scrabsen_state::scrabsen(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1517,7 +1535,7 @@ u8 rdqa_state::read_p()
|
||||
return ~read_inputs(4);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( rdqa )
|
||||
PORT_START("IN.0") // DIO0
|
||||
@ -1554,6 +1572,8 @@ static INPUT_PORTS_START( rdqa )
|
||||
PORT_CONFSETTING( 0x00, "2" ) // double
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void rdqa_state::rdqa(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
|
@ -183,7 +183,7 @@ void autorace_state::write_seg(u16 data)
|
||||
m_display->write_mx(data);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( autorace )
|
||||
PORT_START("IN.0") // KB
|
||||
@ -208,6 +208,8 @@ static INPUT_PORTS_START( autorace )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_rw5000_state, switch_next<0>, 0x0c) PORT_NAME("Gear Switch Up")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void autorace_state::autorace(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -280,7 +282,7 @@ void misatk_state::write_seg(u16 data)
|
||||
m_display->write_mx(data);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( misatk )
|
||||
PORT_START("IN.0") // KB
|
||||
@ -298,6 +300,8 @@ static INPUT_PORTS_START( misatk )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_rw5000_state, power_button, 0) PORT_NAME("Arm / Off")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void misatk_state::misatk(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -378,7 +382,7 @@ void mfootb_state::write_seg(u16 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( mfootb )
|
||||
PORT_START("IN.0") // KB
|
||||
@ -398,6 +402,8 @@ static INPUT_PORTS_START( mfootb )
|
||||
PORT_CONFSETTING( 0x08, DEF_STR( On ) )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void mfootb_state::mfootb(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -466,7 +472,7 @@ void mbaseb_state::write_seg(u16 data)
|
||||
m_display->write_mx(bitswap<10>(data,7,8,9,6,5,4,3,2,1,0));
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( mbaseb )
|
||||
PORT_START("IN.0") // KB
|
||||
@ -486,6 +492,8 @@ static INPUT_PORTS_START( mbaseb )
|
||||
PORT_CONFSETTING( 0x08, DEF_STR( On ) )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void mbaseb_state::mbaseb(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -561,7 +569,7 @@ void gravity_state::write_seg(u16 data)
|
||||
m_display->write_mx(data);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( gravity )
|
||||
PORT_START("IN.0") // KB
|
||||
@ -576,6 +584,8 @@ static INPUT_PORTS_START( gravity )
|
||||
PORT_CONFSETTING( 0x08, DEF_STR( On ) )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void gravity_state::gravity(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -659,7 +669,7 @@ u8 rw10r_state::read_kb()
|
||||
return read_inputs(4);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( rw10r )
|
||||
PORT_START("IN.0") // STR4
|
||||
@ -687,6 +697,8 @@ static INPUT_PORTS_START( rw10r )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_SLASH_PAD) PORT_NAME(u8"÷")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void rw10r_state::rw10r(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -769,7 +781,7 @@ u8 rw18r_state::read_kb()
|
||||
return read_inputs(5);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( rw18r )
|
||||
PORT_START("IN.0") // STR4
|
||||
@ -803,6 +815,8 @@ static INPUT_PORTS_START( rw18r )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_ENTER) PORT_CODE(KEYCODE_ENTER_PAD) PORT_NAME("=")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void rw18r_state::rw18r(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -882,7 +896,7 @@ u8 rw30r_state::read_kb()
|
||||
return read_inputs(5);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( rw30r )
|
||||
PORT_START("IN.0") // STR4
|
||||
@ -916,6 +930,8 @@ static INPUT_PORTS_START( rw30r )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_ENTER) PORT_CODE(KEYCODE_ENTER_PAD) PORT_NAME("= / MR")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void rw30r_state::rw30r(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1010,7 +1026,7 @@ u8 rw24k_state::read_kb()
|
||||
return read_inputs(9);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( rw24k )
|
||||
PORT_START("IN.0") // STR0
|
||||
@ -1063,6 +1079,8 @@ static INPUT_PORTS_START( rw24k )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_ENTER) PORT_CODE(KEYCODE_ENTER_PAD) PORT_NAME("=")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void rw24k_state::rw24k(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -305,7 +305,7 @@ void ufombs_state::speaker_w(u8 data)
|
||||
m_speaker->level_w(data & 3);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( ufombs )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -322,6 +322,8 @@ static INPUT_PORTS_START( ufombs )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void ufombs_state::ufombs(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -439,7 +441,7 @@ u8 ssfball_state::input_b_r()
|
||||
return m_inputs[2]->read() | read_inputs(2);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
/* physical button layout and labels are like this:
|
||||
|
||||
@ -476,6 +478,8 @@ static INPUT_PORTS_START( ssfball )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Pass")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void ssfball_state::ssfball(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -599,7 +603,7 @@ u8 bmsoccer_state::input_a_r()
|
||||
return read_inputs(2);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( bmsoccer )
|
||||
PORT_START("IN.0") // C0 port A
|
||||
@ -624,6 +628,8 @@ static INPUT_PORTS_START( bmsoccer )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Shoot")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void bmsoccer_state::bmsoccer(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -726,7 +732,7 @@ void bmsafari_state::speaker_w(u8 data)
|
||||
m_speaker->level_w(data & 1);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( bmsafari )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -743,6 +749,8 @@ static INPUT_PORTS_START( bmsafari )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_16WAY
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void bmsafari_state::bmsafari(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -854,7 +862,7 @@ u8 splasfgt_state::input_b_r()
|
||||
return read_inputs(4);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
/* physical button layout and labels are like this:
|
||||
|
||||
@ -903,6 +911,8 @@ static INPUT_PORTS_START( splasfgt )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void splasfgt_state::splasfgt(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1021,7 +1031,7 @@ u8 bgunf_state::input_r()
|
||||
return read_inputs(2);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( bgunf )
|
||||
PORT_START("IN.0") // G0 port A
|
||||
@ -1044,6 +1054,8 @@ static INPUT_PORTS_START( bgunf )
|
||||
PORT_CONFSETTING( 0x08, "Manual" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void bgunf_state::bgunf(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1145,7 +1157,7 @@ void bgalaxn_state::plate_w(offs_t offset, u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( bgalaxn )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -1162,6 +1174,8 @@ static INPUT_PORTS_START( bgalaxn )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_ucom4_state, single_interrupt_line, 0)
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void bgalaxn_state::bgalaxn(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1261,7 +1275,7 @@ void bcclimbr_state::plate_w(offs_t offset, u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( bcclimbr )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -1279,6 +1293,8 @@ static INPUT_PORTS_START( bcclimbr )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_RIGHT )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void bcclimbr_state::bcclimbr(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1380,7 +1396,7 @@ u8 tactix_state::input_r()
|
||||
return read_inputs(5);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( tactix )
|
||||
PORT_START("IN.0") // C0 port A
|
||||
@ -1414,6 +1430,8 @@ static INPUT_PORTS_START( tactix )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void tactix_state::tactix(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1520,7 +1538,7 @@ u8 ctntune_state::input_r()
|
||||
return read_inputs(6);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( ctntune )
|
||||
PORT_START("IN.0") // C0 port A
|
||||
@ -1556,6 +1574,8 @@ static INPUT_PORTS_START( ctntune )
|
||||
PORT_BIT( 0x0e, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void ctntune_state::ctntune(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1645,7 +1665,7 @@ void invspace_state::plate_w(offs_t offset, u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( invspace )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -1660,6 +1680,8 @@ static INPUT_PORTS_START( invspace )
|
||||
PORT_BIT( 0x0c, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void invspace_state::invspace(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1757,7 +1779,7 @@ void efball_state::plate_w(offs_t offset, u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( efball )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -1783,6 +1805,8 @@ static INPUT_PORTS_START( efball )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("P1 Kick")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void efball_state::efball(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -1877,7 +1901,7 @@ void galaxy2_state::plate_w(offs_t offset, u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( galaxy2 )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -1892,6 +1916,8 @@ static INPUT_PORTS_START( galaxy2 )
|
||||
PORT_BIT( 0x0c, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void galaxy2_state::galaxy2(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2015,7 +2041,7 @@ void astrocmd_state::plate_w(offs_t offset, u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( astrocmd )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -2031,6 +2057,8 @@ static INPUT_PORTS_START( astrocmd )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void astrocmd_state::astrocmd(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2129,7 +2157,7 @@ void edracula_state::plate_w(offs_t offset, u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( edracula )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -2145,6 +2173,8 @@ static INPUT_PORTS_START( edracula )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void edracula_state::edracula(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2230,7 +2260,7 @@ void mcompgin_state::lcd_w(u8 data)
|
||||
m_lcd->clock_w(data >> 1 & 1);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( mcompgin )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -2245,6 +2275,8 @@ static INPUT_PORTS_START( mcompgin )
|
||||
PORT_BIT( 0x0c, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void mcompgin_state::mcompgin(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2334,7 +2366,7 @@ void mvbfree_state::speaker_w(u8 data)
|
||||
m_speaker->level_w(data & 1);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( mvbfree )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -2351,6 +2383,8 @@ static INPUT_PORTS_START( mvbfree )
|
||||
PORT_CONFSETTING( 0x08, "3" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void mvbfree_state::mvbfree(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2449,7 +2483,7 @@ u8 grobot9_state::input_r()
|
||||
return read_inputs(5);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( grobot9 )
|
||||
PORT_START("IN.0") // C0 port A
|
||||
@ -2480,6 +2514,8 @@ static INPUT_PORTS_START( grobot9 )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_V) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_ucom4_state, single_interrupt_line, 0) PORT_NAME("Start-Pitch")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void grobot9_state::grobot9(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2570,7 +2606,7 @@ void tccombat_state::plate_w(offs_t offset, u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( tccombat )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -2582,6 +2618,8 @@ static INPUT_PORTS_START( tccombat )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void tccombat_state::tccombat(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2714,7 +2752,7 @@ u8 tmtennis_state::input_r(offs_t offset)
|
||||
return ~read_inputs(2) >> (offset*4);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
/* Pro-Tennis physical button layout and labels are like this:
|
||||
|
||||
@ -2753,6 +2791,8 @@ static INPUT_PORTS_START( tmtennis )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_D) PORT_NAME("P2 Button 6")
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void tmtennis_state::tmtennis(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2857,7 +2897,7 @@ void tmpacman_state::plate_w(offs_t offset, u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( tmpacman )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -2873,6 +2913,8 @@ static INPUT_PORTS_START( tmpacman )
|
||||
PORT_BIT( 0x0e, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void tmpacman_state::tmpacman(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -2972,7 +3014,7 @@ void tmscramb_state::plate_w(offs_t offset, u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( tmscramb )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -2987,6 +3029,8 @@ static INPUT_PORTS_START( tmscramb )
|
||||
PORT_BIT( 0x0c, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void tmscramb_state::tmscramb(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -3085,7 +3129,7 @@ void tcaveman_state::plate_w(offs_t offset, u8 data)
|
||||
update_display();
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
static INPUT_PORTS_START( tcaveman )
|
||||
PORT_START("IN.0") // port A
|
||||
@ -3097,6 +3141,8 @@ static INPUT_PORTS_START( tcaveman )
|
||||
PORT_CONFSETTING( 0x08, "2" ) // PRO
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void tcaveman_state::tcaveman(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
@ -3203,7 +3249,7 @@ u8 alnchase_state::input_r()
|
||||
return read_inputs(2);
|
||||
}
|
||||
|
||||
// config
|
||||
// inputs
|
||||
|
||||
/* physical button layout and labels are like this:
|
||||
|
||||
@ -3242,6 +3288,8 @@ static INPUT_PORTS_START( alnchase )
|
||||
PORT_BIT( 0x0c, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
// config
|
||||
|
||||
void alnchase_state::alnchase(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
|
@ -36,11 +36,11 @@ license:CC0-1.0
|
||||
<color red="0.1" green="0.1" blue="0.1" />
|
||||
</rect>
|
||||
<rect state="0">
|
||||
<bounds xc="0" yc="0" width="9" height="9" />
|
||||
<bounds xc="0" yc="0" width="8.5" height="8.5" />
|
||||
<color red="0.9" green="0.65" blue="0.3" />
|
||||
</rect>
|
||||
<rect state="1">
|
||||
<bounds xc="0" yc="0" width="9" height="9" />
|
||||
<bounds xc="0" yc="0" width="8.5" height="8.5" />
|
||||
<color red="0.77" green="0.55" blue="0.26" />
|
||||
</rect>
|
||||
</element>
|
||||
@ -50,11 +50,11 @@ license:CC0-1.0
|
||||
<color red="0.1" green="0.1" blue="0.1" />
|
||||
</rect>
|
||||
<rect state="0">
|
||||
<bounds xc="0" yc="0" width="9" height="9" />
|
||||
<bounds xc="0" yc="0" width="8.5" height="8.5" />
|
||||
<color red="0.25" green="0.25" blue="0.26" />
|
||||
</rect>
|
||||
<rect state="1">
|
||||
<bounds xc="0" yc="0" width="9" height="9" />
|
||||
<bounds xc="0" yc="0" width="8.5" height="8.5" />
|
||||
<color red="0.42" green="0.42" blue="0.44" />
|
||||
</rect>
|
||||
</element>
|
||||
|
104
src/mame/layout/litelrn.lay
Normal file
104
src/mame/layout/litelrn.lay
Normal file
@ -0,0 +1,104 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
license:CC0-1.0
|
||||
-->
|
||||
<mamelayout version="2">
|
||||
|
||||
<!-- define elements -->
|
||||
|
||||
<element name="red"><rect><color red="0.8" green="0.2" blue="0.2" /></rect></element>
|
||||
<element name="red2"><rect><color red="0.6" green="0.15" blue="0.15" /></rect></element>
|
||||
<element name="white"><rect><color red="0.9" green="0.9" blue="0.9" /></rect></element>
|
||||
<element name="black"><rect><color red="0.12" green="0.12" blue="0.12" /></rect></element>
|
||||
<element name="blackb"><rect><color red="0" green="0" blue="0" /></rect></element>
|
||||
|
||||
<element name="switch_mode" defstate="0">
|
||||
<rect>
|
||||
<bounds x="0" y="0" width="1" height="3.7" />
|
||||
<color red="0.8" green="0.8" blue="0.2" />
|
||||
</rect>
|
||||
<text state="0x00" string="LEARN">
|
||||
<bounds x="0" y="0.35" width="1" height="3" />
|
||||
<color red="0.05" green="0.05" blue="0.05" />
|
||||
</text>
|
||||
<text state="0x01" string="MANUAL">
|
||||
<bounds x="0" y="0.35" width="1" height="3" />
|
||||
<color red="0.05" green="0.05" blue="0.05" />
|
||||
</text>
|
||||
<text state="0x03" string="AUTO">
|
||||
<bounds x="0" y="0.35" width="1" height="3" />
|
||||
<color red="0.05" green="0.05" blue="0.05" />
|
||||
</text>
|
||||
</element>
|
||||
|
||||
<element name="switch_tone" defstate="0">
|
||||
<rect>
|
||||
<bounds x="0" y="0" width="1" height="3.7" />
|
||||
<color red="0.8" green="0.8" blue="0.2" />
|
||||
</rect>
|
||||
<text state="0x00" string="ORGAN">
|
||||
<bounds x="0" y="0.35" width="1" height="3" />
|
||||
<color red="0.05" green="0.05" blue="0.05" />
|
||||
</text>
|
||||
<text state="0x01" string="HARPSI.">
|
||||
<bounds x="0" y="0.35" width="1" height="3" />
|
||||
<color red="0.05" green="0.05" blue="0.05" />
|
||||
</text>
|
||||
<text state="0x03" string="BANJO">
|
||||
<bounds x="0" y="0.35" width="1" height="3" />
|
||||
<color red="0.05" green="0.05" blue="0.05" />
|
||||
</text>
|
||||
</element>
|
||||
|
||||
<element name="hlb" defstate="0">
|
||||
<disk state="1"><color red="0" green="0" blue="0" /></disk>
|
||||
</element>
|
||||
|
||||
<element name="led" defstate="0">
|
||||
<disk state="0"><color red="0.1" green="0.01" blue="0.015" /></disk>
|
||||
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
|
||||
</element>
|
||||
|
||||
<element name="text_l0"><text string="1"><color red="0.5" green="0.5" blue="0.5" /></text></element>
|
||||
<element name="text_l1"><text string="2"><color red="0.5" green="0.5" blue="0.5" /></text></element>
|
||||
<element name="text_l2"><text string="3"><color red="0.5" green="0.5" blue="0.5" /></text></element>
|
||||
<element name="text_l3"><text string="4"><color red="0.5" green="0.5" blue="0.5" /></text></element>
|
||||
<element name="text_l4"><text string="5"><color red="0.5" green="0.5" blue="0.5" /></text></element>
|
||||
<element name="text_l5"><text string="6"><color red="0.5" green="0.5" blue="0.5" /></text></element>
|
||||
<element name="text_l6"><text string="7"><color red="0.5" green="0.5" blue="0.5" /></text></element>
|
||||
<element name="text_l7"><text string="8"><color red="0.5" green="0.5" blue="0.5" /></text></element>
|
||||
<element name="text_l8"><text string="9"><color red="0.5" green="0.5" blue="0.5" /></text></element>
|
||||
<element name="text_l9"><text string="10"><color red="0.5" green="0.5" blue="0.5" /></text></element>
|
||||
|
||||
|
||||
<!-- build screen -->
|
||||
|
||||
<view name="Internal Layout">
|
||||
<bounds left="2.35" right="59.85" top="0" bottom="23.5" />
|
||||
|
||||
<element ref="red"><bounds left="2.35" right="59.85" top="0" bottom="23.5" /></element>
|
||||
<element ref="blackb"><bounds x="17.85" y="1.7" width="40.3" height="20.1" /></element>
|
||||
|
||||
<repeat count="10">
|
||||
<param name="x" start="20" increment="4" />
|
||||
<param name="i" start="0" increment="1" />
|
||||
<param name="mask" start="0x01" lshift="1" />
|
||||
|
||||
<element ref="black"><bounds xc="~x~" y="2" width="3.7" height="10" /></element>
|
||||
<element ref="white" inputtag="IN.0" inputmask="~mask~"><bounds xc="~x~" y="10" width="3.7" height="11.5" /></element>
|
||||
<element ref="hlb" inputtag="IN.0" inputmask="~mask~"><bounds xc="~x~" y="18" width="3.2" height="3.2" /><color alpha="0.15" /></element>
|
||||
<element ref="text_l~i~" blend="add"><bounds xc="~x~" y="2.6" width="3" height="3" /></element>
|
||||
<element name="0.~i~" ref="led"><bounds xc="~x~" y="6.5" width="1" height="1" /></element>
|
||||
</repeat>
|
||||
|
||||
<repeat count="14">
|
||||
<param name="y" start="2" increment="0.595" />
|
||||
<element ref="red2"><bounds x="4.05" y="~y~" width="12.1" height="0.3" /></element>
|
||||
</repeat>
|
||||
|
||||
<element ref="blackb"><bounds x="4.05" y="13.5" width="12.1" height="8.3" /></element>
|
||||
<element ref="switch_tone" inputtag="IN.2" inputmask="0x03" inputraw="yes"><bounds x="4.35" y="13.8" width="11.5" height="3.7" /></element>
|
||||
<element ref="switch_mode" inputtag="IN.1" inputmask="0x0c" inputraw="yes"><bounds x="4.35" y="17.8" width="11.5" height="3.7" /></element>
|
||||
|
||||
</view>
|
||||
</mamelayout>
|
@ -18897,6 +18897,7 @@ h2hhockey // Coleco
|
||||
horseran // Mattel
|
||||
lilprof // Texas Instruments
|
||||
lilprofa // Texas Instruments
|
||||
litelrn // Concept 2000
|
||||
liveafb // Kenner
|
||||
lostreas // Parker Bros
|
||||
matchnum // A-One LSI
|
||||
@ -18957,6 +18958,7 @@ tisr16ii // Texas Instruments
|
||||
tithermos // Texas Instruments
|
||||
vclock3 // Tandy Corporation
|
||||
wizatron // Texas Instruments
|
||||
wtalker // Technasonic
|
||||
xl25 // Vulcan
|
||||
zodiac // Coleco
|
||||
|
||||
|
@ -2125,14 +2125,14 @@ ROM_END
|
||||
|
||||
|
||||
// MEM(M)
|
||||
GAME( 2000, mrdrilr2, 0, ns10_mrdrilr2, mrdrilr2, namcos10_memm_state, init_mrdrilr2, ROT0, "Namco", "Mr. Driller 2 (World, DR22 Ver.A)", 0 )
|
||||
GAME( 2000, mrdrilr2j, mrdrilr2, ns10_mrdrilr2, mrdrilr2, namcos10_memm_state, init_mrdrilr2, ROT0, "Namco", "Mr. Driller 2 (Japan, DR21 Ver.A)", 0 )
|
||||
GAME( 2000, mrdrilr2, 0, ns10_mrdrilr2, mrdrilr2, namcos10_memm_state, init_mrdrilr2, ROT0, "Namco", "Mr. Driller 2 (World, DR22 Ver.A)", 0 )
|
||||
GAME( 2000, mrdrilr2j, mrdrilr2, ns10_mrdrilr2, mrdrilr2, namcos10_memm_state, init_mrdrilr2, ROT0, "Namco", "Mr. Driller 2 (Japan, DR21 Ver.A)", 0 )
|
||||
|
||||
// MEM(N)
|
||||
GAME( 2000, ptblank3, 0, ns10_ptblank3, namcos10, namcos10_memn_state, init_gunbalina, ROT0, "Namco", "Point Blank 3 (World, GNN2 Ver.A)", MACHINE_NOT_WORKING | MACHINE_UNEMULATED_PROTECTION ) // needs to hookup gun IO
|
||||
GAME( 2000, gunbalina, ptblank3, ns10_ptblank3, namcos10, namcos10_memn_state, init_gunbalina, ROT0, "Namco", "Gunbalina (Japan, GNN1 Ver.A)", MACHINE_NOT_WORKING | MACHINE_UNEMULATED_PROTECTION ) // ""
|
||||
GAME( 2001, gjspace, 0, ns10_gjspace, namcos10, namcos10_memn_state, init_gjspace, ROT0, "Namco / Metro", "Gekitoride-Jong Space (10011 Ver.A)", MACHINE_NOT_WORKING ) // broken decrypter?
|
||||
GAME( 2001, mrdrilrg, 0, ns10_mrdrilrg, mrdrilr2, namcos10_memn_state, init_mrdrilrg, ROT0, "Namco", "Mr. Driller G (Japan, DRG1 Ver.A)", MACHINE_NOT_WORKING | MACHINE_UNEMULATED_PROTECTION )
|
||||
GAME( 2001, mrdrilrg, 0, ns10_mrdrilrg, mrdrilr2, namcos10_memn_state, init_mrdrilrg, ROT0, "Namco", "Mr. Driller G (Japan, DRG1 Ver.A, set 1)", MACHINE_NOT_WORKING | MACHINE_UNEMULATED_PROTECTION )
|
||||
GAME( 2001, mrdrilrga, mrdrilrg, ns10_mrdrilrg, mrdrilr2, namcos10_memn_state, init_mrdrilrg, ROT0, "Namco", "Mr. Driller G (Japan, DRG1 Ver.A, set 2)", MACHINE_NOT_WORKING | MACHINE_UNEMULATED_PROTECTION )
|
||||
GAME( 2001, knpuzzle, 0, ns10_knpuzzle, namcos10, namcos10_memn_state, init_knpuzzle, ROT0, "Namco", "Kotoba no Puzzle Mojipittan (Japan, KPM1 Ver.A)", MACHINE_NOT_WORKING )
|
||||
GAME( 2001, kd2001, 0, ns10_kd2001, namcos10, namcos10_memn_state, empty_init, ROT0, "Namco", "Knock Down 2001 (Japan, KD11 Ver. B)", MACHINE_NOT_WORKING | MACHINE_UNEMULATED_PROTECTION )
|
||||
|
@ -30,7 +30,6 @@
|
||||
* Graphical Glitches caused by incorrect timing?
|
||||
- Some raster effects are imperfect (off by a couple of lines)
|
||||
* 68000 waitstates on ROM region access, determined by jumpers on cart
|
||||
(garou train stage 3 background bug is probably related to this)
|
||||
* AES Input clock is incorrect (24.167829MHz for NTSC systems, PAL is same?)
|
||||
* PAL region AES behavior is not verified
|
||||
|
||||
|
@ -17,6 +17,9 @@ adds moving obstacles. The 3rd game in the series, Space Micon Kit, adds a 2nd
|
||||
row of bricks.
|
||||
|
||||
Hardware notes:
|
||||
|
||||
Micon-Kit (1/2):
|
||||
- 2 PCBs: one with CPU and video hardware, one with RAM, ROM, PPI
|
||||
- NEC D8080A-C, 18.432MHz XTAL, NEC uPB8224C (/9 divider)
|
||||
- NEC uPB8228C, NEC D8255C
|
||||
- 4KB ROM (4*MB8518), 256 bytes RAM (2*D2111AL-4)
|
||||
@ -24,6 +27,12 @@ Hardware notes:
|
||||
- video timing: 10MHz XTAL, h/v: ?
|
||||
- beeper
|
||||
|
||||
Space Micon Kit:
|
||||
- PCB label: OKAYA ELECTRIC IND.CO.,LTD., SHIN NIHON KIKAKU
|
||||
- 5KB ROM (room for 8KB), 1KB RAM (2*TMM314APL)
|
||||
- 4KB VRAM (8*TMM314APL)
|
||||
- same CPU/divider/PPI but Mitsubishi brand, rest is same as above
|
||||
|
||||
TODO:
|
||||
- correct video timing, maybe 10MHz / 2 / (262*320)
|
||||
- there's a 2-player start button on the cocktail cabinet, but where is it
|
||||
@ -302,11 +311,11 @@ ROM_END
|
||||
|
||||
ROM_START( smiconk )
|
||||
ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASEFF )
|
||||
ROM_LOAD( "1.1a", 0x000000, 0x000400, CRC(927dfbb8) SHA1(a73e7352ddcc3409701a9037ac32868c1a2592bd) )
|
||||
ROM_LOAD( "2.1b", 0x000400, 0x000400, CRC(1d0f1474) SHA1(2ead9a60ef1770f8704fff951caba31ad06a38c7) )
|
||||
ROM_LOAD( "3.1c", 0x000800, 0x000400, CRC(b89cb388) SHA1(6ec6af0c4e809e8b0b9544eb7007a3e483f921f2) )
|
||||
ROM_LOAD( "4.1d", 0x000c00, 0x000400, CRC(a5897e6e) SHA1(5ecc65bfbecb6e1b10d272693309be827fdb3ef7) )
|
||||
ROM_LOAD( "5.1e", 0x001000, 0x000400, CRC(98db7810) SHA1(32d6b828bb22145ae1b4e70d6f69baba1d5aad6b) )
|
||||
ROM_LOAD( "1.1a", 0x0000, 0x0400, CRC(927dfbb8) SHA1(a73e7352ddcc3409701a9037ac32868c1a2592bd) )
|
||||
ROM_LOAD( "2.1b", 0x0400, 0x0400, CRC(1d0f1474) SHA1(2ead9a60ef1770f8704fff951caba31ad06a38c7) )
|
||||
ROM_LOAD( "3.1c", 0x0800, 0x0400, CRC(b89cb388) SHA1(6ec6af0c4e809e8b0b9544eb7007a3e483f921f2) )
|
||||
ROM_LOAD( "4.1d", 0x0c00, 0x0400, CRC(a5897e6e) SHA1(5ecc65bfbecb6e1b10d272693309be827fdb3ef7) )
|
||||
ROM_LOAD( "5.1e", 0x1000, 0x0400, CRC(98db7810) SHA1(32d6b828bb22145ae1b4e70d6f69baba1d5aad6b) )
|
||||
ROM_END
|
||||
|
||||
} // anonymous namespace
|
||||
@ -319,4 +328,4 @@ ROM_END
|
||||
|
||||
// YEAR NAME PARENT MACHINE INPUT CLASS INIT SCREEN COMPANY, FULLNAME, FLAGS
|
||||
GAMEL(1978, micon2, 0, micon2, micon2, miconkit_state, empty_init, ROT90, "SNK", "Micon-Kit Part II", MACHINE_SUPPORTS_SAVE, layout_micon2 )
|
||||
GAMEL(1978, smiconk, 0, smiconk, smiconk, miconkit_state, empty_init, ROT90, "SNK", "Space Micon Kit", MACHINE_SUPPORTS_SAVE, layout_micon2 )
|
||||
GAME (1978, smiconk, 0, smiconk, smiconk, miconkit_state, empty_init, ROT90, "SNK", "Space Micon Kit", MACHINE_SUPPORTS_SAVE ) // no color overlay
|
||||
|
@ -117,7 +117,7 @@ void taito_en_device::en_sound_map(address_map &map)
|
||||
map(0xc00000, 0xc1ffff).bankr("cpubank1");
|
||||
map(0xc20000, 0xc3ffff).bankr("cpubank2");
|
||||
map(0xc40000, 0xc7ffff).bankr("cpubank3");
|
||||
map(0xff0000, 0xffffff).ram().share("osram"); // mirror
|
||||
map(0xff0000, 0xffffff).ram().share("osram"); // mirror
|
||||
}
|
||||
|
||||
void taito_en_device::fc7_map(address_map &map)
|
||||
@ -213,6 +213,7 @@ void taito_en_device::duart_output(uint8_t data)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_add_mconfig - add device configuration
|
||||
//-------------------------------------------------
|
||||
|
@ -128,7 +128,6 @@ void taito_f3_state::sound_bankswitch_w(offs_t offset, u32 data, u32 mem_mask)
|
||||
/* Banks are 0x20000 bytes each, divide by two to get data16
|
||||
pointer rather than byte pointer */
|
||||
m_taito_en->set_bank(1, idx);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -415,7 +415,7 @@ void cc40_state::cc40_map(address_map &map)
|
||||
map(0x0111, 0x0111).rw(FUNC(cc40_state::power_r), FUNC(cc40_state::power_w));
|
||||
map(0x0112, 0x0112).noprw(); // d0-d3: Hexbus data
|
||||
map(0x0113, 0x0113).noprw(); // d0: Hexbus available
|
||||
map(0x0114, 0x0114).noprw(); // d0,d1: Hexbus handshake
|
||||
map(0x0114, 0x0114).noprw(); // d1: Hexbus handshake
|
||||
map(0x0115, 0x0115).w("dac", FUNC(dac_bit_interface::data_w));
|
||||
map(0x0116, 0x0116).portr("BATTERY");
|
||||
map(0x0119, 0x0119).rw(FUNC(cc40_state::bankswitch_r), FUNC(cc40_state::bankswitch_w));
|
||||
|
@ -121,6 +121,27 @@ Italian:
|
||||
|
||||
================================================================================
|
||||
|
||||
Speak & Math:
|
||||
|
||||
Speak & Math (US), 1980 (renamed to "Speak & Maths" in UK, but is the same product)
|
||||
- MCU: CD2704, label CD2704B-N2L (die label: TMC0270F, 2704B) - 2nd revision?(mid-1982)
|
||||
- TMS51xx: CD2801
|
||||
- VSM(1/2): 16KB CD2392
|
||||
- VSM(2/2): 16KB CD2393
|
||||
- VFD: Futaba 9SY -02Z 7E
|
||||
- notes: As with the Speak & Spell, the voice actor was a radio announcer.
|
||||
However, the phrase "is greater than or less than" had to be added by one
|
||||
of the TI employees in a hurry, the day before a demo. Apparently QA
|
||||
never found out and it ended up in the final product.
|
||||
|
||||
Speak & Math (US), 1984
|
||||
- MCU: CD2708, label CD2708N2L (die label: TMC0270F, 2708A)
|
||||
- TMS51xx: CD2801
|
||||
- VSM(1/2): 16KB CD2381
|
||||
- VSM(2/2): 4KB CD2614
|
||||
|
||||
================================================================================
|
||||
|
||||
Speak & Read:
|
||||
|
||||
Speak & Read (US), 1980
|
||||
@ -144,27 +165,6 @@ English:
|
||||
|
||||
================================================================================
|
||||
|
||||
Speak & Math:
|
||||
|
||||
Speak & Math (US), 1980 (renamed to "Speak & Maths" in UK, but is the same product)
|
||||
- MCU: CD2704, label CD2704B-N2L (die label: TMC0270F, 2704B) - 2nd revision?(mid-1982)
|
||||
- TMS51xx: CD2801
|
||||
- VSM(1/2): 16KB CD2392
|
||||
- VSM(2/2): 16KB CD2393
|
||||
- VFD: Futaba 9SY -02Z 7E
|
||||
- notes: As with the Speak & Spell, the voice actor was a radio announcer.
|
||||
However, the phrase "is greater than or less than" had to be added by one
|
||||
of the TI employees in a hurry, the day before a demo. Apparently QA
|
||||
never found out and it ended up in the final product.
|
||||
|
||||
Speak & Math (US), 1984
|
||||
- MCU: CD2708, label CD2708N2L (die label: TMC0270F, 2708A)
|
||||
- TMS51xx: CD2801
|
||||
- VSM(1/2): 16KB CD2381
|
||||
- VSM(2/2): 4KB CD2614
|
||||
|
||||
================================================================================
|
||||
|
||||
Language Translator/Tutor:
|
||||
|
||||
Initially sold as Language Translator, renamed to Language Tutor a year later.
|
||||
@ -820,18 +820,6 @@ void snspell_state::snspellsp(machine_config &config)
|
||||
}
|
||||
|
||||
|
||||
void snspell_state::snread(machine_config &config)
|
||||
{
|
||||
sns_cd2801(config);
|
||||
|
||||
config.set_default_layout(layout_snread);
|
||||
|
||||
// cartridge
|
||||
m_cart->set_interface("snread");
|
||||
m_softlist->set_original("snread");
|
||||
}
|
||||
|
||||
|
||||
void snspell_state::snmath(machine_config &config)
|
||||
{
|
||||
sns_cd2801(config);
|
||||
@ -847,6 +835,18 @@ void snspell_state::snmath(machine_config &config)
|
||||
}
|
||||
|
||||
|
||||
void snspell_state::snread(machine_config &config)
|
||||
{
|
||||
sns_cd2801(config);
|
||||
|
||||
config.set_default_layout(layout_snread);
|
||||
|
||||
// cartridge
|
||||
m_cart->set_interface("snread");
|
||||
m_softlist->set_original("snread");
|
||||
}
|
||||
|
||||
|
||||
void snspell_state::lantrans(machine_config &config)
|
||||
{
|
||||
sns_cd2801(config);
|
||||
|
Loading…
Reference in New Issue
Block a user