mirror of
https://github.com/holub/mame
synced 2025-05-21 13:18:56 +03:00
(shorten "sprite_position" tag)
This commit is contained in:
parent
8a4aecdb46
commit
70cd529773
@ -603,7 +603,7 @@ static ADDRESS_MAP_START( turbo_map, AS_PROGRAM, 8, turbo_state )
|
|||||||
AM_RANGE(0x0000, 0x5fff) AM_ROM
|
AM_RANGE(0x0000, 0x5fff) AM_ROM
|
||||||
AM_RANGE(0xa000, 0xa0ff) AM_MIRROR(0x0700) AM_MASK(0x0f7) AM_RAM AM_SHARE("spriteram")
|
AM_RANGE(0xa000, 0xa0ff) AM_MIRROR(0x0700) AM_MASK(0x0f7) AM_RAM AM_SHARE("spriteram")
|
||||||
AM_RANGE(0xa800, 0xa807) AM_MIRROR(0x07f8) AM_WRITE(turbo_coin_and_lamp_w)
|
AM_RANGE(0xa800, 0xa807) AM_MIRROR(0x07f8) AM_WRITE(turbo_coin_and_lamp_w)
|
||||||
AM_RANGE(0xb000, 0xb3ff) AM_MIRROR(0x0400) AM_RAM AM_SHARE("sprite_position")
|
AM_RANGE(0xb000, 0xb3ff) AM_MIRROR(0x0400) AM_RAM AM_SHARE("spritepos")
|
||||||
AM_RANGE(0xb800, 0xbfff) AM_WRITE(turbo_analog_reset_w)
|
AM_RANGE(0xb800, 0xbfff) AM_WRITE(turbo_analog_reset_w)
|
||||||
AM_RANGE(0xe000, 0xe7ff) AM_RAM_WRITE(turbo_videoram_w) AM_SHARE("videoram")
|
AM_RANGE(0xe000, 0xe7ff) AM_RAM_WRITE(turbo_videoram_w) AM_SHARE("videoram")
|
||||||
AM_RANGE(0xe800, 0xefff) AM_WRITE(turbo_collision_clear_w)
|
AM_RANGE(0xe800, 0xefff) AM_WRITE(turbo_collision_clear_w)
|
||||||
@ -628,7 +628,7 @@ ADDRESS_MAP_END
|
|||||||
|
|
||||||
static ADDRESS_MAP_START( subroc3d_map, AS_PROGRAM, 8, turbo_state )
|
static ADDRESS_MAP_START( subroc3d_map, AS_PROGRAM, 8, turbo_state )
|
||||||
AM_RANGE(0x0000, 0x9fff) AM_ROM
|
AM_RANGE(0x0000, 0x9fff) AM_ROM
|
||||||
AM_RANGE(0xa000, 0xa3ff) AM_RAM AM_SHARE("sprite_position") // CONT RAM
|
AM_RANGE(0xa000, 0xa3ff) AM_RAM AM_SHARE("spritepos") // CONT RAM
|
||||||
AM_RANGE(0xa400, 0xa7ff) AM_RAM AM_SHARE("spriteram") // CONT RAM
|
AM_RANGE(0xa400, 0xa7ff) AM_RAM AM_SHARE("spriteram") // CONT RAM
|
||||||
AM_RANGE(0xa800, 0xa800) AM_MIRROR(0x07fc) AM_READ_PORT("IN0") // INPUT 253
|
AM_RANGE(0xa800, 0xa800) AM_MIRROR(0x07fc) AM_READ_PORT("IN0") // INPUT 253
|
||||||
AM_RANGE(0xa801, 0xa801) AM_MIRROR(0x07fc) AM_READ_PORT("IN1") // INPUT 253
|
AM_RANGE(0xa801, 0xa801) AM_MIRROR(0x07fc) AM_READ_PORT("IN1") // INPUT 253
|
||||||
@ -659,7 +659,7 @@ static ADDRESS_MAP_START( buckrog_map, AS_PROGRAM, 8, turbo_state )
|
|||||||
AM_RANGE(0xd000, 0xd003) AM_MIRROR(0x07fc) AM_DEVREADWRITE_LEGACY("ppi8255_1", ppi8255_r, ppi8255_w) // 8255
|
AM_RANGE(0xd000, 0xd003) AM_MIRROR(0x07fc) AM_DEVREADWRITE_LEGACY("ppi8255_1", ppi8255_r, ppi8255_w) // 8255
|
||||||
AM_RANGE(0xd800, 0xd800) AM_MIRROR(0x07fe) AM_DEVREADWRITE("i8279", i8279_device, data_r, data_w )
|
AM_RANGE(0xd800, 0xd800) AM_MIRROR(0x07fe) AM_DEVREADWRITE("i8279", i8279_device, data_r, data_w )
|
||||||
AM_RANGE(0xd801, 0xd801) AM_MIRROR(0x07fe) AM_DEVREADWRITE("i8279", i8279_device, status_r, cmd_w)
|
AM_RANGE(0xd801, 0xd801) AM_MIRROR(0x07fe) AM_DEVREADWRITE("i8279", i8279_device, status_r, cmd_w)
|
||||||
AM_RANGE(0xe000, 0xe3ff) AM_RAM AM_SHARE("sprite_position") // CONT RAM
|
AM_RANGE(0xe000, 0xe3ff) AM_RAM AM_SHARE("spritepos") // CONT RAM
|
||||||
AM_RANGE(0xe400, 0xe7ff) AM_RAM AM_SHARE("spriteram") // CONT RAM
|
AM_RANGE(0xe400, 0xe7ff) AM_RAM AM_SHARE("spriteram") // CONT RAM
|
||||||
AM_RANGE(0xe800, 0xe800) AM_MIRROR(0x07fc) AM_READ_PORT("IN0") // INPUT
|
AM_RANGE(0xe800, 0xe800) AM_MIRROR(0x07fc) AM_READ_PORT("IN0") // INPUT
|
||||||
AM_RANGE(0xe801, 0xe801) AM_MIRROR(0x07fc) AM_READ_PORT("IN1")
|
AM_RANGE(0xe801, 0xe801) AM_MIRROR(0x07fc) AM_READ_PORT("IN1")
|
||||||
@ -702,37 +702,37 @@ static INPUT_PORTS_START( turbo )
|
|||||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
|
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
|
||||||
|
|
||||||
PORT_START("DSW1") /* DSW 1 */
|
PORT_START("DSW1") /* DSW 1 */
|
||||||
PORT_DIPNAME( 0x03, 0x03, "Car On Extended Play" ) PORT_DIPLOCATION("SW1:1,2")
|
PORT_DIPNAME( 0x03, 0x03, "Car On Extended Play" ) PORT_DIPLOCATION("SW1:1,2")
|
||||||
PORT_DIPSETTING( 0x00, "1" )
|
PORT_DIPSETTING( 0x00, "1" )
|
||||||
PORT_DIPSETTING( 0x01, "2" )
|
PORT_DIPSETTING( 0x01, "2" )
|
||||||
PORT_DIPSETTING( 0x02, "3" )
|
PORT_DIPSETTING( 0x02, "3" )
|
||||||
PORT_DIPSETTING( 0x03, "4" )
|
PORT_DIPSETTING( 0x03, "4" )
|
||||||
PORT_DIPNAME( 0x04, 0x00, DEF_STR( Game_Time ) ) PORT_DIPLOCATION("SW1:3")
|
PORT_DIPNAME( 0x04, 0x00, DEF_STR( Game_Time ) ) PORT_DIPLOCATION("SW1:3")
|
||||||
PORT_DIPSETTING( 0x04, "Fixed (55 sec)" )
|
PORT_DIPSETTING( 0x04, "Fixed (55 sec)" )
|
||||||
PORT_DIPSETTING( 0x00, "Adjustable" )
|
PORT_DIPSETTING( 0x00, "Adjustable" )
|
||||||
PORT_DIPNAME( 0x08, 0x08, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:4")
|
PORT_DIPNAME( 0x08, 0x08, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:4")
|
||||||
PORT_DIPSETTING( 0x08, DEF_STR( Easy ))
|
PORT_DIPSETTING( 0x08, DEF_STR( Easy ))
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Hard ))
|
PORT_DIPSETTING( 0x00, DEF_STR( Hard ))
|
||||||
PORT_DIPNAME( 0x10, 0x10, "Game Mode" ) PORT_DIPLOCATION("SW1:5")
|
PORT_DIPNAME( 0x10, 0x10, "Game Mode" ) PORT_DIPLOCATION("SW1:5")
|
||||||
PORT_DIPSETTING( 0x00, "No Collisions (cheat)" )
|
PORT_DIPSETTING( 0x00, "No Collisions (cheat)" )
|
||||||
PORT_DIPSETTING( 0x10, DEF_STR( Normal ) )
|
PORT_DIPSETTING( 0x10, DEF_STR( Normal ) )
|
||||||
PORT_DIPNAME( 0x20, 0x20, "Initial Entry" ) PORT_DIPLOCATION("SW1:6")
|
PORT_DIPNAME( 0x20, 0x20, "Initial Entry" ) PORT_DIPLOCATION("SW1:6")
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||||
PORT_DIPSETTING( 0x20, DEF_STR( On ))
|
PORT_DIPSETTING( 0x20, DEF_STR( On ))
|
||||||
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:7")
|
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:7")
|
||||||
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:8")
|
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:8")
|
||||||
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||||
|
|
||||||
PORT_START("DSW2") /* DSW 2 */
|
PORT_START("DSW2") /* DSW 2 */
|
||||||
PORT_DIPNAME( 0x03, 0x03, DEF_STR( Game_Time ) ) PORT_DIPLOCATION("SW2:1,2")
|
PORT_DIPNAME( 0x03, 0x03, DEF_STR( Game_Time ) ) PORT_DIPLOCATION("SW2:1,2")
|
||||||
PORT_DIPSETTING( 0x00, "60 seconds" )
|
PORT_DIPSETTING( 0x00, "60 seconds" )
|
||||||
PORT_DIPSETTING( 0x01, "70 seconds" )
|
PORT_DIPSETTING( 0x01, "70 seconds" )
|
||||||
PORT_DIPSETTING( 0x02, "80 seconds" )
|
PORT_DIPSETTING( 0x02, "80 seconds" )
|
||||||
PORT_DIPSETTING( 0x03, "90 seconds" )
|
PORT_DIPSETTING( 0x03, "90 seconds" )
|
||||||
PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_B )) PORT_DIPLOCATION("SW2:3,4,5")
|
PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_B )) PORT_DIPLOCATION("SW2:3,4,5")
|
||||||
PORT_DIPSETTING( 0x18, DEF_STR( 4C_1C ))
|
PORT_DIPSETTING( 0x18, DEF_STR( 4C_1C ))
|
||||||
PORT_DIPSETTING( 0x14, DEF_STR( 3C_1C ))
|
PORT_DIPSETTING( 0x14, DEF_STR( 3C_1C ))
|
||||||
PORT_DIPSETTING( 0x10, DEF_STR( 2C_1C ))
|
PORT_DIPSETTING( 0x10, DEF_STR( 2C_1C ))
|
||||||
@ -741,7 +741,7 @@ static INPUT_PORTS_START( turbo )
|
|||||||
PORT_DIPSETTING( 0x04, DEF_STR( 1C_2C ))
|
PORT_DIPSETTING( 0x04, DEF_STR( 1C_2C ))
|
||||||
PORT_DIPSETTING( 0x08, DEF_STR( 1C_3C ))
|
PORT_DIPSETTING( 0x08, DEF_STR( 1C_3C ))
|
||||||
PORT_DIPSETTING( 0x0c, DEF_STR( 1C_6C ))
|
PORT_DIPSETTING( 0x0c, DEF_STR( 1C_6C ))
|
||||||
PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A )) PORT_DIPLOCATION("SW2:6,7,8")
|
PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A )) PORT_DIPLOCATION("SW2:6,7,8")
|
||||||
PORT_DIPSETTING( 0xc0, DEF_STR( 4C_1C ))
|
PORT_DIPSETTING( 0xc0, DEF_STR( 4C_1C ))
|
||||||
PORT_DIPSETTING( 0xa0, DEF_STR( 3C_1C ))
|
PORT_DIPSETTING( 0xa0, DEF_STR( 3C_1C ))
|
||||||
PORT_DIPSETTING( 0x80, DEF_STR( 2C_1C ))
|
PORT_DIPSETTING( 0x80, DEF_STR( 2C_1C ))
|
||||||
@ -753,16 +753,16 @@ static INPUT_PORTS_START( turbo )
|
|||||||
|
|
||||||
PORT_START("DSW3") /* Collision and DSW 3 */
|
PORT_START("DSW3") /* Collision and DSW 3 */
|
||||||
PORT_BIT( 0x0f, 0x00, IPT_SPECIAL ) /* Merged with collision bits */
|
PORT_BIT( 0x0f, 0x00, IPT_SPECIAL ) /* Merged with collision bits */
|
||||||
PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW3:1")
|
PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW3:1")
|
||||||
PORT_DIPSETTING( 0x10, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x10, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW3:2")
|
PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW3:2")
|
||||||
PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x40, 0x40, "Tachometer" ) PORT_DIPLOCATION("SW3:3")
|
PORT_DIPNAME( 0x40, 0x40, "Tachometer" ) PORT_DIPLOCATION("SW3:3")
|
||||||
PORT_DIPSETTING( 0x40, "Analog (Meter)")
|
PORT_DIPSETTING( 0x40, "Analog (Meter)")
|
||||||
PORT_DIPSETTING( 0x00, "Digital (LED)")
|
PORT_DIPSETTING( 0x00, "Digital (LED)")
|
||||||
PORT_DIPNAME( 0x80, 0x80, "Sound System" ) PORT_DIPLOCATION("SW3:4")
|
PORT_DIPNAME( 0x80, 0x80, "Sound System" ) PORT_DIPLOCATION("SW3:4")
|
||||||
PORT_DIPSETTING( 0x80, DEF_STR( Upright ) )
|
PORT_DIPSETTING( 0x80, DEF_STR( Upright ) )
|
||||||
PORT_DIPSETTING( 0x00, "Cockpit")
|
PORT_DIPSETTING( 0x00, "Cockpit")
|
||||||
|
|
||||||
@ -795,7 +795,7 @@ static INPUT_PORTS_START( subroc3d )
|
|||||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
|
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
|
||||||
|
|
||||||
PORT_START("DSW2") /* DSW 2 */
|
PORT_START("DSW2") /* DSW 2 */
|
||||||
PORT_DIPNAME( 0x07, 0x00, DEF_STR( Coin_A )) PORT_DIPLOCATION("SW2:1,2,3")
|
PORT_DIPNAME( 0x07, 0x00, DEF_STR( Coin_A )) PORT_DIPLOCATION("SW2:1,2,3")
|
||||||
PORT_DIPSETTING( 0x07, DEF_STR( 5C_1C ) )
|
PORT_DIPSETTING( 0x07, DEF_STR( 5C_1C ) )
|
||||||
PORT_DIPSETTING( 0x06, DEF_STR( 4C_1C ) )
|
PORT_DIPSETTING( 0x06, DEF_STR( 4C_1C ) )
|
||||||
PORT_DIPSETTING( 0x05, DEF_STR( 3C_1C ) )
|
PORT_DIPSETTING( 0x05, DEF_STR( 3C_1C ) )
|
||||||
@ -804,7 +804,7 @@ static INPUT_PORTS_START( subroc3d )
|
|||||||
PORT_DIPSETTING( 0x01, DEF_STR( 1C_2C ) )
|
PORT_DIPSETTING( 0x01, DEF_STR( 1C_2C ) )
|
||||||
PORT_DIPSETTING( 0x02, DEF_STR( 1C_3C ) )
|
PORT_DIPSETTING( 0x02, DEF_STR( 1C_3C ) )
|
||||||
PORT_DIPSETTING( 0x03, DEF_STR( 1C_6C ) )
|
PORT_DIPSETTING( 0x03, DEF_STR( 1C_6C ) )
|
||||||
PORT_DIPNAME( 0x38, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW2:4,5,6")
|
PORT_DIPNAME( 0x38, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW2:4,5,6")
|
||||||
PORT_DIPSETTING( 0x38, DEF_STR( 5C_1C ) )
|
PORT_DIPSETTING( 0x38, DEF_STR( 5C_1C ) )
|
||||||
PORT_DIPSETTING( 0x30, DEF_STR( 4C_1C ) )
|
PORT_DIPSETTING( 0x30, DEF_STR( 4C_1C ) )
|
||||||
PORT_DIPSETTING( 0x28, DEF_STR( 3C_1C ) )
|
PORT_DIPSETTING( 0x28, DEF_STR( 3C_1C ) )
|
||||||
@ -813,34 +813,34 @@ static INPUT_PORTS_START( subroc3d )
|
|||||||
PORT_DIPSETTING( 0x08, DEF_STR( 1C_2C ) )
|
PORT_DIPSETTING( 0x08, DEF_STR( 1C_2C ) )
|
||||||
PORT_DIPSETTING( 0x10, DEF_STR( 1C_3C ) )
|
PORT_DIPSETTING( 0x10, DEF_STR( 1C_3C ) )
|
||||||
PORT_DIPSETTING( 0x18, DEF_STR( 1C_6C ) )
|
PORT_DIPSETTING( 0x18, DEF_STR( 1C_6C ) )
|
||||||
PORT_DIPNAME( 0xc0, 0x40, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:7,8")
|
PORT_DIPNAME( 0xc0, 0x40, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:7,8")
|
||||||
PORT_DIPSETTING( 0x00, "2" )
|
PORT_DIPSETTING( 0x00, "2" )
|
||||||
PORT_DIPSETTING( 0x40, "3" )
|
PORT_DIPSETTING( 0x40, "3" )
|
||||||
PORT_DIPSETTING( 0x80, "4" )
|
PORT_DIPSETTING( 0x80, "4" )
|
||||||
PORT_DIPSETTING( 0xc0, "5" )
|
PORT_DIPSETTING( 0xc0, "5" )
|
||||||
|
|
||||||
PORT_START("DSW3") /* DSW 3 */
|
PORT_START("DSW3") /* DSW 3 */
|
||||||
PORT_DIPNAME( 0x03, 0x03, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW3:1,2")
|
PORT_DIPNAME( 0x03, 0x03, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW3:1,2")
|
||||||
PORT_DIPSETTING( 0x00, "20000" )
|
PORT_DIPSETTING( 0x00, "20000" )
|
||||||
PORT_DIPSETTING( 0x01, "40000" )
|
PORT_DIPSETTING( 0x01, "40000" )
|
||||||
PORT_DIPSETTING( 0x02, "60000" )
|
PORT_DIPSETTING( 0x02, "60000" )
|
||||||
PORT_DIPSETTING( 0x03, "80000" )
|
PORT_DIPSETTING( 0x03, "80000" )
|
||||||
PORT_DIPNAME( 0x04, 0x04, "Initial Entry" ) PORT_DIPLOCATION("SW3:3")
|
PORT_DIPNAME( 0x04, 0x04, "Initial Entry" ) PORT_DIPLOCATION("SW3:3")
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x04, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x04, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x08, 0x08, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW3:4")
|
PORT_DIPNAME( 0x08, 0x08, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW3:4")
|
||||||
PORT_DIPSETTING( 0x08, DEF_STR( Normal ) )
|
PORT_DIPSETTING( 0x08, DEF_STR( Normal ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Hard ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Hard ) )
|
||||||
PORT_DIPNAME( 0x10, 0x10, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("SW3:5")
|
PORT_DIPNAME( 0x10, 0x10, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("SW3:5")
|
||||||
PORT_DIPSETTING( 0x10, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x10, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x20, 0x20, "Motion" ) PORT_DIPLOCATION("SW3:6")
|
PORT_DIPNAME( 0x20, 0x20, "Motion" ) PORT_DIPLOCATION("SW3:6")
|
||||||
PORT_DIPSETTING( 0x00, "Stop" )
|
PORT_DIPSETTING( 0x00, "Stop" )
|
||||||
PORT_DIPSETTING( 0x20, DEF_STR( Normal ) )
|
PORT_DIPSETTING( 0x20, DEF_STR( Normal ) )
|
||||||
PORT_DIPNAME( 0x40, 0x00, "Screen" ) PORT_DIPLOCATION("SW3:7")
|
PORT_DIPNAME( 0x40, 0x00, "Screen" ) PORT_DIPLOCATION("SW3:7")
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Mono ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Mono ) )
|
||||||
PORT_DIPSETTING( 0x40, DEF_STR( Stereo ) )
|
PORT_DIPSETTING( 0x40, DEF_STR( Stereo ) )
|
||||||
PORT_DIPNAME( 0x80, 0x80, "Game" ) PORT_DIPLOCATION("SW3:8")
|
PORT_DIPNAME( 0x80, 0x80, "Game" ) PORT_DIPLOCATION("SW3:8")
|
||||||
PORT_DIPSETTING( 0x00, "Endless" )
|
PORT_DIPSETTING( 0x00, "Endless" )
|
||||||
PORT_DIPSETTING( 0x80, DEF_STR( Normal ) )
|
PORT_DIPSETTING( 0x80, DEF_STR( Normal ) )
|
||||||
|
|
||||||
@ -867,7 +867,7 @@ static INPUT_PORTS_START( buckrog )
|
|||||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
|
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
|
||||||
|
|
||||||
PORT_START("DSW1") /* DSW 1 */
|
PORT_START("DSW1") /* DSW 1 */
|
||||||
PORT_DIPNAME( 0x07, 0x00, DEF_STR( Coin_A )) PORT_DIPLOCATION("SW1:1,2,3")
|
PORT_DIPNAME( 0x07, 0x00, DEF_STR( Coin_A )) PORT_DIPLOCATION("SW1:1,2,3")
|
||||||
PORT_DIPSETTING( 0x07, DEF_STR( 5C_1C ) )
|
PORT_DIPSETTING( 0x07, DEF_STR( 5C_1C ) )
|
||||||
PORT_DIPSETTING( 0x06, DEF_STR( 4C_1C ) )
|
PORT_DIPSETTING( 0x06, DEF_STR( 4C_1C ) )
|
||||||
PORT_DIPSETTING( 0x05, DEF_STR( 3C_1C ) )
|
PORT_DIPSETTING( 0x05, DEF_STR( 3C_1C ) )
|
||||||
@ -876,7 +876,7 @@ static INPUT_PORTS_START( buckrog )
|
|||||||
PORT_DIPSETTING( 0x01, DEF_STR( 1C_2C ) )
|
PORT_DIPSETTING( 0x01, DEF_STR( 1C_2C ) )
|
||||||
PORT_DIPSETTING( 0x02, DEF_STR( 1C_3C ) )
|
PORT_DIPSETTING( 0x02, DEF_STR( 1C_3C ) )
|
||||||
PORT_DIPSETTING( 0x03, DEF_STR( 1C_6C ) )
|
PORT_DIPSETTING( 0x03, DEF_STR( 1C_6C ) )
|
||||||
PORT_DIPNAME( 0x38, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW1:4,5,6")
|
PORT_DIPNAME( 0x38, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW1:4,5,6")
|
||||||
PORT_DIPSETTING( 0x38, DEF_STR( 5C_1C ) )
|
PORT_DIPSETTING( 0x38, DEF_STR( 5C_1C ) )
|
||||||
PORT_DIPSETTING( 0x30, DEF_STR( 4C_1C ) )
|
PORT_DIPSETTING( 0x30, DEF_STR( 4C_1C ) )
|
||||||
PORT_DIPSETTING( 0x28, DEF_STR( 3C_1C ) )
|
PORT_DIPSETTING( 0x28, DEF_STR( 3C_1C ) )
|
||||||
@ -885,35 +885,35 @@ static INPUT_PORTS_START( buckrog )
|
|||||||
PORT_DIPSETTING( 0x08, DEF_STR( 1C_2C ) )
|
PORT_DIPSETTING( 0x08, DEF_STR( 1C_2C ) )
|
||||||
PORT_DIPSETTING( 0x10, DEF_STR( 1C_3C ) )
|
PORT_DIPSETTING( 0x10, DEF_STR( 1C_3C ) )
|
||||||
PORT_DIPSETTING( 0x18, DEF_STR( 1C_6C ) )
|
PORT_DIPSETTING( 0x18, DEF_STR( 1C_6C ) )
|
||||||
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:7")
|
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:7")
|
||||||
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:8")
|
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:8")
|
||||||
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||||
|
|
||||||
PORT_START("DSW2") /* DSW 2 */
|
PORT_START("DSW2") /* DSW 2 */
|
||||||
PORT_DIPNAME( 0x01, 0x00, "Collisions" ) PORT_DIPLOCATION("SW2:1")
|
PORT_DIPNAME( 0x01, 0x00, "Collisions" ) PORT_DIPLOCATION("SW2:1")
|
||||||
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x02, 0x02, "Accel by" ) PORT_DIPLOCATION("SW2:2")
|
PORT_DIPNAME( 0x02, 0x02, "Accel by" ) PORT_DIPLOCATION("SW2:2")
|
||||||
PORT_DIPSETTING( 0x00, "Pedal" )
|
PORT_DIPSETTING( 0x00, "Pedal" )
|
||||||
PORT_DIPSETTING( 0x02, "Button" )
|
PORT_DIPSETTING( 0x02, "Button" )
|
||||||
PORT_DIPNAME( 0x04, 0x00, "Best 5 Scores" ) PORT_DIPLOCATION("SW2:3")
|
PORT_DIPNAME( 0x04, 0x00, "Best 5 Scores" ) PORT_DIPLOCATION("SW2:3")
|
||||||
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x08, 0x00, "Score Display" ) PORT_DIPLOCATION("SW2:4")
|
PORT_DIPNAME( 0x08, 0x00, "Score Display" ) PORT_DIPLOCATION("SW2:4")
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x08, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x08, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x10, 0x10, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:5")
|
PORT_DIPNAME( 0x10, 0x10, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:5")
|
||||||
PORT_DIPSETTING( 0x10, DEF_STR( Normal ) )
|
PORT_DIPSETTING( 0x10, DEF_STR( Normal ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Hard ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Hard ) )
|
||||||
PORT_DIPNAME( 0x60, 0x00, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:6,7")
|
PORT_DIPNAME( 0x60, 0x00, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:6,7")
|
||||||
PORT_DIPSETTING( 0x00, "3" )
|
PORT_DIPSETTING( 0x00, "3" )
|
||||||
PORT_DIPSETTING( 0x20, "4" )
|
PORT_DIPSETTING( 0x20, "4" )
|
||||||
PORT_DIPSETTING( 0x40, "5" )
|
PORT_DIPSETTING( 0x40, "5" )
|
||||||
PORT_DIPSETTING( 0x60, "6" )
|
PORT_DIPSETTING( 0x60, "6" )
|
||||||
PORT_DIPNAME( 0x80, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW2:8")
|
PORT_DIPNAME( 0x80, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW2:8")
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Upright ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Upright ) )
|
||||||
PORT_DIPSETTING( 0x80, "Cockpit" )
|
PORT_DIPSETTING( 0x80, "Cockpit" )
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
@ -17,9 +17,10 @@ class turbo_state : public driver_device
|
|||||||
public:
|
public:
|
||||||
turbo_state(const machine_config &mconfig, device_type type, const char *tag)
|
turbo_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||||
: driver_device(mconfig, type, tag),
|
: driver_device(mconfig, type, tag),
|
||||||
m_videoram(*this, "videoram"),
|
m_videoram(*this, "videoram"),
|
||||||
m_spriteram(*this, "spriteram"),
|
m_spriteram(*this, "spriteram"),
|
||||||
m_sprite_position(*this, "sprite_position") { }
|
m_sprite_position(*this, "spritepos")
|
||||||
|
{ }
|
||||||
|
|
||||||
/* memory pointers */
|
/* memory pointers */
|
||||||
required_shared_ptr<UINT8> m_videoram;
|
required_shared_ptr<UINT8> m_videoram;
|
||||||
|
Loading…
Reference in New Issue
Block a user