Previous 199869 Revisions Next

r35373 Monday 19th January, 2015 at 21:34:43 UTC by hap
notes
[/branches/kale/src/mess/drivers]splitsec.c

branches/kale/src/mess/drivers/splitsec.c
r243884r243885
1313  7: Stomp
1414  8: Speedball
1515 
16  *: higher number indicates harder difficulty
16  *: higher number indicates higher difficulty
1717
1818
1919  TODO:
r243884r243885
8181// decay time, in steps of 10ms
8282#define LEDS_DECAY_TIME 4
8383
84/* display layout, where number xy is lamp R(x),O(y)
85
86       00    02    04
87    10 01 12 03 14 05 16
88       11    13    15
89    20 21 22 23 24 25 26
90       31    33    35
91    30 41 32 43 34 45 36
92       51    53    55
93    40 61 42 63 44 65 46
94       71    73    75
95    50 60 52 62 54 64 56
96       70    72    74
97*/
98
8499void splitsec_state::leds_update()
85100{
86101   UINT16 active_state[0x10];
r243884r243885
177192
178193static INPUT_PORTS_START( splitsec )
179194   PORT_START("IN.0") // R9
180   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_16WAY
195   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_16WAY // 4 separate directional buttons, hence 16way
181196   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_16WAY
182197   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_16WAY
183198   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )


Previous 199869 Revisions Next


© 1997-2024 The MAME Team