Previous 199869 Revisions Next

r22903 Saturday 18th May, 2013 at 16:08:18 UTC by hap
- Changed "Gear Shift" to LOW by default for contcirc, chasehq, sci
 and topspeed [MASH]


(note: only for games where IP_ACTIVE meant low, otherwise it means the game boots with button held down. Other games that were in this patch submit have been excluded)
[src/mame/drivers]taito_z.c topspeed.c
[src/mame/layout]contcirc.lay topspeed.lay

trunk/src/mame/layout/contcirc.lay
r22902r22903
2121         <bounds left="14" right="18" top="47" bottom="51" />
2222         <color red="0.44" green="0.47" blue="0.5" />
2323      </disk>
24      <text string="LOW" state="1">
24      <text string="LOW" state="0">
2525         <bounds left="3" right="29" top="2" bottom="12" />
2626         <color red="1.0" green="1.0" blue="0.4" />
2727      </text>
28      <text string="LOW" state="0">
28      <text string="LOW" state="1">
2929         <bounds left="3" right="29" top="2" bottom="12" />
3030         <color red="1.0" green="1.0" blue="1.0" />
3131      </text>
3232
33      <text string="HIGH" state="1">
33      <text string="HIGH" state="0">
3434         <bounds left="3" right="29" top="52" bottom="62" />
3535         <color red="1.0" green="1.0" blue="1.0" />
3636      </text>
37      <text string="HIGH" state="0">
37      <text string="HIGH" state="1">
3838         <bounds left="3" right="29" top="52" bottom="62" />
3939         <color red="1.0" green="1.0" blue="0.4" />
4040      </text>
41      <disk state="1">
41      <disk state="0">
4242         <bounds left="9" right="23" top="14" bottom="28" />
4343         <color red="0.85" green="0.4" blue="0.3" />
4444      </disk>
45      <disk state="0">
45      <disk state="1">
4646         <bounds left="9" right="23" top="36" bottom="50" />
4747         <color red="0.85" green="0.4" blue="0.3" />
4848      </disk>
trunk/src/mame/layout/topspeed.lay
r22902r22903
2121         <bounds left="14" right="18" top="47" bottom="51" />
2222         <color red="0.44" green="0.47" blue="0.5" />
2323      </disk>
24      <text string="LOW" state="1">
24      <text string="LOW" state="0">
2525         <bounds left="3" right="29" top="2" bottom="12" />
2626         <color red="1.0" green="1.0" blue="0.4" />
2727      </text>
28      <text string="LOW" state="0">
28      <text string="LOW" state="1">
2929         <bounds left="3" right="29" top="2" bottom="12" />
3030         <color red="1.0" green="1.0" blue="1.0" />
3131      </text>
3232
33      <text string="HIGH" state="1">
33      <text string="HIGH" state="0">
3434         <bounds left="3" right="29" top="52" bottom="62" />
3535         <color red="1.0" green="1.0" blue="1.0" />
3636      </text>
37      <text string="HIGH" state="0">
37      <text string="HIGH" state="1">
3838         <bounds left="3" right="29" top="52" bottom="62" />
3939         <color red="1.0" green="1.0" blue="0.4" />
4040      </text>
41      <disk state="1">
41      <disk state="0">
4242         <bounds left="9" right="23" top="14" bottom="28" />
4343         <color red="0.85" green="0.4" blue="0.3" />
4444      </disk>
45      <disk state="0">
45      <disk state="1">
4646         <bounds left="9" right="23" top="36" bottom="50" />
4747         <color red="0.85" green="0.4" blue="0.3" />
4848      </disk>
trunk/src/mame/drivers/taito_z.c
r22902r22903
20712071   PORT_BIT( 0x02, IP_ACTIVE_LOW,  IPT_UNKNOWN )
20722072   PORT_BIT( 0x04, IP_ACTIVE_LOW,  IPT_TILT )
20732073   PORT_BIT( 0x08, IP_ACTIVE_LOW,  IPT_START1 )
2074   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("Shifter") PORT_TOGGLE
2074   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Shifter") PORT_TOGGLE
20752075   PORT_BIT( 0xe0, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, taitoz_state, taitoz_pedal_r, "BRAKE") PORT_CONDITION("DSWA", 0x01, EQUALS, 0x01)
20762076   PORT_BIT( 0xe0, IP_ACTIVE_LOW,  IPT_BUTTON2 ) PORT_NAME("Brake Switch") PORT_CONDITION("DSWA", 0x01, EQUALS, 0x00) // no function?
20772077
r22902r22903
21432143   PORT_BIT( 0x02, IP_ACTIVE_LOW,  IPT_TILT )
21442144   PORT_BIT( 0x04, IP_ACTIVE_LOW,  IPT_SERVICE2 ) PORT_NAME("Calibrate") // ?
21452145   PORT_BIT( 0x08, IP_ACTIVE_LOW,  IPT_START1 )
2146   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Shifter") PORT_TOGGLE
2146   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Shifter") PORT_TOGGLE
21472147   PORT_BIT( 0xe0, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, taitoz_state, taitoz_pedal_r, "GAS") PORT_CONDITION("DSWA", 0x02, EQUALS, 0x00)
21482148   PORT_BIT( 0x20, IP_ACTIVE_LOW,  IPT_BUTTON1 ) PORT_NAME("Gas Switch") PORT_CONDITION("DSWA", 0x02, EQUALS, 0x02)
21492149
r22902r22903
24292429   PORT_BIT( 0x02, IP_ACTIVE_LOW,  IPT_TILT )
24302430   PORT_BIT( 0x04, IP_ACTIVE_LOW,  IPT_SERVICE2 ) PORT_NAME("Center")
24312431   PORT_BIT( 0x08, IP_ACTIVE_LOW,  IPT_START1 )
2432   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Shifter") PORT_TOGGLE
2432   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Shifter") PORT_TOGGLE
24332433   PORT_BIT( 0x20, IP_ACTIVE_LOW,  IPT_BUTTON1 ) PORT_NAME("Gas Switch")
24342434   PORT_BIT( 0x40, IP_ACTIVE_LOW,  IPT_UNKNOWN )
24352435   PORT_BIT( 0x80, IP_ACTIVE_LOW,  IPT_UNKNOWN )
trunk/src/mame/drivers/topspeed.c
r22902r22903
586586   PORT_BIT( 0x02, IP_ACTIVE_LOW,  IPT_TILT )
587587   PORT_BIT( 0x04, IP_ACTIVE_LOW,  IPT_SERVICE2 ) PORT_NAME("Calibrate") // ?
588588   PORT_BIT( 0x08, IP_ACTIVE_LOW,  IPT_START1 )
589   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Shifter") PORT_TOGGLE
589   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Shifter") PORT_TOGGLE
590590   PORT_BIT( 0xe0, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, topspeed_state, topspeed_pedal_r, "GAS") PORT_CONDITION("DSWA", 0x03, NOTEQUALS, 0x02)
591591   PORT_BIT( 0x20, IP_ACTIVE_LOW,  IPT_BUTTON1 ) PORT_NAME("Gas Switch") PORT_CONDITION("DSWA", 0x03, EQUALS, 0x02)
592592

Previous 199869 Revisions Next


© 1997-2024 The MAME Team