Skip to content

Commit 803a05b

Browse files
authored
Armadillo Racing (adillor, adillorj) - Additional dev inputs (#16015)
-namcos22.cpp: Added additional developer inputs (fine-increment/decrement and freeze-toggle) for Armadillo Racing. [drojaazu]
1 parent eb2ac9e commit 803a05b

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

‎src/mame/namco/namcos22.cpp‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3480,7 +3480,12 @@ static INPUT_PORTS_START( adillor )
34803480
PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN )
34813481
PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
34823482
PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_START1 )
3483-
PORT_BIT( 0xfe00, IP_ACTIVE_LOW, IPT_UNKNOWN )
3483+
// enabled with DSW4-8; P1 Start becomes frame advance while paused
3484+
// not on the dev panel, but also not wired in the cabinet, so hidden behind
3485+
// the dev machine config
3486+
PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_NAME("Dev Freeze Toggle")
3487+
PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x00)
3488+
PORT_BIT( 0xfc00, IP_ACTIVE_LOW, IPT_UNKNOWN )
34843489

34853490
PORT_START("OPT.0")
34863491
PORT_BIT( 0xffff, 0x0000, IPT_TRACKBALL_X ) PORT_SENSITIVITY(0x100) PORT_KEYDELTA(0x10)
@@ -3516,7 +3521,12 @@ static INPUT_PORTS_START( adillor )
35163521
PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Right") // when in normal testmode, press this to enter the extra testmode
35173522
PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Up")
35183523
PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Down")
3519-
PORT_BIT( 0xffc0, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01)
3524+
// left/right above are the coarse step; these two are the fine step
3525+
// without them most fields cannot reach every value
3526+
// eg. in SPRITE CG TEST the CHR NO index moves by 8 with Right and by 1 with Fine Inc.
3527+
PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Fine Dec")
3528+
PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Fine Inc")
3529+
PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01)
35203530
PORT_BIT( 0xffff, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x00)
35213531
INPUT_PORTS_END
35223532

0 commit comments

Comments
 (0)