Previous 199869 Revisions Next

r19910 Friday 28th December, 2012 at 22:16:27 UTC by hap
small update, you can now navigate in 500gp testmode
[src/mame/drivers]namcos23.c

trunk/src/mame/drivers/namcos23.c
r19909r19910
22162216           6:  hokan/tenso unit busy
22172217           5:  point unit busy
22182218           4:  access unit busy
2219           3:  c403 busy (inverted)
2219           3:  c403 busy, called c444 in 500gp (inverted)
22202220           2:  2nd c435 busy (inverted)
22212221           1:  1st c435 busy (inverted)
22222222           0:  xcpreq
r19909r19910
30333033   AM_RANGE(0x6003, 0x6003) AM_READ_PORT("IN3")
30343034   AM_RANGE(0x6004, 0x6005) AM_WRITENOP
30353035   AM_RANGE(0x6006, 0x6007) AM_NOP
3036
30373036   AM_RANGE(0xc000, 0xf7ff) AM_RAM
30383037ADDRESS_MAP_END
30393038
r19909r19910
32163215
32173216static INPUT_PORTS_START( s23 )
32183217   // No idea if start is actually there, but we need buttons to pass error screens
3219   // You can go to the pcb test mode by pressing start, and it doesn't crash anymore somehow
3220   // Use start1 to select, start1+start2 to exit, up/down to navigate
3218   // You can go to the pcb test mode by pressing P1-A, and it doesn't crash anymore somehow
3219   // Use P1-A to select, P1-Sel+P1-A to exit, up/down to navigate
32213220   PORT_START("P1")
3222   PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_START1 )   // P1 A
3223   PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_START2 )   // P1 SEL
3224   PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )
3225   PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )
3226   PORT_BIT( 0xd37, IP_ACTIVE_LOW, IPT_UNKNOWN )
3221   PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_NAME("Dev Service P1-A")
3222   PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2) PORT_NAME("Dev Service Down")
3223   PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(2) PORT_NAME("Dev Service Up")
3224   PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_START2 ) PORT_NAME("Dev Service Start")
3225   PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) PORT_NAME("Dev Service P1-Sel")
3226   PORT_BIT( 0xc37, IP_ACTIVE_LOW, IPT_UNKNOWN )
32273227
32283228   PORT_START("P2")
32293229   PORT_BIT( 0xfff, IP_ACTIVE_LOW, IPT_UNKNOWN )   // 0x100 = freeze?
r19909r19910
32883288INPUT_PORTS_END
32893289
32903290
3291static INPUT_PORTS_START( ss23 )
3292   // No idea if start is actually there, but we need buttons to pass error screens
3293   // You can go to the pcb test mode by pressing start, and it doesn't crash anymore somehow
3294   // Use start1 to select, start1+start2 to exit, up/down to navigate
3295   PORT_START("P1")
3296   PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_START1 )
3297   PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_START2 )
3298   PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )
3299   PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )
3300   PORT_BIT( 0xd37, IP_ACTIVE_LOW, IPT_UNKNOWN )
33013291
3302   PORT_START("P2")
3303   PORT_BIT( 0xfff, IP_ACTIVE_LOW, IPT_UNKNOWN )
33043292
3305   PORT_START("IN0")
3306   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_COIN1 )
3307   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3308   PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )   // this is the "coin acceptor connected" signal
3309   PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3310   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_SERVICE1 )
3311   PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )
3312   PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )
3313   PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_BUTTON3 )
33143293
3315   PORT_START("IN1")
3316   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )   // gun trigger
3317   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )   // foot pedal
3318   PORT_BIT(0xfc, IP_ACTIVE_LOW, IPT_UNKNOWN )
3319
3320   PORT_START("IN2")
3321   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
3322
3323   PORT_START("IN3")
3324   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
3325
3326   PORT_START("SERVICE")
3327   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE1 )
3328
3329   PORT_START("DSW")
3330   PORT_SERVICE( 0x01, IP_ACTIVE_LOW )
3331   PORT_DIPNAME( 0x02, 0x02, "Skip POST" )
3332   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
3333   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3334   PORT_DIPNAME( 0x04, 0x04, "Freeze?" )
3335   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
3336   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3337   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
3338   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3339   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3340   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
3341   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
3342   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3343   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
3344   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
3345   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3346   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
3347   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
3348   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3349   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
3350   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
3351   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3352INPUT_PORTS_END
3353
3354
3355
3356
3357
33583294/***************************************************************************
33593295
33603296  Machine Drivers
r19909r19910
41234059      /* COMMON FUJII YASUI WAKAO KURE INOUE
41244060         * 0x000000..0x57ffff: all 0xff
41254061         */
4126   ROM_LOAD16_BYTE( "5gp1mtbl.2f",  0x1000000, 0x800000, CRC(66640606) SHA1(c69a0219748241c49315d7464f8156f8068e9cf5) )
4127   ROM_LOAD16_BYTE( "5gp1mtbh.2m",  0x1000001, 0x800000, CRC(352360e8) SHA1(d621dfac3385059c52d215f6623901589a8658a3) )
4062   ROM_LOAD16_BYTE( "5gp1mtbh.2m",  0x1000000, 0x800000, CRC(352360e8) SHA1(d621dfac3385059c52d215f6623901589a8658a3) )
4063   ROM_LOAD16_BYTE( "5gp1mtbl.2f",  0x1000001, 0x800000, CRC(66640606) SHA1(c69a0219748241c49315d7464f8156f8068e9cf5) )
41284064
41294065   ROM_REGION( 0x2000000, "textile", 0 )   /* texture tiles */
41304066   ROM_LOAD( "5gp1cgll.4m",  0x0000000, 0x800000, CRC(0cc5bf35) SHA1(b75510a94fa6b6d2ed43566e6e84c7ae62f68194) )
r19909r19910
46664602GAME( 1997, timecrs2b, timecrs2, timecrs2,  timecrs2,  namcos23_state, s23, ROT0, "Namco", "Time Crisis II (TSS2 Ver. B)", GAME_FLAGS )
46674603GAME( 1997, timecrs2c, timecrs2, timecrs2c, timecrs2,  namcos23_state, s23, ROT0, "Namco", "Time Crisis II (TSS4 Ver. A)", GAME_FLAGS )
46684604GAME( 1998, panicprk,  0,        s23,       s23,       namcos23_state, s23, ROT0, "Namco", "Panic Park (PNP2 Ver. A)",     GAME_FLAGS )
4669GAME( 1998, gunwars,   0,        gmen,      ss23,      namcos23_state, s23, ROT0, "Namco", "Gunmen Wars (GM1 Ver. A)",     GAME_FLAGS )
4670GAME( 1998, raceon,    0,        gmen,      ss23,      namcos23_state, s23, ROT0, "Namco", "Race On! (RO2 Ver. A)",        GAME_FLAGS )
4671GAME( 1998, 500gp,     0,        ss23,      ss23,      namcos23_state, s23, ROT0, "Namco", "500 GP (5GP3 Ver. C)",         GAME_FLAGS )
4672GAME( 1999, finfurl2,  0,        gmen,      ss23,      namcos23_state, s23, ROT0, "Namco", "Final Furlong 2 (World)",      GAME_FLAGS )
4673GAME( 1999, finfurl2j, finfurl2, gmen,      ss23,      namcos23_state, s23, ROT0, "Namco", "Final Furlong 2 (Japan)",      GAME_FLAGS )
4674GAME( 2000, crszone,   0,        ss23e2,    ss23,      namcos23_state, s23, ROT0, "Namco", "Crisis Zone (CSZO4 Ver. B)",   GAME_FLAGS )
4675GAME( 2000, crszonea,  crszone,  ss23e2,    ss23,      namcos23_state, s23, ROT0, "Namco", "Crisis Zone (CSZO3 Ver. B)",   GAME_FLAGS )
4676GAME( 2000, crszoneb,  crszone,  ss23e2,    ss23,      namcos23_state, s23, ROT0, "Namco", "Crisis Zone (CSZO3 Ver. A)",   GAME_FLAGS )
4677GAME( 2000, crszonec,  crszone,  ss23e2,    ss23,      namcos23_state, s23, ROT0, "Namco", "Crisis Zone (CSZO2 Ver. A)",   GAME_FLAGS )
4605GAME( 1998, gunwars,   0,        gmen,      s23,       namcos23_state, s23, ROT0, "Namco", "Gunmen Wars (GM1 Ver. A)",     GAME_FLAGS )
4606GAME( 1998, raceon,    0,        gmen,      s23,       namcos23_state, s23, ROT0, "Namco", "Race On! (RO2 Ver. A)",        GAME_FLAGS )
4607GAME( 1998, 500gp,     0,        ss23,      s23,       namcos23_state, s23, ROT0, "Namco", "500 GP (5GP3 Ver. C)",         GAME_FLAGS )
4608GAME( 1999, finfurl2,  0,        gmen,      s23,       namcos23_state, s23, ROT0, "Namco", "Final Furlong 2 (World)",      GAME_FLAGS )
4609GAME( 1999, finfurl2j, finfurl2, gmen,      s23,       namcos23_state, s23, ROT0, "Namco", "Final Furlong 2 (Japan)",      GAME_FLAGS )
4610GAME( 2000, crszone,   0,        ss23e2,    s23,       namcos23_state, s23, ROT0, "Namco", "Crisis Zone (CSZO4 Ver. B)",   GAME_FLAGS )
4611GAME( 2000, crszonea,  crszone,  ss23e2,    s23,       namcos23_state, s23, ROT0, "Namco", "Crisis Zone (CSZO3 Ver. B)",   GAME_FLAGS )
4612GAME( 2000, crszoneb,  crszone,  ss23e2,    s23,       namcos23_state, s23, ROT0, "Namco", "Crisis Zone (CSZO3 Ver. A)",   GAME_FLAGS )
4613GAME( 2000, crszonec,  crszone,  ss23e2,    s23,       namcos23_state, s23, ROT0, "Namco", "Crisis Zone (CSZO2 Ver. A)",   GAME_FLAGS )
46784614

Previous 199869 Revisions Next


© 1997-2024 The MAME Team