trunk/src/mame/drivers/namcos23.c
r19909 | r19910 | |
2216 | 2216 | 6: hokan/tenso unit busy |
2217 | 2217 | 5: point unit busy |
2218 | 2218 | 4: access unit busy |
2219 | | 3: c403 busy (inverted) |
| 2219 | 3: c403 busy, called c444 in 500gp (inverted) |
2220 | 2220 | 2: 2nd c435 busy (inverted) |
2221 | 2221 | 1: 1st c435 busy (inverted) |
2222 | 2222 | 0: xcpreq |
r19909 | r19910 | |
3033 | 3033 | AM_RANGE(0x6003, 0x6003) AM_READ_PORT("IN3") |
3034 | 3034 | AM_RANGE(0x6004, 0x6005) AM_WRITENOP |
3035 | 3035 | AM_RANGE(0x6006, 0x6007) AM_NOP |
3036 | | |
3037 | 3036 | AM_RANGE(0xc000, 0xf7ff) AM_RAM |
3038 | 3037 | ADDRESS_MAP_END |
3039 | 3038 | |
r19909 | r19910 | |
3216 | 3215 | |
3217 | 3216 | static INPUT_PORTS_START( s23 ) |
3218 | 3217 | // 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 |
3221 | 3220 | 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 ) |
3227 | 3227 | |
3228 | 3228 | PORT_START("P2") |
3229 | 3229 | PORT_BIT( 0xfff, IP_ACTIVE_LOW, IPT_UNKNOWN ) // 0x100 = freeze? |
r19909 | r19910 | |
3288 | 3288 | INPUT_PORTS_END |
3289 | 3289 | |
3290 | 3290 | |
3291 | | static 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 ) |
3301 | 3291 | |
3302 | | PORT_START("P2") |
3303 | | PORT_BIT( 0xfff, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
3304 | 3292 | |
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 ) |
3314 | 3293 | |
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 ) ) |
3352 | | INPUT_PORTS_END |
3353 | | |
3354 | | |
3355 | | |
3356 | | |
3357 | | |
3358 | 3294 | /*************************************************************************** |
3359 | 3295 | |
3360 | 3296 | Machine Drivers |
r19909 | r19910 | |
4123 | 4059 | /* COMMON FUJII YASUI WAKAO KURE INOUE |
4124 | 4060 | * 0x000000..0x57ffff: all 0xff |
4125 | 4061 | */ |
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) ) |
4128 | 4064 | |
4129 | 4065 | ROM_REGION( 0x2000000, "textile", 0 ) /* texture tiles */ |
4130 | 4066 | ROM_LOAD( "5gp1cgll.4m", 0x0000000, 0x800000, CRC(0cc5bf35) SHA1(b75510a94fa6b6d2ed43566e6e84c7ae62f68194) ) |
r19909 | r19910 | |
4666 | 4602 | GAME( 1997, timecrs2b, timecrs2, timecrs2, timecrs2, namcos23_state, s23, ROT0, "Namco", "Time Crisis II (TSS2 Ver. B)", GAME_FLAGS ) |
4667 | 4603 | GAME( 1997, timecrs2c, timecrs2, timecrs2c, timecrs2, namcos23_state, s23, ROT0, "Namco", "Time Crisis II (TSS4 Ver. A)", GAME_FLAGS ) |
4668 | 4604 | GAME( 1998, panicprk, 0, s23, s23, namcos23_state, s23, ROT0, "Namco", "Panic Park (PNP2 Ver. A)", GAME_FLAGS ) |
4669 | | GAME( 1998, gunwars, 0, gmen, ss23, namcos23_state, s23, ROT0, "Namco", "Gunmen Wars (GM1 Ver. A)", GAME_FLAGS ) |
4670 | | GAME( 1998, raceon, 0, gmen, ss23, namcos23_state, s23, ROT0, "Namco", "Race On! (RO2 Ver. A)", GAME_FLAGS ) |
4671 | | GAME( 1998, 500gp, 0, ss23, ss23, namcos23_state, s23, ROT0, "Namco", "500 GP (5GP3 Ver. C)", GAME_FLAGS ) |
4672 | | GAME( 1999, finfurl2, 0, gmen, ss23, namcos23_state, s23, ROT0, "Namco", "Final Furlong 2 (World)", GAME_FLAGS ) |
4673 | | GAME( 1999, finfurl2j, finfurl2, gmen, ss23, namcos23_state, s23, ROT0, "Namco", "Final Furlong 2 (Japan)", GAME_FLAGS ) |
4674 | | GAME( 2000, crszone, 0, ss23e2, ss23, namcos23_state, s23, ROT0, "Namco", "Crisis Zone (CSZO4 Ver. B)", GAME_FLAGS ) |
4675 | | GAME( 2000, crszonea, crszone, ss23e2, ss23, namcos23_state, s23, ROT0, "Namco", "Crisis Zone (CSZO3 Ver. B)", GAME_FLAGS ) |
4676 | | GAME( 2000, crszoneb, crszone, ss23e2, ss23, namcos23_state, s23, ROT0, "Namco", "Crisis Zone (CSZO3 Ver. A)", GAME_FLAGS ) |
4677 | | GAME( 2000, crszonec, crszone, ss23e2, ss23, namcos23_state, s23, ROT0, "Namco", "Crisis Zone (CSZO2 Ver. A)", GAME_FLAGS ) |
| 4605 | GAME( 1998, gunwars, 0, gmen, s23, namcos23_state, s23, ROT0, "Namco", "Gunmen Wars (GM1 Ver. A)", GAME_FLAGS ) |
| 4606 | GAME( 1998, raceon, 0, gmen, s23, namcos23_state, s23, ROT0, "Namco", "Race On! (RO2 Ver. A)", GAME_FLAGS ) |
| 4607 | GAME( 1998, 500gp, 0, ss23, s23, namcos23_state, s23, ROT0, "Namco", "500 GP (5GP3 Ver. C)", GAME_FLAGS ) |
| 4608 | GAME( 1999, finfurl2, 0, gmen, s23, namcos23_state, s23, ROT0, "Namco", "Final Furlong 2 (World)", GAME_FLAGS ) |
| 4609 | GAME( 1999, finfurl2j, finfurl2, gmen, s23, namcos23_state, s23, ROT0, "Namco", "Final Furlong 2 (Japan)", GAME_FLAGS ) |
| 4610 | GAME( 2000, crszone, 0, ss23e2, s23, namcos23_state, s23, ROT0, "Namco", "Crisis Zone (CSZO4 Ver. B)", GAME_FLAGS ) |
| 4611 | GAME( 2000, crszonea, crszone, ss23e2, s23, namcos23_state, s23, ROT0, "Namco", "Crisis Zone (CSZO3 Ver. B)", GAME_FLAGS ) |
| 4612 | GAME( 2000, crszoneb, crszone, ss23e2, s23, namcos23_state, s23, ROT0, "Namco", "Crisis Zone (CSZO3 Ver. A)", GAME_FLAGS ) |
| 4613 | GAME( 2000, crszonec, crszone, ss23e2, s23, namcos23_state, s23, ROT0, "Namco", "Crisis Zone (CSZO2 Ver. A)", GAME_FLAGS ) |
4678 | 4614 | |