src/mame/drivers/seta2.c
| r15413 | r15414 | |
| 6 | 6 | |
| 7 | 7 | |
| 8 | 8 | CPU : TMP68301* |
| 9 | | ColdFire + H8/3007 + PIC12C508 (for FUNCUBE) |
| 9 | or ColdFire + H8/3007 + PIC12C508 (for EVA2 & EVA3 PCBs) |
| 10 | 10 | |
| 11 | 11 | Video : DX-101 |
| 12 | 12 | DX-102 x3 |
| 13 | 13 | |
| 14 | 14 | Sound : X1-010 |
| 15 | | OKI M9810 for later EVA2 & EVA3 PCBs |
| 15 | or OKI M9810 (for EVA2 & EVA3 PCBs) |
| 16 | 16 | |
| 17 | 17 | OSC : 50.00000MHz |
| 18 | 18 | 32.53047MHz |
| r15413 | r15414 | |
| 25 | 25 | Ordered by Board Year Game By |
| 26 | 26 | ------------------------------------------------------------------------------------------- |
| 27 | 27 | P-FG01-1 1995 Guardians / Denjin Makai II Banpresto |
| 28 | | PO-113A 1994 Mobile Suit Gundam EX Revue Banpresto |
| 28 | P0-113A 1994 Mobile Suit Gundam EX Revue Banpresto |
| 29 | 29 | P0-123A 1996 Wakakusamonogatari Mahjong Yonshimai Maboroshi Ware |
| 30 | 30 | P0-125A ; KE (Namco) 1996 Kosodate Quiz My Angel Namco |
| 31 | 31 | P0-136A ; KL (Namco) 1997 Kosodate Quiz My Angel 2 Namco |
| 32 | P0-140B 2000 Funcube Namco |
| 32 | 33 | P0-140B 2000 Namco Stars Namco |
| 33 | 34 | P0-142A 1999 Puzzle De Bowling Nihon System / Moss |
| 34 | 35 | P0-142A + extra parts 2000 Penguin Brothers Subsino |
| 35 | 36 | B0-003A (or B0-003B) 2000 Deer Hunting USA Sammy |
| 36 | 37 | B0-003A (or B0-003B) 2001 Turkey Hunting USA Sammy |
| 37 | | B0-006B 2001 Funcube 2 Namco |
| 38 | | B0-006B? 2001 Funcube 3 Namco |
| 39 | | B0-006B 2001 Funcube 4 Namco |
| 38 | B0-006B 2001-2 Funcube 2 - 5 Namco |
| 40 | 39 | B0-010A 2001 Wing Shooting Championship Sammy |
| 41 | 40 | B0-010A 2002 Trophy Hunting - Bear & Moose Sammy |
| 42 | 41 | P-FG-02 ???? Reel'N Quake <unknown> |
| r15413 | r15414 | |
| 88 | 87 | This is probably due to a couple of frames with an odd or corrupt sprites list, |
| 89 | 88 | taking a long time to render. |
| 90 | 89 | |
| 91 | | funcube: |
| 90 | funcube series: |
| 92 | 91 | - Hacked to run, as they use a ColdFire CPU. |
| 93 | | - Pay-out key causes "unknown error". |
| 92 | - Pay-out key causes "unknown error" after coin count reaches 0. |
| 94 | 93 | |
| 95 | 94 | reelquak: |
| 96 | 95 | - Needs an x offset for tilemap sprites. |
| r15413 | r15414 | |
| 508 | 507 | |
| 509 | 508 | |
| 510 | 509 | /*************************************************************************** |
| 511 | | Funcube |
| 510 | Funcube series |
| 512 | 511 | ***************************************************************************/ |
| 513 | 512 | |
| 514 | 513 | // Bus conversion functions: |
| r15413 | r15414 | |
| 534 | 533 | |
| 535 | 534 | WRITE16_MEMBER(seta2_state::spriteram16_word_w) |
| 536 | 535 | { |
| 537 | | |
| 538 | 536 | COMBINE_DATA( &m_spriteram[offset] ); |
| 539 | 537 | } |
| 540 | 538 | |
| 541 | 539 | READ16_MEMBER(seta2_state::spriteram16_word_r) |
| 542 | 540 | { |
| 543 | | |
| 544 | 541 | return m_spriteram[offset]; |
| 545 | 542 | } |
| 546 | 543 | |
| r15413 | r15414 | |
| 605 | 602 | } |
| 606 | 603 | } |
| 607 | 604 | |
| 608 | | |
| 609 | 605 | static ADDRESS_MAP_START( funcube_map, AS_PROGRAM, 32, seta2_state ) |
| 610 | 606 | AM_RANGE( 0x00000000, 0x0007ffff ) AM_ROM |
| 611 | 607 | AM_RANGE( 0x00200000, 0x0020ffff ) AM_RAM |
| 612 | 608 | |
| 609 | AM_RANGE( 0x00400000, 0x00400003 ) AM_READ(funcube_debug_r) |
| 610 | AM_RANGE( 0x00400004, 0x00400007 ) AM_READ(watchdog_reset32_r ) AM_WRITENOP |
| 611 | |
| 612 | AM_RANGE( 0x00500000, 0x00500003 ) AM_READWRITE(oki_read, oki_write) |
| 613 | |
| 614 | AM_RANGE( 0x00800000, 0x0083ffff ) AM_READWRITE16(spriteram16_word_r, spriteram16_word_w, 0xffffffff ) AM_SHARE("spriteram") |
| 615 | AM_RANGE( 0x00840000, 0x0084ffff ) AM_RAM_WRITE(paletteram_xRRRRRGGGGGBBBBB_dword_be_w) AM_SHARE("paletteram") // Palette |
| 616 | AM_RANGE( 0x00860000, 0x0086003f ) AM_WRITE16(seta2_vregs_w, 0xffffffff ) AM_SHARE("vregs") |
| 617 | |
| 618 | AM_RANGE( 0x00c00000, 0x00c002ff ) AM_READWRITE(funcube_nvram_dword_r, funcube_nvram_dword_w ) |
| 619 | |
| 620 | AM_RANGE(0xf0000000, 0xf00001ff ) AM_READWRITE(coldfire_regs_r, coldfire_regs_w ) AM_SHARE("coldfire_regs") // Module |
| 621 | AM_RANGE(0xffffe000, 0xffffffff ) AM_RAM // SRAM |
| 622 | ADDRESS_MAP_END |
| 623 | |
| 624 | static ADDRESS_MAP_START( funcube2_map, AS_PROGRAM, 32, seta2_state ) |
| 625 | AM_RANGE( 0x00000000, 0x0007ffff ) AM_ROM |
| 626 | AM_RANGE( 0x00200000, 0x0020ffff ) AM_RAM |
| 627 | |
| 613 | 628 | AM_RANGE( 0x00500000, 0x00500003 ) AM_READ(funcube_debug_r ) |
| 614 | 629 | AM_RANGE( 0x00500004, 0x00500007 ) AM_READ(watchdog_reset32_r ) AM_WRITENOP |
| 615 | 630 | |
| r15413 | r15414 | |
| 737 | 752 | funcube_debug_outputs(space.machine()); |
| 738 | 753 | } |
| 739 | 754 | |
| 755 | READ8_MEMBER(seta2_state::funcube_battery_r) |
| 756 | { |
| 757 | return ioport("BATTERY")->read() ? 0x40 : 0x00; |
| 758 | } |
| 740 | 759 | |
| 741 | 760 | static ADDRESS_MAP_START( funcube_sub_io, AS_IO, 8, seta2_state ) |
| 742 | 761 | AM_RANGE( H8_PORT_7, H8_PORT_7 ) AM_READ(funcube_coins_r ) |
| 762 | AM_RANGE( H8_PORT_4, H8_PORT_4 ) AM_READ(funcube_battery_r ) |
| 763 | AM_RANGE( H8_PORT_A, H8_PORT_A ) AM_READWRITE(funcube_outputs_r, funcube_outputs_w ) AM_SHARE("funcube_outputs") |
| 764 | AM_RANGE( H8_PORT_B, H8_PORT_B ) AM_WRITE(funcube_leds_w ) AM_SHARE("funcube_leds") |
| 765 | // AM_RANGE( H8_SERIAL_0, H8_SERIAL_0 ) // cabinets linking (jpunit) |
| 766 | AM_RANGE( H8_SERIAL_1, H8_SERIAL_1 ) AM_READ(funcube_serial_r ) |
| 767 | ADDRESS_MAP_END |
| 768 | |
| 769 | static ADDRESS_MAP_START( funcube2_sub_io, AS_IO, 8, seta2_state ) |
| 770 | AM_RANGE( H8_PORT_7, H8_PORT_7 ) AM_READ(funcube_coins_r ) |
| 743 | 771 | AM_RANGE( H8_PORT_4, H8_PORT_4 ) AM_NOP // unused |
| 744 | 772 | AM_RANGE( H8_PORT_A, H8_PORT_A ) AM_READWRITE(funcube_outputs_r, funcube_outputs_w ) AM_SHARE("funcube_outputs") |
| 745 | 773 | AM_RANGE( H8_PORT_B, H8_PORT_B ) AM_WRITE(funcube_leds_w ) AM_SHARE("funcube_leds") |
| r15413 | r15414 | |
| 1730 | 1758 | |
| 1731 | 1759 | |
| 1732 | 1760 | /*************************************************************************** |
| 1733 | | Funcube |
| 1761 | Funcube series |
| 1734 | 1762 | ***************************************************************************/ |
| 1735 | 1763 | |
| 1736 | 1764 | static INPUT_PORTS_START( funcube ) |
| r15413 | r15414 | |
| 1746 | 1774 | PORT_START("SWITCH") // c00030.l |
| 1747 | 1775 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(1) // coin solenoid 1 |
| 1748 | 1776 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SPECIAL ) // coin solenoid 2 |
| 1749 | | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) // hopper sensor |
| 1750 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) // game select |
| 1751 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CODE(KEYCODE_O) PORT_NAME( "Pay Out" ) |
| 1777 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) // hopper sensor |
| 1778 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) // game select |
| 1779 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) |
| 1752 | 1780 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME( "Reset Key" ) |
| 1753 | 1781 | PORT_SERVICE( 0x40, IP_ACTIVE_LOW ) |
| 1754 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1782 | PORT_SERVICE( 0x80, IP_ACTIVE_LOW ) |
| 1755 | 1783 | |
| 1756 | 1784 | PORT_START("BATTERY") |
| 1757 | 1785 | PORT_DIPNAME( 0x10, 0x10, "Battery" ) |
| r15413 | r15414 | |
| 1890 | 1918 | GFXDECODE_END |
| 1891 | 1919 | |
| 1892 | 1920 | /*************************************************************************** |
| 1893 | | Funcube |
| 1921 | Funcube series |
| 1894 | 1922 | ***************************************************************************/ |
| 1895 | 1923 | |
| 1896 | 1924 | static const gfx_layout funcube_layout_4bpp_lo = |
| r15413 | r15414 | |
| 2131 | 2159 | |
| 2132 | 2160 | |
| 2133 | 2161 | /*************************************************************************** |
| 2134 | | Funcube |
| 2162 | Funcube series |
| 2135 | 2163 | ***************************************************************************/ |
| 2136 | 2164 | |
| 2137 | 2165 | static TIMER_DEVICE_CALLBACK( funcube_interrupt ) |
| r15413 | r15414 | |
| 2203 | 2231 | MCFG_SCREEN_REFRESH_RATE(60) |
| 2204 | 2232 | MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) // not accurate |
| 2205 | 2233 | MCFG_SCREEN_SIZE(0x200, 0x200) |
| 2206 | | MCFG_SCREEN_VISIBLE_AREA(0x0, 0x140-1, 0x80, 0x170-1) |
| 2234 | MCFG_SCREEN_VISIBLE_AREA(0x0+1, 0x140-1+1, 0x80, 0x170-1) |
| 2207 | 2235 | MCFG_SCREEN_UPDATE_STATIC(seta2) |
| 2208 | 2236 | MCFG_SCREEN_VBLANK_STATIC(seta2) |
| 2209 | 2237 | |
| r15413 | r15414 | |
| 2220 | 2248 | MCFG_SOUND_ROUTE(1, "rspeaker", 0.80) |
| 2221 | 2249 | MACHINE_CONFIG_END |
| 2222 | 2250 | |
| 2223 | | static MACHINE_CONFIG_DERIVED( funcube3, funcube ) |
| 2251 | |
| 2252 | static MACHINE_CONFIG_DERIVED( funcube2, funcube ) |
| 2253 | MCFG_CPU_MODIFY("maincpu") |
| 2254 | MCFG_CPU_PROGRAM_MAP(funcube2_map) |
| 2255 | |
| 2256 | MCFG_CPU_MODIFY("sub") |
| 2257 | MCFG_CPU_IO_MAP(funcube2_sub_io) |
| 2258 | |
| 2224 | 2259 | // video hardware |
| 2225 | 2260 | MCFG_SCREEN_MODIFY("screen") |
| 2261 | MCFG_SCREEN_VISIBLE_AREA(0x0, 0x140-1, 0x80, 0x170-1) |
| 2262 | MACHINE_CONFIG_END |
| 2263 | |
| 2264 | |
| 2265 | static MACHINE_CONFIG_DERIVED( funcube3, funcube2 ) |
| 2266 | // video hardware |
| 2267 | MCFG_SCREEN_MODIFY("screen") |
| 2226 | 2268 | MCFG_SCREEN_VISIBLE_AREA(0x0, 0x140-1, 0x80-0x40, 0x170-1-0x40) |
| 2227 | 2269 | MACHINE_CONFIG_END |
| 2228 | 2270 | |
| 2271 | |
| 2229 | 2272 | static MACHINE_CONFIG_START( namcostr, seta2_state ) |
| 2230 | 2273 | MCFG_CPU_ADD("maincpu", M68301, XTAL_50MHz/3) // !! TMP68301 !! |
| 2231 | 2274 | MCFG_CPU_PROGRAM_MAP(namcostr_map) |
| r15413 | r15414 | |
| 2265 | 2308 | |
| 2266 | 2309 | /*************************************************************************** |
| 2267 | 2310 | |
| 2268 | | FUNCUBE (BET) Series, includes 2 through 5? |
| 2311 | FUNCUBE |
| 2312 | EVA2E PCB |
| 2269 | 2313 | |
| 2314 | It's the same PCB as Namco Stars (P0-140B). It's a lot more complicated to dump |
| 2315 | than the others because there are several surface mounted flash ROMs spread across |
| 2316 | multiple daughterboards instead of simple socketed 32M DIP42 mask roms all on one PCB. |
| 2317 | |
| 2318 | ***************************************************************************/ |
| 2319 | |
| 2320 | ROM_START( funcube ) |
| 2321 | ROM_REGION( 0x80000, "maincpu", 0 ) // XCF5206 Code |
| 2322 | ROM_LOAD( "fcu1_prg0-f.u08", 0x00000, 0x80000, CRC(57f4f340) SHA1(436fc66409b254aba68ae33fc994bc270ce803a6) ) |
| 2323 | |
| 2324 | ROM_REGION( 0x20000, "sub", 0 ) // H8/3007 Code |
| 2325 | ROM_LOAD( "fcu_0_iopr-0b.1b", 0x00000, 0x20000, CRC(87e3690f) SHA1(1b9dc573de31543884678df2dba2d6a74d6a2496) ) |
| 2326 | |
| 2327 | ROM_REGION( 0x800000, "sprites", 0 ) |
| 2328 | ROM_LOAD32_BYTE( "fcu1_obj-0a.u12", 0x000000, 0x200000, CRC(908b6baf) SHA1(cb5aa8c9b16abb17d8cc16d0d3b2f690a48ee503) ) |
| 2329 | ROM_LOAD32_BYTE( "fcu1_obj-0a.u13", 0x000001, 0x200000, CRC(8c31ca21) SHA1(e497ab1d7d30b41928a0c3db1ea7c3420376ad8c) ) |
| 2330 | ROM_LOAD32_BYTE( "fcu1_obj-0a.u14", 0x000002, 0x200000, CRC(4298d599) SHA1(d245206bc78de5f17da85ae6063b662cf9cf67aa) ) |
| 2331 | ROM_LOAD32_BYTE( "fcu1_obj-0a.u15", 0x000003, 0x200000, CRC(0669c78e) SHA1(0158fc4f90efa12d795b97873b8646c352864c69) ) |
| 2332 | |
| 2333 | ROM_REGION( 0x1000000, "oki", ROMREGION_ERASE00 ) |
| 2334 | ROM_LOAD( "fcu1_snd-0a.u40", 0x000000, 0x200000, CRC(448539bc) SHA1(9e53bd5e29d1a88bf634e58bfeebccd3a1c2d866) ) |
| 2335 | ROM_END |
| 2336 | |
| 2337 | /*************************************************************************** |
| 2338 | |
| 2339 | FUNCUBE (BET) Series PCB for chapters 2 through 5 |
| 2340 | |
| 2270 | 2341 | PCB Number: B0-006B (also known as EVA3_A system and is non-JAMMA) |
| 2271 | 2342 | +------------------------------------------------+ |
| 2272 | 2343 | |+--+ S +---+ +---+ CN5 | |
| r15413 | r15414 | |
| 2428 | 2499 | ROM_LOAD( "fc51_snd-0.u47", 0x000000, 0x200000, CRC(2a504fe1) SHA1(911ad650bf48aa78d9cb3c64284aa526ceb519ba) ) |
| 2429 | 2500 | ROM_END |
| 2430 | 2501 | |
| 2502 | static DRIVER_INIT( funcube ) |
| 2503 | { |
| 2504 | UINT32 *main_cpu = (UINT32 *) machine.root_device().memregion("maincpu")->base(); |
| 2505 | UINT16 *sub_cpu = (UINT16 *) machine.root_device().memregion("sub")->base(); |
| 2506 | |
| 2507 | main_cpu[0x064/4] = 0x0000042a; // PIC protection? |
| 2508 | |
| 2509 | // Sub CPU |
| 2510 | sub_cpu[0x506/2] = 0x5470; // rte -> rts |
| 2511 | } |
| 2512 | |
| 2431 | 2513 | static DRIVER_INIT( funcube2 ) |
| 2432 | 2514 | { |
| 2433 | 2515 | UINT32 *main_cpu = (UINT32 *) machine.root_device().memregion("maincpu")->base(); |
| r15413 | r15414 | |
| 2534 | 2616 | PCB Layout |
| 2535 | 2617 | ---------- |
| 2536 | 2618 | |
| 2537 | | PO-113A BP949KA |
| 2619 | P0-113A BP949KA |
| 2538 | 2620 | |----------------------------------| |
| 2539 | 2621 | | X1-010 6264 U28 | |
| 2540 | 2622 | | 581001 U19 | |
| r15413 | r15414 | |
| 3290 | 3372 | GAME( 2001, wschamp, 0, samshoot, wschamp, 0, ROT0, "Sammy USA Corporation", "Wing Shooting Championship V2.00", GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS ) |
| 3291 | 3373 | GAME( 2001, wschampa, wschamp, samshoot, wschamp, 0, ROT0, "Sammy USA Corporation", "Wing Shooting Championship V1.01", GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS ) |
| 3292 | 3374 | GAME( 2002, trophyh, 0, samshoot, trophyh, 0, ROT0, "Sammy USA Corporation", "Trophy Hunting - Bear & Moose V1.0", GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS ) |
| 3293 | | GAME( 2001, funcube2, 0, funcube, funcube, funcube2, ROT0, "Namco", "Funcube 2 (v1.1)", GAME_NO_COCKTAIL ) |
| 3375 | GAME( 2000, funcube, 0, funcube, funcube, funcube, ROT0, "Namco", "Funcube (v1.5)", GAME_NO_COCKTAIL ) |
| 3376 | GAME( 2001, funcube2, 0, funcube2, funcube, funcube2, ROT0, "Namco", "Funcube 2 (v1.1)", GAME_NO_COCKTAIL ) |
| 3294 | 3377 | GAME( 2001, funcube3, 0, funcube3, funcube, funcube3, ROT0, "Namco", "Funcube 3 (v1.1)", GAME_NO_COCKTAIL ) |
| 3295 | | GAME( 2001, funcube4, 0, funcube, funcube, funcube2, ROT0, "Namco", "Funcube 4 (v1.0)", GAME_NO_COCKTAIL ) |
| 3296 | | GAME( 2002, funcube5, 0, funcube, funcube, funcube2, ROT0, "Namco", "Funcube 5 (v1.0)", GAME_NO_COCKTAIL ) |
| 3378 | GAME( 2001, funcube4, 0, funcube2, funcube, funcube2, ROT0, "Namco", "Funcube 4 (v1.0)", GAME_NO_COCKTAIL ) |
| 3379 | GAME( 2002, funcube5, 0, funcube2, funcube, funcube2, ROT0, "Namco", "Funcube 5 (v1.0)", GAME_NO_COCKTAIL ) |
| 3297 | 3380 | GAME( ????, reelquak, 0, reelquak, reelquak, 0, ROT0, "<unknown>", "Reel'N Quake! (Ver. 1.05)", GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS ) |
src/mame/drivers/eolith.c
| r15413 | r15414 | |
| 78 | 78 | |
| 79 | 79 | Game animation seems too fast? |
| 80 | 80 | |
| 81 | ----------------------------------------------------------------------------- |
| 82 | Game Issues (unknown): |
| 83 | |
| 84 | - linkypip (Linky Pipe) |
| 85 | |
| 86 | Game seems to randomly hang for unknown reasons at the "Round 1" screen |
| 87 | just before you can actually start playing. Gets cought up here: |
| 88 | |
| 89 | 40008176: MOV L10, L11 |
| 90 | 40008178: LDW.P L5, L8 |
| 91 | 4000817A: ADDI L10, $ffffffe |
| 92 | 4000817C: DBNE $40008178 |
| 93 | 4000817E: STW.P L13, L8 |
| 94 | 40008180: ADDI L12, $ffffffff |
| 95 | 40008182: DBNE $40008176 |
| 96 | 40008184: ADD L13, L14 |
| 97 | 40008186: RET PC, L3 |
| 98 | |
| 81 | 99 | *********************************************************************/ |
| 82 | 100 | |
| 83 | 101 | #include "emu.h" |
| r15413 | r15414 | |
| 189 | 207 | PORT_BIT( 0x80000000, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 190 | 208 | |
| 191 | 209 | PORT_START("DSW1") |
| 192 | | PORT_BIT( 0xffffffff, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 210 | PORT_DIPUNUSED_DIPLOC( 0x00000001, IP_ACTIVE_LOW, "SW4:1" ) |
| 211 | PORT_DIPUNUSED_DIPLOC( 0x00000002, IP_ACTIVE_LOW, "SW4:2" ) |
| 212 | PORT_DIPUNUSED_DIPLOC( 0x00000004, IP_ACTIVE_LOW, "SW4:3" ) |
| 213 | PORT_DIPUNUSED_DIPLOC( 0x00000008, IP_ACTIVE_LOW, "SW4:4" ) |
| 214 | PORT_DIPUNUSED_DIPLOC( 0x00000010, IP_ACTIVE_LOW, "SW3:1" ) |
| 215 | PORT_DIPUNUSED_DIPLOC( 0x00000020, IP_ACTIVE_LOW, "SW3:2" ) |
| 216 | PORT_DIPUNUSED_DIPLOC( 0x00000040, IP_ACTIVE_LOW, "SW3:3" ) |
| 217 | PORT_DIPUNUSED_DIPLOC( 0x00000080, IP_ACTIVE_LOW, "SW3:4" ) |
| 218 | PORT_BIT( 0xffffff00, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 193 | 219 | |
| 194 | 220 | PORT_START( "EEPROMOUT" ) |
| 195 | 221 | PORT_BIT( 0x00000002, IP_ACTIVE_LOW, IPT_OUTPUT ) PORT_WRITE_LINE_DEVICE_MEMBER("eeprom", eeprom_device, set_cs_line) |
| r15413 | r15414 | |
| 197 | 223 | PORT_BIT( 0x00000008, IP_ACTIVE_HIGH, IPT_OUTPUT ) PORT_WRITE_LINE_DEVICE_MEMBER("eeprom", eeprom_device, write_bit) |
| 198 | 224 | INPUT_PORTS_END |
| 199 | 225 | |
| 226 | static INPUT_PORTS_START( linkypip ) |
| 227 | PORT_INCLUDE(common) |
| 228 | |
| 229 | PORT_MODIFY("IN0") |
| 230 | PORT_BIT( 0x00004000, IP_ACTIVE_LOW, IPT_UNUSED ) /* No Service1 */ |
| 231 | PORT_BIT( 0x00008000, IP_ACTIVE_LOW, IPT_UNUSED ) /* No Service */ |
| 232 | PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) |
| 233 | PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) |
| 234 | |
| 235 | PORT_MODIFY("DSW1") |
| 236 | PORT_DIPNAME( 0x00000001, 0x00000001, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW4:1") |
| 237 | PORT_DIPSETTING( 0x00000001, DEF_STR( Off ) ) |
| 238 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 239 | PORT_DIPNAME( 0x00000002, 0x00000002, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW4:2") |
| 240 | PORT_DIPSETTING( 0x00000002, DEF_STR( Off ) ) |
| 241 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 242 | PORT_DIPNAME( 0x0000000c, 0x0000000c, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW4:3,4") |
| 243 | PORT_DIPSETTING( 0x00000000, DEF_STR( 4C_1C ) ) |
| 244 | PORT_DIPSETTING( 0x00000004, DEF_STR( 3C_1C ) ) |
| 245 | PORT_DIPSETTING( 0x00000008, DEF_STR( 2C_1C ) ) |
| 246 | PORT_DIPSETTING( 0x0000000c, DEF_STR( 1C_1C ) ) |
| 247 | PORT_DIPNAME( 0x00000010, 0x00000010, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW3:1") |
| 248 | PORT_DIPSETTING( 0x00000010, DEF_STR( Off ) ) |
| 249 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 250 | PORT_DIPNAME( 0x00000020, 0x00000020, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW3:2") |
| 251 | PORT_DIPSETTING( 0x00000020, DEF_STR( Off ) ) |
| 252 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 253 | PORT_DIPNAME( 0x00000040, 0x00000040, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW3:3") |
| 254 | PORT_DIPSETTING( 0x00000040, DEF_STR( Off ) ) |
| 255 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 256 | PORT_DIPNAME( 0x00000080, 0x00000080, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW3:4") |
| 257 | PORT_DIPSETTING( 0x00000080, DEF_STR( Off ) ) |
| 258 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 259 | |
| 260 | INPUT_PORTS_END |
| 261 | |
| 200 | 262 | static INPUT_PORTS_START( ironfort ) |
| 201 | | PORT_START("IN0") |
| 202 | | PORT_BIT( 0x00000001, IP_ACTIVE_LOW, IPT_START1 ) |
| 203 | | PORT_BIT( 0x00000002, IP_ACTIVE_LOW, IPT_START2 ) |
| 204 | | PORT_BIT( 0x00000004, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 205 | | PORT_BIT( 0x00000008, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_device, read_bit) |
| 206 | | PORT_BIT( 0x00000010, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 207 | | PORT_BIT( 0x00000020, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 208 | | PORT_BIT( 0x00000040, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, eolith_state, eolith_speedup_getvblank, NULL) |
| 209 | | PORT_BIT( 0x00003f80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 210 | | PORT_BIT( 0x00004000, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 211 | | PORT_BIT( 0x00008000, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 212 | | PORT_BIT( 0x00010000, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 213 | | PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 214 | | PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 215 | | PORT_BIT( 0x00080000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 216 | | PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 217 | | PORT_BIT( 0x00200000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 218 | | PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 219 | | PORT_BIT( 0x00800000, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 220 | | PORT_BIT( 0x01000000, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 221 | | PORT_BIT( 0x02000000, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 222 | | PORT_BIT( 0x04000000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 223 | | PORT_BIT( 0x08000000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 224 | | PORT_BIT( 0x10000000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 225 | | PORT_BIT( 0x20000000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 226 | | PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 227 | | PORT_BIT( 0x80000000, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 263 | PORT_INCLUDE(common) |
| 228 | 264 | |
| 229 | | PORT_START("DSW1") |
| 265 | PORT_MODIFY("IN0") |
| 266 | PORT_BIT( 0x00004000, IP_ACTIVE_LOW, IPT_UNUSED ) /* No Service1 */ |
| 267 | PORT_BIT( 0x00008000, IP_ACTIVE_LOW, IPT_UNUSED ) /* No Service */ |
| 268 | |
| 269 | PORT_MODIFY("DSW1") |
| 230 | 270 | PORT_DIPNAME( 0x00000001, 0x00000001, "Show Dip-switch Information" ) PORT_DIPLOCATION("SW4:1") |
| 231 | 271 | PORT_DIPSETTING( 0x00000001, DEF_STR( Off ) ) |
| 232 | 272 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| r15413 | r15414 | |
| 248 | 288 | PORT_DIPSETTING( 0x00000040, DEF_STR( Hard ) ) |
| 249 | 289 | PORT_DIPSETTING( 0x000000c0, DEF_STR( Normal ) ) |
| 250 | 290 | PORT_DIPSETTING( 0x00000080, DEF_STR( Easy ) ) |
| 251 | | PORT_BIT( 0xffffff00, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 252 | | |
| 253 | | PORT_START( "EEPROMOUT" ) |
| 254 | | PORT_BIT( 0x00000002, IP_ACTIVE_LOW, IPT_OUTPUT ) PORT_WRITE_LINE_DEVICE_MEMBER("eeprom", eeprom_device, set_cs_line) |
| 255 | | PORT_BIT( 0x00000004, IP_ACTIVE_HIGH, IPT_OUTPUT ) PORT_WRITE_LINE_DEVICE_MEMBER("eeprom", eeprom_device, set_clock_line) |
| 256 | | PORT_BIT( 0x00000008, IP_ACTIVE_HIGH, IPT_OUTPUT ) PORT_WRITE_LINE_DEVICE_MEMBER("eeprom", eeprom_device, write_bit) |
| 257 | 291 | INPUT_PORTS_END |
| 258 | 292 | |
| 259 | 293 | static INPUT_PORTS_START( ironfortj ) |
| r15413 | r15414 | |
| 272 | 306 | |
| 273 | 307 | static INPUT_PORTS_START( hidnctch ) |
| 274 | 308 | PORT_INCLUDE(common) |
| 309 | |
| 275 | 310 | PORT_MODIFY("IN0") |
| 276 | 311 | PORT_BIT( 0x00000020, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 277 | 312 | |
| 278 | 313 | PORT_MODIFY("DSW1") |
| 279 | | PORT_DIPNAME( 0x00000001, 0x00000001, "Show Settings" ) |
| 280 | | PORT_DIPSETTING( 0x00000001, DEF_STR( Off ) ) |
| 281 | | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 282 | | PORT_DIPNAME( 0x00000002, 0x00000002, "Show Counters" ) |
| 314 | PORT_SERVICE_DIPLOC( 0x00000001, IP_ACTIVE_LOW, "SW4:1" ) |
| 315 | PORT_DIPNAME( 0x00000002, 0x00000002, "Show Counters" ) PORT_DIPLOCATION("SW4:2") |
| 283 | 316 | PORT_DIPSETTING( 0x00000002, DEF_STR( Off ) ) |
| 284 | 317 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 285 | | PORT_BIT( 0xfffffffc, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 286 | 318 | INPUT_PORTS_END |
| 287 | 319 | |
| 288 | 320 | static INPUT_PORTS_START( candy ) |
| 289 | 321 | PORT_INCLUDE(common) |
| 322 | |
| 290 | 323 | PORT_MODIFY("IN0") |
| 291 | 324 | PORT_BIT( 0x00000020, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 292 | 325 | |
| 293 | 326 | PORT_MODIFY("DSW1") |
| 294 | | PORT_DIPNAME( 0x00000001, 0x00000001, DEF_STR( Free_Play ) ) // always has 1 credit |
| 327 | PORT_DIPNAME( 0x00000001, 0x00000001, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("SW4:1") // always has 1 credit |
| 295 | 328 | PORT_DIPSETTING( 0x00000001, DEF_STR( Off ) ) |
| 296 | 329 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 297 | | PORT_DIPNAME( 0x00000002, 0x00000002, DEF_STR( Unknown ) ) |
| 330 | PORT_DIPNAME( 0x00000002, 0x00000002, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW4:2") |
| 298 | 331 | PORT_DIPSETTING( 0x00000002, DEF_STR( Off ) ) |
| 299 | 332 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 300 | | PORT_DIPNAME( 0x00000004, 0x00000004, DEF_STR( Unknown ) ) |
| 333 | PORT_DIPNAME( 0x00000004, 0x00000004, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW4:3") |
| 301 | 334 | PORT_DIPSETTING( 0x00000004, DEF_STR( Off ) ) |
| 302 | 335 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 303 | | PORT_DIPNAME( 0x00000008, 0x00000008, DEF_STR( Unknown ) ) |
| 336 | PORT_DIPNAME( 0x00000008, 0x00000008, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW4:4") |
| 304 | 337 | PORT_DIPSETTING( 0x00000008, DEF_STR( Off ) ) |
| 305 | 338 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 306 | | PORT_DIPNAME( 0x00000010, 0x00000010, DEF_STR( Unknown ) ) |
| 339 | PORT_DIPNAME( 0x00000010, 0x00000010, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW3:1") |
| 307 | 340 | PORT_DIPSETTING( 0x00000010, DEF_STR( Off ) ) |
| 308 | 341 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 309 | | PORT_DIPNAME( 0x00000020, 0x00000020, DEF_STR( Unknown ) ) |
| 342 | PORT_DIPNAME( 0x00000020, 0x00000020, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW3:2") |
| 310 | 343 | PORT_DIPSETTING( 0x00000020, DEF_STR( Off ) ) |
| 311 | 344 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 312 | | PORT_DIPNAME( 0x00000040, 0x00000040, DEF_STR( Unknown ) ) |
| 345 | PORT_DIPNAME( 0x00000040, 0x00000040, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW3:3") |
| 313 | 346 | PORT_DIPSETTING( 0x00000040, DEF_STR( Off ) ) |
| 314 | 347 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 315 | | PORT_DIPNAME( 0x00000080, 0x00000080, DEF_STR( Unknown ) ) |
| 348 | PORT_DIPNAME( 0x00000080, 0x00000080, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW3:4") |
| 316 | 349 | PORT_DIPSETTING( 0x00000080, DEF_STR( Off ) ) |
| 317 | 350 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 318 | 351 | |
| r15413 | r15414 | |
| 326 | 359 | PORT_BIT( 0xff000000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 327 | 360 | |
| 328 | 361 | PORT_MODIFY("DSW1") |
| 329 | | PORT_DIPNAME( 0x00000001, 0x00000001, "Show Settings" ) |
| 330 | | PORT_DIPSETTING( 0x00000001, DEF_STR( Off ) ) |
| 331 | | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 332 | | PORT_BIT( 0xfffffffe, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 362 | PORT_SERVICE_DIPLOC( 0x00000001, IP_ACTIVE_LOW, "SW4:1" ) /* Use Service ("F2") to navigate & Service1 ("9") to select */ |
| 333 | 363 | |
| 334 | 364 | PORT_START("PEN_X_P1") |
| 335 | 365 | PORT_BIT( 0xffff, 0, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_MINMAX(0,159) PORT_SENSITIVITY(25) PORT_KEYDELTA(1) PORT_PLAYER(1) |
| r15413 | r15414 | |
| 346 | 376 | |
| 347 | 377 | static INPUT_PORTS_START( raccoon ) |
| 348 | 378 | PORT_INCLUDE(common) |
| 379 | |
| 349 | 380 | PORT_MODIFY("IN0") |
| 350 | | PORT_BIT( 0x00008000, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 381 | PORT_BIT( 0x00008000, IP_ACTIVE_LOW, IPT_UNUSED ) /* No Service */ |
| 351 | 382 | |
| 352 | 383 | PORT_MODIFY("DSW1") |
| 353 | | PORT_DIPNAME( 0x0000000f, 0x0000000f, DEF_STR( Coinage ) ) |
| 384 | PORT_DIPNAME( 0x0000000f, 0x0000000f, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW4:1,2,3,4") |
| 354 | 385 | PORT_DIPSETTING( 0x0000000d, DEF_STR( 4C_1C ) ) |
| 355 | 386 | PORT_DIPSETTING( 0x0000000e, DEF_STR( 3C_1C ) ) |
| 356 | 387 | PORT_DIPSETTING( 0x0000000c, DEF_STR( 2C_1C ) ) |
| 357 | 388 | PORT_DIPSETTING( 0x0000000f, DEF_STR( 1C_1C ) ) |
| 358 | 389 | // other values are just mirrors |
| 359 | | PORT_BIT( 0xfffffff0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 360 | 390 | INPUT_PORTS_END |
| 361 | 391 | |
| 362 | 392 | static INPUT_PORTS_START( landbrk ) |
| 363 | 393 | PORT_INCLUDE(common) |
| 394 | |
| 364 | 395 | PORT_MODIFY("DSW1") |
| 365 | | PORT_DIPNAME( 0x00000001, 0x00000001, "Show Settings" ) |
| 366 | | PORT_DIPSETTING( 0x00000001, DEF_STR( Off ) ) |
| 367 | | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 368 | | PORT_DIPNAME( 0x00000002, 0x00000002, "Show Counters" ) |
| 396 | PORT_SERVICE_DIPLOC( 0x00000001, IP_ACTIVE_LOW, "SW4:1" ) |
| 397 | PORT_DIPNAME( 0x00000002, 0x00000002, "Show Counters" ) PORT_DIPLOCATION("SW4:2") |
| 369 | 398 | PORT_DIPSETTING( 0x00000002, DEF_STR( Off ) ) |
| 370 | 399 | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 371 | | PORT_DIPNAME( 0x00000004, 0x00000004, DEF_STR( Unknown ) ) |
| 372 | | PORT_DIPSETTING( 0x00000004, DEF_STR( Off ) ) |
| 373 | | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 374 | | PORT_DIPNAME( 0x00000008, 0x00000008, DEF_STR( Unknown ) ) |
| 375 | | PORT_DIPSETTING( 0x00000008, DEF_STR( Off ) ) |
| 376 | | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 377 | | PORT_BIT( 0xfffffff0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 378 | 400 | INPUT_PORTS_END |
| 379 | 401 | |
| 380 | 402 | |
| 381 | 403 | static INPUT_PORTS_START( stealsee ) |
| 382 | | PORT_INCLUDE(landbrk) |
| 404 | PORT_INCLUDE(common) |
| 383 | 405 | |
| 384 | 406 | PORT_MODIFY("IN0") |
| 385 | | PORT_BIT( 0x00000001, IP_ACTIVE_LOW, IPT_START1 ) |
| 386 | | PORT_BIT( 0x00000002, IP_ACTIVE_LOW, IPT_START2 ) |
| 387 | | PORT_BIT( 0x00000004, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 388 | | PORT_BIT( 0x00000008, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_device, read_bit) |
| 389 | | PORT_BIT( 0x00000010, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 390 | | PORT_BIT( 0x00000020, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 391 | 407 | PORT_BIT( 0x00000040, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, eolith_state, stealsee_speedup_getvblank, NULL) |
| 392 | | PORT_BIT( 0x00003f80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 393 | | PORT_BIT( 0x00004000, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 394 | | PORT_SERVICE_NO_TOGGLE( 0x00008000, IP_ACTIVE_LOW ) |
| 395 | | PORT_BIT( 0x00010000, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 396 | | PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 397 | | PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 398 | | PORT_BIT( 0x00080000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 399 | | PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 400 | | PORT_BIT( 0x00200000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 401 | | PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 402 | | PORT_BIT( 0x00800000, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 403 | | PORT_BIT( 0x01000000, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 404 | | PORT_BIT( 0x02000000, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 405 | | PORT_BIT( 0x04000000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 406 | | PORT_BIT( 0x08000000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 407 | | PORT_BIT( 0x10000000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 408 | | PORT_BIT( 0x20000000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 409 | | PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 410 | | PORT_BIT( 0x80000000, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 411 | | |
| 412 | | PORT_MODIFY("DSW1") |
| 413 | | PORT_DIPNAME( 0x00000001, 0x00000001, "Show Settings" ) |
| 414 | | PORT_DIPSETTING( 0x00000001, DEF_STR( Off ) ) |
| 415 | | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 416 | | PORT_DIPNAME( 0x00000002, 0x00000002, "Show Counters" ) |
| 417 | | PORT_DIPSETTING( 0x00000002, DEF_STR( Off ) ) |
| 418 | | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 419 | | PORT_DIPNAME( 0x00000004, 0x00000004, DEF_STR( Unknown ) ) |
| 420 | | PORT_DIPSETTING( 0x00000004, DEF_STR( Off ) ) |
| 421 | | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 422 | | PORT_DIPNAME( 0x00000008, 0x00000008, DEF_STR( Unknown ) ) |
| 423 | | PORT_DIPSETTING( 0x00000008, DEF_STR( Off ) ) |
| 424 | | PORT_DIPSETTING( 0x00000000, DEF_STR( On ) ) |
| 425 | | PORT_BIT( 0xfffffff0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 426 | 408 | INPUT_PORTS_END |
| 427 | 409 | |
| 428 | 410 | |
| 429 | 411 | static INPUT_PORTS_START( puzzlekg ) |
| 430 | 412 | PORT_INCLUDE(common) |
| 413 | |
| 431 | 414 | PORT_MODIFY("IN0") |
| 432 | | PORT_BIT( 0x00004000, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 433 | | PORT_BIT( 0x00008000, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 415 | PORT_BIT( 0x00004000, IP_ACTIVE_LOW, IPT_UNUSED ) /* No Service1 */ |
| 416 | PORT_BIT( 0x00008000, IP_ACTIVE_LOW, IPT_UNUSED ) /* No Service */ |
| 434 | 417 | |
| 435 | 418 | PORT_MODIFY("DSW1") |
| 436 | | PORT_SERVICE( 0x0000000f, IP_ACTIVE_LOW ) // every bit enables it |
| 437 | | PORT_BIT( 0xfffffff0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 419 | PORT_SERVICE_DIPLOC( 0x0000000f, IP_ACTIVE_LOW, "SW4:1,2,3,4" ) // every bit enables it |
| 438 | 420 | INPUT_PORTS_END |
| 439 | 421 | |
| 440 | 422 | |
| r15413 | r15414 | |
| 583 | 565 | ROM_LOAD( "qs1001a.u96", 0x000000, 0x80000, CRC(d13c6407) SHA1(57b14f97c7d4f9b5d9745d3571a0b7115fbe3176) ) |
| 584 | 566 | ROM_END |
| 585 | 567 | |
| 568 | /* Linky Pipe */ |
| 569 | |
| 570 | ROM_START( linkypip ) |
| 571 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Hyperstone CPU Code */ |
| 572 | ROM_LOAD( "u43.bin", 0x00000, 0x80000, CRC(9ef937de) SHA1(b121d683898311baaa1e2aba199dec0c1d59f55a) ) |
| 573 | |
| 574 | ROM_REGION32_BE( 0x2000000, "user1", ROMREGION_ERASE00 ) /* Game Data - banked ROM, swapping necessary */ |
| 575 | ROM_LOAD32_WORD_SWAP( "lp00.u39", 0x0000000, 0x400000, CRC(c1e71bbc) SHA1(f54b374b05ce6044944ba10ba8a634eb661b092d) ) |
| 576 | ROM_LOAD32_WORD_SWAP( "lp01.u34", 0x0000002, 0x400000, CRC(30780c08) SHA1(15d7bf1397c25eb813c79fc9cea88ac427b1d9c7) ) |
| 577 | ROM_LOAD32_WORD_SWAP( "lp02.u40", 0x0800000, 0x400000, CRC(3381bd2c) SHA1(78b30f3940e5c9887ab4ad398bde356671deabb5) ) |
| 578 | ROM_LOAD32_WORD_SWAP( "lp03.u35", 0x0800002, 0x400000, CRC(459008f3) SHA1(c59e58c3afc1b7466df306c1b57110a6b644cdf4) ) |
| 579 | |
| 580 | ROM_REGION( 0x008000, "cpu1", 0 ) /* QDSP ('51) Code */ |
| 581 | ROM_LOAD( "u107.bin", 0x0000, 0x8000, CRC(afd5263d) SHA1(71ace1b749d8a6b84d08b97185e7e512d04e4b8d) ) |
| 582 | |
| 583 | ROM_REGION( 0x08000, "cpu2", 0 ) /* Sound (80c301) CPU Code */ |
| 584 | ROM_LOAD( "u111.bin", 0x0000, 0x8000, CRC(52f419ea) SHA1(79c9f135b0cf8b1928411faed9b447cd98a83287) ) |
| 585 | |
| 586 | ROM_REGION( 0x080000, "music", 0 ) /* Music data */ |
| 587 | ROM_LOAD( "u108.bin", 0x00000, 0x80000, CRC(ca65856f) SHA1(f45868552389ccd637b5ccb1067b94e1226001ce) ) |
| 588 | |
| 589 | ROM_REGION( 0x080000, "sfx", 0 ) /* QDSP samples (SFX) */ |
| 590 | ROM_LOAD( "u97.bin", 0x00000, 0x80000, CRC(4465fe8d) SHA1(4d77169fff2fee5424e8da833088a544318b2981) ) |
| 591 | |
| 592 | ROM_REGION( 0x080000, "wavetable", 0 ) /* QDSP wavetable rom */ |
| 593 | ROM_LOAD( "qs1001a.u96", 0x000000, 0x80000, CRC(d13c6407) SHA1(57b14f97c7d4f9b5d9745d3571a0b7115fbe3176) ) |
| 594 | ROM_END |
| 595 | |
| 586 | 596 | /* Hidden Catch */ |
| 587 | 597 | |
| 588 | 598 | ROM_START( hidnctch ) |
| r15413 | r15414 | |
| 1340 | 1350 | init_eolith_speedup(machine); |
| 1341 | 1351 | } |
| 1342 | 1352 | |
| 1353 | GAME( 1998, linkypip, 0, eolith45, linkypip, eolith, ROT0, "Eolith", "Linky Pipe", GAME_NO_SOUND | GAME_NOT_WORKING ) |
| 1343 | 1354 | GAME( 1998, ironfort, 0, ironfort, ironfort, eolith, ROT0, "Eolith", "Iron Fortress", GAME_NO_SOUND ) |
| 1344 | 1355 | GAME( 1998, ironfortj, ironfort, ironfort, ironfortj, eolith, ROT0, "Eolith", "Iron Fortress (Japan)", GAME_NO_SOUND ) |
| 1345 | 1356 | GAME( 1998, hidnctch, 0, eolith45, hidnctch, eolith, ROT0, "Eolith", "Hidden Catch (World) / Tul Lin Gu Lim Chat Ki '98 (Korea) (pcb ver 3.03)", GAME_NO_SOUND ) // or Teurrin Geurim Chajgi '98 |
| 1346 | 1357 | GAME( 1998, raccoon, 0, eolith45, raccoon, eolith, ROT0, "Eolith", "Raccoon World", GAME_NO_SOUND ) |
| 1347 | 1358 | GAME( 1998, puzzlekg, 0, eolith45, puzzlekg, eolith, ROT0, "Eolith", "Puzzle King (Dance & Puzzle)", GAME_NO_SOUND ) |
| 1348 | | GAME( 1999, candy, 0, eolith50, candy, eolith, ROT0, "Eolith", "Candy Candy", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 1359 | GAME( 1999, candy, 0, eolith50, candy, eolith, ROT0, "Eolith", "Candy Candy", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 1349 | 1360 | GAME( 1999, hidctch2, 0, eolith50, hidnctch, hidctch2, ROT0, "Eolith", "Hidden Catch 2 (pcb ver 3.03) (Kor/Eng) (AT89c52 protected)", GAME_NO_SOUND ) |
| 1350 | 1361 | GAME( 1999, hidctch2a, hidctch2, eolith50, hidnctch, eolith, ROT0, "Eolith", "Hidden Catch 2 (pcb ver 1.00) (Kor/Eng/Jpn/Chi)", GAME_NO_SOUND ) |
| 1351 | 1362 | GAME( 1999, landbrk, 0, eolith45, landbrk, landbrk, ROT0, "Eolith", "Land Breaker (World) / Miss Tang Ja Ru Gi (Korea) (pcb ver 3.02)", GAME_NO_SOUND ) // or Miss Ttang Jjareugi |
src/mame/drivers/namcos23.c
| r15413 | r15414 | |
| 3105 | 3105 | (!strcmp(machine.system().name, "crszone")) || |
| 3106 | 3106 | (!strcmp(machine.system().name, "crszonea")) || |
| 3107 | 3107 | (!strcmp(machine.system().name, "crszoneb")) || |
| 3108 | (!strcmp(machine.system().name, "crszonec")) || |
| 3108 | 3109 | (!strcmp(machine.system().name, "timecrs2b")) || |
| 3109 | 3110 | (!strcmp(machine.system().name, "timecrs2"))) |
| 3110 | 3111 | { |
| r15413 | r15414 | |
| 4035 | 4036 | // bfe4b800 |
| 4036 | 4037 | ROM_START( crszone ) |
| 4037 | 4038 | ROM_REGION32_BE( 0x800000, "user1", 0 ) /* 4 megs for main R4650 code */ |
| 4038 | | ROM_LOAD16_WORD_SWAP( "cszo3verb.ic4", 0x400000, 0x400000, CRC(4cb26465) SHA1(078dfd0d8c920707df14e9a26658fa63421fcb0b)) |
| 4039 | ROM_LOAD16_WORD_SWAP( "cszo4verb.ic4", 0x400000, 0x400000, CRC(6192533d) SHA1(d102b91fe193bf255ea4e57a2bd964aa1cdfd21d) ) |
| 4039 | 4040 | ROM_CONTINUE( 0x000000, 0x400000 ) |
| 4040 | 4041 | |
| 4041 | 4042 | ROM_REGION( 0x80000, "audiocpu", 0 ) /* Hitachi H8/3002 MCU code */ |
| r15413 | r15414 | |
| 4085 | 4086 | ROM_LOAD( "csz1ccrh.7k", 0x000000, 0x200000, CRC(bc2fa03c) SHA1(e63d8e75494a383bf9a213edfa9c472a010f8efe) ) |
| 4086 | 4087 | ROM_END |
| 4087 | 4088 | |
| 4088 | | ROM_START( crszoneb ) |
| 4089 | ROM_START( crszonea ) |
| 4089 | 4090 | ROM_REGION32_BE( 0x800000, "user1", 0 ) /* 4 megs for main R4650 code */ |
| 4090 | | ROM_LOAD16_WORD_SWAP( "cszo4verb.ic4", 0x400000, 0x400000, CRC(6192533d) SHA1(d102b91fe193bf255ea4e57a2bd964aa1cdfd21d) ) |
| 4091 | ROM_LOAD16_WORD_SWAP( "cszo3verb.ic4", 0x400000, 0x400000, CRC(4cb26465) SHA1(078dfd0d8c920707df14e9a26658fa63421fcb0b) ) |
| 4091 | 4092 | ROM_CONTINUE( 0x000000, 0x400000 ) |
| 4092 | 4093 | |
| 4093 | 4094 | ROM_REGION( 0x80000, "audiocpu", 0 ) /* Hitachi H8/3002 MCU code */ |
| r15413 | r15414 | |
| 4137 | 4138 | ROM_LOAD( "csz1ccrh.7k", 0x000000, 0x200000, CRC(bc2fa03c) SHA1(e63d8e75494a383bf9a213edfa9c472a010f8efe) ) |
| 4138 | 4139 | ROM_END |
| 4139 | 4140 | |
| 4140 | | ROM_START( crszonea ) |
| 4141 | ROM_START( crszoneb ) |
| 4142 | ROM_REGION32_BE( 0x80000f, "user1", 0 ) /* 4 megs for main R4650 code */ |
| 4143 | ROM_LOAD16_WORD_SWAP( "cszo3vera.ic4", 0x400000, 0x400000, CRC(09b0c91e) SHA1(226c3788d6a50272e2544d04d9ca20df81014fb6) ) |
| 4144 | ROM_CONTINUE( 0x000000, 0x400000 ) |
| 4145 | |
| 4146 | ROM_REGION( 0x80000, "audiocpu", 0 ) /* Hitachi H8/3002 MCU code */ |
| 4147 | ROM_LOAD16_WORD_SWAP( "cszo3verb.ic1", 0x000000, 0x080000, CRC(c790743b) SHA1(5fa7b83a7a1b1105a3aa0870b782cf2741b7d11c) ) |
| 4148 | |
| 4149 | ROM_REGION( 0x40000, "ioboard", 0 ) /* I/O board HD643334 H8/3334 MCU code. "MIU-I/O;Ver2.05;JPN,GUN-EXTENTION" */ |
| 4150 | ROM_LOAD( "csz1prg0a.8f", 0x000000, 0x020000, CRC(8edc36b3) SHA1(b5df211988d856572fcc313480e693c8561784e4) ) |
| 4151 | |
| 4152 | ROM_REGION32_BE( 0x2000000, "data", 0 ) /* data roms */ |
| 4153 | ROM_LOAD16_BYTE( "csz1mtah.2j", 0x0000000, 0x800000, CRC(66b076ad) SHA1(edd32e0b380f01a9626d32f5eec860f841c8be8a) ) |
| 4154 | ROM_LOAD16_BYTE( "csz1mtal.2h", 0x0000001, 0x800000, CRC(38dc639a) SHA1(aa9b5b35174c1b007a57a4bd7a53bc3f479b5b71) ) |
| 4155 | ROM_LOAD16_BYTE( "csz1mtbh.2m", 0x1000000, 0x800000, CRC(bdec4188) SHA1(a098651fbd8a69a0afc17f4b6c93350926cacd6b) ) |
| 4156 | ROM_LOAD16_BYTE( "csz1mtbl.2f", 0x1000001, 0x800000, CRC(9c8f8d7a) SHA1(f61bcc9763df15428c82931a605ee40334d5ad98) ) |
| 4157 | |
| 4158 | ROM_REGION( 0x2000000, "textile", 0 ) /* texture tiles */ |
| 4159 | ROM_LOAD( "csz1cgll.4m", 0x0000000, 0x800000, CRC(0bcd41f2) SHA1(80b74f9398e8bd074f79a14490d06cfeb875c874) ) |
| 4160 | ROM_LOAD( "csz1cglm.4k", 0x0800000, 0x800000, CRC(d4af93d1) SHA1(0df37b793ce8da02d14f714722382786ae5d3ce2) ) |
| 4161 | ROM_LOAD( "csz1cgum.4j", 0x1000000, 0x800000, CRC(913c98b5) SHA1(b952dbc19053796077d4f33e8da836893e933b12) ) |
| 4162 | ROM_LOAD( "csz1cguu.5f", 0x1800000, 0x800000, CRC(e1d1bf24) SHA1(daf2c68e2d9a8f313d262d221cc990c93dfdf22f) ) |
| 4163 | |
| 4164 | ROM_REGION16_LE( 0x400000, "textilemapl", 0 ) /* texture tilemap 0-15 */ |
| 4165 | ROM_LOAD( "csz1ccrl.7f", 0x000000, 0x400000, CRC(1c20768d) SHA1(6cf4280e26f3625d6f750837bf344163e7e93c3d) ) |
| 4166 | |
| 4167 | ROM_REGION( 0x200000, "textilemaph", 0 ) /* texture tilemap 16-17 + attr */ |
| 4168 | ROM_LOAD( "csz1ccrh.7e", 0x000000, 0x200000, CRC(bc2fa03c) SHA1(e63d8e75494a383bf9a213edfa9c472a010f8efe) ) |
| 4169 | |
| 4170 | ROM_REGION32_BE( 0x2000000, "pointrom", 0 ) /* 3D model data */ |
| 4171 | ROM_LOAD32_WORD_SWAP( "csz1pt0h.7a", 0x0000000, 0x400000, CRC(e82f1abb) SHA1(b1c57152cc27835e06e429fd1659fe0973638142) ) |
| 4172 | ROM_LOAD32_WORD_SWAP( "csz1pt0l.7c", 0x0000002, 0x400000, CRC(b0d66afe) SHA1(7cda4eebf1bb1191d17e4b5e616be2fbe4ae9328) ) |
| 4173 | ROM_LOAD32_WORD_SWAP( "csz1pt1h.5a", 0x0800000, 0x400000, CRC(e54f80ad) SHA1(3b3fbb3001e630d800b02ec8e653d74878ac5116) ) |
| 4174 | ROM_LOAD32_WORD_SWAP( "csz1pt1l.5c", 0x0800002, 0x400000, CRC(527171c8) SHA1(0b2ce3858f40bdedf1543309a6bc28d780415250) ) |
| 4175 | ROM_LOAD32_WORD_SWAP( "csz1pt2h.4a", 0x1000000, 0x400000, CRC(e295137a) SHA1(37b18af1b3d9f0e69b45135f89b49a1ceec79127) ) |
| 4176 | ROM_LOAD32_WORD_SWAP( "csz1pt2l.4c", 0x1000002, 0x400000, CRC(c87d6dbd) SHA1(686f39073c521d6b21ef8bc1161b41b680697c63) ) |
| 4177 | ROM_LOAD32_WORD_SWAP( "csz1pt3h.3a", 0x1800000, 0x400000, CRC(05f65bdf) SHA1(0c349fe5381fe7aeb81f9365a2b44a212f6bd33e) ) |
| 4178 | ROM_LOAD32_WORD_SWAP( "csz1pt3l.3c", 0x1800002, 0x400000, CRC(5d077c0f) SHA1(a4fd0167d89bf9417766405726e0334e7c7eaec3) ) |
| 4179 | |
| 4180 | ROM_REGION( 0x1000000, "c352", 0 ) /* C352 PCM samples */ |
| 4181 | ROM_LOAD( "csz1wavel.2c", 0x000000, 0x800000, CRC(d0d74132) SHA1(a293d93bca8e12e388a088a592cfa7bcb9a976f7) ) |
| 4182 | ROM_LOAD( "csz1waveh.2a", 0x800000, 0x800000, CRC(de9d14a8) SHA1(e5006861928bb1d29bf80c7304f1a6d044b094fd) ) |
| 4183 | |
| 4184 | ROM_REGION( 0x800000, "dups", 0 ) /* duplicate roms */ |
| 4185 | ROM_LOAD( "csz1cguu.4f", 0x000000, 0x800000, CRC(e1d1bf24) SHA1(daf2c68e2d9a8f313d262d221cc990c93dfdf22f) ) |
| 4186 | ROM_LOAD( "csz1cgum.5j", 0x000000, 0x800000, CRC(913c98b5) SHA1(b952dbc19053796077d4f33e8da836893e933b12) ) |
| 4187 | ROM_LOAD( "csz1cgll.5m", 0x000000, 0x800000, CRC(0bcd41f2) SHA1(80b74f9398e8bd074f79a14490d06cfeb875c874) ) |
| 4188 | ROM_LOAD( "csz1cglm.5k", 0x000000, 0x800000, CRC(d4af93d1) SHA1(0df37b793ce8da02d14f714722382786ae5d3ce2) ) |
| 4189 | ROM_LOAD( "csz1ccrl.7m", 0x000000, 0x400000, CRC(1c20768d) SHA1(6cf4280e26f3625d6f750837bf344163e7e93c3d) ) |
| 4190 | ROM_LOAD( "csz1ccrh.7k", 0x000000, 0x200000, CRC(bc2fa03c) SHA1(e63d8e75494a383bf9a213edfa9c472a010f8efe) ) |
| 4191 | ROM_END |
| 4192 | |
| 4193 | ROM_START( crszonec ) |
| 4141 | 4194 | ROM_REGION32_BE( 0x800000, "user1", 0 ) /* 4 megs for main R4650 code */ |
| 4142 | 4195 | ROM_LOAD16_WORD_SWAP( "cszo2vera.ic4", 0x400000, 0x400000, CRC(1426d8d0) SHA1(e8049df1b2db1180f9edf6e5fa9fe8692ae81086) ) |
| 4143 | 4196 | ROM_CONTINUE( 0x000000, 0x400000 ) |
| r15413 | r15414 | |
| 4192 | 4245 | /* Games */ |
| 4193 | 4246 | #define GAME_FLAGS (GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND) |
| 4194 | 4247 | // YEAR, NAME, PARENT, MACHINE, INPUT, INIT, MNTR, COMPANY, FULLNAME, FLAGS |
| 4195 | | GAME( 1997, rapidrvr, 0, gorgon, gorgon, ss23, ROT0, "Namco", "Rapid River (RD3 Ver. C)", GAME_FLAGS ) |
| 4196 | | GAME( 1997, rapidrvr2,rapidrvr, gorgon, gorgon, ss23, ROT0, "Namco", "Rapid River (RD2 Ver. C)", GAME_FLAGS ) |
| 4197 | | GAME( 1997, finlflng, 0, gorgon, gorgon, ss23, ROT0, "Namco", "Final Furlong (FF2 Ver. A)", GAME_FLAGS ) |
| 4198 | | GAME( 1997, downhill, 0, s23, s23, ss23, ROT0, "Namco", "Downhill Bikers (DH3 Ver. A)", GAME_FLAGS ) |
| 4199 | | GAME( 1997, motoxgo, 0, s23, s23, ss23, ROT0, "Namco", "Motocross Go! (MG3 Ver. A)", GAME_FLAGS ) |
| 4200 | | GAME( 1997, motoxgoa, motoxgo, s23, s23, ss23, ROT0, "Namco", "Motocross Go! (MG2 Ver. A)", GAME_FLAGS ) |
| 4201 | | GAME( 1997, timecrs2, 0, timecrs2, timecrs2, ss23, ROT0, "Namco", "Time Crisis II (TSS3 Ver. B)", GAME_FLAGS ) |
| 4202 | | GAME( 1997, timecrs2b,timecrs2, timecrs2, timecrs2, ss23, ROT0, "Namco", "Time Crisis II (TSS2 Ver. B)", GAME_FLAGS ) |
| 4203 | | GAME( 1997, timecrs2c,timecrs2, timecrs2c,timecrs2, ss23, ROT0, "Namco", "Time Crisis II (TSS4 Ver. A)", GAME_FLAGS ) |
| 4204 | | GAME( 1998, panicprk, 0, s23, s23, ss23, ROT0, "Namco", "Panic Park (PNP2 Ver. A)", GAME_FLAGS ) |
| 4205 | | GAME( 1998, gunwars, 0, gmen, ss23, ss23, ROT0, "Namco", "Gunmen Wars (GM1 Ver. A)", GAME_FLAGS ) |
| 4206 | | GAME( 1998, raceon, 0, gmen, ss23, ss23, ROT0, "Namco", "Race On! (RO2 Ver. A)", GAME_FLAGS ) |
| 4207 | | GAME( 1998, 500gp, 0, ss23, ss23, ss23, ROT0, "Namco", "500 GP (5GP3 Ver. C)", GAME_FLAGS ) |
| 4208 | | GAME( 1999, finfurl2, 0, gmen, ss23, ss23, ROT0, "Namco", "Final Furlong 2 (World)", GAME_FLAGS ) |
| 4209 | | GAME( 1999, finfurl2j,finfurl2, gmen, ss23, ss23, ROT0, "Namco", "Final Furlong 2 (Japan)", GAME_FLAGS ) |
| 4210 | | GAME( 2000, crszone, 0, ss23e2, ss23, ss23, ROT0, "Namco", "Crisis Zone (CSZO3 Ver. B)", GAME_FLAGS ) |
| 4211 | | GAME( 2000, crszonea, crszone, ss23e2, ss23, ss23, ROT0, "Namco", "Crisis Zone (CSZO2 Ver. A)", GAME_FLAGS ) |
| 4212 | | GAME( 2000, crszoneb, crszone, ss23e2, ss23, ss23, ROT0, "Namco", "Crisis Zone (CSZO4 Ver. B)", GAME_FLAGS ) |
| 4248 | GAME( 1997, rapidrvr, 0, gorgon, gorgon, ss23, ROT0, "Namco", "Rapid River (RD3 Ver. C)", GAME_FLAGS ) |
| 4249 | GAME( 1997, rapidrvr2,rapidrvr, gorgon, gorgon, ss23, ROT0, "Namco", "Rapid River (RD2 Ver. C)", GAME_FLAGS ) |
| 4250 | GAME( 1997, finlflng, 0, gorgon, gorgon, ss23, ROT0, "Namco", "Final Furlong (FF2 Ver. A)", GAME_FLAGS ) |
| 4251 | GAME( 1997, downhill, 0, s23, s23, ss23, ROT0, "Namco", "Downhill Bikers (DH3 Ver. A)", GAME_FLAGS ) |
| 4252 | GAME( 1997, motoxgo, 0, s23, s23, ss23, ROT0, "Namco", "Motocross Go! (MG3 Ver. A)", GAME_FLAGS ) |
| 4253 | GAME( 1997, motoxgoa, motoxgo, s23, s23, ss23, ROT0, "Namco", "Motocross Go! (MG2 Ver. A)", GAME_FLAGS ) |
| 4254 | GAME( 1997, timecrs2, 0, timecrs2, timecrs2, ss23, ROT0, "Namco", "Time Crisis II (TSS3 Ver. B)", GAME_FLAGS ) |
| 4255 | GAME( 1997, timecrs2b,timecrs2, timecrs2, timecrs2, ss23, ROT0, "Namco", "Time Crisis II (TSS2 Ver. B)", GAME_FLAGS ) |
| 4256 | GAME( 1997, timecrs2c,timecrs2, timecrs2c,timecrs2, ss23, ROT0, "Namco", "Time Crisis II (TSS4 Ver. A)", GAME_FLAGS ) |
| 4257 | GAME( 1998, panicprk, 0, s23, s23, ss23, ROT0, "Namco", "Panic Park (PNP2 Ver. A)", GAME_FLAGS ) |
| 4258 | GAME( 1998, gunwars, 0, gmen, ss23, ss23, ROT0, "Namco", "Gunmen Wars (GM1 Ver. A)", GAME_FLAGS ) |
| 4259 | GAME( 1998, raceon, 0, gmen, ss23, ss23, ROT0, "Namco", "Race On! (RO2 Ver. A)", GAME_FLAGS ) |
| 4260 | GAME( 1998, 500gp, 0, ss23, ss23, ss23, ROT0, "Namco", "500 GP (5GP3 Ver. C)", GAME_FLAGS ) |
| 4261 | GAME( 1999, finfurl2, 0, gmen, ss23, ss23, ROT0, "Namco", "Final Furlong 2 (World)", GAME_FLAGS ) |
| 4262 | GAME( 1999, finfurl2j,finfurl2, gmen, ss23, ss23, ROT0, "Namco", "Final Furlong 2 (Japan)", GAME_FLAGS ) |
| 4263 | GAME( 2000, crszone, 0, ss23e2, ss23, ss23, ROT0, "Namco", "Crisis Zone (CSZO4 Ver. B)", GAME_FLAGS ) |
| 4264 | GAME( 2000, crszonea, crszone, ss23e2, ss23, ss23, ROT0, "Namco", "Crisis Zone (CSZO3 Ver. B)", GAME_FLAGS ) |
| 4265 | GAME( 2000, crszoneb, crszone, ss23e2, ss23, ss23, ROT0, "Namco", "Crisis Zone (CSZO3 Ver. A)", GAME_FLAGS ) |
| 4266 | GAME( 2000, crszonec, crszone, ss23e2, ss23, ss23, ROT0, "Namco", "Crisis Zone (CSZO2 Ver. A)", GAME_FLAGS ) |
| 4213 | 4267 | |
src/mame/drivers/model3.c
| r15413 | r15414 | |
| 97 | 97 | is no mention of 'Step 1.5' or even 'Step 1.0' on any of the PCBs and there is no 50MHz or |
| 98 | 98 | 100MHz OSC on the CPU board that would allow the CPU to run at 100MHz like the current |
| 99 | 99 | documention lists. |
| 100 | | The CPU on Scud Race runs at 66MHz. I suspect the 100MHz clock and STEP 1 and STEP 1.5 is yet |
| 101 | | another system16.com wild guess. Therefore, until proven, STEP 1.0 and STEP 1.5 DO NOT EXIST! |
| 102 | 100 | |
| 101 | The CPU on Scud Race runs at 66MHz. |
| 102 | |
| 103 | 103 | Existing Model 3 hardware revisions as noted on the PCBs are .... |
| 104 | 104 | MODEL3 (verified seen) |
| 105 | 105 | MODEL3 STEP2 (verified seen) |
| r15413 | r15414 | |
| 107 | 107 | written on the PCBs. If you have evidence that they do exist (i.e. you have a PCB), or you |
| 108 | 108 | have a Model 3 game on a different version PCB to what is documented here, please let us know! |
| 109 | 109 | |
| 110 | Sega ID# for Model 3 PCBs: |
| 111 | 837-11858 MODEL3 CPU BOARD |
| 112 | 837-11859 MODEL3 VIDEO BOARD |
| 113 | 837-12874 MODEL3 STEP 1.5 CPU BOARD |
| 114 | 837-12875 MODEL3 STEP 1.5 VIDEO BOARD |
| 115 | 837-12715-91 MODEL3 STEP2 CPU BOARD |
| 116 | 837-12716-91 MODEL3 STEP2 VIDEO BOARD (has been listed with and without the "-91") |
| 117 | 837-13368 MODEL3 STEP2.1 VIDEO BD (most manuals show this is interchangable with 837-12716 STEP2 video board) |
| 118 | |
| 110 | 119 | This document is for MODEL3 (the first version). |
| 111 | 120 | The games that exist on this hardware include.... |
| 112 | 121 | Boat Race GP |
| r15413 | r15414 | |
| 2208 | 2217 | ROM_FILL( 0x000000, 0x80000, 0 ) |
| 2209 | 2218 | ROM_END |
| 2210 | 2219 | |
| 2211 | | ROM_START( scud ) /* step 1.5 */ |
| 2220 | ROM_START( scud ) /* step 1.5, Sega game ID# is 833-13041, ROM board ID# 834-13072 SPG COMM AUS */ |
| 2221 | /* There is known to be a ROM board ID# 834-13034 SPG DX AUS with program roms EPR-19634 to EPR-19637 */ |
| 2212 | 2222 | ROM_REGION64_BE( 0x4800000, "user1", 0 ) /* program + data ROMs */ |
| 2213 | 2223 | // CROM |
| 2214 | 2224 | ROM_LOAD64_WORD_SWAP( "epr-19731.17", 0x0600006, 0x80000, CRC(3EE6447E) SHA1(124697791d90c1b352dd6e33bd3b45535aa92bb5) ) |
| r15413 | r15414 | |
| 2283 | 2293 | ROM_LOAD( "epr-19338a.bin", 0x000000, 0x010000, CRC(c9fac464) SHA1(47b9ab7921a685c01629afb592d597faa11d2bd6) ) |
| 2284 | 2294 | ROM_END |
| 2285 | 2295 | |
| 2286 | | ROM_START( scudj ) /* step 1.5 */ |
| 2296 | ROM_START( scudj ) /* step 1.5, Sega game ID# is 833-13041, ROM board ID# 12934 SPG DX */ |
| 2287 | 2297 | ROM_REGION64_BE( 0x4800000, "user1", 0 ) /* program + data ROMs */ |
| 2288 | 2298 | // CROM |
| 2289 | 2299 | ROM_LOAD64_WORD_SWAP( "epr-19610.17a", 0x0600006, 0x80000, CRC(53f5cd94) SHA1(e27609165087ef7000b61ce628883561ffe64b22) ) |
| r15413 | r15414 | |
| 2358 | 2368 | ROM_LOAD( "epr-19338a.bin", 0x000000, 0x010000, CRC(c9fac464) SHA1(47b9ab7921a685c01629afb592d597faa11d2bd6) ) |
| 2359 | 2369 | ROM_END |
| 2360 | 2370 | |
| 2361 | | ROM_START( scuda ) /* step 1.5, Sega game ID# is 833-13041, ROM board ID# 834-13042 */ |
| 2371 | ROM_START( scuda ) /* step 1.5, Sega game ID# is 833-13041, ROM board ID# 834-13042 SPG FOR COMMUNICATION */ |
| 2362 | 2372 | ROM_REGION64_BE( 0x4800000, "user1", 0 ) /* program + data ROMs */ |
| 2363 | 2373 | // CROM |
| 2364 | 2374 | ROM_LOAD64_WORD_SWAP( "epr-19688.17", 0x0600006, 0x80000, CRC(a4c85103) SHA1(b2e57f86d0a49e3e88fa7d6a77bbd99039c034bb) ) |
| r15413 | r15414 | |
| 2739 | 2749 | ROM_FILL( 0x000000, 0x80000, 0 ) |
| 2740 | 2750 | ROM_END |
| 2741 | 2751 | |
| 2742 | | ROM_START( bass ) /* step 1.0 */ |
| 2752 | ROM_START( bass ) /* step 1.0, Sega game ID# is 833-13317, ROM board ID# 834-13318 BSS */ |
| 2743 | 2753 | ROM_REGION64_BE( 0x4800000, "user1", 0 ) /* program + data ROMs */ |
| 2744 | 2754 | // CROM |
| 2745 | 2755 | ROM_LOAD64_WORD_SWAP( "epr-20643.17", 0x600006, 0x080000, CRC(daf02716) SHA1(b968f8ca602c78b9ca49969ff01f9440f175049a) ) |
| r15413 | r15414 | |
| 3851 | 3861 | ROM_FILL( 0x000000, 0x80000, 0 ) |
| 3852 | 3862 | ROM_END |
| 3853 | 3863 | |
| 3854 | | ROM_START( swtrilgy ) /* Step 2.1 */ |
| 3864 | ROM_START( swtrilgy ) /* Step 2.1, Sega game ID# is 833-13586, ROM board ID# 834-13587 STAR WARS TRILOGY, Security board ID# 837-13588-COM */ |
| 3855 | 3865 | ROM_REGION64_BE( 0x4800000, "user1", 0 ) /* program + data ROMs */ |
| 3856 | 3866 | // CROM |
| 3857 | 3867 | ROM_LOAD64_WORD_SWAP( "epr-21379a.17", 0x000006, 0x200000, CRC(24dc1555) SHA1(0a4b458bb09238de0f38ba2805512b5dbee7d58e) ) |
| r15413 | r15414 | |
| 3920 | 3930 | ROM_FILL( 0x000000, 0x80000, 0 ) |
| 3921 | 3931 | ROM_END |
| 3922 | 3932 | |
| 3923 | | ROM_START( swtrilgya ) /* Step 2.1 */ |
| 3933 | ROM_START( swtrilgya ) /* Step 2.1, Sega game ID# is 833-13586, ROM board ID# 834-13587 STAR WARS TRILOGY, Security board ID# 837-13588-COM */ |
| 3924 | 3934 | ROM_REGION64_BE( 0x4800000, "user1", 0 ) /* program + data ROMs */ |
| 3925 | 3935 | // CROM |
| 3926 | 3936 | ROM_LOAD64_WORD_SWAP( "epr-21379.17", 0x000006, 0x200000, CRC(61ad51d9) SHA1(b27ea929702bb94c86d03d6c1f479af32230b4d0) ) |
| r15413 | r15414 | |
| 3989 | 3999 | ROM_FILL( 0x000000, 0x80000, 0 ) |
| 3990 | 4000 | ROM_END |
| 3991 | 4001 | |
| 3992 | | ROM_START( dirtdvls ) /* Step 2.1 */ |
| 4002 | ROM_START( dirtdvls ) /* Step 2.1, Sega game ID# is 833-13427, ROM board ID# 834-13528 DRT */ |
| 3993 | 4003 | ROM_REGION64_BE( 0x4800000, "user1", 0 ) /* program + data ROMs */ |
| 3994 | 4004 | // CROM |
| 3995 | 4005 | ROM_LOAD64_WORD_SWAP( "epr-21062a.17", 0x000006, 0x200000, CRC(64b55254) SHA1(0e5de3786edad77dde08652ac837dc9125e7851c) ) |
| r15413 | r15414 | |
| 4111 | 4121 | ROM_FILL( 0x000000, 0x80000, 0 ) |
| 4112 | 4122 | ROM_END |
| 4113 | 4123 | |
| 4114 | | ROM_START( daytona2 ) /* Step 2.1 */ |
| 4124 | ROM_START( daytona2 ) /* Step 2.1, ROM board ID# 834-13428 DAYTONA USA2, Security board ID# 837-13507-COM */ |
| 4115 | 4125 | ROM_REGION64_BE( 0x8800000, "user1", 0 ) /* program + data ROMs */ |
| 4116 | 4126 | // CROM |
| 4117 | 4127 | ROM_LOAD64_WORD_SWAP( "epr-20861a.17", 0x000006, 0x200000, CRC(89ba8e78) SHA1(7d27124b976a63fdadd16551a664b2cc8cc08e79) ) |
| r15413 | r15414 | |
| 4191 | 4201 | ROM_LOAD( "epr-20985.bin", 0x000000, 0x010000, CRC(b139481d) SHA1(05fca7db7c8b084c53bd157ba3e8296f1a961a99) ) |
| 4192 | 4202 | ROM_END |
| 4193 | 4203 | |
| 4194 | | ROM_START( dayto2pe ) /* Step 2.1 */ |
| 4204 | ROM_START( dayto2pe ) /* Step 2.1, ROM board ID# 834-13609, Security board ID# 837-13507-COM */ |
| 4195 | 4205 | ROM_REGION64_BE( 0x8800000, "user1", 0 ) /* program + data ROMs */ |
| 4196 | 4206 | // CROM |
| 4197 | 4207 | ROM_LOAD64_WORD_SWAP( "epr-21178.17", 0x000006, 0x200000, CRC(230bf8ac) SHA1(bc64c4f8a794ca59b5c488a34d1b5a2b67af8fec) ) |
| r15413 | r15414 | |
| 4271 | 4281 | ROM_LOAD( "epr-20985.bin", 0x000000, 0x010000, CRC(b139481d) SHA1(05fca7db7c8b084c53bd157ba3e8296f1a961a99) ) |
| 4272 | 4282 | ROM_END |
| 4273 | 4283 | |
| 4274 | | ROM_START( srally2 ) /* Step 2.0 */ |
| 4284 | ROM_START( srally2 ) /* Step 2.0, Sega game ID# is 833-13373, ROM board ID# 834-13374 SRT TWIN */ |
| 4275 | 4285 | ROM_REGION64_BE( 0x4800000, "user1", 0 ) /* program + data ROMs */ |
| 4276 | 4286 | // CROM |
| 4277 | 4287 | ROM_LOAD64_WORD_SWAP( "epr-20632.17", 0x000006, 0x200000, CRC(6829a801) SHA1(2aa3834f6a8c53f5db57ab52994b8ab3fde2d7c2) ) |
| r15413 | r15414 | |
| 4412 | 4422 | ROM_LOAD( "epr-20512.bin", 0x000000, 0x010000, CRC(cf64350d) SHA1(f30c8c7b65fb38f7dd63845f12b81388ff3b946d) ) |
| 4413 | 4423 | ROM_END |
| 4414 | 4424 | |
| 4415 | | ROM_START( harley ) /* Step 2.0 */ |
| 4425 | ROM_START( harley ) /* Step 2.0, Sega game ID# is 833-13325, ROM board ID# 834-13326 HARLEY DAVIDSON */ |
| 4416 | 4426 | ROM_REGION64_BE( 0x4800000, "user1", 0 ) /* program + data ROMs */ |
| 4417 | 4427 | // CROM |
| 4418 | | ROM_LOAD64_WORD_SWAP( "epr-20393a.17", 0x000006, 0x200000, CRC(b5646556) SHA1(4bff0e140e1d1df7459f7194aa4a335bc4592203) ) |
| 4419 | | ROM_LOAD64_WORD_SWAP( "epr-20394a.18", 0x000004, 0x200000, CRC(ce29e2b6) SHA1(482aaf5480b219b8ac6e4e36a6d64359e1834f44) ) |
| 4420 | | ROM_LOAD64_WORD_SWAP( "epr-20395a.19", 0x000002, 0x200000, CRC(761f4976) SHA1(3e451a99b87f05d6fa35efdd944cd4c2033dd5fd) ) |
| 4421 | | ROM_LOAD64_WORD_SWAP( "epr-20396a.20", 0x000000, 0x200000, CRC(16b0106b) SHA1(3b8449805b73ff6ff1a1c8b134cd861b77b7f8d8) ) |
| 4428 | ROM_LOAD64_WORD_SWAP( "epr-20393b.17", 0x000006, 0x200000, CRC(7d712105) SHA1(35e0849f498de48fcb357495b6e8039740b8e881) ) |
| 4429 | ROM_LOAD64_WORD_SWAP( "epr-20394b.18", 0x000004, 0x200000, CRC(b4312135) SHA1(79c4306acd8c20f86d16a18de696783f7da9df84) ) |
| 4430 | ROM_LOAD64_WORD_SWAP( "epr-20395b.19", 0x000002, 0x200000, CRC(88f71d76) SHA1(2ef28f6b10030c60fae17efdbe5707ade2d8cc76) ) |
| 4431 | ROM_LOAD64_WORD_SWAP( "epr-20396b.20", 0x000000, 0x200000, CRC(9623dea7) SHA1(232f3fdeb932b332952542fa06d0539bcf513f68) ) |
| 4422 | 4432 | |
| 4423 | 4433 | // CROM0 |
| 4424 | 4434 | ROM_LOAD64_WORD_SWAP( "mpr-20361.1", 0x800006, 0x400000, CRC(ddb66c2f) SHA1(e47450cc38af99e2870aac1f598e057a0c6efe47) ) |
| r15413 | r15414 | |
| 4480 | 4490 | ROM_FILL( 0x000000, 0x80000, 0 ) |
| 4481 | 4491 | ROM_END |
| 4482 | 4492 | |
| 4483 | | ROM_START( harleyb ) /* Step 2.0 */ |
| 4493 | ROM_START( harleya ) /* Step 2.0, Sega game ID# is 833-13325, ROM board ID# 834-13326 HARLEY DAVIDSON */ |
| 4484 | 4494 | ROM_REGION64_BE( 0x4800000, "user1", 0 ) /* program + data ROMs */ |
| 4485 | 4495 | // CROM |
| 4486 | | ROM_LOAD64_WORD_SWAP( "epr-20393b.17", 0x000006, 0x200000, CRC(7d712105) SHA1(35e0849f498de48fcb357495b6e8039740b8e881) ) |
| 4487 | | ROM_LOAD64_WORD_SWAP( "epr-20394b.18", 0x000004, 0x200000, CRC(b4312135) SHA1(79c4306acd8c20f86d16a18de696783f7da9df84) ) |
| 4488 | | ROM_LOAD64_WORD_SWAP( "epr-20395b.19", 0x000002, 0x200000, CRC(88f71d76) SHA1(2ef28f6b10030c60fae17efdbe5707ade2d8cc76) ) |
| 4489 | | ROM_LOAD64_WORD_SWAP( "epr-20396b.20", 0x000000, 0x200000, CRC(9623dea7) SHA1(232f3fdeb932b332952542fa06d0539bcf513f68) ) |
| 4496 | ROM_LOAD64_WORD_SWAP( "epr-20393a.17", 0x000006, 0x200000, CRC(b5646556) SHA1(4bff0e140e1d1df7459f7194aa4a335bc4592203) ) |
| 4497 | ROM_LOAD64_WORD_SWAP( "epr-20394a.18", 0x000004, 0x200000, CRC(ce29e2b6) SHA1(482aaf5480b219b8ac6e4e36a6d64359e1834f44) ) |
| 4498 | ROM_LOAD64_WORD_SWAP( "epr-20395a.19", 0x000002, 0x200000, CRC(761f4976) SHA1(3e451a99b87f05d6fa35efdd944cd4c2033dd5fd) ) |
| 4499 | ROM_LOAD64_WORD_SWAP( "epr-20396a.20", 0x000000, 0x200000, CRC(16b0106b) SHA1(3b8449805b73ff6ff1a1c8b134cd861b77b7f8d8) ) |
| 4490 | 4500 | |
| 4491 | 4501 | // CROM0 |
| 4492 | 4502 | ROM_LOAD64_WORD_SWAP( "mpr-20361.1", 0x800006, 0x400000, CRC(ddb66c2f) SHA1(e47450cc38af99e2870aac1f598e057a0c6efe47) ) |
| r15413 | r15414 | |
| 4777 | 4787 | ROM_FILL( 0x000000, 0x80000, 0 ) |
| 4778 | 4788 | ROM_END |
| 4779 | 4789 | |
| 4780 | | ROM_START( eca ) /* Step 2.1, Sega game ID# is 833-13427, ROM board ID# 834-13428, MAIN board ID# 837-13022-1, Security board ID# 837-13947-COM */ |
| 4790 | ROM_START( eca ) /* Step 2.1, ROM board ID# 834-13946-01 ECA */ |
| 4781 | 4791 | ROM_REGION64_BE( 0x4800000, "user1", 0 ) /* program + data ROMs */ |
| 4782 | 4792 | // CROM |
| 4783 | 4793 | ROM_LOAD64_WORD_SWAP( "epr-22895.17", 0x000006, 0x200000, CRC(07df16a0) SHA1(a9ad2b229854a5f4f761565141db738adde28720) ) |
| r15413 | r15414 | |
| 4913 | 4923 | ROM_FILL( 0x000000, 0x80000, 0 ) |
| 4914 | 4924 | ROM_END |
| 4915 | 4925 | |
| 4916 | | ROM_START( magtruck ) /* Step 2.1 */ |
| 4926 | ROM_START( magtruck ) /* Step 2.1, Sega game ID# is 833-13601-01 (Export), ROM board ID# 834-13600-01 RCS EXP (Export), Security board ID# 837-13599-COM */ |
| 4917 | 4927 | ROM_REGION64_BE( 0x4800000, "user1", 0 ) /* program + data ROMs */ |
| 4918 | 4928 | // CROM |
| 4919 | 4929 | ROM_LOAD64_WORD_SWAP( "epr-21435.17", 0x000006, 0x200000, CRC(9b169446) SHA1(285cbe5afd439d83c50f0499a878f71b8e5b94e5) ) |
| r15413 | r15414 | |
| 4969 | 4979 | ROM_FILL( 0x000000, 0x80000, 0 ) |
| 4970 | 4980 | ROM_END |
| 4971 | 4981 | |
| 4972 | | ROM_START( oceanhun ) /* Step 2.0 317-0244-COM security chip (837-13666-com security board) */ |
| 4982 | ROM_START( oceanhun ) /* Step 2.0, Sega game ID# is 833-13571, ROM board ID# 834-13572 THE OCEAN HUNTER, 317-0242-COM security chip (837-13576-COM security board) */ |
| 4973 | 4983 | ROM_REGION64_BE( 0x8800000, "user1", 0 ) /* program + data ROMs */ |
| 4974 | 4984 | // CROM |
| 4975 | 4985 | ROM_LOAD64_WORD_SWAP( "epr-21114.17", 0x000006, 0x200000, CRC(3adfcb9d) SHA1(22307e36a48e59ab881d6df2fbf2864f6a8b239c) ) |
| r15413 | r15414 | |
| 5037 | 5047 | ROM_FILL( 0x000000, 0x80000, 0 ) |
| 5038 | 5048 | ROM_END |
| 5039 | 5049 | |
| 5040 | | ROM_START( lamachin ) /* Step 2.0 317-0242-COM security chip (837-13576-com security board) */ |
| 5050 | ROM_START( lamachin ) /* Step 2.0, Sega game ID# is 833-13664, ROM board ID# 834-13665 L.A.MACHINEGUNS, 317-0244-COM security chip (837-13666-COM security board) */ |
| 5041 | 5051 | ROM_REGION64_BE( 0x4800000, "user1", 0 ) /* program + data ROMs */ |
| 5042 | 5052 | // CROM |
| 5043 | 5053 | ROM_LOAD64_WORD_SWAP( "epr-21483.17", 0x000006, 0x200000, CRC(940637c2) SHA1(89894b603c17d27f57500ec8030eaa7e0e991479) ) |
| r15413 | r15414 | |
| 5819 | 5829 | GAME( 1997, getbass, bass, model3_10, bass, getbass, ROT0, "Sega", "Get Bass", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 5820 | 5830 | |
| 5821 | 5831 | /* Model 3 Step 1.5 */ |
| 5822 | | GAME( 1996, scud, 0, model3_15, scud, scud, ROT0, "Sega", "Scud Race (Australia)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 5823 | | GAME( 1996, scudj, scud, model3_15, scud, scud, ROT0, "Sega", "Scud Race (Japan)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 5824 | | GAME( 1996, scuda, scud, model3_15, scud, scud, ROT0, "Sega", "Scud Race (Export)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 5832 | GAME( 1996, scud, 0, model3_15, scud, scud, ROT0, "Sega", "Scud Race Twin (Australia)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 5833 | GAME( 1996, scudj, scud, model3_15, scud, scud, ROT0, "Sega", "Scud Race Deluxe (Japan)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 5834 | GAME( 1996, scuda, scud, model3_15, scud, scud, ROT0, "Sega", "Scud Race Twin (Export)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 5825 | 5835 | GAME( 1997, scudp, scud, model3_15, scud, scudp, ROT0, "Sega", "Scud Race Plus (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 5826 | 5836 | GAME( 1997, lostwsga, 0, model3_15, lostwsga, lostwsga, ROT0, "Sega", "The Lost World", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 5827 | 5837 | GAME( 1997, vs215, vs2, model3_15, model3, vs215, ROT0, "Sega", "Virtua Striker 2 (Step 1.5)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| r15413 | r15414 | |
| 5831 | 5841 | |
| 5832 | 5842 | /* Model 3 Step 2.0 */ |
| 5833 | 5843 | GAME( 1997, vs2, 0, model3_20, model3, vs2, ROT0, "Sega", "Virtua Striker 2 (Step 2.0)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 5834 | | GAME( 1997, harley, 0, model3_20, harley, harley, ROT0, "Sega", "Harley-Davidson and L.A. Riders (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 5835 | | GAME( 1997, harleyb, harley, model3_20, harley, harleyb, ROT0, "Sega", "Harley-Davidson and L.A. Riders (Revision B)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 5844 | GAME( 1997, harley, 0, model3_20, harley, harley, ROT0, "Sega", "Harley-Davidson and L.A. Riders (Revision B)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 5845 | GAME( 1997, harleya, harley, model3_20, harley, harleyb, ROT0, "Sega", "Harley-Davidson and L.A. Riders (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 5836 | 5846 | GAME( 1998, lamachin, 0, model3_20, model3, model3_20, ROT0, "Sega", "L.A. Machineguns", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 5837 | 5847 | GAME( 1998, oceanhun, 0, model3_20, model3, oceanhun, ROT0, "Sega", "The Ocean Hunter", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 5838 | 5848 | GAME( 1998, skichamp, 0, model3_20, skichamp, skichamp, ROT0, "Sega", "Ski Champ", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
src/mame/drivers/taito_z.c
| r15413 | r15414 | |
| 9 | 9 | Nicola Salmoria. Thanks to Richard Bush and the Raine team, whose open |
| 10 | 10 | source was very helpful in many areas particularly the sprites.) |
| 11 | 11 | |
| 12 | | - Changes Log - |
| 13 | 12 | |
| 14 | | 05-01-04 Added Racing Beat |
| 15 | | 01-26-02 Added Enforce |
| 16 | | 10-17-01 TC0150ROD support improved (e.g. Aquajack) |
| 17 | | 09-01-01 Preliminary TC0150ROD support |
| 18 | | 08-28-01 Fixed uncentered steer inputs, Nightstr controls |
| 19 | | 05-27-01 Inputs through taitoic ioc routines, contcirc subwoofer filter |
| 20 | | 04-12-01 Centered steering AD inputs, added digital steer |
| 21 | | 02-18-01 Added Spacegun gunsights (Insideoutboy) |
| 22 | 13 | |
| 23 | | |
| 24 | | ***** |
| 25 | | |
| 26 | 14 | The Taito Z system has a number of similarities with the Taito F2 system, |
| 27 | 15 | and uses some of the same custom Taito components. |
| 28 | 16 | |
| r15413 | r15414 | |
| 71 | 59 | sticks, light guns, cockpit hardware etc. |
| 72 | 60 | |
| 73 | 61 | |
| 62 | **************************************************************************** |
| 63 | |
| 74 | 64 | Contcirc board (B.Troha) |
| 75 | 65 | -------------- |
| 76 | 66 | |
| r15413 | r15414 | |
| 128 | 118 | Notes: IC-41 Is 271001 Listed as JH1 (unsocketed / unused) |
| 129 | 119 | IC-42 Is 271001 Listed as JL1 (unsocketed / unused) |
| 130 | 120 | |
| 121 | |
| 122 | |
| 131 | 123 | **************************************************************************** |
| 132 | 124 | |
| 133 | 125 | Aquajack |
| r15413 | r15414 | |
| 235 | 227 | ADC0809 - Texas Instruments ADC0809N Analog To Digital Convertor IC (DIP28) |
| 236 | 228 | |
| 237 | 229 | |
| 230 | |
| 231 | **************************************************************************** |
| 232 | |
| 238 | 233 | ChaseHQ (Guru) |
| 239 | 234 | ------- |
| 240 | 235 | |
| r15413 | r15414 | |
| 283 | 278 | |
| 284 | 279 | |
| 285 | 280 | |
| 281 | **************************************************************************** |
| 282 | |
| 286 | 283 | ChaseHQ2(SCI) custom chips (Guru) (DG: same as Bshark except 0140SYT?) |
| 287 | 284 | -------------------------- |
| 288 | 285 | |
| r15413 | r15414 | |
| 509 | 506 | |
| 510 | 507 | |
| 511 | 508 | |
| 509 | **************************************************************************** |
| 512 | 510 | |
| 511 | Enforce PCB info |
| 512 | ------------------ |
| 513 | 513 | |
| 514 | Taito, 198?/199? |
| 515 | |
| 516 | Taito Z hardware |
| 517 | PCB No: K1100406A J1100175A (CPU PCB) |
| 518 | K1100407A J1100176A (VIDEO PCB) |
| 519 | |
| 520 | CPU: MC68000P12 (x2) |
| 521 | SND: Z80, YM2610, TCO040IOC, YM3016F |
| 522 | OSC: 26.686MHz, 24.000MHz, 16.000MHz |
| 523 | DIPs: 8 Position (x2) |
| 524 | |
| 525 | Taito Chips: |
| 526 | CPU board - TCO100SCN, TCO140SYT, TCO170ABT, TCO110PCR |
| 527 | Video Board - TCO150ROD, TCO050VDZ (x3), TCO020VAR |
| 528 | |
| 529 | Ram: CPU BOARD - 6264 (x9), 43256 (x2), |
| 530 | VIDEO BOARD - 2018 (x10), 6264 (x2) |
| 531 | |
| 532 | PALs/PROMs: |
| 533 | CPU BOARD - All located near/around the 68000's |
| 534 | b58-15 (PAL20L8) |
| 535 | b58-16 (PAL20L8) |
| 536 | b58-14 (PAL20L8) |
| 537 | b58-13 (PAL16L8) |
| 538 | b58-11 (PAL16L8) |
| 539 | b58-12 (PAL16L8) |
| 540 | |
| 541 | VIDEO BOARD - |
| 542 | b58-22 (PAL16L8) \ |
| 543 | b58-23 (63s141) | near TCO150ROD |
| 544 | b58-24 (63s141) / |
| 545 | |
| 546 | b58-20 (PAL16L8) \ |
| 547 | b58-21 (PAL16R4) | |
| 548 | b58-17 (PAL16L8) | near TCO020VAR |
| 549 | b58-18 (PAL16R4) / |
| 550 | |
| 551 | b58-25 (63S141) near b58-27 |
| 552 | b58-19 (PAL16R4) near b58-04/03/02/01 |
| 553 | |
| 554 | ROMs: |
| 555 | CPU BOARD - b58-18 , 27C010 \ |
| 556 | b58-19 , 27C010 | 68k Program |
| 557 | b58-26 , 27C010 | |
| 558 | b58-27 , 27C010 / |
| 559 | |
| 560 | b58-07 , 27C4096 \ |
| 561 | b58-08 , 27C4096 | |
| 562 | b58-09 , 27C4100 | near TCO100SCN & TCO140SYT |
| 563 | b58-10 , 27C4096 / |
| 564 | |
| 565 | b58-32 , 27C512 z80 program |
| 566 | |
| 567 | VIDEO PCB - b58-06 , 27C4100 near TCO150ROD |
| 568 | |
| 569 | b58-26a, 27C512 ? |
| 570 | b58-27 , LH5763 ? |
| 571 | |
| 572 | b58-01 , 27C4100 \ |
| 573 | b58-02 , 27C4100 | |
| 574 | b58-03 , 27C4100 | near TCO050VDZ's |
| 575 | b58-04 , 27C4100 / |
| 576 | |
| 577 | |
| 578 | |
| 579 | **************************************************************************** |
| 580 | |
| 514 | 581 | BShark custom chips |
| 515 | 582 | ------------------- |
| 516 | 583 | |
| r15413 | r15414 | |
| 526 | 593 | TC0150ROD (known road generator chip) |
| 527 | 594 | |
| 528 | 595 | |
| 596 | |
| 597 | **************************************************************************** |
| 598 | |
| 529 | 599 | DblAxle custom chip info |
| 530 | 600 | ------------------------ |
| 531 | 601 | |
| r15413 | r15414 | |
| 604 | 674 | Chips: uPD72105C |
| 605 | 675 | |
| 606 | 676 | |
| 677 | |
| 678 | **************************************************************************** |
| 679 | |
| 680 | Racing Beat |
| 681 | ------------- |
| 682 | |
| 683 | M43E0227A |
| 684 | K11E0674A |
| 685 | K1100650A J1100264A CPU PCB |
| 686 | |-------------------------------------------------------------| |
| 687 | |6264 62256 32MHz DSWA DSWB | |
| 688 | | 62256 | |
| 689 | |C84-104.2 | |
| 690 | |C84-110.3 TC0170ABT TC0510NIO | |
| 691 | |C84-103.4 | |
| 692 | |C84-111.5 MB3771 | |
| 693 | | C84_101.42 | |
| 694 | |6264 TC0140SYT | |
| 695 | | 6264 | |
| 696 | | | |
| 697 | | | |
| 698 | | C84-85.31 Z80 | |
| 699 | |68000 | |
| 700 | | | |
| 701 | | | |
| 702 | |PAL PAL YM2610 | |
| 703 | | C84-86.33 | |
| 704 | |PAL | |
| 705 | | 6264 C84-87.46 | |
| 706 | | | |
| 707 | | | |
| 708 | | PAL C84-99.35 YM3016 | |
| 709 | |6264 6264 | |
| 710 | | | |
| 711 | | PAL C84-100.36 TL074 | |
| 712 | | TC0150ROD | |
| 713 | |C84-84.12 6264 | |
| 714 | | PAL | |
| 715 | | TL074 | |
| 716 | | C84-07.22 MB3735 | |
| 717 | | 68000 | |
| 718 | |-------------------------------------------------------------| |
| 719 | Notes: |
| 720 | 68000s running at 16MHz |
| 721 | Z80 running at 4MHz |
| 722 | YM2610 running at 8MHz |
| 723 | |
| 724 | |
| 725 | K11X0675A |
| 726 | K1100635A |
| 727 | J1100256A VIDEO PCB |
| 728 | |-------------------------------------------------------------| |
| 729 | | 26.686MHz 6264 | |
| 730 | |62256 C84-89.11 TC0260DAR | |
| 731 | | | |
| 732 | |62256 C84-90.12 | |
| 733 | | TC0480SCP 6264 | |
| 734 | | | |
| 735 | | 6264 | |
| 736 | |C84-88.3 | |
| 737 | | | |
| 738 | | | |
| 739 | | C84-19.15 | |
| 740 | | TC0370MSO TC0300FLA PAL | |
| 741 | | C84-10.16 | |
| 742 | | C84-11.17 | |
| 743 | | C84-09.74| |
| 744 | | | |
| 745 | | 62256 62256 62256 62256 | |
| 746 | | | |
| 747 | | | |
| 748 | | 62256 62256 62256 62256 62256 | |
| 749 | | | |
| 750 | | | |
| 751 | | 62256 62256 62256 62256 62256 | |
| 752 | | | |
| 753 | | | |
| 754 | | 62256 62256 | |
| 755 | | C84-91.23 C84-93.31 | |
| 756 | | | |
| 757 | | TC0380BSH TC0270MOD | |
| 758 | | C84-92.25 C84-94.33 | |
| 759 | | | |
| 760 | |-------------------------------------------------------------| |
| 761 | |
| 762 | |
| 607 | 763 | TODO Lists |
| 608 | 764 | ========== |
| 609 | 765 | |
| r15413 | r15414 | |
| 637 | 793 | Road priority incompletely understood - e.g. start barrier should |
| 638 | 794 | be darkening LH edge of road as well as RH edge. |
| 639 | 795 | |
| 640 | | The 8 level accel / brake should be possible to control with |
| 641 | | analogue pedal. Don't think mame can do this. |
| 642 | | |
| 643 | 796 | Junk (?) stuff often written in high byte of sound word. |
| 644 | 797 | |
| 645 | 798 | Speculative YM2610 a/b/c channel filtering as these may be |
| r15413 | r15414 | |
| 787 | 940 | a spriteframe toggle - currently this never changes which may be |
| 788 | 941 | wrong.) |
| 789 | 942 | |
| 943 | Double Axle seems to keep only 1 sprite frame in sprite ram, |
| 944 | which is probably wrong. Game seems to work with no int 6's |
| 945 | at all. Cpu control byte has 0,4,8,c poked into 2nd nibble |
| 946 | and it seems possible this should be causing int6's ? |
| 790 | 947 | |
| 948 | |
| 791 | 949 | Racing Beat |
| 792 | 950 | ----------- |
| 793 | 951 | |
| 794 | | Sprites (and main road) very wrong |
| 952 | Graphics problems: |
| 953 | - tearing in the main road (tile layer 3 offset?) |
| 954 | - car sprites palette flickering |
| 955 | - some missing sprites (random?) ie. motor block sprite after inserting coin |
| 795 | 956 | |
| 796 | | M43E0227A |
| 797 | | K11E0674A |
| 798 | | K1100650A J1100264A CPU PCB |
| 799 | | |-------------------------------------------------------------| |
| 800 | | |6264 62256 32MHz DSWA DSWB | |
| 801 | | | 62256 | |
| 802 | | |C84-104.2 | |
| 803 | | |C84-110.3 TC0170ABT TC0510NIO | |
| 804 | | |C84-103.4 | |
| 805 | | |C84-111.5 MB3771 | |
| 806 | | | C84_101.42 | |
| 807 | | |6264 TC0140SYT | |
| 808 | | | 6264 | |
| 809 | | | | |
| 810 | | | | |
| 811 | | | C84-85.31 Z80 | |
| 812 | | |68000 | |
| 813 | | | | |
| 814 | | | | |
| 815 | | |PAL PAL YM2610 | |
| 816 | | | C84-86.33 | |
| 817 | | |PAL | |
| 818 | | | 6264 C84-87.46 | |
| 819 | | | | |
| 820 | | | | |
| 821 | | | PAL C84-99.35 YM3016 | |
| 822 | | |6264 6264 | |
| 823 | | | | |
| 824 | | | PAL C84-100.36 TL074 | |
| 825 | | | TC0150ROD | |
| 826 | | |C84-84.12 6264 | |
| 827 | | | PAL | |
| 828 | | | TL074 | |
| 829 | | | C84-07.22 MB3735 | |
| 830 | | | 68000 | |
| 831 | | |-------------------------------------------------------------| |
| 832 | | Notes: |
| 833 | | 68000s running at 16MHz |
| 834 | | Z80 running at 4MHz |
| 835 | | YM2610 running at 8MHz |
| 957 | LAN board is unemulated |
| 836 | 958 | |
| 959 | DIP switches are not verified |
| 837 | 960 | |
| 838 | | K11X0675A |
| 839 | | K1100635A |
| 840 | | J1100256A VIDEO PCB |
| 841 | | |-------------------------------------------------------------| |
| 842 | | | 26.686MHz 6264 | |
| 843 | | |62256 C84-89.11 TC0260DAR | |
| 844 | | | | |
| 845 | | |62256 C84-90.12 | |
| 846 | | | TC0480SCP 6264 | |
| 847 | | | | |
| 848 | | | 6264 | |
| 849 | | |C84-88.3 | |
| 850 | | | | |
| 851 | | | | |
| 852 | | | C84-19.15 | |
| 853 | | | TC0370MSO TC0300FLA PAL | |
| 854 | | | C84-10.16 | |
| 855 | | | C84-11.17 | |
| 856 | | | C84-09.74| |
| 857 | | | | |
| 858 | | | 62256 62256 62256 62256 | |
| 859 | | | | |
| 860 | | | | |
| 861 | | | 62256 62256 62256 62256 62256 | |
| 862 | | | | |
| 863 | | | | |
| 864 | | | 62256 62256 62256 62256 62256 | |
| 865 | | | | |
| 866 | | | | |
| 867 | | | 62256 62256 | |
| 868 | | | C84-91.23 C84-93.31 | |
| 869 | | | | |
| 870 | | | TC0380BSH TC0270MOD | |
| 871 | | | C84-92.25 C84-94.33 | |
| 872 | | | | |
| 873 | | |-------------------------------------------------------------| |
| 874 | 961 | |
| 875 | | |
| 876 | 962 | ***************************************************************************/ |
| 877 | 963 | |
| 878 | 964 | #include "emu.h" |
| r15413 | r15414 | |
| 890 | 976 | #include "contcirc.lh" |
| 891 | 977 | #include "dblaxle.lh" |
| 892 | 978 | |
| 893 | | static void parse_control( running_machine &machine ) |
| 979 | static void parse_cpu_control( running_machine &machine ) |
| 894 | 980 | { |
| 895 | 981 | /* bit 0 enables cpu B */ |
| 896 | | /* however this fails when recovering from a save state |
| 897 | | if cpu B is disabled !! */ |
| 898 | 982 | taitoz_state *state = machine.driver_data<taitoz_state>(); |
| 899 | 983 | device_set_input_line(state->m_subcpu, INPUT_LINE_RESET, (state->m_cpua_ctrl & 0x1) ? CLEAR_LINE : ASSERT_LINE); |
| 900 | | |
| 901 | 984 | } |
| 902 | 985 | |
| 903 | 986 | WRITE16_MEMBER(taitoz_state::cpua_ctrl_w) |
| 904 | 987 | { |
| 988 | //logerror("CPU #0 PC %06x: write %04x to cpu control\n", cpu_get_pc(&space.device()), data); |
| 905 | 989 | |
| 906 | | if ((data & 0xff00) && ((data & 0xff) == 0)) |
| 907 | | data = data >> 8; /* for Wgp */ |
| 990 | if (mem_mask == 0xff00) data >>= 8; |
| 991 | data &= 0xff; |
| 908 | 992 | |
| 909 | 993 | m_cpua_ctrl = data; |
| 994 | parse_cpu_control(machine()); |
| 995 | } |
| 910 | 996 | |
| 911 | | parse_control(machine()); |
| 997 | WRITE16_MEMBER(taitoz_state::chasehq_cpua_ctrl_w) |
| 998 | { |
| 999 | cpua_ctrl_w(space, offset, data, mem_mask); |
| 912 | 1000 | |
| 913 | | // Chase HQ: handle the lights |
| 914 | | if (m_chasehq_lamps) |
| 915 | | { |
| 916 | | output_set_lamp_value(0, (data & 0x20) ? 1 : 0); |
| 917 | | output_set_lamp_value(1, (data & 0x40) ? 1 : 0); |
| 918 | | } |
| 1001 | output_set_lamp_value(0, (m_cpua_ctrl & 0x20) ? 1 : 0); |
| 1002 | output_set_lamp_value(1, (m_cpua_ctrl & 0x40) ? 1 : 0); |
| 1003 | } |
| 919 | 1004 | |
| 920 | | if (m_dblaxle_vibration) output_set_value("Wheel_Vibration", (data & 0x04)>>2); |
| 921 | | logerror("CPU #0 PC %06x: write %04x to cpu control\n", cpu_get_pc(&space.device()), data); |
| 1005 | WRITE16_MEMBER(taitoz_state::dblaxle_cpua_ctrl_w) |
| 1006 | { |
| 1007 | cpua_ctrl_w(space, offset, data, mem_mask); |
| 1008 | |
| 1009 | output_set_value("Wheel_Vibration", (data & 0x04)>>2); |
| 922 | 1010 | } |
| 923 | 1011 | |
| 924 | 1012 | |
| r15413 | r15414 | |
| 942 | 1030 | device_set_input_line(state->m_subcpu, 5, HOLD_LINE); |
| 943 | 1031 | } |
| 944 | 1032 | |
| 945 | | #if 0 |
| 946 | | static TIMER_CALLBACK( taitoz_cpub_interrupt6 ) |
| 947 | | { |
| 948 | | taitoz_state *state = machine.driver_data<taitoz_state>(); |
| 949 | | device_set_input_line(state->m_subcpu, 6, HOLD_LINE); |
| 950 | | } |
| 951 | | #endif |
| 952 | 1033 | |
| 953 | | |
| 954 | | |
| 955 | 1034 | /***** Routines for particular games *****/ |
| 956 | 1035 | |
| 957 | 1036 | static INTERRUPT_GEN( sci_interrupt ) |
| r15413 | r15414 | |
| 969 | 1048 | device_set_input_line(device, 4, HOLD_LINE); |
| 970 | 1049 | } |
| 971 | 1050 | |
| 972 | | /* Double Axle seems to keep only 1 sprite frame in sprite ram, |
| 973 | | which is probably wrong. Game seems to work with no int 6's |
| 974 | | at all. Cpu control byte has 0,4,8,c poked into 2nd nibble |
| 975 | | and it seems possible this should be causing int6's ? */ |
| 976 | 1051 | |
| 977 | | static INTERRUPT_GEN( dblaxle_interrupt ) |
| 978 | | { |
| 979 | | // Unsure how many int6's per frame, copy SCI for now |
| 980 | | |
| 981 | | taitoz_state *state = device->machine().driver_data<taitoz_state>(); |
| 982 | | state->m_dblaxle_int6 = !state->m_dblaxle_int6; |
| 983 | | |
| 984 | | if (state->m_dblaxle_int6) |
| 985 | | device->machine().scheduler().timer_set(downcast<cpu_device *>(device)->cycles_to_attotime(200000 - 500), FUNC(taitoz_interrupt6)); |
| 986 | | |
| 987 | | device_set_input_line(device, 4, HOLD_LINE); |
| 988 | | } |
| 989 | | |
| 990 | | static INTERRUPT_GEN( dblaxle_cpub_interrupt ) |
| 991 | | { |
| 992 | | // Unsure how many int6's per frame |
| 993 | | device->machine().scheduler().timer_set(downcast<cpu_device *>(device)->cycles_to_attotime(200000 - 500), FUNC(taitoz_interrupt6)); |
| 994 | | device_set_input_line(device, 4, HOLD_LINE); |
| 995 | | } |
| 996 | | |
| 997 | | |
| 998 | 1052 | /****************************************************************** |
| 999 | 1053 | EEPROM |
| 1000 | 1054 | ******************************************************************/ |
| r15413 | r15414 | |
| 1034 | 1088 | |
| 1035 | 1089 | WRITE16_MEMBER(taitoz_state::spacegun_output_bypass_w) |
| 1036 | 1090 | { |
| 1037 | | |
| 1038 | 1091 | switch (offset) |
| 1039 | 1092 | { |
| 1040 | 1093 | case 0x03: |
| r15413 | r15414 | |
| 1059 | 1112 | GAME INPUTS |
| 1060 | 1113 | **********************************************************/ |
| 1061 | 1114 | |
| 1115 | CUSTOM_INPUT_MEMBER(taitoz_state::taitoz_pedal_r) |
| 1116 | { |
| 1117 | static const UINT8 retval[8] = { 0,1,3,2,6,7,5,4 }; |
| 1118 | const char *tag = (const char *)param; |
| 1119 | return retval[ioport(tag)->read_safe(0) & 7]; |
| 1120 | } |
| 1121 | |
| 1122 | |
| 1062 | 1123 | READ8_MEMBER(taitoz_state::contcirc_input_bypass_r) |
| 1063 | 1124 | { |
| 1064 | 1125 | /* Bypass TC0220IOC controller for analog input */ |
| 1065 | 1126 | |
| 1066 | 1127 | UINT8 port = tc0220ioc_port_r(m_tc0220ioc, 0); /* read port number */ |
| 1067 | | int steer = 0; |
| 1068 | | int fake = ioport("FAKE")->read(); |
| 1128 | UINT16 steer = 0xff80 + ioport("STEER")->read_safe(0x80); |
| 1069 | 1129 | |
| 1070 | | if (!(fake & 0x10)) /* Analogue steer (the real control method) */ |
| 1071 | | { |
| 1072 | | /* center around zero and reduce span to 0xc0 */ |
| 1073 | | steer = ((ioport("STEER")->read() - 0x80) * 0xc0) / 0x100; |
| 1074 | | |
| 1075 | | } |
| 1076 | | else /* Digital steer */ |
| 1077 | | { |
| 1078 | | if (fake & 0x04) |
| 1079 | | { |
| 1080 | | steer = 0x60; |
| 1081 | | } |
| 1082 | | else if (fake & 0x08) |
| 1083 | | { |
| 1084 | | steer = 0xff9f; |
| 1085 | | } |
| 1086 | | } |
| 1087 | | |
| 1088 | 1130 | switch (port) |
| 1089 | 1131 | { |
| 1090 | 1132 | case 0x08: |
| r15413 | r15414 | |
| 1104 | 1146 | /* Bypass TC0220IOC controller for extra inputs */ |
| 1105 | 1147 | |
| 1106 | 1148 | UINT8 port = tc0220ioc_port_r(m_tc0220ioc, 0); /* read port number */ |
| 1107 | | int steer = 0; |
| 1108 | | int fake = ioport("FAKE")->read(); |
| 1149 | UINT16 steer = 0xff80 + ioport("STEER")->read_safe(0x80); |
| 1109 | 1150 | |
| 1110 | | if (!(fake & 0x10)) /* Analogue steer (the real control method) */ |
| 1111 | | { |
| 1112 | | /* center around zero */ |
| 1113 | | steer = ioport("STEER")->read() - 0x80; |
| 1114 | | } |
| 1115 | | else /* Digital steer */ |
| 1116 | | { |
| 1117 | | if (fake & 0x04) |
| 1118 | | { |
| 1119 | | steer = 0xff80; |
| 1120 | | } |
| 1121 | | else if (fake & 0x08) |
| 1122 | | { |
| 1123 | | steer = 0x7f; |
| 1124 | | } |
| 1125 | | } |
| 1126 | | |
| 1127 | 1151 | switch (port) |
| 1128 | 1152 | { |
| 1129 | 1153 | case 0x08: |
| r15413 | r15414 | |
| 1209 | 1233 | |
| 1210 | 1234 | READ16_MEMBER(taitoz_state::sci_steer_input_r) |
| 1211 | 1235 | { |
| 1212 | | int steer = 0; |
| 1213 | | int fake = ioport("FAKE")->read(); |
| 1236 | UINT16 steer = 0xff80 + ioport("STEER")->read_safe(0x80); |
| 1214 | 1237 | |
| 1215 | | if (!(fake & 0x10)) /* Analogue steer (the real control method) */ |
| 1216 | | { |
| 1217 | | /* center around zero and reduce span to 0xc0 */ |
| 1218 | | steer = ((ioport("STEER")->read() - 0x80) * 0xc0) / 0x100; |
| 1219 | | } |
| 1220 | | else /* Digital steer */ |
| 1221 | | { |
| 1222 | | if (fake & 0x04) |
| 1223 | | { |
| 1224 | | steer = 0xffa0; |
| 1225 | | } |
| 1226 | | else if (fake & 0x08) |
| 1227 | | { |
| 1228 | | steer = 0x5f; |
| 1229 | | } |
| 1230 | | } |
| 1231 | | |
| 1232 | 1238 | switch (offset) |
| 1233 | 1239 | { |
| 1234 | 1240 | case 0x04: |
| r15413 | r15414 | |
| 1246 | 1252 | |
| 1247 | 1253 | READ16_MEMBER(taitoz_state::spacegun_input_bypass_r) |
| 1248 | 1254 | { |
| 1249 | | |
| 1250 | 1255 | switch (offset) |
| 1251 | 1256 | { |
| 1252 | 1257 | case 0x03: |
| r15413 | r15414 | |
| 1299 | 1304 | |
| 1300 | 1305 | READ16_MEMBER(taitoz_state::dblaxle_steer_input_r) |
| 1301 | 1306 | { |
| 1302 | | int steer = 0; |
| 1303 | | int fake = ioport("FAKE")->read(); |
| 1307 | UINT16 steer = 0xff80 + ioport("STEER")->read_safe(0x80); |
| 1304 | 1308 | |
| 1305 | | if (!(fake & 0x10)) /* Analogue steer (the real control method) */ |
| 1306 | | { |
| 1307 | | /* center around zero and reduce span to 0x80 */ |
| 1308 | | steer = ((ioport("STEER")->read() - 0x80) * 0x80) / 0x100; |
| 1309 | | } |
| 1310 | | else /* Digital steer */ |
| 1311 | | { |
| 1312 | | if (fake & 0x04) |
| 1313 | | { |
| 1314 | | steer = 0xffc0; |
| 1315 | | } |
| 1316 | | else if (fake & 0x08) |
| 1317 | | { |
| 1318 | | steer = 0x3f; |
| 1319 | | } |
| 1320 | | } |
| 1321 | | |
| 1322 | 1309 | switch (offset) |
| 1323 | 1310 | { |
| 1324 | 1311 | case 0x04: |
| r15413 | r15414 | |
| 1345 | 1332 | return 0x55; /* motor cpu status ? */ |
| 1346 | 1333 | |
| 1347 | 1334 | default: |
| 1348 | | logerror("CPU #0 PC %06x: warning - read motor cpu %03x\n",cpu_get_pc(&space.device()),offset); |
| 1335 | logerror("CPU #0 PC %06x: warning - read motor cpu %03x\n",cpu_get_pc(&space.device()),offset); |
| 1349 | 1336 | return 0; |
| 1350 | 1337 | } |
| 1351 | 1338 | } |
| r15413 | r15414 | |
| 1355 | 1342 | /* Writes $e00000-25 and $e00200-219 */ |
| 1356 | 1343 | switch (offset) |
| 1357 | 1344 | { |
| 1358 | | case 0x0: |
| 1359 | | break; |
| 1360 | | case 0x101: |
| 1361 | | /* outputs will go here, but driver is still broken */ |
| 1362 | | break; |
| 1345 | case 0x0: |
| 1346 | break; |
| 1347 | |
| 1348 | case 0x101: |
| 1349 | /* outputs will go here, but driver is still broken */ |
| 1350 | break; |
| 1363 | 1351 | } |
| 1364 | | logerror("CPU #0 PC %06x: warning - write %04x to motor cpu %03x\n",cpu_get_pc(&space.device()),data,offset); |
| 1365 | | |
| 1352 | |
| 1353 | logerror("CPU #0 PC %06x: warning - write %04x to motor cpu %03x\n",cpu_get_pc(&space.device()),data,offset); |
| 1366 | 1354 | } |
| 1367 | 1355 | |
| 1368 | 1356 | |
| 1369 | 1357 | WRITE16_MEMBER(taitoz_state::nightstr_motor_w) |
| 1370 | 1358 | { |
| 1371 | | |
| 1372 | 1359 | /* Despite the informative notes at the top, the high end of the word doesn't seem to output any useful data. */ |
| 1373 | 1360 | /* I've added this so someone else can finish it. */ |
| 1374 | 1361 | switch (offset) |
| r15413 | r15414 | |
| 1388 | 1375 | output_set_value("Motor_2_Speed",(data & 60)/4); |
| 1389 | 1376 | |
| 1390 | 1377 | break; |
| 1378 | |
| 1391 | 1379 | case 8: |
| 1392 | 1380 | output_set_value("Motor_3_Direction",0); |
| 1393 | 1381 | if (data & 1) output_set_value("Motor_3_Direction",1); |
| r15413 | r15414 | |
| 1395 | 1383 | output_set_value("Motor_3_Speed",(data & 60)/4); |
| 1396 | 1384 | |
| 1397 | 1385 | break; |
| 1386 | |
| 1398 | 1387 | default: |
| 1399 | 1388 | output_set_value("motor_debug",data); |
| 1389 | break; |
| 1400 | 1390 | } |
| 1401 | 1391 | |
| 1402 | 1392 | } |
| r15413 | r15414 | |
| 1422 | 1412 | |
| 1423 | 1413 | WRITE8_MEMBER(taitoz_state::sound_bankswitch_w) |
| 1424 | 1414 | { |
| 1425 | | |
| 1426 | 1415 | m_banknum = data & 7; |
| 1427 | 1416 | reset_sound_region(machine()); |
| 1428 | 1417 | } |
| 1429 | 1418 | |
| 1430 | 1419 | WRITE16_MEMBER(taitoz_state::taitoz_sound_w) |
| 1431 | 1420 | { |
| 1432 | | |
| 1433 | 1421 | if (offset == 0) |
| 1434 | 1422 | tc0140syt_port_w(m_tc0140syt, 0, data & 0xff); |
| 1435 | 1423 | else if (offset == 1) |
| r15413 | r15414 | |
| 1448 | 1436 | |
| 1449 | 1437 | READ16_MEMBER(taitoz_state::taitoz_sound_r) |
| 1450 | 1438 | { |
| 1451 | | |
| 1452 | 1439 | if (offset == 1) |
| 1453 | 1440 | return (tc0140syt_comm_r(m_tc0140syt, 0) & 0xff); |
| 1454 | 1441 | else |
| r15413 | r15414 | |
| 1458 | 1445 | #if 0 |
| 1459 | 1446 | WRITE16_MEMBER(taitoz_state::taitoz_msb_sound_w) |
| 1460 | 1447 | { |
| 1461 | | |
| 1462 | 1448 | if (offset == 0) |
| 1463 | 1449 | tc0140syt_port_w(m_tc0140syt, 0, (data >> 8) & 0xff); |
| 1464 | 1450 | else if (offset == 1) |
| r15413 | r15414 | |
| 1477 | 1463 | |
| 1478 | 1464 | READ16_MEMBER(taitoz_state::taitoz_msb_sound_r) |
| 1479 | 1465 | { |
| 1480 | | |
| 1481 | 1466 | if (offset == 1) |
| 1482 | 1467 | return ((tc0140syt_comm_r(m_tc0140syt, 0) & 0xff) << 8); |
| 1483 | 1468 | else |
| r15413 | r15414 | |
| 1490 | 1475 | WRITE8_MEMBER(taitoz_state::taitoz_pancontrol) |
| 1491 | 1476 | { |
| 1492 | 1477 | static const char *const fltname[] = { "2610.1.r", "2610.1.l", "2610.2.r", "2610.2.l" }; |
| 1493 | | |
| 1494 | | offset = offset & 3; |
| 1495 | | |
| 1496 | | // m_pandata[offset] = data; |
| 1497 | | // popmessage(" pan %02x %02x %02x %02x", m_pandata[0], m_pandata[1], m_pandata[2], m_pandata[3] ); |
| 1498 | | |
| 1499 | 1478 | flt_volume_set_volume(machine().device(fltname[offset & 3]), data / 255.0f); |
| 1500 | 1479 | } |
| 1501 | 1480 | |
| r15413 | r15414 | |
| 1540 | 1519 | AM_RANGE(0x10c000, 0x10ffff) AM_RAM |
| 1541 | 1520 | AM_RANGE(0x400000, 0x400001) AM_READ8(chasehq_input_bypass_r, 0x00ff) AM_DEVWRITE8_LEGACY("tc0220ioc", tc0220ioc_portreg_w, 0x00ff) |
| 1542 | 1521 | AM_RANGE(0x400002, 0x400003) AM_DEVREADWRITE8_LEGACY("tc0220ioc", tc0220ioc_port_r, tc0220ioc_port_w, 0x00ff) |
| 1543 | | AM_RANGE(0x800000, 0x800001) AM_WRITE(cpua_ctrl_w) |
| 1522 | AM_RANGE(0x800000, 0x800001) AM_WRITE(chasehq_cpua_ctrl_w) |
| 1544 | 1523 | AM_RANGE(0x820000, 0x820003) AM_READWRITE(taitoz_sound_r, taitoz_sound_w) |
| 1545 | 1524 | AM_RANGE(0xa00000, 0xa00007) AM_DEVREADWRITE_LEGACY("tc0110pcr", tc0110pcr_word_r, tc0110pcr_step1_word_w) /* palette */ |
| 1546 | 1525 | AM_RANGE(0xc00000, 0xc0ffff) AM_DEVREADWRITE_LEGACY("tc0100scn", tc0100scn_word_r, tc0100scn_word_w) /* tilemaps */ |
| r15413 | r15414 | |
| 1719 | 1698 | AM_RANGE(0x210000, 0x21ffff) AM_RAM AM_SHARE("share1") |
| 1720 | 1699 | AM_RANGE(0x400000, 0x40000f) AM_DEVREADWRITE_LEGACY("tc0510nio", tc0510nio_halfword_wordswap_r, tc0510nio_halfword_wordswap_w) |
| 1721 | 1700 | AM_RANGE(0x400010, 0x40001f) AM_READ(dblaxle_steer_input_r) |
| 1722 | | AM_RANGE(0x600000, 0x600001) AM_WRITE(cpua_ctrl_w) /* could this be causing int6 ? */ |
| 1701 | AM_RANGE(0x600000, 0x600001) AM_WRITE(dblaxle_cpua_ctrl_w) /* could this be causing int6 ? */ |
| 1723 | 1702 | AM_RANGE(0x620000, 0x620003) AM_READWRITE(taitoz_sound_r, taitoz_sound_w) |
| 1724 | 1703 | AM_RANGE(0x800000, 0x801fff) AM_RAM_WRITE(paletteram_xBBBBBGGGGGRRRRR_word_w) AM_SHARE("paletteram") |
| 1725 | 1704 | AM_RANGE(0x900000, 0x90ffff) AM_DEVREADWRITE_LEGACY("tc0480scp", tc0480scp_word_r, tc0480scp_word_w) /* tilemap mirror */ |
| r15413 | r15414 | |
| 1913 | 1892 | PORT_DIPSETTING( 0x7d, "-03" ) \ |
| 1914 | 1893 | PORT_DIPSETTING( 0x7e, "-02" ) \ |
| 1915 | 1894 | PORT_DIPSETTING( 0x7f, "-01" ) \ |
| 1916 | | PORT_DIPSETTING( 0x80, "+-00" ) \ |
| 1895 | PORT_DIPSETTING( 0x80, "+00" ) \ |
| 1917 | 1896 | PORT_DIPSETTING( 0x81, "+01" ) \ |
| 1918 | 1897 | PORT_DIPSETTING( 0x82, "+02" ) \ |
| 1919 | 1898 | PORT_DIPSETTING( 0x83, "+03" ) \ |
| r15413 | r15414 | |
| 2045 | 2024 | |
| 2046 | 2025 | static INPUT_PORTS_START( contcirc ) |
| 2047 | 2026 | PORT_START("DSWA") |
| 2048 | | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW A:1") |
| 2049 | | PORT_DIPSETTING( 0x01, DEF_STR( Upright ) ) |
| 2050 | | PORT_DIPSETTING( 0x00, "Cockpit" ) // analogue accelerator pedal |
| 2051 | | PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW A:2" ) |
| 2027 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW A:1") |
| 2028 | PORT_DIPSETTING( 0x01, "Cockpit" ) // analog pedals |
| 2029 | PORT_DIPSETTING( 0x00, DEF_STR( Upright ) ) // digital pedals, no brake?, allow free steering wheel |
| 2030 | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Continue_Price ) ) PORT_DIPLOCATION("SW A:2") |
| 2031 | PORT_DIPSETTING( 0x02, "Same as Start" ) |
| 2032 | PORT_DIPSETTING( 0x00, "Discount" ) |
| 2052 | 2033 | PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) |
| 2053 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2034 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2054 | 2035 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2055 | 2036 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| 2056 | 2037 | TAITO_COINAGE_WORLD_LOC(SW A) |
| 2057 | 2038 | |
| 2058 | 2039 | PORT_START("DSWB") |
| 2059 | | PORT_DIPNAME( 0x03, 0x03, "Difficulty 1 (time/speed)" ) PORT_DIPLOCATION("SW B:1,2") |
| 2040 | PORT_DIPNAME( 0x03, 0x03, "Difficulty 1 (time/speed)" ) PORT_DIPLOCATION("SW B:1,2") |
| 2060 | 2041 | PORT_DIPSETTING( 0x02, DEF_STR( Easy ) ) |
| 2061 | 2042 | PORT_DIPSETTING( 0x03, DEF_STR( Normal ) ) |
| 2062 | 2043 | PORT_DIPSETTING( 0x01, DEF_STR( Hard ) ) |
| 2063 | 2044 | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 2064 | | PORT_DIPNAME( 0x0c, 0x0c, "Difficulty 2 (other cars)" ) PORT_DIPLOCATION("SW B:3,4") |
| 2045 | PORT_DIPNAME( 0x0c, 0x0c, "Difficulty 2 (other cars)" ) PORT_DIPLOCATION("SW B:3,4") |
| 2065 | 2046 | PORT_DIPSETTING( 0x08, DEF_STR( Easy ) ) |
| 2066 | 2047 | PORT_DIPSETTING( 0x0c, DEF_STR( Normal ) ) |
| 2067 | 2048 | PORT_DIPSETTING( 0x04, DEF_STR( Hard ) ) |
| 2068 | 2049 | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 2069 | | PORT_DIPNAME( 0x10, 0x10, "Steering wheel" ) PORT_DIPLOCATION("SW B:5") //not sure what effect this has |
| 2050 | PORT_DIPNAME( 0x10, 0x00, "Steering Wheel" ) PORT_DIPLOCATION("SW B:5") // no function in Cockpit cabinet? |
| 2070 | 2051 | PORT_DIPSETTING( 0x10, "Free" ) |
| 2071 | 2052 | PORT_DIPSETTING( 0x00, "Locked" ) |
| 2072 | | PORT_DIPNAME( 0x20, 0x00, "Enable 3d alternate frames" ) PORT_DIPLOCATION("SW B:6") |
| 2053 | PORT_DIPNAME( 0x20, 0x00, "3D Effect" ) PORT_DIPLOCATION("SW B:6") // unlisted in manual |
| 2073 | 2054 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2074 | 2055 | PORT_DIPSETTING( 0x20, DEF_STR( On ) ) |
| 2075 | 2056 | PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW B:7" ) |
| r15413 | r15414 | |
| 2081 | 2062 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN2 ) |
| 2082 | 2063 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_COIN1 ) |
| 2083 | 2064 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 2084 | | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_PLAYER(1) /* 3 for accel [7 levels] */ |
| 2085 | | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_PLAYER(1) |
| 2086 | | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(1) /* main accel key */ |
| 2065 | PORT_BIT( 0xe0, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, taitoz_state, taitoz_pedal_r, "GAS") PORT_CONDITION("DSWA", 0x01, EQUALS, 0x01) |
| 2066 | PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Gas Switch") PORT_CONDITION("DSWA", 0x01, EQUALS, 0x00) |
| 2087 | 2067 | |
| 2088 | | PORT_START("IN1") /* b3 not mapped: standardized on holding b4=lo gear */ |
| 2068 | PORT_START("IN1") |
| 2089 | 2069 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2090 | 2070 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2091 | 2071 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT ) |
| 2092 | 2072 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) |
| 2093 | | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_PLAYER(1) PORT_TOGGLE /* gear shift lo/hi */ |
| 2094 | | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_PLAYER(1) /* 3 for brake [7 levels] */ |
| 2095 | | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_PLAYER(1) |
| 2096 | | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(1) /* main brake key */ |
| 2073 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("Shifter") PORT_TOGGLE |
| 2074 | 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) |
| 2075 | PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Brake Switch") PORT_CONDITION("DSWA", 0x01, EQUALS, 0x00) // no function? |
| 2097 | 2076 | |
| 2098 | 2077 | PORT_START("IN2") /* unused */ |
| 2099 | 2078 | PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2100 | 2079 | |
| 2101 | | PORT_START("STEER") /* "handle" i.e. steering */ |
| 2102 | | PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_SENSITIVITY(50) PORT_KEYDELTA(15) PORT_REVERSE PORT_PLAYER(1) |
| 2080 | PORT_START("STEER") |
| 2081 | PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_MINMAX(0x20, 0xe0) PORT_SENSITIVITY(100) PORT_KEYDELTA(4) PORT_REVERSE PORT_NAME("Steering Wheel") PORT_CONDITION("DSWB", 0x10, EQUALS, 0x00) |
| 2082 | PORT_BIT( 0xffff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(100) PORT_KEYDELTA(2) PORT_REVERSE PORT_NAME("Steering Wheel") PORT_CONDITION("DSWB", 0x10, EQUALS, 0x10) |
| 2103 | 2083 | |
| 2104 | | PORT_START("FAKE") /* fake allowing digital steer */ |
| 2105 | | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_PLAYER(1) |
| 2106 | | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_PLAYER(1) |
| 2107 | | PORT_DIPNAME( 0x10, 0x00, "Steering type" ) |
| 2108 | | PORT_DIPSETTING( 0x10, "Digital" ) |
| 2109 | | PORT_DIPSETTING( 0x00, "Analogue" ) |
| 2084 | PORT_START("GAS") |
| 2085 | PORT_BIT( 0x07, 0x00, IPT_PEDAL ) PORT_SENSITIVITY(25) PORT_KEYDELTA(1) PORT_NAME("Gas Pedal") PORT_CONDITION("DSWA", 0x01, EQUALS, 0x01) |
| 2086 | |
| 2087 | PORT_START("BRAKE") |
| 2088 | PORT_BIT( 0x07, 0x00, IPT_PEDAL2 ) PORT_SENSITIVITY(25) PORT_KEYDELTA(1) PORT_NAME("Brake Pedal") PORT_CONDITION("DSWA", 0x01, EQUALS, 0x01) |
| 2110 | 2089 | INPUT_PORTS_END |
| 2111 | 2090 | |
| 2112 | 2091 | static INPUT_PORTS_START( contcrcu ) |
| r15413 | r15414 | |
| 2118 | 2097 | |
| 2119 | 2098 | static INPUT_PORTS_START( chasehq ) // IN3-6 perhaps used with cockpit setup? // |
| 2120 | 2099 | PORT_START("DSWA") |
| 2121 | | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW A:1,2") /* US Manual states DIPS 1 & 2 "MUST REMAIN OFF" */ |
| 2122 | | PORT_DIPSETTING( 0x03, "Upright / Steering Lock" ) |
| 2123 | | PORT_DIPSETTING( 0x02, "Upright / No Steering Lock" ) |
| 2124 | | PORT_DIPSETTING( 0x01, "Full Throttle Convert, Cockpit" ) |
| 2125 | | PORT_DIPSETTING( 0x00, "Full Throttle Convert, Deluxe" ) |
| 2100 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW A:1,2") /* US Manual states DIPS 1 & 2 "MUST REMAIN OFF" */ |
| 2101 | PORT_DIPSETTING( 0x03, "Upright / Steering Lock" ) // digital pedals, locked steering wheel |
| 2102 | PORT_DIPSETTING( 0x02, "Upright / No Steering Lock" ) // digital pedals, free steering wheel |
| 2103 | PORT_DIPSETTING( 0x01, "Full Throttle Convert, Cockpit" ) // analog pedals, locked steering wheel |
| 2104 | PORT_DIPSETTING( 0x00, "Full Throttle Convert, Deluxe" ) // analog pedals, locked steering wheel, motor |
| 2126 | 2105 | PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) |
| 2127 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2106 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2128 | 2107 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2129 | 2108 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| 2130 | 2109 | TAITO_COINAGE_WORLD_LOC(SW A) |
| 2131 | 2110 | |
| 2132 | 2111 | PORT_START("DSWB") |
| 2133 | 2112 | TAITO_DIFFICULTY_LOC(SW B) |
| 2134 | | PORT_DIPNAME( 0x0c, 0x0c, "Timer Setting" ) PORT_DIPLOCATION("SW B:3,4") |
| 2113 | PORT_DIPNAME( 0x0c, 0x0c, "Timer Setting" ) PORT_DIPLOCATION("SW B:3,4") |
| 2135 | 2114 | PORT_DIPSETTING( 0x08, "70 Seconds" ) |
| 2136 | 2115 | PORT_DIPSETTING( 0x04, "65 Seconds" ) |
| 2137 | 2116 | PORT_DIPSETTING( 0x0c, "60 Seconds" ) |
| 2138 | 2117 | PORT_DIPSETTING( 0x00, "55 Seconds" ) |
| 2139 | | PORT_DIPNAME( 0x10, 0x10, "Turbos Stocked" ) PORT_DIPLOCATION("SW B:5") |
| 2118 | PORT_DIPNAME( 0x10, 0x10, "Turbos Stocked" ) PORT_DIPLOCATION("SW B:5") |
| 2140 | 2119 | PORT_DIPSETTING( 0x10, "3" ) |
| 2141 | 2120 | PORT_DIPSETTING( 0x00, "5" ) |
| 2142 | | PORT_DIPNAME( 0x20, 0x20, "Discounted Continue Play" ) PORT_DIPLOCATION("SW B:6") /* Full coin price to start, 1 coin to continue */ |
| 2143 | | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 2144 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2145 | | PORT_DIPNAME( 0x40, 0x40, "Damage Cleared at Continue" ) PORT_DIPLOCATION("SW B:7") |
| 2121 | PORT_DIPNAME( 0x20, 0x20, DEF_STR( Continue_Price ) ) PORT_DIPLOCATION("SW B:6") |
| 2122 | PORT_DIPSETTING( 0x20, "Same as Start" ) |
| 2123 | PORT_DIPSETTING( 0x00, "Discount" ) |
| 2124 | PORT_DIPNAME( 0x40, 0x40, "Clear Damage on Continue" ) PORT_DIPLOCATION("SW B:7") |
| 2146 | 2125 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2147 | 2126 | PORT_DIPSETTING( 0x40, DEF_STR( On ) ) |
| 2148 | | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SW B:8") |
| 2127 | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SW B:8") |
| 2149 | 2128 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2150 | 2129 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) |
| 2151 | 2130 | |
| r15413 | r15414 | |
| 2155 | 2134 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) |
| 2156 | 2135 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_COIN2 ) |
| 2157 | 2136 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 2158 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) /* brake */ |
| 2159 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2160 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2137 | PORT_BIT( 0xe0, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, taitoz_state, taitoz_pedal_r, "BRAKE") PORT_CONDITION("DSWA", 0x02, EQUALS, 0x00) |
| 2138 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Brake Switch") PORT_CONDITION("DSWA", 0x02, EQUALS, 0x02) |
| 2161 | 2139 | |
| 2162 | 2140 | PORT_START("IN1") |
| 2163 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) /* turbo */ |
| 2141 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Turbo") |
| 2164 | 2142 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_TILT ) |
| 2165 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2143 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Calibrate") // ? |
| 2166 | 2144 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) |
| 2167 | | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_PLAYER(1) PORT_TOGGLE /* gear */ |
| 2168 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) /* accel */ |
| 2169 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2170 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2145 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Shifter") PORT_TOGGLE |
| 2146 | 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) |
| 2147 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Gas Switch") PORT_CONDITION("DSWA", 0x02, EQUALS, 0x02) |
| 2171 | 2148 | |
| 2172 | 2149 | PORT_START("IN2") /* unused */ |
| 2173 | 2150 | PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) |
| r15413 | r15414 | |
| 2212 | 2189 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2213 | 2190 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2214 | 2191 | |
| 2215 | | PORT_START("STEER") /* steering */ |
| 2216 | | PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_SENSITIVITY(50) PORT_KEYDELTA(15) PORT_PLAYER(1) |
| 2192 | PORT_START("STEER") |
| 2193 | PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_MINMAX(0x20, 0xe0) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_NAME("Steering Wheel") PORT_CONDITION("DSWA", 0x03, NOTEQUALS, 0x02) |
| 2194 | PORT_BIT( 0xffff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(100) PORT_KEYDELTA(2) PORT_NAME("Steering Wheel") PORT_CONDITION("DSWA", 0x03, EQUALS, 0x02) |
| 2217 | 2195 | |
| 2218 | | PORT_START("FAKE") /* fake allowing digital steer */ |
| 2219 | | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_PLAYER(1) |
| 2220 | | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_PLAYER(1) |
| 2221 | | PORT_DIPNAME( 0x10, 0x00, "Steering type" ) |
| 2222 | | PORT_DIPSETTING( 0x10, "Digital" ) |
| 2223 | | PORT_DIPSETTING( 0x00, "Analogue" ) |
| 2196 | PORT_START("GAS") |
| 2197 | PORT_BIT( 0x07, 0x00, IPT_PEDAL ) PORT_SENSITIVITY(25) PORT_KEYDELTA(1) PORT_NAME("Gas Pedal") PORT_CONDITION("DSWA", 0x02, EQUALS, 0x00) |
| 2198 | |
| 2199 | PORT_START("BRAKE") |
| 2200 | PORT_BIT( 0x07, 0x00, IPT_PEDAL2 ) PORT_SENSITIVITY(25) PORT_KEYDELTA(1) PORT_NAME("Brake Pedal") PORT_CONDITION("DSWA", 0x02, EQUALS, 0x00) |
| 2224 | 2201 | INPUT_PORTS_END |
| 2225 | 2202 | |
| 2226 | 2203 | static INPUT_PORTS_START( chasehqj ) |
| r15413 | r15414 | |
| 2399 | 2376 | |
| 2400 | 2377 | static INPUT_PORTS_START( sci ) |
| 2401 | 2378 | PORT_START("DSWA") |
| 2402 | | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW A:1") |
| 2379 | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW A:1") |
| 2403 | 2380 | PORT_DIPSETTING( 0x01, "Cockpit" ) |
| 2404 | 2381 | PORT_DIPSETTING( 0x00, DEF_STR( Upright ) ) |
| 2405 | 2382 | PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW A:2" ) /* Manual states "MUST REMAIN OFF" */ |
| 2406 | 2383 | PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) |
| 2407 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2384 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2408 | 2385 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2409 | 2386 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| 2410 | 2387 | TAITO_COINAGE_WORLD_LOC(SW A) |
| 2411 | 2388 | |
| 2412 | 2389 | PORT_START("DSWB") |
| 2413 | 2390 | TAITO_DIFFICULTY_LOC(SW B) |
| 2414 | | PORT_DIPNAME( 0x0c, 0x0c, "Timer Setting" ) PORT_DIPLOCATION("SW B:3,4") |
| 2391 | PORT_DIPNAME( 0x0c, 0x0c, "Timer Setting" ) PORT_DIPLOCATION("SW B:3,4") |
| 2415 | 2392 | PORT_DIPSETTING( 0x08, "70 Seconds" ) |
| 2416 | 2393 | PORT_DIPSETTING( 0x04, "65 Seconds" ) |
| 2417 | 2394 | PORT_DIPSETTING( 0x0c, "60 Seconds" ) |
| 2418 | 2395 | PORT_DIPSETTING( 0x00, "55 Seconds" ) |
| 2419 | | PORT_DIPNAME( 0x10, 0x10, "Turbos Stocked" ) PORT_DIPLOCATION("SW B:5") |
| 2396 | PORT_DIPNAME( 0x10, 0x10, "Turbos Stocked" ) PORT_DIPLOCATION("SW B:5") |
| 2420 | 2397 | PORT_DIPSETTING( 0x10, "3" ) |
| 2421 | 2398 | PORT_DIPSETTING( 0x00, "5" ) |
| 2422 | | PORT_DIPNAME( 0x20, 0x20, "Steering Radius" ) PORT_DIPLOCATION("SW B:6") |
| 2399 | PORT_DIPNAME( 0x20, 0x20, "Steering Radius" ) PORT_DIPLOCATION("SW B:6") |
| 2423 | 2400 | PORT_DIPSETTING( 0x00, "270 Degree" ) |
| 2424 | 2401 | PORT_DIPSETTING( 0x20, "360 Degree" ) |
| 2425 | | PORT_DIPNAME( 0x40, 0x40, "Damage Cleared at Continue" ) PORT_DIPLOCATION("SW B:7") |
| 2402 | PORT_DIPNAME( 0x40, 0x40, "Clear Damage on Continue" ) PORT_DIPLOCATION("SW B:7") |
| 2426 | 2403 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2427 | 2404 | PORT_DIPSETTING( 0x40, DEF_STR( On ) ) |
| 2428 | | PORT_DIPNAME( 0x80, 0x80, "Siren Volume" ) PORT_DIPLOCATION("SW B:8") |
| 2405 | PORT_DIPNAME( 0x80, 0x80, "Siren Volume" ) PORT_DIPLOCATION("SW B:8") |
| 2429 | 2406 | PORT_DIPSETTING( 0x80, DEF_STR( Normal ) ) |
| 2430 | 2407 | PORT_DIPSETTING( 0x00, DEF_STR( Low ) ) |
| 2431 | 2408 | |
| 2432 | 2409 | PORT_START("IN0") |
| 2433 | 2410 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2434 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) /* fire */ |
| 2411 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Gun Trigger") |
| 2435 | 2412 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 2436 | 2413 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 2437 | 2414 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 2438 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) /* brake */ |
| 2415 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Brake Switch") |
| 2439 | 2416 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2440 | 2417 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2441 | 2418 | |
| 2442 | 2419 | PORT_START("IN1") |
| 2443 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_PLAYER(1) /* turbo */ |
| 2420 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Turbo") |
| 2444 | 2421 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_TILT ) |
| 2445 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_PLAYER(1) /* "center" */ |
| 2422 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Center") |
| 2446 | 2423 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) |
| 2447 | | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_PLAYER(1) PORT_TOGGLE /* gear */ |
| 2448 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) /* accel */ |
| 2424 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Shifter") PORT_TOGGLE |
| 2425 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Gas Switch") |
| 2449 | 2426 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2450 | 2427 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2451 | 2428 | |
| r15413 | r15414 | |
| 2453 | 2430 | PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2454 | 2431 | |
| 2455 | 2432 | PORT_START("STEER") /* steering */ |
| 2456 | | PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_SENSITIVITY(50) PORT_KEYDELTA(15) PORT_PLAYER(1) |
| 2457 | | |
| 2458 | | PORT_START("FAKE") /* fake allowing digital steer */ |
| 2459 | | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_PLAYER(1) |
| 2460 | | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_PLAYER(1) |
| 2461 | | PORT_DIPNAME( 0x10, 0x00, "Steering type" ) |
| 2462 | | PORT_DIPSETTING( 0x10, "Digital" ) |
| 2463 | | PORT_DIPSETTING( 0x00, "Analogue" ) |
| 2433 | PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_MINMAX(0x20, 0xe0) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_NAME("Steering Wheel") |
| 2464 | 2434 | INPUT_PORTS_END |
| 2465 | 2435 | |
| 2466 | 2436 | static INPUT_PORTS_START( sciu ) |
| r15413 | r15414 | |
| 2728 | 2698 | static INPUT_PORTS_START( dblaxle ) |
| 2729 | 2699 | PORT_START("DSWA") |
| 2730 | 2700 | PORT_DIPUNUSED_DIPLOC( 0x01, 0x01, "SW A:1" ) |
| 2731 | | PORT_DIPNAME( 0x02, 0x02, "Gear shift" ) PORT_DIPLOCATION("SW A:2") |
| 2701 | PORT_DIPNAME( 0x02, 0x02, "Gear shift" ) PORT_DIPLOCATION("SW A:2") |
| 2732 | 2702 | PORT_DIPSETTING( 0x02, DEF_STR( Normal ) ) |
| 2733 | 2703 | PORT_DIPSETTING( 0x00, "Inverted" ) |
| 2734 | 2704 | PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) |
| 2735 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2705 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2736 | 2706 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2737 | 2707 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| 2738 | 2708 | TAITO_COINAGE_US_LOC(SW A) |
| 2739 | 2709 | |
| 2740 | 2710 | PORT_START("DSWB") |
| 2741 | 2711 | TAITO_DIFFICULTY_LOC(SW B) |
| 2742 | | PORT_DIPNAME( 0x04, 0x00, "Multi-machine hookup ?" ) PORT_DIPLOCATION("SW B:3") // doesn't boot if on |
| 2712 | PORT_DIPNAME( 0x04, 0x00, "Network?" ) PORT_DIPLOCATION("SW B:3") // doesn't boot if on |
| 2743 | 2713 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2744 | 2714 | PORT_DIPSETTING( 0x04, DEF_STR( On ) ) |
| 2745 | | PORT_DIPNAME( 0x08, 0x08, "Player Truck" ) PORT_DIPLOCATION("SW B:4") |
| 2715 | PORT_DIPNAME( 0x08, 0x08, "Player Truck" ) PORT_DIPLOCATION("SW B:4") |
| 2746 | 2716 | PORT_DIPSETTING( 0x08, "Red" ) |
| 2747 | 2717 | PORT_DIPSETTING( 0x00, "Blue" ) |
| 2748 | | PORT_DIPNAME( 0x10, 0x10, "Back button" ) PORT_DIPLOCATION("SW B:5") |
| 2718 | PORT_DIPNAME( 0x10, 0x10, "Back button" ) PORT_DIPLOCATION("SW B:5") |
| 2749 | 2719 | PORT_DIPSETTING( 0x10, DEF_STR( Normal ) ) |
| 2750 | 2720 | PORT_DIPSETTING( 0x00, "Inverted" ) |
| 2751 | | PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "SW B:6" ) // causes "Root CPU Error" on "Icy Road" (Tourniquet) |
| 2721 | PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "SW B:6" ) // causes "Root CPU Error" on "Icy Road" (Tourniquet) |
| 2752 | 2722 | PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW B:7" ) |
| 2753 | 2723 | PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW B:8" ) |
| 2754 | 2724 | |
| 2755 | 2725 | PORT_START("IN0") |
| 2756 | 2726 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2757 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1) PORT_TOGGLE /* shift */ |
| 2727 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Shifter") PORT_TOGGLE |
| 2758 | 2728 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 2759 | 2729 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 2760 | 2730 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 2761 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) /* brake */ |
| 2731 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Brake Switch") |
| 2762 | 2732 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2763 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_PLAYER(1) /* "back" */ |
| 2733 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Reverse") |
| 2764 | 2734 | |
| 2765 | 2735 | PORT_START("IN1") |
| 2766 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) /* nitro */ |
| 2736 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Nitro") |
| 2767 | 2737 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_TILT ) |
| 2768 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_PLAYER(1) /* "center" */ |
| 2738 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Center") |
| 2769 | 2739 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) |
| 2770 | 2740 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2771 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) /* accel */ |
| 2741 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Gas Switch") |
| 2772 | 2742 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2773 | 2743 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2774 | 2744 | |
| 2775 | 2745 | PORT_START("IN2") /* unused */ |
| 2776 | 2746 | PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2777 | 2747 | |
| 2778 | | PORT_START("STEER") /* steering */ |
| 2779 | | PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_SENSITIVITY(40) PORT_KEYDELTA(10) PORT_PLAYER(1) |
| 2780 | | |
| 2781 | | PORT_START("FAKE") /* fake allowing digital steer */ |
| 2782 | | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_PLAYER(1) |
| 2783 | | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_PLAYER(1) |
| 2784 | | PORT_DIPNAME( 0x10, 0x00, "Steering type" ) |
| 2785 | | PORT_DIPSETTING( 0x10, "Digital" ) |
| 2786 | | PORT_DIPSETTING( 0x00, "Analogue" ) |
| 2748 | PORT_START("STEER") |
| 2749 | PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_MINMAX(0x40, 0xc0) PORT_SENSITIVITY(100) PORT_KEYDELTA(4) PORT_NAME("Steering Wheel") |
| 2787 | 2750 | INPUT_PORTS_END |
| 2788 | 2751 | |
| 2789 | 2752 | static INPUT_PORTS_START( pwheelsj ) |
| r15413 | r15414 | |
| 2793 | 2756 | TAITO_COINAGE_JAPAN_OLD_LOC(SW A) |
| 2794 | 2757 | INPUT_PORTS_END |
| 2795 | 2758 | |
| 2759 | static INPUT_PORTS_START( racingb ) |
| 2760 | PORT_START("DSWA") |
| 2761 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW A:1") // don't know what is what |
| 2762 | PORT_DIPSETTING( 0x00, "Type 0" ) // free steering wheel |
| 2763 | PORT_DIPSETTING( 0x01, "Type 1" ) // locked steering wheel |
| 2764 | PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "SW A:2" ) |
| 2765 | PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) |
| 2766 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2767 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2768 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| 2769 | TAITO_COINAGE_WORLD_LOC(SW A) |
| 2796 | 2770 | |
| 2771 | PORT_START("DSWB") |
| 2772 | PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x01, "SW B:1" ) |
| 2773 | PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "SW B:2" ) |
| 2774 | PORT_DIPNAME( 0x04, 0x04, "Steering Wheel Range" ) PORT_DIPLOCATION("SW B:3") // no function in Type 0 cabinet? |
| 2775 | PORT_DIPSETTING( 0x04, DEF_STR( Normal ) ) |
| 2776 | PORT_DIPSETTING( 0x00, DEF_STR( High ) ) |
| 2777 | PORT_DIPNAME( 0x08, 0x08, "Steering Wheel Type" ) PORT_DIPLOCATION("SW B:4") // no function in Type 0 cabinet? |
| 2778 | PORT_DIPSETTING( 0x00, "Free" ) |
| 2779 | PORT_DIPSETTING( 0x08, "Locked" ) |
| 2780 | PORT_DIPNAME( 0x10, 0x10, "Network" ) PORT_DIPLOCATION("SW B:5") // gives a LAN error |
| 2781 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
| 2782 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2783 | PORT_DIPNAME( 0x60, 0x60, "Player Car" ) PORT_DIPLOCATION("SW B:6,7") |
| 2784 | PORT_DIPSETTING( 0x60, "Red" ) |
| 2785 | PORT_DIPSETTING( 0x40, "Blue" ) |
| 2786 | PORT_DIPSETTING( 0x20, "Green" ) |
| 2787 | PORT_DIPSETTING( 0x00, "Yellow" ) |
| 2788 | PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x80, "SW B:8" ) // affects car color too? |
| 2789 | |
| 2790 | PORT_START("IN0") |
| 2791 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2792 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Shifter") PORT_TOGGLE |
| 2793 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 2794 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 2795 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 2796 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Brake Switch") |
| 2797 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2798 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2799 | |
| 2800 | PORT_START("IN1") |
| 2801 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Pit In") |
| 2802 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2803 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Center") |
| 2804 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) |
| 2805 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2806 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Gas Switch") |
| 2807 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2808 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2809 | |
| 2810 | PORT_START("IN2") /* unused */ |
| 2811 | PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2812 | |
| 2813 | PORT_START("STEER") |
| 2814 | PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_SENSITIVITY(100) PORT_KEYDELTA(4) PORT_NAME("Steering Wheel") PORT_CONDITION("DSWB", 0x08, EQUALS, 0x08) |
| 2815 | PORT_BIT( 0xffff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(100) PORT_KEYDELTA(4) PORT_NAME("Steering Wheel") PORT_CONDITION("DSWB", 0x08, EQUALS, 0x00) |
| 2816 | INPUT_PORTS_END |
| 2817 | |
| 2818 | |
| 2797 | 2819 | /*********************************************************** |
| 2798 | 2820 | GFX DECODING |
| 2799 | 2821 | ***********************************************************/ |
| r15413 | r15414 | |
| 2897 | 2919 | }; |
| 2898 | 2920 | |
| 2899 | 2921 | |
| 2900 | | /************************************************************** |
| 2901 | | SUBWOOFER (SOUND) |
| 2902 | | **************************************************************/ |
| 2903 | | |
| 2904 | | #if 0 |
| 2905 | | static DEVICE_START( subwoofer ) |
| 2906 | | { |
| 2907 | | /* Adjust the lowpass filter of the first three YM2610 channels */ |
| 2908 | | |
| 2909 | | /* 150 Hz is a common top frequency played by a generic */ |
| 2910 | | /* subwoofer, the real Arcade Machine may differs */ |
| 2911 | | |
| 2912 | | mixer_set_lowpass_frequency(0, 20); |
| 2913 | | mixer_set_lowpass_frequency(1, 20); |
| 2914 | | mixer_set_lowpass_frequency(2, 20); |
| 2915 | | } |
| 2916 | | |
| 2917 | | static DEVICE_GET_INFO( subwoofer ) |
| 2918 | | { |
| 2919 | | switch (state) |
| 2920 | | { |
| 2921 | | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 2922 | | case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(subwoofer); break; |
| 2923 | | |
| 2924 | | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 2925 | | case DEVINFO_STR_NAME: strcpy(info->s, "Subwoofer"); break; |
| 2926 | | case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; |
| 2927 | | } |
| 2928 | | } |
| 2929 | | #endif |
| 2930 | | |
| 2931 | | |
| 2932 | 2922 | /*********************************************************** |
| 2933 | 2923 | MACHINE DRIVERS |
| 2934 | 2924 | |
| r15413 | r15414 | |
| 2995 | 2985 | static const tc0480scp_interface taitoz_tc0480scp_intf = |
| 2996 | 2986 | { |
| 2997 | 2987 | 1, 2, /* gfxnum, txnum */ |
| 2998 | | 0, /* pixels */ |
| 2999 | | 0x21, 0x08, /* x_offset, y_offset */ |
| 3000 | | 4, 0, /* text_xoff, text_yoff */ |
| 2988 | 0, /* pixels */ |
| 2989 | 0x1f, 0x08, /* x_offset, y_offset */ |
| 2990 | 0, 0, /* text_xoff, text_yoff */ |
| 3001 | 2991 | 0, 0, /* flip_xoff, flip_yoff */ |
| 3002 | | 0 /* col_base */ |
| 2992 | 0 /* col_base */ |
| 3003 | 2993 | }; |
| 3004 | 2994 | |
| 3005 | 2995 | static const tc0110pcr_interface taitoz_tc0110pcr_intf = { 0 }; |
| r15413 | r15414 | |
| 3030 | 3020 | |
| 3031 | 3021 | static void taitoz_postload(running_machine &machine) |
| 3032 | 3022 | { |
| 3033 | | parse_control(machine); |
| 3023 | parse_cpu_control(machine); |
| 3034 | 3024 | reset_sound_region(machine); |
| 3035 | 3025 | } |
| 3036 | 3026 | |
| r15413 | r15414 | |
| 3052 | 3042 | |
| 3053 | 3043 | /* these are specific to various games: we ought to split the inits */ |
| 3054 | 3044 | state->save_item(NAME(state->m_sci_int6)); |
| 3055 | | state->save_item(NAME(state->m_dblaxle_int6)); |
| 3056 | 3045 | state->save_item(NAME(state->m_ioc220_port)); |
| 3057 | 3046 | |
| 3058 | 3047 | state->save_item(NAME(state->m_banknum)); |
| r15413 | r15414 | |
| 3076 | 3065 | state->m_banknum = -1; |
| 3077 | 3066 | state->m_cpua_ctrl = 0xff; |
| 3078 | 3067 | state->m_sci_int6 = 0; |
| 3079 | | state->m_dblaxle_int6 = 0; |
| 3080 | 3068 | state->m_ioc220_port = 0; |
| 3081 | 3069 | } |
| 3082 | 3070 | |
| r15413 | r15414 | |
| 3140 | 3128 | MCFG_SOUND_ADD("2610.2.l", FILTER_VOLUME, 0) |
| 3141 | 3129 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "front", 1.0) |
| 3142 | 3130 | |
| 3143 | | // MCFG_SOUND_ADD("subwoofer", SUBWOOFER, 0) |
| 3144 | | |
| 3145 | 3131 | MCFG_TC0140SYT_ADD("tc0140syt", taitoz_tc0140syt_intf) |
| 3146 | 3132 | MACHINE_CONFIG_END |
| 3147 | 3133 | |
| r15413 | r15414 | |
| 3267 | 3253 | MCFG_SOUND_ADD("2610.2.l", FILTER_VOLUME, 0) |
| 3268 | 3254 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0) |
| 3269 | 3255 | |
| 3270 | | // MCFG_SOUND_ADD("subwoofer", SUBWOOFER, 0) |
| 3271 | | |
| 3272 | 3256 | MCFG_TC0140SYT_ADD("tc0140syt", taitoz_tc0140syt_intf) |
| 3273 | 3257 | MACHINE_CONFIG_END |
| 3274 | 3258 | |
| r15413 | r15414 | |
| 3592 | 3576 | static MACHINE_CONFIG_START( dblaxle, taitoz_state ) |
| 3593 | 3577 | |
| 3594 | 3578 | /* basic machine hardware */ |
| 3595 | | MCFG_CPU_ADD("maincpu", M68000, 16000000) /* 16 MHz ??? */ |
| 3579 | MCFG_CPU_ADD("maincpu", M68000, XTAL_32MHz/2) |
| 3596 | 3580 | MCFG_CPU_PROGRAM_MAP(dblaxle_map) |
| 3597 | | MCFG_CPU_VBLANK_INT("screen", dblaxle_interrupt) |
| 3581 | MCFG_CPU_VBLANK_INT("screen", irq4_line_hold) |
| 3598 | 3582 | |
| 3599 | | MCFG_CPU_ADD("audiocpu", Z80,16000000/4) /* 4 MHz ??? */ |
| 3583 | MCFG_CPU_ADD("audiocpu", Z80, XTAL_32MHz/8) |
| 3600 | 3584 | MCFG_CPU_PROGRAM_MAP(z80_sound_map) |
| 3601 | 3585 | |
| 3602 | | MCFG_CPU_ADD("sub", M68000, 16000000) /* 16 MHz ??? */ |
| 3586 | MCFG_CPU_ADD("sub", M68000, XTAL_32MHz/2) |
| 3603 | 3587 | MCFG_CPU_PROGRAM_MAP(dblaxle_cpub_map) |
| 3604 | | MCFG_CPU_VBLANK_INT("screen", dblaxle_cpub_interrupt) |
| 3588 | MCFG_CPU_VBLANK_INT("screen", irq4_line_hold) |
| 3605 | 3589 | |
| 3606 | 3590 | MCFG_MACHINE_START(taitoz) |
| 3607 | 3591 | MCFG_MACHINE_RESET(taitoz) |
| r15413 | r15414 | |
| 3629 | 3613 | /* sound hardware */ |
| 3630 | 3614 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 3631 | 3615 | |
| 3632 | | MCFG_SOUND_ADD("ymsnd", YM2610, 16000000/2) |
| 3616 | MCFG_SOUND_ADD("ymsnd", YM2610, XTAL_32MHz/4) |
| 3633 | 3617 | MCFG_SOUND_CONFIG(ym2610_config) |
| 3634 | 3618 | MCFG_SOUND_ROUTE(0, "lspeaker", 0.25) |
| 3635 | 3619 | MCFG_SOUND_ROUTE(0, "rspeaker", 0.25) |
| r15413 | r15414 | |
| 3654 | 3638 | static MACHINE_CONFIG_START( racingb, taitoz_state ) |
| 3655 | 3639 | |
| 3656 | 3640 | /* basic machine hardware */ |
| 3657 | | MCFG_CPU_ADD("maincpu", M68000, 16000000) /* 16 MHz ??? */ |
| 3641 | MCFG_CPU_ADD("maincpu", M68000, XTAL_32MHz/2) |
| 3658 | 3642 | MCFG_CPU_PROGRAM_MAP(racingb_map) |
| 3659 | | MCFG_CPU_VBLANK_INT("screen", dblaxle_interrupt) |
| 3643 | MCFG_CPU_VBLANK_INT("screen", sci_interrupt) |
| 3660 | 3644 | |
| 3661 | | MCFG_CPU_ADD("audiocpu", Z80,16000000/4) /* 4 MHz ??? */ |
| 3645 | MCFG_CPU_ADD("audiocpu", Z80, XTAL_32MHz/8) |
| 3662 | 3646 | MCFG_CPU_PROGRAM_MAP(z80_sound_map) |
| 3663 | 3647 | |
| 3664 | | MCFG_CPU_ADD("sub", M68000, 16000000) /* 16 MHz ??? */ |
| 3648 | MCFG_CPU_ADD("sub", M68000, XTAL_32MHz/2) |
| 3665 | 3649 | MCFG_CPU_PROGRAM_MAP(racingb_cpub_map) |
| 3666 | | MCFG_CPU_VBLANK_INT("screen", dblaxle_cpub_interrupt) |
| 3650 | MCFG_CPU_VBLANK_INT("screen", irq4_line_hold) |
| 3667 | 3651 | |
| 3668 | 3652 | MCFG_MACHINE_START(taitoz) |
| 3669 | 3653 | MCFG_MACHINE_RESET(taitoz) |
| 3670 | 3654 | |
| 3671 | | MCFG_QUANTUM_TIME(attotime::from_hz(6000)) |
| 3655 | MCFG_QUANTUM_TIME(attotime::from_hz(600)) |
| 3672 | 3656 | |
| 3673 | 3657 | MCFG_TC0510NIO_ADD("tc0510nio", taitoz_io510_intf) |
| 3674 | 3658 | |
| r15413 | r15414 | |
| 3678 | 3662 | MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) |
| 3679 | 3663 | MCFG_SCREEN_SIZE(40*8, 32*8) |
| 3680 | 3664 | MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1) |
| 3681 | | MCFG_SCREEN_UPDATE_STATIC(dblaxle) |
| 3665 | MCFG_SCREEN_UPDATE_STATIC(racingb) |
| 3682 | 3666 | |
| 3683 | 3667 | MCFG_GFXDECODE(dblaxle) |
| 3684 | 3668 | MCFG_PALETTE_LENGTH(4096) |
| r15413 | r15414 | |
| 3691 | 3675 | /* sound hardware */ |
| 3692 | 3676 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 3693 | 3677 | |
| 3694 | | MCFG_SOUND_ADD("ymsnd", YM2610, 16000000/2) |
| 3678 | MCFG_SOUND_ADD("ymsnd", YM2610, XTAL_32MHz/4) |
| 3695 | 3679 | MCFG_SOUND_CONFIG(ym2610_config) |
| 3696 | 3680 | MCFG_SOUND_ROUTE(0, "lspeaker", 0.25) |
| 3697 | 3681 | MCFG_SOUND_ROUTE(0, "rspeaker", 0.25) |
| r15413 | r15414 | |
| 3723 | 3707 | ROM_REGION( 0x40000, "maincpu", 0 ) /* 256K for 68000 code (CPU A) */ |
| 3724 | 3708 | ROM_LOAD16_BYTE( "ic25", 0x00000, 0x20000, CRC(f5c92e42) SHA1(42dfa1895e601df76d7022b83f05c4e5c843fd12) ) |
| 3725 | 3709 | ROM_LOAD16_BYTE( "ic26", 0x00001, 0x20000, CRC(e7c1d1fa) SHA1(75e851629a54facb8804ee8a953ab3265633bbf4) ) |
| 3726 | | // this was bogus and has been removed. |
| 3727 | | // someone hacked the copyright year from 1987 to 1989, and changed an unused byte from FF to F3 to keep |
| 3728 | | // the checksum the same. There are no other differences. |
| 3729 | | // ROM_LOAD16_BYTE( "cc_26.bin", 0x00001, 0x20000, CRC(1345ebe6) SHA1(88b9cc8ba2f7061beb8f6b763583cd45b03bcea1) ) |
| 3730 | 3710 | |
| 3731 | 3711 | ROM_REGION( 0x40000, "sub", 0 ) /* 256K for 68000 code (CPU B) */ |
| 3732 | 3712 | ROM_LOAD16_BYTE( "ic35", 0x00000, 0x20000, CRC(16522f2d) SHA1(1d2823d61518936d342df3ed712da5bdfdf6e55a) ) |
| r15413 | r15414 | |
| 4089 | 4069 | ROM_LOAD( "pal16l8b-b52-125.ic112", 0x2800, 0x0104, CRC(7628c557) SHA1(11bf628e091dc02e0c2e17ae726061ac04705a54) ) |
| 4090 | 4070 | ROM_END |
| 4091 | 4071 | |
| 4092 | | |
| 4093 | | /* |
| 4094 | | Enforce |
| 4095 | | Taito, 198?/199? |
| 4096 | | |
| 4097 | | Taito Z hardware |
| 4098 | | PCB No: K1100406A J1100175A (CPU PCB) |
| 4099 | | K1100407A J1100176A (VIDEO PCB) |
| 4100 | | |
| 4101 | | CPU: MC68000P12 (x2) |
| 4102 | | SND: Z80, YM2610, TCO040IOC, YM3016F |
| 4103 | | OSC: 26.686MHz, 24.000MHz, 16.000MHz |
| 4104 | | DIPs: 8 Position (x2) |
| 4105 | | |
| 4106 | | Taito Chips: |
| 4107 | | CPU board - TCO100SCN, TCO140SYT, TCO170ABT, TCO110PCR |
| 4108 | | Video Board - TCO150ROD, TCO050VDZ (x3), TCO020VAR |
| 4109 | | |
| 4110 | | Ram: CPU BOARD - 6264 (x9), 43256 (x2), |
| 4111 | | VIDEO BOARD - 2018 (x10), 6264 (x2) |
| 4112 | | |
| 4113 | | PALs/PROMs: |
| 4114 | | CPU BOARD - All located near/around the 68000's |
| 4115 | | b58-15 (PAL20L8) |
| 4116 | | b58-16 (PAL20L8) |
| 4117 | | b58-14 (PAL20L8) |
| 4118 | | b58-13 (PAL16L8) |
| 4119 | | b58-11 (PAL16L8) |
| 4120 | | b58-12 (PAL16L8) |
| 4121 | | |
| 4122 | | VIDEO BOARD - |
| 4123 | | b58-22 (PAL16L8) \ |
| 4124 | | b58-23 (63s141) | near TCO150ROD |
| 4125 | | b58-24 (63s141) / |
| 4126 | | |
| 4127 | | b58-20 (PAL16L8) \ |
| 4128 | | b58-21 (PAL16R4) | |
| 4129 | | b58-17 (PAL16L8) | near TCO020VAR |
| 4130 | | b58-18 (PAL16R4) / |
| 4131 | | |
| 4132 | | b58-25 (63S141) near b58-27 |
| 4133 | | b58-19 (PAL16R4) near b58-04/03/02/01 |
| 4134 | | |
| 4135 | | ROMs: |
| 4136 | | CPU BOARD - b58-18 , 27C010 \ |
| 4137 | | b58-19 , 27C010 | 68k Program |
| 4138 | | b58-26 , 27C010 | |
| 4139 | | b58-27 , 27C010 / |
| 4140 | | |
| 4141 | | b58-07 , 27C4096 \ |
| 4142 | | b58-08 , 27C4096 | |
| 4143 | | b58-09 , 27C4100 | near TCO100SCN & TCO140SYT |
| 4144 | | b58-10 , 27C4096 / |
| 4145 | | |
| 4146 | | b58-32 , 27C512 z80 program |
| 4147 | | |
| 4148 | | VIDEO PCB - b58-06 , 27C4100 near TCO150ROD |
| 4149 | | |
| 4150 | | b58-26a, 27C512 ? |
| 4151 | | b58-27 , LH5763 ? |
| 4152 | | |
| 4153 | | b58-01 , 27C4100 \ |
| 4154 | | b58-02 , 27C4100 | |
| 4155 | | b58-03 , 27C4100 | near TCO050VDZ's |
| 4156 | | b58-04 , 27C4100 / |
| 4157 | | */ |
| 4158 | | |
| 4159 | 4072 | ROM_START( enforce ) |
| 4160 | 4073 | ROM_REGION( 0x40000, "maincpu", 0 ) /* 256K for 68000 code (CPU A) */ |
| 4161 | 4074 | ROM_LOAD16_BYTE( "b58-27.27", 0x00000, 0x20000, CRC(a1aa0191) SHA1(193d936e1bfe0da4ac984aba65d3e4e6c93a4c11) ) |
| r15413 | r15414 | |
| 5136 | 5049 | |
| 5137 | 5050 | static DRIVER_INIT( taitoz ) |
| 5138 | 5051 | { |
| 5139 | | taitoz_state *state = machine.driver_data<taitoz_state>(); |
| 5140 | | state->m_chasehq_lamps = 0; |
| 5141 | | state->m_dblaxle_vibration = 0; |
| 5142 | | } |
| 5052 | //taitoz_state *state = machine.driver_data<taitoz_state>(); |
| 5143 | 5053 | |
| 5144 | | static DRIVER_INIT( dblaxle ) |
| 5145 | | { |
| 5146 | | taitoz_state *state = machine.driver_data<taitoz_state>(); |
| 5147 | | state->m_chasehq_lamps = 0; |
| 5148 | | state->m_dblaxle_vibration = 1; |
| 5054 | machine.save().register_postload(save_prepost_delegate(FUNC(parse_cpu_control), &machine)); |
| 5149 | 5055 | } |
| 5150 | 5056 | |
| 5151 | 5057 | static DRIVER_INIT( bshark ) |
| 5152 | 5058 | { |
| 5153 | 5059 | taitoz_state *state = machine.driver_data<taitoz_state>(); |
| 5154 | | state->m_chasehq_lamps = 0; |
| 5155 | | state->m_dblaxle_vibration = 0; |
| 5060 | DRIVER_INIT_CALL(taitoz); |
| 5061 | |
| 5156 | 5062 | state->m_eep_latch = 0; |
| 5157 | 5063 | |
| 5158 | | machine.save().register_postload(save_prepost_delegate(FUNC(parse_control), &machine)); |
| 5159 | 5064 | state->save_item(NAME(state->m_eep_latch)); |
| 5160 | 5065 | } |
| 5161 | 5066 | |
| 5162 | | static DRIVER_INIT( chasehq ) |
| 5163 | | { |
| 5164 | | taitoz_state *state = machine.driver_data<taitoz_state>(); |
| 5165 | | state->m_chasehq_lamps = 1; |
| 5166 | | state->m_dblaxle_vibration = 0; |
| 5167 | | } |
| 5168 | 5067 | |
| 5169 | 5068 | |
| 5170 | | |
| 5171 | 5069 | GAMEL(1987, contcirc, 0, contcirc, contcirc, taitoz, ROT0, "Taito Corporation Japan", "Continental Circus (World)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_contcirc ) |
| 5172 | 5070 | GAMEL(1987, contcircu, contcirc, contcirc, contcrcu, taitoz, ROT0, "Taito America Corporation", "Continental Circus (US set 1)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_contcirc ) |
| 5173 | 5071 | GAMEL(1987, contcircua, contcirc, contcirc, contcrcu, taitoz, ROT0, "Taito America Corporation", "Continental Circus (US set 2)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_contcirc ) |
| 5174 | | GAMEL(1988, chasehq, 0, chasehq, chasehq, chasehq, ROT0, "Taito Corporation Japan", "Chase H.Q. (World)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_contcirc ) |
| 5175 | | GAMEL(1988, chasehqj, chasehq, chasehq, chasehqj, chasehq, ROT0, "Taito Corporation", "Chase H.Q. (Japan)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_contcirc ) |
| 5176 | | GAMEL(1988, chasehqu, chasehq, chasehq, chasehq, chasehq, ROT0, "Taito America Corporation", "Chase H.Q. (US)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_contcirc ) |
| 5072 | GAMEL(1988, chasehq, 0, chasehq, chasehq, taitoz, ROT0, "Taito Corporation Japan", "Chase H.Q. (World)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_contcirc ) |
| 5073 | GAMEL(1988, chasehqj, chasehq, chasehq, chasehqj, taitoz, ROT0, "Taito Corporation", "Chase H.Q. (Japan)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_contcirc ) |
| 5074 | GAMEL(1988, chasehqu, chasehq, chasehq, chasehq, taitoz, ROT0, "Taito America Corporation", "Chase H.Q. (US)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_contcirc ) |
| 5177 | 5075 | GAME( 1988, enforce, 0, enforce, enforce, taitoz, ROT0, "Taito Corporation", "Enforce (Japan)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) |
| 5178 | 5076 | GAME( 1989, bshark, 0, bshark, bshark, bshark, ORIENTATION_FLIP_X, "Taito Corporation Japan", "Battle Shark (World)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) |
| 5179 | 5077 | GAME( 1989, bsharku, bshark, bshark, bsharku, bshark, ORIENTATION_FLIP_X, "Taito America Corporation", "Battle Shark (US)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) |
| r15413 | r15414 | |
| 5193 | 5091 | GAME( 1990, spacegun, 0, spacegun, spacegun, bshark, ORIENTATION_FLIP_X, "Taito Corporation Japan", "Space Gun (World)", GAME_SUPPORTS_SAVE ) |
| 5194 | 5092 | GAME( 1990, spacegunj, spacegun, spacegun, spacegnj, bshark, ORIENTATION_FLIP_X, "Taito Corporation", "Space Gun (Japan)", GAME_SUPPORTS_SAVE ) |
| 5195 | 5093 | GAME( 1990, spacegunu, spacegun, spacegun, spacegnu, bshark, ORIENTATION_FLIP_X, "Taito America Corporation", "Space Gun (US)", GAME_SUPPORTS_SAVE ) |
| 5196 | | GAMEL(1991, dblaxle, 0, dblaxle, dblaxle, dblaxle, ROT0, "Taito America Corporation", "Double Axle (US)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_dblaxle ) |
| 5197 | | GAME( 1991, pwheelsj, dblaxle, dblaxle, pwheelsj, dblaxle, ROT0, "Taito Corporation", "Power Wheels (Japan)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) |
| 5198 | | GAME( 1991, racingb, 0, racingb, dblaxle, dblaxle, ROT0, "Taito Corporation Japan", "Racing Beat (World)", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) |
| 5094 | GAMEL(1991, dblaxle, 0, dblaxle, dblaxle, taitoz, ROT0, "Taito America Corporation", "Double Axle (US)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_dblaxle ) |
| 5095 | GAMEL(1991, pwheelsj, dblaxle, dblaxle, pwheelsj, taitoz, ROT0, "Taito Corporation", "Power Wheels (Japan)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_dblaxle ) |
| 5096 | GAMEL(1991, racingb, 0, racingb, racingb, taitoz, ROT0, "Taito Corporation Japan", "Racing Beat (World)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_dblaxle ) |