src/mame/drivers/videopkr.c
| r3426 | r3427 | |
| 14 | 14 | * Video Dado, 1987, InterFlip. |
| 15 | 15 | * Video Cordoba, 1987, InterFlip. |
| 16 | 16 | |
| 17 | * Baby Poker, 1989, Recreativos Franco. |
| 18 | * Baby Dado, 1989, Recreativos Franco. |
| 17 | 19 | |
| 20 | |
| 18 | 21 | *************************************************************************** |
| 19 | 22 | |
| 20 | 23 | |
| r3426 | r3427 | |
| 175 | 178 | ---------------------------------------------------------------------------- |
| 176 | 179 | Fichas Jugadas 1 Ficha 2 Fichas 3 Fichas 4 Fichas 5 Fichas |
| 177 | 180 | ---------------------------------------------------------------------------- |
| 178 | | TRIPLE BAR 250 250 250 250 2000 |
| 181 | TRIPLE BAR 250 250 250 250 2000 |
| 179 | 182 | ............................................................................ |
| 180 | 183 | 3 x Doble Bar - 100 | Olive-Olive-Any Bar - 18 |
| 181 | 184 | 3 x Single Bar - 50 | 3 x Orange - 14 |
| r3426 | r3427 | |
| 211 | 214 | ************************************************************************** |
| 212 | 215 | |
| 213 | 216 | |
| 217 | [2008-10-08] |
| 218 | |
| 219 | - Added Baby Poker Game. |
| 220 | - Added Baby Dado Game. |
| 221 | - Mapped "Hand Pay" button for Baby Games. |
| 222 | - Added decoder to Jackpot mechanical counter. |
| 223 | - Added sound support to Baby Poker Game. |
| 224 | - Added tower lamps to Baby Games layouts. |
| 225 | - Reworked layouts for Baby Games. |
| 226 | - Reworked the color routines. |
| 227 | - Added new color routines for Baby Games. |
| 228 | - Redumped the videocba color PROM. |
| 229 | - Added color switch. (It changes background color in some games). |
| 230 | - Added "hopper full" switch support (for diverter function). |
| 231 | - Added diverter function decoder. |
| 232 | - Added Button-lamps layout. |
| 233 | - Added full functional mechanical counters decoding. |
| 234 | - Added 7 Segment decoder and 7 Digit Counter functions. |
| 235 | - Added button-lamps layout & mechanical counters simulation on layout. |
| 236 | Mechanical counters to layout: Coin-In, Coin-Out and Coin to Drop. |
| 237 | - Added NVRAM support to mechanical counters. |
| 238 | |
| 214 | 239 | TO DO |
| 215 | 240 | ===== |
| 216 | 241 | |
| 242 | * Add Tech. Notes for Baby board, a reworked and improved version on Video Poker hardware. |
| 243 | * Fix some missing pulses on mechanical counters. |
| 217 | 244 | * Fix the bug on bookeeping mode (videodad & videocba). |
| 218 | 245 | * Figure out the undocumented jumper. |
| 219 | | * Properly dump the videocba color PROM. |
| 220 | | * Button-lamps layout. |
| 221 | 246 | * Hopper simulation. |
| 222 | | * Decode output ports for electromechanical counters. |
| 247 | * Switch to resnet system. |
| 223 | 248 | |
| 224 | 249 | |
| 225 | 250 | **************************************************************************/ |
| r3426 | r3427 | |
| 233 | 258 | |
| 234 | 259 | #include "driver.h" |
| 235 | 260 | #include "cpu/mcs48/mcs48.h" |
| 261 | #include "cpu/i8051/i8051.h" |
| 262 | #include "sound/ay8910.h" |
| 236 | 263 | #include "sound/dac.h" |
| 264 | #include "videopkr.lh" |
| 265 | #include "blckjack.lh" |
| 266 | #include "videocba.lh" |
| 267 | #include "videodad.lh" |
| 268 | #include "babypkr.lh" |
| 269 | #include "babydad.lh" |
| 237 | 270 | |
| 238 | 271 | #define DATA_NVRAM_SIZE 0x100 |
| 239 | 272 | |
| r3426 | r3427 | |
| 248 | 281 | static UINT8 vp_sound_p2; |
| 249 | 282 | static UINT8 p24_data; |
| 250 | 283 | static UINT8 sound_latch; |
| 284 | static UINT8 baby_latch; |
| 251 | 285 | static UINT8 sound_ant; |
| 252 | 286 | static UINT8 dc_4020; |
| 253 | 287 | static UINT8 dc_40103; |
| 254 | 288 | static UINT8 te_40103; |
| 255 | 289 | static UINT8 ld_40103; |
| 256 | 290 | |
| 257 | | static UINT8 c_io, hp_1, hp_2, bell; |
| 291 | UINT8 ant_jckp, jckp, ant_cio, c_io, hp_1, hp_2, bell, aux3, dvrt; |
| 292 | unsigned long count0, count1, count2, count3, count4; |
| 258 | 293 | |
| 294 | /* Baby vars */ |
| 295 | static UINT8 sbp0, sbp2, sbp3; |
| 259 | 296 | |
| 297 | |
| 260 | 298 | /************************* |
| 261 | 299 | * Video Hardware * |
| 262 | 300 | *************************/ |
| 263 | 301 | |
| 264 | 302 | static tilemap *bg_tilemap; |
| 265 | 303 | |
| 304 | /* BCD to Seven Segment Decoder */ |
| 305 | UINT8 dec_7seg(int data) |
| 306 | { |
| 307 | UINT8 segment; |
| 308 | switch (data) |
| 309 | { |
| 310 | case 0: segment = 0x3f; break; |
| 311 | case 1: segment = 0x06; break; |
| 312 | case 2: segment = 0x5b; break; |
| 313 | case 3: segment = 0x4f; break; |
| 314 | case 4: segment = 0x66; break; |
| 315 | case 5: segment = 0x6d; break; |
| 316 | case 6: segment = 0x7d; break; |
| 317 | case 7: segment = 0x07; break; |
| 318 | case 8: segment = 0x7f; break; |
| 319 | case 9: segment = 0x6f; break; |
| 320 | default: segment = 0x79; |
| 321 | } |
| 266 | 322 | |
| 267 | | static PALETTE_INIT( videopkr ) |
| 323 | return segment; |
| 324 | } |
| 325 | |
| 326 | /* Display a seven digit counter on layout - Index points to less significant digit*/ |
| 327 | void count_7dig(unsigned long data, UINT8 index) |
| 268 | 328 | { |
| 269 | | int i; |
| 329 | UINT8 i; |
| 330 | char strn[7]; |
| 331 | sprintf(strn,"%7lu",data); |
| 270 | 332 | |
| 271 | | for (i = 0; i < machine->config->total_colors; i++) |
| 333 | for (i = 0; i < 7; i++) |
| 272 | 334 | { |
| 273 | | int r, g, b, j; |
| 335 | output_set_digit_value(index+i, dec_7seg((strn[6 - i] | 0x10) - 0x30)); |
| 336 | } |
| 337 | } |
| 274 | 338 | |
| 275 | | j = 0x30 * ((color_prom[i] >> 3) & 0x01); |
| 339 | PALETTE_INIT( videopkr ) |
| 340 | { |
| 341 | int j; |
| 276 | 342 | |
| 343 | for (j = 0; j < machine->config->total_colors; j++) |
| 344 | { |
| 345 | int r, g, b, tr, tg, tb, i; |
| 346 | |
| 347 | i = (color_prom[j] >> 3) & 0x01; |
| 348 | |
| 277 | 349 | /* red component */ |
| 278 | | r = j + 0xbf - (0xbf * ((color_prom[i] >> 0) & 0x01)); |
| 350 | tr = 0xf0 - (0xf0 * ((color_prom[j] >> 0) & 0x01)); |
| 351 | r = tr - (i * (tr / 5)); |
| 279 | 352 | |
| 280 | 353 | /* green component */ |
| 281 | | g = j + 0xbf - (0xbf * ((color_prom[i] >> 1) & 0x01)); |
| 354 | tg = 0xf0 - (0xf0 * ((color_prom[j] >> 1) & 0x01)); |
| 355 | g = tg - (i * (tg / 5)); |
| 282 | 356 | |
| 283 | 357 | /* blue component */ |
| 284 | | b = j + 0xbf - (0xbf * ((color_prom[i] >> 2) & 0x01)); |
| 358 | tb = 0xf0 - (0xf0 * ((color_prom[j] >> 2) & 0x01)); |
| 359 | b = tb - (i * (tb / 5)); |
| 285 | 360 | |
| 286 | | palette_set_color(machine, i, MAKE_RGB(r, g, b)); |
| 361 | palette_set_color(machine, j, MAKE_RGB(r, g, b)); |
| 287 | 362 | } |
| 288 | 363 | } |
| 289 | 364 | |
| 365 | PALETTE_INIT( babypkr ) |
| 366 | { |
| 367 | int j; |
| 290 | 368 | |
| 369 | for (j = 0; j < machine->config->total_colors; j++) |
| 370 | { |
| 371 | int r, g, b, tr, tg, tb, i, top; |
| 372 | |
| 373 | top = 0xff; |
| 374 | |
| 375 | /* intense component */ |
| 376 | i = 0x2f * ((color_prom[j] >> 3) & 0x01); |
| 377 | top = top - i; |
| 378 | |
| 379 | /* red component */ |
| 380 | tr = 0xdf * ((color_prom[j] >> 0) & 0x01); |
| 381 | r = top - ((tr * top) / 0x100 ); |
| 382 | |
| 383 | /* green component */ |
| 384 | tg = 0xdf * ((color_prom[j] >> 1) & 0x01); |
| 385 | g = top - ((tg * top) / 0x100 ); |
| 386 | |
| 387 | /* blue component */ |
| 388 | tb = 0xdf * ((color_prom[j] >> 2) & 0x01); |
| 389 | b = top - ((tb * top) / 0x100); |
| 390 | |
| 391 | palette_set_color(machine, j, MAKE_RGB(r, g, b)); |
| 392 | } |
| 393 | } |
| 394 | |
| 291 | 395 | static TILE_GET_INFO( get_bg_tile_info ) |
| 292 | 396 | { |
| 293 | 397 | int offs = tile_index; |
| 294 | | int attr = color_ram[offs]; |
| 398 | int attr = color_ram[offs] + input_port_read(machine, "IN2"); /* Color Switch Action */ |
| 295 | 399 | int code = video_ram[offs]; |
| 296 | 400 | int color = attr; |
| 297 | | |
| 298 | 401 | SET_TILE_INFO(0, code, color, 0); |
| 299 | 402 | } |
| 300 | 403 | |
| 301 | 404 | |
| 302 | | static VIDEO_START( videopkr ) |
| 405 | VIDEO_START( videopkr ) |
| 303 | 406 | { |
| 304 | 407 | bg_tilemap = tilemap_create(get_bg_tile_info, tilemap_scan_rows, 8, 8, 32, 32); |
| 305 | 408 | } |
| 306 | 409 | |
| 307 | | static VIDEO_START( vidadcba ) |
| 410 | VIDEO_START( vidadcba ) |
| 308 | 411 | { |
| 309 | 412 | bg_tilemap = tilemap_create(get_bg_tile_info, tilemap_scan_rows, 16, 8, 32, 32); |
| 310 | 413 | } |
| 311 | 414 | |
| 312 | 415 | |
| 313 | | static VIDEO_UPDATE( videopkr ) |
| 416 | VIDEO_UPDATE( videopkr ) |
| 314 | 417 | { |
| 315 | 418 | tilemap_mark_all_tiles_dirty(bg_tilemap); |
| 316 | 419 | tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 0); |
| 317 | 420 | return 0; |
| 318 | 421 | } |
| 319 | 422 | |
| 320 | | |
| 321 | 423 | /******************** |
| 322 | 424 | * NVRAM Handler * |
| 323 | 425 | ********************/ |
| r3426 | r3427 | |
| 327 | 429 | if (read_or_write) |
| 328 | 430 | { |
| 329 | 431 | mame_fwrite(file, data_ram, DATA_NVRAM_SIZE); |
| 432 | mame_fwrite(file, &count1, 8); |
| 433 | mame_fwrite(file, &count2, 8); |
| 434 | mame_fwrite(file, &count3, 8); |
| 435 | mame_fwrite(file, &count4, 8); |
| 436 | |
| 330 | 437 | } |
| 331 | 438 | else |
| 332 | 439 | { |
| 333 | 440 | if (file) |
| 334 | 441 | { |
| 335 | 442 | mame_fread(file, data_ram, DATA_NVRAM_SIZE); |
| 443 | mame_fread(file, &count1, 8); |
| 444 | mame_fread(file, &count2, 8); |
| 445 | mame_fread(file, &count3, 8); |
| 446 | mame_fread(file, &count4, 8); |
| 336 | 447 | } |
| 337 | 448 | else |
| 338 | 449 | { |
| 339 | 450 | memset(data_ram, 0, DATA_NVRAM_SIZE); |
| 451 | memset(data_ram, count0, 8); |
| 452 | memset(data_ram, count0, 8); |
| 453 | memset(data_ram, count0, 8); |
| 454 | memset(data_ram, count0, 8); |
| 340 | 455 | } |
| 341 | 456 | } |
| 342 | 457 | } |
| r3426 | r3427 | |
| 348 | 463 | |
| 349 | 464 | static READ8_HANDLER( videopkr_io_r ) |
| 350 | 465 | { |
| 351 | | UINT8 valor = 0xff; |
| 352 | | UINT16 kbdin = 0x0000; |
| 466 | UINT8 valor = 0, hf, co; |
| 353 | 467 | |
| 468 | UINT16 kbdin; |
| 469 | |
| 354 | 470 | switch (p2) |
| 355 | 471 | { |
| 356 | 472 | case 0xef: /* inputs are multiplexed through a diode matrix */ |
| 357 | 473 | { |
| 358 | | kbdin = (input_port_read(machine, "IN1") << 8) + input_port_read(machine, "IN0"); |
| 474 | hf = ((input_port_read(machine, "IN1") & 0x10 ) >> 4) & 1; /* Hopper full detection */ |
| 475 | co = 0x10 * ((input_port_read(machine, "IN1") & 0x20 ) >> 5); /* Coin Out detection */ |
| 476 | kbdin = ((input_port_read(machine, "IN1") & 0xaf ) << 8) + input_port_read(machine, "IN0"); |
| 359 | 477 | |
| 360 | 478 | switch (kbdin) |
| 361 | 479 | { |
| 362 | | case 0x0001: valor = 0x01; break; |
| 363 | | case 0x0002: valor = 0x04; break; |
| 364 | | case 0x0004: valor = 0x05; break; |
| 365 | | case 0x0008: valor = 0x07; break; |
| 366 | | case 0x0010: valor = 0x08; break; |
| 367 | | case 0x0020: valor = 0x09; break; |
| 368 | | case 0x0040: valor = 0x0a; break; |
| 369 | | case 0x0080: valor = 0x0b; break; |
| 370 | | case 0x0100: valor = 0x0c; break; |
| 371 | | case 0x0200: valor = 0x0d; break; |
| 372 | | case 0x0400: valor = 0x0e; break; |
| 373 | | case 0x0800: valor = 0x0f; break; |
| 374 | | case 0x1000: valor = 0x10; break; |
| 480 | case 0x0000: valor = 0x00; break; |
| 481 | case 0x0001: valor = 0x01; break; /* Door */ |
| 482 | case 0x4000: valor = 0x02; break; |
| 483 | case 0x8000: valor = 0x03; break; /* Hand Pay */ |
| 484 | case 0x0002: valor = 0x04; break; /* Books */ |
| 485 | case 0x0004: valor = 0x05; break; /* Coin In */ |
| 486 | case 0x0008: valor = 0x07; break; /* Start */ |
| 487 | case 0x0010: valor = 0x08; break; /* Discard */ |
| 488 | case 0x0020: valor = 0x09; break; /* Cancel */ |
| 489 | case 0x0040: valor = 0x0a; break; /* Hold 1 */ |
| 490 | case 0x0080: valor = 0x0b; break; /* Hold 2 */ |
| 491 | case 0x0100: valor = 0x0c; break; /* Hold 3 */ |
| 492 | case 0x0200: valor = 0x0d; break; /* Hold 4 */ |
| 493 | case 0x0400: valor = 0x0e; break; /* Hold 5 */ |
| 494 | case 0x0800: valor = 0x06; break; /* Bet */ |
| 495 | } |
| 375 | 496 | |
| 376 | | default: valor = 0x00; |
| 497 | if ((valor == 0x00) & hf ) |
| 498 | { |
| 499 | valor = 0x0f; |
| 377 | 500 | } |
| 501 | |
| 502 | valor += co; |
| 378 | 503 | break; |
| 379 | 504 | } |
| 380 | | case 0x5f: |
| 505 | |
| 381 | 506 | case 0xdf: |
| 382 | 507 | { |
| 508 | n_offs = ((p1 & 0xc0) << 2 ) + offset; |
| 383 | 509 | valor = data_ram[offset]; |
| 384 | 510 | break; |
| 385 | 511 | } |
| 512 | |
| 513 | case 0x5f: |
| 514 | { |
| 515 | n_offs = ((p1 & 0xc0) << 2 ) + offset; |
| 516 | valor = data_ram[offset]; |
| 517 | break; |
| 518 | } |
| 519 | |
| 386 | 520 | case 0x7c: |
| 387 | 521 | case 0x7d: |
| 388 | 522 | case 0x7e: |
| 389 | 523 | case 0x7f: |
| 390 | 524 | { |
| 391 | 525 | n_offs = ((p1 & 0xc0) << 2 ) + offset; |
| 392 | | valor = color_ram[n_offs] & 0x0f; |
| 526 | valor = color_ram[n_offs]; |
| 393 | 527 | break; |
| 394 | 528 | } |
| 529 | |
| 395 | 530 | case 0xbc: |
| 396 | 531 | case 0xbd: |
| 397 | 532 | case 0xbe: |
| r3426 | r3427 | |
| 421 | 556 | tilemap_mark_tile_dirty(bg_tilemap, n_offs); |
| 422 | 557 | break; |
| 423 | 558 | } |
| 559 | |
| 424 | 560 | case 0xdf: |
| 425 | 561 | { |
| 426 | 562 | data_ram[offset] = (data & 0x0f) + 0xf0; |
| 427 | 563 | break; |
| 428 | 564 | } |
| 565 | |
| 429 | 566 | case 0x7c: |
| 430 | 567 | case 0x7d: |
| 431 | 568 | case 0x7e: |
| r3426 | r3427 | |
| 436 | 573 | tilemap_mark_tile_dirty(bg_tilemap, n_offs); |
| 437 | 574 | break; |
| 438 | 575 | } |
| 576 | |
| 439 | 577 | case 0xbc: |
| 440 | 578 | case 0xbd: |
| 441 | 579 | case 0xbe: |
| r3426 | r3427 | |
| 446 | 584 | tilemap_mark_tile_dirty(bg_tilemap, n_offs); |
| 447 | 585 | break; |
| 448 | 586 | } |
| 587 | |
| 449 | 588 | case 0xef: /* Port 2.4 */ |
| 450 | 589 | { |
| 451 | 590 | output_set_lamp_value(0, (data & 1)); /* L_1 */ |
| r3426 | r3427 | |
| 457 | 596 | output_set_lamp_value(6, ((data >> 6) & 1)); /* Hopper_2 */ |
| 458 | 597 | output_set_lamp_value(7, ((data >> 7) & 1)); /* Diverter */ |
| 459 | 598 | p24_data = data; |
| 460 | | |
| 599 | hp_1 = (~p24_data >> 6) & 1; |
| 600 | hp_2 = (~p24_data >> 5) & 1; |
| 601 | dvrt = (~p24_data >> 7) & 1; |
| 461 | 602 | break; |
| 462 | 603 | } |
| 604 | |
| 463 | 605 | case 0xff: |
| 464 | 606 | { |
| 465 | 607 | t0_latch = t0_latch ^ 0x01; /* fix the bookkeeping mode */ |
| r3426 | r3427 | |
| 482 | 624 | { |
| 483 | 625 | p1 = data; |
| 484 | 626 | |
| 485 | | output_set_lamp_value(8, (data & 1)); /* Aux_0 - */ |
| 627 | output_set_lamp_value(8, (data & 1)); /* Aux_0 - Jackpot mech. counter (Baby Games)*/ |
| 486 | 628 | output_set_lamp_value(9, ((data >> 1) & 1)); /* Aux_1 - */ |
| 487 | 629 | output_set_lamp_value(10, ((data >> 2) & 1)); /* Aux_2 - */ |
| 488 | 630 | output_set_lamp_value(11, ((data >> 3) & 1)); /* Aux_3 - */ |
| 489 | 631 | output_set_lamp_value(12, ((data >> 4) & 1)); /* Aux_4 - Bell */ |
| 490 | 632 | output_set_lamp_value(13, ((data >> 5) & 1)); /* Aux_5 - /CIO */ |
| 633 | |
| 634 | jckp = p1 & 1; |
| 635 | |
| 636 | if ((~c_io & 1) & ant_cio & hp_1 & hp_2) |
| 637 | { |
| 638 | ++count1; /* Decoded Coin In Mech. Counter*/ |
| 639 | } |
| 640 | |
| 641 | if ((~c_io & 1) & ant_cio & (~hp_1 & 1) & (~hp_2 & 1)) |
| 642 | { |
| 643 | ++count2; /* Decoded Coind Out Mech. Counter */ |
| 644 | } |
| 645 | |
| 646 | if (~c_io & ant_cio & hp_1 & hp_2 & ~dvrt) |
| 647 | { |
| 648 | ++count3; /* Decoded Coin to Drop Mech. Counter */ |
| 649 | } |
| 650 | |
| 651 | if (~jckp & ant_jckp) |
| 652 | { |
| 653 | ++count4; /* Decoded Jackpot Mech. Counter */ |
| 654 | } |
| 655 | |
| 656 | count_7dig(count1, 0); |
| 657 | count_7dig(count2, 7); |
| 658 | count_7dig(count3, 14); |
| 659 | count_7dig(count4, 21); |
| 660 | |
| 661 | ant_cio = c_io; |
| 662 | ant_jckp = jckp; |
| 491 | 663 | } |
| 492 | 664 | |
| 493 | 665 | static WRITE8_HANDLER( videopkr_p2_data_w ) |
| r3426 | r3427 | |
| 551 | 723 | hp_1 = (~p24_data >> 6) & 1; |
| 552 | 724 | hp_2 = (~p24_data >> 5) & 1; |
| 553 | 725 | bell = (p1 >> 4) & 1; |
| 554 | | |
| 726 | aux3 = (p1 >> 3) & 1; |
| 727 | dvrt = (~p24_data >> 7) & 1; |
| 555 | 728 | sound_ant = sound_latch; |
| 556 | 729 | sound_latch = c_io + (hp_1 << 1) + (hp_2 << 2) + (bell << 3) + 0xf0; |
| 557 | 730 | |
| r3426 | r3427 | |
| 588 | 761 | ld_40103 = 0; /* p2.5 LOW */ |
| 589 | 762 | break; |
| 590 | 763 | } |
| 764 | |
| 591 | 765 | case 0x7f: |
| 592 | 766 | { |
| 593 | 767 | te_40103 = 0; |
| 594 | 768 | ld_40103 = 1; |
| 595 | 769 | break; |
| 596 | 770 | } |
| 771 | |
| 597 | 772 | case 0xff: |
| 598 | 773 | { |
| 599 | 774 | te_40103 = 1; |
| r3426 | r3427 | |
| 603 | 778 | } |
| 604 | 779 | } |
| 605 | 780 | |
| 781 | |
| 782 | /* Baby Sound Handlers */ |
| 783 | |
| 784 | static READ8_HANDLER(baby_sound_p0_r) |
| 785 | { |
| 786 | return sbp0; |
| 787 | } |
| 788 | |
| 789 | static WRITE8_HANDLER(baby_sound_p0_w) |
| 790 | { |
| 791 | sbp0 = data; |
| 792 | } |
| 793 | |
| 794 | static READ8_HANDLER(baby_sound_p1_r) |
| 795 | { |
| 796 | c_io = (p1 >> 5) & 1; |
| 797 | hp_1 = (~p24_data >> 6) & 1; |
| 798 | hp_2 = (~p24_data >> 5) & 1; |
| 799 | bell = (p1 >> 4) & 1; |
| 800 | aux3 = (p1 >> 3) & 1; |
| 801 | baby_latch = c_io + (hp_1 << 1) + (hp_2 << 2) + (bell << 3) + (aux3 << 4) + 0xe0; |
| 802 | return baby_latch; |
| 803 | } |
| 804 | |
| 805 | static WRITE8_HANDLER(baby_sound_p1_w) |
| 806 | { |
| 807 | baby_latch = baby_latch | data; |
| 808 | } |
| 809 | |
| 810 | static READ8_HANDLER(baby_sound_p2_r) |
| 811 | { |
| 812 | return sbp2; |
| 813 | } |
| 814 | |
| 815 | static WRITE8_HANDLER(baby_sound_p2_w) |
| 816 | { |
| 817 | sbp2 = data; |
| 818 | dac_0_data_w(machine, 0, data); |
| 819 | } |
| 820 | |
| 821 | static READ8_HANDLER(baby_sound_p3_r) |
| 822 | { |
| 823 | return sbp3; |
| 824 | } |
| 825 | |
| 826 | static WRITE8_HANDLER(baby_sound_p3_w) |
| 827 | { |
| 828 | UINT8 lmp_ports, ay_intf; |
| 829 | sbp3 = data; |
| 830 | lmp_ports = sbp3 >> 1 & 0x07; |
| 831 | |
| 832 | output_set_value("TOP_1", (lmp_ports >> 0) & 1); |
| 833 | output_set_value("TOP_2", (lmp_ports >> 1) & 1); |
| 834 | output_set_value("TOP_3", (lmp_ports >> 2) & 1); |
| 835 | |
| 836 | if (!(sbp3 & 0x10)) |
| 837 | { |
| 838 | ay8910_reset_ym(sndti_token(SOUND_AY8910, 0)); |
| 839 | logerror("AY3-8910: Reset\n"); |
| 840 | } |
| 841 | |
| 842 | ay_intf = (sbp3 >> 5) & 0x07; |
| 843 | |
| 844 | switch (ay_intf) |
| 845 | { |
| 846 | case 0x00: break; |
| 847 | case 0x01: break; |
| 848 | case 0x02: break; |
| 849 | case 0x03: ay8910_write_port_0_w(machine, 1, sbp0); break; |
| 850 | case 0x04: break; |
| 851 | case 0x05: sbp0 = ay8910_read_port_0_r(machine, sbp0); break; |
| 852 | case 0x06: break; |
| 853 | case 0x07: ay8910_control_port_0_w(machine, 0, sbp0); break; |
| 854 | } |
| 855 | } |
| 856 | |
| 857 | |
| 606 | 858 | static TIMER_CALLBACK(sound_t1_callback) |
| 607 | 859 | { |
| 608 | 860 | if (te_40103 == 1) |
| r3426 | r3427 | |
| 625 | 877 | ADDRESS_MAP_END |
| 626 | 878 | |
| 627 | 879 | static ADDRESS_MAP_START( i8039_io_port, ADDRESS_SPACE_IO, 8 ) |
| 628 | | AM_RANGE(0x00, 0xff ) AM_READWRITE(videopkr_io_r, videopkr_io_w) |
| 880 | AM_RANGE(0x00 , 0xff ) AM_READWRITE(videopkr_io_r, videopkr_io_w) |
| 629 | 881 | AM_RANGE(MCS48_PORT_P1, MCS48_PORT_P1) AM_READWRITE(videopkr_p1_data_r, videopkr_p1_data_w) |
| 630 | 882 | AM_RANGE(MCS48_PORT_P2, MCS48_PORT_P2) AM_READWRITE(videopkr_p2_data_r, videopkr_p2_data_w) |
| 631 | 883 | AM_RANGE(MCS48_PORT_P4, MCS48_PORT_P4) AM_WRITE(p4_w) |
| r3426 | r3427 | |
| 637 | 889 | ADDRESS_MAP_END |
| 638 | 890 | |
| 639 | 891 | static ADDRESS_MAP_START( i8039_sound_port, ADDRESS_SPACE_IO, 8 ) |
| 640 | | AM_RANGE(0x00, 0xff ) AM_READWRITE(sound_io_r, sound_io_w) |
| 892 | AM_RANGE(0x00 , 0xff ) AM_READWRITE(sound_io_r, sound_io_w) |
| 641 | 893 | AM_RANGE(MCS48_PORT_P1, MCS48_PORT_P1) AM_WRITE(dac_0_data_w) |
| 642 | 894 | AM_RANGE(MCS48_PORT_P2, MCS48_PORT_P2) AM_READWRITE(sound_p2_r, sound_p2_w) |
| 643 | 895 | ADDRESS_MAP_END |
| 644 | 896 | |
| 645 | 897 | |
| 898 | static ADDRESS_MAP_START( i8051_sound_mem, ADDRESS_SPACE_PROGRAM, 8 ) |
| 899 | AM_RANGE(0x0000, 0x0fff) AM_ROM |
| 900 | ADDRESS_MAP_END |
| 901 | |
| 902 | static ADDRESS_MAP_START( i8051_sound_dat, ADDRESS_SPACE_DATA, 8 ) |
| 903 | AM_RANGE(0x0000, 0x1ff) AM_RAM |
| 904 | ADDRESS_MAP_END |
| 905 | |
| 906 | static ADDRESS_MAP_START( i8051_sound_port, ADDRESS_SPACE_IO, 8 ) |
| 907 | AM_RANGE(0x00, 0x00) AM_READWRITE(baby_sound_p0_r, baby_sound_p0_w) |
| 908 | AM_RANGE(0x01, 0x01) AM_READWRITE(baby_sound_p1_r, baby_sound_p1_w) |
| 909 | AM_RANGE(0x02, 0x02) AM_READWRITE(baby_sound_p2_r, baby_sound_p2_w) |
| 910 | AM_RANGE(0x03, 0x03) AM_READWRITE(baby_sound_p3_r, baby_sound_p3_w) |
| 911 | ADDRESS_MAP_END |
| 912 | |
| 913 | |
| 646 | 914 | /************************ |
| 647 | 915 | * Input Ports * |
| 648 | 916 | ************************/ |
| r3426 | r3427 | |
| 651 | 919 | PORT_START("IN0") |
| 652 | 920 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Door") PORT_TOGGLE PORT_CODE(KEYCODE_0) |
| 653 | 921 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Books") PORT_CODE(KEYCODE_9) |
| 654 | | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(4) |
| 922 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(2) |
| 655 | 923 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Start") PORT_CODE(KEYCODE_1) |
| 656 | 924 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Discard") PORT_CODE(KEYCODE_2) |
| 657 | 925 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("Cancel") PORT_CODE(KEYCODE_N) |
| r3426 | r3427 | |
| 662 | 930 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C) |
| 663 | 931 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V) |
| 664 | 932 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON8 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B) |
| 665 | | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_8) |
| 666 | | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON9 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_M) |
| 667 | | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 933 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 934 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON10) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_8) |
| 935 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON11) PORT_NAME("Payout") PORT_CODE(KEYCODE_M) |
| 668 | 936 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 669 | 937 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 670 | 938 | |
| 939 | PORT_START("IN2") |
| 940 | PORT_DIPNAME( 0x20, 0x00, "Color Sw." ) PORT_DIPLOCATION("SW1:1") |
| 941 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 942 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 943 | |
| 671 | 944 | INPUT_PORTS_END |
| 672 | 945 | |
| 673 | 946 | static INPUT_PORTS_START( blckjack ) |
| 674 | 947 | PORT_START("IN0") |
| 675 | 948 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Door") PORT_TOGGLE PORT_CODE(KEYCODE_0) |
| 676 | 949 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Books") PORT_CODE(KEYCODE_9) |
| 677 | | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(4) |
| 950 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(2) |
| 678 | 951 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Start") PORT_CODE(KEYCODE_1) |
| 679 | 952 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Hit") PORT_CODE(KEYCODE_Z) |
| 680 | 953 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("Stand") PORT_CODE(KEYCODE_X) |
| r3426 | r3427 | |
| 684 | 957 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 685 | 958 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 686 | 959 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 687 | | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_8) |
| 688 | | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON9 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_M) |
| 689 | | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 960 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 961 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON10) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_8) |
| 962 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON11) PORT_NAME("Payout") PORT_CODE(KEYCODE_M) |
| 690 | 963 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 691 | 964 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 965 | |
| 966 | PORT_START("IN2") |
| 967 | PORT_DIPNAME( 0x20, 0x00, "Color Sw." ) PORT_DIPLOCATION("SW1:1") |
| 968 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 969 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 692 | 970 | INPUT_PORTS_END |
| 693 | 971 | |
| 694 | 972 | static INPUT_PORTS_START( videodad ) |
| 695 | 973 | PORT_START("IN0") |
| 696 | | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Door") PORT_TOGGLE PORT_CODE(KEYCODE_0) |
| 697 | | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Books") PORT_CODE(KEYCODE_9) |
| 698 | | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(4) |
| 699 | | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Get Credits") PORT_CODE(KEYCODE_Q) |
| 700 | | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Crap") PORT_CODE(KEYCODE_A) |
| 701 | | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("6 or Less") PORT_CODE(KEYCODE_Z) |
| 702 | | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Seven") PORT_CODE(KEYCODE_X) |
| 703 | | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_NAME("8 or More") PORT_CODE(KEYCODE_C) |
| 974 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Door") PORT_TOGGLE PORT_CODE(KEYCODE_0) |
| 975 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Books") PORT_CODE(KEYCODE_9) |
| 976 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(2) |
| 977 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Take") PORT_CODE(KEYCODE_Q) |
| 978 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Crap") PORT_CODE(KEYCODE_A) |
| 979 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("6 or Less") PORT_CODE(KEYCODE_Z) |
| 980 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Seven") PORT_CODE(KEYCODE_X) |
| 981 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_NAME("8 or More") PORT_CODE(KEYCODE_C) |
| 704 | 982 | |
| 705 | 983 | PORT_START("IN1") |
| 706 | 984 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_NAME("Field") PORT_CODE(KEYCODE_S) |
| 707 | 985 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_NAME("Eleven") PORT_CODE(KEYCODE_V) |
| 708 | 986 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON8 ) PORT_NAME("Twelve") PORT_CODE(KEYCODE_B) |
| 709 | | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_8) |
| 710 | | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON9 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_M) |
| 711 | | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 987 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 988 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON10) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_8) |
| 989 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON11) PORT_NAME("Payout") PORT_CODE(KEYCODE_M) |
| 712 | 990 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 713 | 991 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 992 | |
| 993 | PORT_START("IN2") |
| 994 | PORT_DIPNAME( 0x20, 0x00, "Color Sw." ) PORT_DIPLOCATION("SW1:1") |
| 995 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 996 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 714 | 997 | INPUT_PORTS_END |
| 715 | 998 | |
| 716 | 999 | static INPUT_PORTS_START( videocba ) |
| 717 | 1000 | PORT_START("IN0") |
| 718 | 1001 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Door") PORT_TOGGLE PORT_CODE(KEYCODE_0) |
| 719 | 1002 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Books") PORT_CODE(KEYCODE_9) |
| 720 | | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(4) |
| 1003 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(2) |
| 721 | 1004 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Start") PORT_CODE(KEYCODE_1) |
| 722 | 1005 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 723 | 1006 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| r3426 | r3427 | |
| 728 | 1011 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 729 | 1012 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 730 | 1013 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 731 | | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_8) |
| 732 | | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON9 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_M) |
| 733 | | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 1014 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 1015 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON10) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_8) |
| 1016 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON11) PORT_NAME("Payout") PORT_CODE(KEYCODE_M) |
| 734 | 1017 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 735 | 1018 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 1019 | |
| 1020 | PORT_START("IN2") |
| 1021 | PORT_DIPNAME( 0x20, 0x00, "Color Sw." ) PORT_DIPLOCATION("SW1:1") |
| 1022 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 1023 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 736 | 1024 | INPUT_PORTS_END |
| 737 | 1025 | |
| 738 | 1026 | |
| 1027 | static INPUT_PORTS_START( babypkr ) |
| 1028 | PORT_START("IN0") |
| 1029 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Door") PORT_TOGGLE PORT_CODE(KEYCODE_0) |
| 1030 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Books") PORT_CODE(KEYCODE_9) |
| 1031 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(2) |
| 1032 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Start") PORT_CODE(KEYCODE_1) |
| 1033 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Discard-Double") PORT_CODE(KEYCODE_2) |
| 1034 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("Cancel-Take") PORT_CODE(KEYCODE_N) |
| 1035 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z) |
| 1036 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X) |
| 1037 | |
| 1038 | PORT_START("IN1") |
| 1039 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C) |
| 1040 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V) |
| 1041 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON8 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B) |
| 1042 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON9 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_3) |
| 1043 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON10) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_8) |
| 1044 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON11) PORT_NAME("Payout") PORT_CODE(KEYCODE_M) |
| 1045 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 1046 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON12) PORT_NAME("Hand Pay") PORT_CODE(KEYCODE_W) |
| 1047 | |
| 1048 | PORT_START("IN2") |
| 1049 | PORT_DIPNAME( 0x20, 0x00, "Color Sw." ) PORT_DIPLOCATION("SW1:1") |
| 1050 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 1051 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1052 | |
| 1053 | INPUT_PORTS_END |
| 1054 | |
| 1055 | static INPUT_PORTS_START( babydad ) |
| 1056 | PORT_START("IN0") |
| 1057 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Door") PORT_TOGGLE PORT_CODE(KEYCODE_0) |
| 1058 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Books") PORT_CODE(KEYCODE_9) |
| 1059 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(2) |
| 1060 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Take") PORT_CODE(KEYCODE_1) |
| 1061 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Crap") PORT_CODE(KEYCODE_2) |
| 1062 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("6 or Less") PORT_CODE(KEYCODE_N) |
| 1063 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Seven") PORT_CODE(KEYCODE_Z) |
| 1064 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_NAME("8 or More") PORT_CODE(KEYCODE_X) |
| 1065 | |
| 1066 | PORT_START("IN1") |
| 1067 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_NAME("Field") PORT_CODE(KEYCODE_C) |
| 1068 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_NAME("Eleven") PORT_CODE(KEYCODE_V) |
| 1069 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON8 ) PORT_NAME("Twelve") PORT_CODE(KEYCODE_B) |
| 1070 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON9 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_3) |
| 1071 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON10) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_8) |
| 1072 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON11) PORT_NAME("Payout") PORT_CODE(KEYCODE_M) |
| 1073 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 1074 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON12) PORT_NAME("Hand Pay") PORT_CODE(KEYCODE_W) |
| 1075 | |
| 1076 | PORT_START("IN2") |
| 1077 | PORT_DIPNAME( 0x20, 0x00, "Color Sw." ) PORT_DIPLOCATION("SW1:1") |
| 1078 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 1079 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1080 | |
| 1081 | INPUT_PORTS_END |
| 1082 | |
| 1083 | |
| 739 | 1084 | /************************* |
| 740 | 1085 | * Graphics Layouts * |
| 741 | 1086 | *************************/ |
| r3426 | r3427 | |
| 790 | 1135 | sound_latch = 0xff; /* default sound data latch value */ |
| 791 | 1136 | p24_data = 0xff; |
| 792 | 1137 | p1 = 0xff; |
| 1138 | ant_cio = 0; |
| 1139 | count0 = 0; |
| 793 | 1140 | t1_timer = timer_alloc(sound_t1_callback, NULL); |
| 794 | | timer_adjust_periodic(t1_timer, attotime_zero, 0, ATTOTIME_IN_HZ(50)); /* yep, 50Hz. */ |
| 1141 | timer_adjust_periodic(t1_timer, attotime_zero, 0, ATTOTIME_IN_HZ(50)); /* 50Hz. */ |
| 795 | 1142 | } |
| 796 | 1143 | |
| 1144 | static const ay8910_interface ay8910_config = |
| 1145 | { |
| 1146 | AY8910_LEGACY_OUTPUT, |
| 1147 | AY8910_DEFAULT_LOADS, |
| 1148 | /* no ports used */ |
| 1149 | NULL, |
| 1150 | NULL, |
| 1151 | NULL, |
| 1152 | NULL |
| 1153 | }; |
| 797 | 1154 | |
| 798 | 1155 | /************************ |
| 799 | 1156 | * Machine Drivers * |
| r3426 | r3427 | |
| 811 | 1168 | MDRV_CPU_ADD("sound", I8039, SOUND_CLOCK) |
| 812 | 1169 | MDRV_CPU_PROGRAM_MAP(i8039_sound_mem, 0) |
| 813 | 1170 | MDRV_CPU_IO_MAP(i8039_sound_port, 0) |
| 814 | | |
| 815 | 1171 | MDRV_MACHINE_START(videopkr) |
| 816 | 1172 | MDRV_NVRAM_HANDLER(videopkr) |
| 817 | 1173 | |
| r3426 | r3427 | |
| 832 | 1188 | |
| 833 | 1189 | /* sound hardware */ |
| 834 | 1190 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 835 | | MDRV_SOUND_ADD("sound", DAC, 0) |
| 1191 | MDRV_SOUND_ADD("sound", DAC, 0) |
| 836 | 1192 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.55) |
| 837 | 1193 | MACHINE_DRIVER_END |
| 838 | 1194 | |
| r3426 | r3427 | |
| 865 | 1221 | MACHINE_DRIVER_END |
| 866 | 1222 | |
| 867 | 1223 | |
| 1224 | static MACHINE_DRIVER_START( babypkr ) |
| 1225 | |
| 1226 | /* basic machine hardware */ |
| 1227 | MDRV_IMPORT_FROM(videopkr) |
| 1228 | MDRV_CPU_REPLACE("main", I8039, CPU_CLOCK_ALT) |
| 1229 | MDRV_CPU_REPLACE("sound", I8051, CPU_CLOCK ) |
| 1230 | MDRV_CPU_PROGRAM_MAP(i8051_sound_mem, 0) |
| 1231 | MDRV_CPU_DATA_MAP(i8051_sound_dat, 0) |
| 1232 | MDRV_CPU_IO_MAP(i8051_sound_port, 0) |
| 1233 | |
| 1234 | /* video hardware */ |
| 1235 | MDRV_SCREEN_MODIFY("main") |
| 1236 | MDRV_SCREEN_SIZE(32*16, 32*8) |
| 1237 | MDRV_SCREEN_VISIBLE_AREA(5*16, 31*16-1, 3*8, 29*8-1) |
| 1238 | |
| 1239 | MDRV_PALETTE_INIT(babypkr) |
| 1240 | MDRV_GFXDECODE(videodad) |
| 1241 | MDRV_VIDEO_START(vidadcba) |
| 1242 | |
| 1243 | MDRV_SOUND_ADD("ay", AY8910, CPU_CLOCK / 6) |
| 1244 | MDRV_SOUND_CONFIG(ay8910_config) |
| 1245 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30) |
| 1246 | MACHINE_DRIVER_END |
| 1247 | |
| 1248 | |
| 868 | 1249 | /************************* |
| 869 | 1250 | * Rom Load * |
| 870 | 1251 | *************************/ |
| 871 | 1252 | |
| 872 | 1253 | ROM_START( videopkr ) |
| 873 | 1254 | ROM_REGION( 0x1000, "main", 0 ) |
| 874 | | ROM_LOAD( "vpoker.c5", 0x0000, 0x0800, CRC(200d21e4) SHA1(d991c9f10a36a02491bb0aba32129675fed77a10) ) |
| 875 | | ROM_LOAD( "vpoker.c7", 0x0800, 0x0800, CRC(f72c2a90) SHA1(e9c54d1f895cde0aaca4121a252da40594195a25) ) |
| 1255 | ROM_LOAD( "vpoker.c5", 0x0000, 0x0800, CRC(200d21e4) SHA1(d991c9f10a36a02491bb0aba32129675fed77a10) ) |
| 1256 | ROM_LOAD( "vpoker.c7", 0x0800, 0x0800, CRC(f72c2a90) SHA1(e9c54d1f895cde0aaca4121a252da40594195a25) ) |
| 876 | 1257 | |
| 877 | 1258 | ROM_REGION( 0x1000, "sound", 0 ) /* sound cpu program */ |
| 878 | 1259 | ROM_LOAD( "vpsona3.pbj", 0x0000, 0x0800, CRC(a4f7bf7f) SHA1(a08287821f3471cb3e1ae0528811da930fd57387) ) |
| 879 | 1260 | ROM_LOAD( "vpsona2.pbj", 0x0800, 0x0800, CRC(583a9b95) SHA1(a10e85452e285b2a63f885f4e39b7f76ee8b2407) ) |
| 880 | 1261 | |
| 881 | 1262 | ROM_REGION( 0x1000, "tiles", ROMREGION_DISPOSE ) |
| 882 | | ROM_LOAD( "vpbj_b15.org", 0x0000, 0x0800, CRC(67468e3a) SHA1(761766f0fb92693d32179a914e11da517cc5747d) ) |
| 883 | | ROM_LOAD( "vpbj_b12.org", 0x0800, 0x0800, CRC(4aba166e) SHA1(930cea2216a39b5d72021d1b449db018a121adce) ) |
| 1263 | ROM_LOAD( "vpbj_b15.org", 0x0000, 0x0800, CRC(67468e3a) SHA1(761766f0fb92693d32179a914e11da517cc5747d) ) |
| 1264 | ROM_LOAD( "vpbj_b12.org", 0x0800, 0x0800, CRC(4aba166e) SHA1(930cea2216a39b5d72021d1b449db018a121adce) ) |
| 884 | 1265 | |
| 885 | 1266 | ROM_REGION( 0x0100, "proms", 0 ) |
| 886 | 1267 | ROM_LOAD( "vpbjorg.col", 0x0000, 0x0100, CRC(09abf5f1) SHA1(f2d6b4f2f08b47b93728dafb50576d5ca859255f) ) |
| 887 | | ROM_END |
| 1268 | ROM_END |
| 888 | 1269 | |
| 889 | 1270 | ROM_START( blckjack ) |
| 890 | 1271 | ROM_REGION( 0x1000, "main", 0 ) |
| r3426 | r3427 | |
| 924 | 1305 | |
| 925 | 1306 | ROM_START( videocba ) |
| 926 | 1307 | ROM_REGION( 0x1000, "main", 0 ) |
| 927 | | ROM_LOAD( "vcc5org.old", 0x0000, 0x0800, CRC(e6a6a4e4) SHA1(ada1e241a2d39e5a9cf400559e825b0b7d88fca5) ) |
| 1308 | ROM_LOAD( "vcc5org.old", 0x0000, 0x0800, CRC(96d72283) SHA1(056197a9e2ad40d1d6610bbe8a1855b81c0a6715) ) |
| 928 | 1309 | ROM_LOAD( "vcc7org.old", 0x0800, 0x0800, CRC(fdec55c1) SHA1(19b740f3b7f2acaa0fc09f4c0a2fe69721ebbcaf) ) |
| 929 | 1310 | |
| 930 | 1311 | ROM_REGION( 0x1000, "sound", 0 ) /* sound cpu program */ |
| 931 | 1312 | ROM_LOAD( "vcsona3.rod", 0x0000, 0x0800, CRC(b0948d6c) SHA1(6c45d350288f69b4b2b5ac16ab2b418f14c6eded) ) |
| 932 | 1313 | ROM_LOAD( "vcsona2.rod", 0x0800, 0x0800, CRC(44ff9e85) SHA1(5d7988d2d3bca932b77e014dc61f7a2347b01603) ) |
| 933 | 1314 | |
| 934 | | ROM_REGION( 0x2000, "tiles", ROMREGION_DISPOSE ) |
| 935 | | ROM_LOAD( "vcbab15.bin", 0x0000, 0x0800, CRC(f31281cb) SHA1(bd4743c328f56334ac015c1f10de01ac25810756) ) |
| 1315 | ROM_REGION( 0x2000, "tiles", 0 ) |
| 1316 | ROM_LOAD( "vcbab15.bin", 0x0000, 0x0800, CRC(fce8c772) SHA1(f9736b724b620d60a17d77f6b773f39b99b47190) ) |
| 936 | 1317 | ROM_LOAD( "vcbab14.bin", 0x0800, 0x0800, CRC(6fd66330) SHA1(0ee3b3329b94ded81f028ebb687e580787c74ded) ) |
| 937 | | ROM_LOAD( "vcbab12.bin", 0x1000, 0x0800, CRC(eace907a) SHA1(c81fb5eb838fea809729edc8ab2f637fffd0b2d1) ) |
| 1318 | ROM_LOAD( "vcbab12.bin", 0x1000, 0x0800, CRC(e534d6c3) SHA1(7a93c6c07b5a28558ee005fed2098dc2933c3252) ) |
| 938 | 1319 | ROM_LOAD( "vcbab11.bin", 0x1800, 0x0800, CRC(e2069a6d) SHA1(2d4e71f2838451215e6f9629e2d1a35808510353) ) |
| 939 | 1320 | |
| 940 | 1321 | ROM_REGION( 0x0100, "proms", 0 ) |
| 941 | | ROM_LOAD( "vdcbaorg.col", 0x0000, 0x0100, BAD_DUMP CRC(5b8e78b1) SHA1(ac5a1d7ab9dac7b4994d2f543801bf57e8573ba6) ) |
| 1322 | ROM_LOAD( "vdcbaorg.col", 0x0000, 0x0100, CRC(6cdca5ae) SHA1(f7430af1adfa24fdd68a026ee431ead7d47ba269) ) |
| 942 | 1323 | ROM_END |
| 943 | 1324 | |
| 1325 | ROM_START( babypkr ) |
| 1326 | ROM_REGION( 0x4000, "main", 0 ) |
| 1327 | ROM_LOAD( "pok8039.old", 0x0000, 0x4000, CRC(c5400ef1) SHA1(1f27c92d2979319070a695f71ed494f6d47fe88f) ) |
| 944 | 1328 | |
| 1329 | ROM_REGION( 0x1000, "sound", 0 ) |
| 1330 | ROM_LOAD( "dadvpbj.son", 0x0000, 0x1000, CRC(7b71cd30) SHA1(d782c50689a5aea632b6d274a1a7435a092ad20c) ) |
| 1331 | |
| 1332 | ROM_REGION( 0x20000, "tiles", ROMREGION_DISPOSE ) |
| 1333 | ROM_LOAD( "vpbjep15.mme", 0x00000, 0x8000,CRC(cad0f7cf) SHA1(0721b8b30dbf2a5da2967b0cfce24b4cd62d3f9d) ) |
| 1334 | ROM_LOAD( "vpbjep14.mme", 0x08000, 0x8000,CRC(96f512fa) SHA1(f5344aeb57f53c43156e923fb7f0d8d37c73dbe9) ) |
| 1335 | ROM_LOAD( "vpbjep12.mme", 0x10000, 0x8000,CRC(cfdca530) SHA1(609a5ad6f34e6b5c1c35584ddc62d4ff87546415) ) |
| 1336 | ROM_LOAD( "vpbjep11.mme", 0x18000, 0x8000,CRC(44e6c489) SHA1(ca211cb3807c476cd8c5ac98b0d18b4b2724df45) ) |
| 1337 | |
| 1338 | ROM_REGION( 0x0100, "proms", 0 ) |
| 1339 | ROM_LOAD( "babypok.col", 0x0000, 0x0100, CRC(2b98e88a) SHA1(bb22ef090e9e5dddc5c160d41a5f52df0db6feb6) ) |
| 1340 | ROM_END |
| 1341 | |
| 1342 | ROM_START( babydad ) |
| 1343 | ROM_REGION( 0x4000, "main", 0 ) |
| 1344 | ROM_LOAD( "da400org.old", 0x0000, 0x4000, CRC(cbca3a0c) SHA1(5d9428f26edf2c5531398a6ae36b4e9169b2c1c1) ) |
| 1345 | |
| 1346 | ROM_REGION( 0x1000, "sound", 0 ) |
| 1347 | ROM_LOAD( "dadvpbj.son", 0x0000, 0x1000, CRC(7b71cd30) SHA1(d782c50689a5aea632b6d274a1a7435a092ad20c) ) |
| 1348 | |
| 1349 | ROM_REGION( 0x20000, "tiles", ROMREGION_DISPOSE ) |
| 1350 | ROM_LOAD( "ep15dad.dad", 0x00000, 0x8000,CRC(21bd102d) SHA1(52788d09dbe38fa29b8ff044a1c5249cad3d45b4) ) |
| 1351 | ROM_LOAD( "ep14dad.dad", 0x08000, 0x8000,CRC(b6e2c8a2) SHA1(352d88e1d764da5133de2be9987d4875f0c9237f) ) |
| 1352 | ROM_LOAD( "ep12dad.dad", 0x10000, 0x8000,CRC(98702beb) SHA1(6d42ea48df7546932570da1e9b0be7a1f01f930c) ) |
| 1353 | ROM_LOAD( "ep11dad.dad", 0x18000, 0x8000,CRC(90aac63b) SHA1(8b312f2313334b4b5b0344b786aa1a7a4979ea92) ) |
| 1354 | |
| 1355 | ROM_REGION( 0x0100, "proms", 0 ) |
| 1356 | ROM_LOAD( "babydad.col", 0x0000, 0x0100, CRC(b3358b3f) SHA1(d499a08fefaa3566de2e6fcddd237d6dfa840d8a) ) |
| 1357 | ROM_END |
| 1358 | |
| 1359 | |
| 945 | 1360 | /************************* |
| 946 | 1361 | * Game Drivers * |
| 947 | 1362 | *************************/ |
| 948 | | |
| 949 | | /* YEAR NAME PARENT MACHINE INPUT INIT ROT COMPANY FULLNAME FLAGS */ |
| 950 | | GAME( 1984, videopkr, 0, videopkr, videopkr, 0, ROT0, "InterFlip", "Video Poker", 0 ) |
| 951 | | GAME( 1984, blckjack, videopkr, blckjack, blckjack, 0, ROT0, "InterFlip", "Black Jack", 0 ) |
| 952 | | GAME( 1987, videodad, videopkr, videodad, videodad, 0, ROT0, "InterFlip", "Video Dado", 0 ) |
| 953 | | GAME( 1987, videocba, videopkr, videodad, videocba, 0, ROT0, "InterFlip", "Video Cordoba", GAME_IMPERFECT_COLORS ) |
| 1363 | /* YEAR NAME PARENT MACHINE INPUT INIT ROT COMPANY FULLNAME FLAGS LAYOUT */ |
| 1364 | GAMEL( 1984, videopkr, 0, videopkr, videopkr, 0, ROT0, "InterFlip", "Video Poker", 0, layout_videopkr ) |
| 1365 | GAMEL( 1984, blckjack, videopkr, blckjack, blckjack, 0, ROT0, "InterFlip", "Black Jack", 0, layout_blckjack ) |
| 1366 | GAMEL( 1987, videodad, videopkr, videodad, videodad, 0, ROT0, "InterFlip", "Video Dado", 0, layout_videodad ) |
| 1367 | GAMEL( 1987, videocba, videopkr, videodad, videocba, 0, ROT0, "InterFlip", "Video Cordoba", 0, layout_videocba ) |
| 1368 | GAMEL( 1987, babypkr , videopkr, babypkr , babypkr , 0, ROT0, "Recreativos Franco", "Baby Poker", 0, layout_babypkr ) |
| 1369 | GAMEL( 1987, babydad , videopkr, babypkr , babydad , 0, ROT0, "Recreativos Franco", "Baby Dado", 0, layout_babydad ) |
src/mame/drivers/snk.c
| r3426 | r3427 | |
| 45 | 45 | |
| 46 | 46 | Notes: |
| 47 | 47 | ------ |
| 48 | |
| 48 | 49 | - How to enter test mode: |
| 49 | 50 | 1983 marvins: n/a |
| 50 | 51 | 1984 madcrash: keep F2 pressed during boot |
| r3426 | r3427 | |
| 200 | 201 | (a continuous scale is played by the Y8950). Taking the YM3526 out appears to |
| 201 | 202 | fix the problem since all game sounds are apparently played by the Y8950 alone. |
| 202 | 203 | |
| 204 | - fsoccerb is based on fsoccerj : the only differences are joysticks hacks |
| 205 | (code patched at 0x00f1 + extra code at 0xb700 and after). |
| 203 | 206 | |
| 207 | |
| 204 | 208 | TODO: |
| 205 | 209 | ----- |
| 206 | 210 | |
| r3426 | r3427 | |
| 1814 | 1818 | PORT_DIPNAME( 0x02, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("DSW1:2") |
| 1815 | 1819 | PORT_DIPSETTING( 0x00, DEF_STR( Upright ) ) /* Single Controls */ |
| 1816 | 1820 | PORT_DIPSETTING( 0x02, DEF_STR( Cocktail ) ) |
| 1817 | | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW1:3") |
| 1821 | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW1:3") |
| 1818 | 1822 | PORT_DIPSETTING( 0x04, "3" ) |
| 1819 | 1823 | PORT_DIPSETTING( 0x00, "5" ) |
| 1820 | 1824 | PORT_DIPNAME( 0x38, 0x38, DEF_STR( Coinage ) ) PORT_DIPLOCATION("DSW1:4,5,6") |
| r3426 | r3427 | |
| 2031 | 2035 | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) |
| 2032 | 2036 | INPUT_PORTS_END |
| 2033 | 2037 | |
| 2034 | | |
| 2035 | 2038 | static INPUT_PORTS_START( alphamis ) |
| 2036 | 2039 | PORT_START("IN0") |
| 2037 | 2040 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| r3426 | r3427 | |
| 2291 | 2294 | static INPUT_PORTS_START( fitegolf ) |
| 2292 | 2295 | PORT_START("IN0") |
| 2293 | 2296 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_sound_busy, 0) |
| 2294 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) /* uses "Coin A" settings - code at 0x045b */ |
| 2295 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT ) /* reset */ |
| 2297 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) /* uses "Coin A" settings - code at 0x045b */ |
| 2298 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT ) /* reset */ |
| 2296 | 2299 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) /* same as the dip switch */ |
| 2297 | 2300 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 2298 | 2301 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) |
| r3426 | r3427 | |
| 2369 | 2372 | PORT_DIPNAME( 0x40, 0x40, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW2:7") |
| 2370 | 2373 | PORT_DIPSETTING( 0x00, DEF_STR( No ) ) |
| 2371 | 2374 | PORT_DIPSETTING( 0x40, DEF_STR( Yes ) ) |
| 2372 | | PORT_SERVICE( 0x80, IP_ACTIVE_LOW ) PORT_DIPLOCATION("DSW2:8") |
| 2375 | PORT_SERVICE( 0x80, IP_ACTIVE_LOW ) PORT_DIPLOCATION("DSW2:8") |
| 2373 | 2376 | INPUT_PORTS_END |
| 2374 | 2377 | |
| 2375 | 2378 | |
| 2376 | 2379 | static INPUT_PORTS_START( countryc ) |
| 2377 | 2380 | PORT_START("IN0") |
| 2378 | 2381 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_sound_busy, 0) |
| 2379 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) /* uses "Coin A" settings - code at 0x0450 */ |
| 2380 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT ) /* reset */ |
| 2382 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) /* uses "Coin A" settings - code at 0x0450 */ |
| 2383 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT ) /* reset */ |
| 2381 | 2384 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) /* same as the dip switch */ |
| 2382 | 2385 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 2383 | 2386 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) |
| r3426 | r3427 | |
| 2435 | 2438 | PORT_DIPNAME( 0x40, 0x40, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW2:7") |
| 2436 | 2439 | PORT_DIPSETTING( 0x00, DEF_STR( No ) ) |
| 2437 | 2440 | PORT_DIPSETTING( 0x40, DEF_STR( Yes ) ) |
| 2438 | | PORT_SERVICE( 0x80, IP_ACTIVE_LOW ) PORT_DIPLOCATION("DSW2:8") |
| 2441 | PORT_SERVICE( 0x80, IP_ACTIVE_LOW ) PORT_DIPLOCATION("DSW2:8") |
| 2439 | 2442 | |
| 2440 | 2443 | PORT_START("TRACKBALLX1") |
| 2441 | 2444 | PORT_BIT( 0x7f, 0x00, IPT_TRACKBALL_X ) PORT_SENSITIVITY(50) PORT_KEYDELTA(30) PORT_REVERSE PORT_PLAYER(1) |
| r3426 | r3427 | |
| 2458 | 2461 | static INPUT_PORTS_START( ikari ) |
| 2459 | 2462 | PORT_START("IN0") |
| 2460 | 2463 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_sound_busy, 0) |
| 2461 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 2464 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) /* adds 1 credit - code at 0x0a15 */ |
| 2462 | 2465 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2463 | 2466 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2464 | 2467 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) |
| r3426 | r3427 | |
| 2467 | 2470 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) |
| 2468 | 2471 | |
| 2469 | 2472 | PORT_START("IN1") |
| 2470 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 2471 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 2472 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 2473 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 2474 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 2475 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 2473 | 2476 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 2474 | 2477 | PORT_BIT( 0xf0, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(12) PORT_WRAPS PORT_SENSITIVITY(15) PORT_KEYDELTA(1) PORT_CODE_DEC(KEYCODE_Z) PORT_CODE_INC(KEYCODE_X) PORT_REVERSE PORT_FULL_TURN_COUNT(12) |
| 2475 | 2478 | |
| 2476 | 2479 | PORT_START("IN2") |
| 2477 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 2478 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 2479 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 2480 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 2481 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 2482 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 2480 | 2483 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 2481 | 2484 | PORT_BIT( 0xf0, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(12) PORT_WRAPS PORT_SENSITIVITY(15) PORT_KEYDELTA(1) PORT_CODE_DEC(KEYCODE_N) PORT_CODE_INC(KEYCODE_M) PORT_PLAYER(2) PORT_REVERSE PORT_FULL_TURN_COUNT(12) |
| 2482 | 2485 | |
| r3426 | r3427 | |
| 2491 | 2494 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2492 | 2495 | |
| 2493 | 2496 | PORT_START("DSW1") |
| 2494 | | PORT_DIPNAME( 0x01, 0x01, "Allow killing each other" ) PORT_DIPLOCATION("DSW1:1") |
| 2497 | PORT_DIPNAME( 0x01, 0x01, "Allow killing each other" ) PORT_DIPLOCATION("DSW1:1") |
| 2495 | 2498 | PORT_DIPSETTING( 0x01, DEF_STR( No ) ) |
| 2496 | 2499 | PORT_DIPSETTING( 0x00, DEF_STR( Yes ) ) |
| 2497 | | PORT_DIPNAME( 0x02, 0x02, "P1 & P2 Fire Buttons" ) PORT_DIPLOCATION("DSW1:2") |
| 2500 | PORT_DIPNAME( 0x02, 0x02, "P1 & P2 Fire Buttons" ) PORT_DIPLOCATION("DSW1:2") |
| 2498 | 2501 | PORT_DIPSETTING( 0x02, "Separate" ) |
| 2499 | 2502 | PORT_DIPSETTING( 0x00, "Common" ) |
| 2500 | | PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" ) PORT_DIPLOCATION("DSW1:3") |
| 2501 | | PORT_DIPSETTING( 0x04, "1st & every 2nd" ) |
| 2502 | | PORT_DIPSETTING( 0x00, "1st & 2nd only" ) |
| 2503 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW1:4") |
| 2503 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_bonus_r, (void *)0x04) |
| 2504 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW1:4") |
| 2504 | 2505 | PORT_DIPSETTING( 0x08, "3" ) |
| 2505 | 2506 | PORT_DIPSETTING( 0x00, "5" ) |
| 2506 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW1:5,6") |
| 2507 | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW1:5,6") |
| 2507 | 2508 | PORT_DIPSETTING( 0x00, DEF_STR( 4C_1C ) ) |
| 2508 | 2509 | PORT_DIPSETTING( 0x10, DEF_STR( 3C_1C ) ) |
| 2509 | 2510 | PORT_DIPSETTING( 0x20, DEF_STR( 2C_1C ) ) |
| 2510 | 2511 | PORT_DIPSETTING( 0x30, DEF_STR( 1C_1C ) ) |
| 2511 | | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW1:7,8") |
| 2512 | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW1:7,8") |
| 2512 | 2513 | PORT_DIPSETTING( 0x00, DEF_STR( 1C_2C ) ) |
| 2513 | 2514 | PORT_DIPSETTING( 0x40, DEF_STR( 1C_3C ) ) |
| 2514 | 2515 | PORT_DIPSETTING( 0x80, DEF_STR( 1C_4C ) ) |
| 2515 | 2516 | PORT_DIPSETTING( 0xc0, DEF_STR( 1C_6C ) ) |
| 2516 | 2517 | |
| 2517 | 2518 | PORT_START("DSW2") |
| 2518 | | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW2:1,2") |
| 2519 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW2:1,2") |
| 2519 | 2520 | PORT_DIPSETTING( 0x03, DEF_STR( Easy ) ) |
| 2520 | 2521 | PORT_DIPSETTING( 0x02, DEF_STR( Normal ) ) |
| 2521 | 2522 | PORT_DIPSETTING( 0x01, DEF_STR( Hard ) ) |
| 2522 | 2523 | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 2523 | | PORT_DIPNAME( 0x0c, 0x08, "Game Mode" ) PORT_DIPLOCATION("DSW2:3,4") |
| 2524 | PORT_DIPNAME( 0x0c, 0x08, "Game Mode" ) PORT_DIPLOCATION("DSW2:3,4") |
| 2524 | 2525 | PORT_DIPSETTING( 0x0c, "Demo Sounds Off" ) |
| 2525 | 2526 | PORT_DIPSETTING( 0x08, "Demo Sounds On" ) |
| 2526 | 2527 | PORT_DIPSETTING( 0x04, "Freeze" ) |
| 2527 | 2528 | PORT_DIPSETTING( 0x00, "Infinite Lives (Cheat)") |
| 2528 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DSW2:5,6") |
| 2529 | PORT_BIT( 0x30, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_bonus_r, (void *)0x30) |
| 2530 | PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "DSW2:7" ) /* read at 0x07c4, but strange test at 0x07cc */ |
| 2531 | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW2:8") |
| 2532 | PORT_DIPSETTING( 0x80, DEF_STR( No ) ) |
| 2533 | PORT_DIPSETTING( 0x00, DEF_STR( Yes ) ) |
| 2534 | |
| 2535 | PORT_START("BONUS") /* fake port to handle bonus lives settings via multiple input ports */ |
| 2536 | PORT_DIPNAME( 0x34, 0x34, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DSW1:3,DSW2:5,6") |
| 2537 | PORT_DIPSETTING( 0x34, "50k 100k 100k+" ) |
| 2538 | PORT_DIPSETTING( 0x24, "60k 120k 120k+" ) |
| 2539 | PORT_DIPSETTING( 0x14, "100k 200k 200k+" ) |
| 2529 | 2540 | PORT_DIPSETTING( 0x30, "50k 100k" ) |
| 2530 | 2541 | PORT_DIPSETTING( 0x20, "60k 120k" ) |
| 2531 | 2542 | PORT_DIPSETTING( 0x10, "100k 200k" ) |
| 2543 | // PORT_DIPSETTING( 0x04, DEF_STR( None ) ) /* duplicated setting */ |
| 2532 | 2544 | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) |
| 2533 | | PORT_DIPNAME( 0x40 ,0x40, DEF_STR( Unused ) ) PORT_DIPLOCATION("DSW2:7") |
| 2534 | | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
| 2535 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2536 | | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW2:8") |
| 2537 | | PORT_DIPSETTING( 0x80, DEF_STR( No ) ) |
| 2538 | | PORT_DIPSETTING( 0x00, DEF_STR( Yes ) ) |
| 2539 | 2545 | INPUT_PORTS_END |
| 2540 | 2546 | |
| 2541 | | |
| 2542 | 2547 | static INPUT_PORTS_START( ikaria ) |
| 2543 | 2548 | PORT_INCLUDE( ikari ) |
| 2544 | 2549 | |
| r3426 | r3427 | |
| 2547 | 2552 | PORT_MODIFY("IN0") |
| 2548 | 2553 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 2549 | 2554 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 2550 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 2555 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1 ) /* adds 1 credit - code at 0x0a00 */ |
| 2551 | 2556 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) |
| 2552 | 2557 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START2 ) |
| 2553 | 2558 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_sound_busy, 0) |
| 2554 | 2559 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2555 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_TILT ) /* reset */ |
| 2560 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_TILT ) /* reset */ |
| 2556 | 2561 | INPUT_PORTS_END |
| 2557 | 2562 | |
| 2558 | | |
| 2559 | 2563 | static INPUT_PORTS_START( ikarinc ) |
| 2560 | 2564 | PORT_INCLUDE( ikaria ) |
| 2561 | 2565 | |
| 2562 | 2566 | // no continues in this version |
| 2563 | 2567 | |
| 2564 | 2568 | PORT_MODIFY("DSW2") |
| 2565 | | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW2:8") |
| 2566 | | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2567 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2569 | PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "DSW2:8" ) |
| 2568 | 2570 | INPUT_PORTS_END |
| 2569 | 2571 | |
| 2570 | | |
| 2571 | 2572 | static INPUT_PORTS_START( ikarijpb ) |
| 2572 | 2573 | PORT_INCLUDE( ikarinc ) |
| 2573 | 2574 | |
| r3426 | r3427 | |
| 2576 | 2577 | // of course the code is patched to handle that. |
| 2577 | 2578 | |
| 2578 | 2579 | PORT_MODIFY("IN1") |
| 2579 | | PORT_BIT( 0x21, 0x01, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 2580 | | PORT_BIT( 0x42, 0x02, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 2581 | | PORT_BIT( 0x84, 0x04, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 2580 | PORT_BIT( 0x21, 0x01, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 2581 | PORT_BIT( 0x42, 0x02, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 2582 | PORT_BIT( 0x84, 0x04, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 2582 | 2583 | PORT_BIT( 0x18, 0x08, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 2583 | 2584 | |
| 2584 | 2585 | PORT_MODIFY("IN2") |
| 2585 | | PORT_BIT( 0x21, 0x01, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 2586 | | PORT_BIT( 0x42, 0x02, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 2587 | | PORT_BIT( 0x84, 0x04, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 2586 | PORT_BIT( 0x21, 0x01, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 2587 | PORT_BIT( 0x42, 0x02, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 2588 | PORT_BIT( 0x84, 0x04, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 2588 | 2589 | PORT_BIT( 0x18, 0x08, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 2589 | 2590 | INPUT_PORTS_END |
| 2590 | 2591 | |
| r3426 | r3427 | |
| 2592 | 2593 | static INPUT_PORTS_START( victroad ) |
| 2593 | 2594 | PORT_START("IN0") |
| 2594 | 2595 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_sound_busy, 0) |
| 2595 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 2596 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT ) /* reset */ |
| 2596 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) /* adds 1 credit - code at 0x0a19 */ |
| 2597 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT ) /* reset */ |
| 2597 | 2598 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2598 | 2599 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 2599 | 2600 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) |
| r3426 | r3427 | |
| 2601 | 2602 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) |
| 2602 | 2603 | |
| 2603 | 2604 | PORT_START("IN1") |
| 2604 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 2605 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 2606 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 2605 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 2606 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 2607 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 2607 | 2608 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 2608 | 2609 | PORT_BIT( 0xf0, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(12) PORT_WRAPS PORT_SENSITIVITY(15) PORT_KEYDELTA(1) PORT_CODE_DEC(KEYCODE_Z) PORT_CODE_INC(KEYCODE_X) PORT_REVERSE PORT_FULL_TURN_COUNT(12) |
| 2609 | 2610 | |
| 2610 | 2611 | PORT_START("IN2") |
| 2611 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 2612 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 2613 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 2612 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 2613 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 2614 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 2614 | 2615 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 2615 | 2616 | PORT_BIT( 0xf0, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(12) PORT_WRAPS PORT_SENSITIVITY(15) PORT_KEYDELTA(1) PORT_CODE_DEC(KEYCODE_N) PORT_CODE_INC(KEYCODE_M) PORT_PLAYER(2) PORT_REVERSE PORT_FULL_TURN_COUNT(12) |
| 2616 | 2617 | |
| r3426 | r3427 | |
| 2628 | 2629 | PORT_DIPNAME( 0x01, 0x01, "Kill friend & walk everywhere (Cheat)") PORT_DIPLOCATION("DSW1:1") |
| 2629 | 2630 | PORT_DIPSETTING( 0x01, DEF_STR( No ) ) |
| 2630 | 2631 | PORT_DIPSETTING( 0x00, DEF_STR( Yes ) ) |
| 2631 | | PORT_DIPNAME( 0x02, 0x02, "P1 & P2 Fire Buttons" ) PORT_DIPLOCATION("DSW1:2") |
| 2632 | PORT_DIPNAME( 0x02, 0x02, "P1 & P2 Fire Buttons" ) PORT_DIPLOCATION("DSW1:2") |
| 2632 | 2633 | PORT_DIPSETTING( 0x02, "Separate" ) |
| 2633 | 2634 | PORT_DIPSETTING( 0x00, "Common" ) |
| 2634 | | PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" ) PORT_DIPLOCATION("DSW1:3") |
| 2635 | | PORT_DIPSETTING( 0x04, "1st & every 2nd" ) |
| 2636 | | PORT_DIPSETTING( 0x00, "1st & 2nd only" ) |
| 2637 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW1:4") |
| 2635 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_bonus_r, (void *)0x04) |
| 2636 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW1:4") |
| 2638 | 2637 | PORT_DIPSETTING( 0x08, "3" ) |
| 2639 | 2638 | PORT_DIPSETTING( 0x00, "5" ) |
| 2640 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW1:5,6") |
| 2639 | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW1:5,6") |
| 2641 | 2640 | PORT_DIPSETTING( 0x00, DEF_STR( 4C_1C ) ) |
| 2642 | 2641 | PORT_DIPSETTING( 0x10, DEF_STR( 3C_1C ) ) |
| 2643 | 2642 | PORT_DIPSETTING( 0x20, DEF_STR( 2C_1C ) ) |
| 2644 | 2643 | PORT_DIPSETTING( 0x30, DEF_STR( 1C_1C ) ) |
| 2645 | | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW1:7,8") |
| 2644 | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW1:7,8") |
| 2646 | 2645 | PORT_DIPSETTING( 0x00, DEF_STR( 1C_2C ) ) |
| 2647 | 2646 | PORT_DIPSETTING( 0x40, DEF_STR( 1C_3C ) ) |
| 2648 | 2647 | PORT_DIPSETTING( 0x80, DEF_STR( 1C_4C ) ) |
| 2649 | 2648 | PORT_DIPSETTING( 0xc0, DEF_STR( 1C_6C ) ) |
| 2650 | 2649 | |
| 2651 | 2650 | PORT_START("DSW2") |
| 2652 | | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW2:1,2") |
| 2651 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW2:1,2") |
| 2653 | 2652 | PORT_DIPSETTING( 0x03, DEF_STR( Easy ) ) |
| 2654 | 2653 | PORT_DIPSETTING( 0x02, DEF_STR( Normal ) ) |
| 2655 | 2654 | PORT_DIPSETTING( 0x01, DEF_STR( Hard ) ) |
| 2656 | 2655 | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 2657 | | PORT_DIPNAME( 0x0c, 0x08, "Game Mode" ) PORT_DIPLOCATION("DSW2:3,4") |
| 2656 | PORT_DIPNAME( 0x0c, 0x08, "Game Mode" ) PORT_DIPLOCATION("DSW2:3,4") |
| 2658 | 2657 | PORT_DIPSETTING( 0x0c, "Demo Sounds Off" ) |
| 2659 | 2658 | PORT_DIPSETTING( 0x08, "Demo Sounds On" ) |
| 2660 | 2659 | PORT_DIPSETTING( 0x00, "Freeze" ) |
| 2661 | 2660 | PORT_DIPSETTING( 0x04, "Infinite Lives (Cheat)") |
| 2662 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DSW2:5,6") |
| 2663 | | PORT_DIPSETTING( 0x30, "50k 100k" ) |
| 2664 | | PORT_DIPSETTING( 0x20, "60k 120k" ) |
| 2665 | | PORT_DIPSETTING( 0x10, "100k 200k" ) |
| 2666 | | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) |
| 2667 | | PORT_DIPNAME( 0x40, 0x00, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW2:7") |
| 2661 | PORT_BIT( 0x30, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_bonus_r, (void *)0x30) |
| 2662 | PORT_DIPNAME( 0x40, 0x00, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW2:7") |
| 2668 | 2663 | PORT_DIPSETTING( 0x40, DEF_STR( No ) ) |
| 2669 | 2664 | PORT_DIPSETTING( 0x00, DEF_STR( Yes ) ) |
| 2670 | 2665 | PORT_DIPNAME( 0x80, 0x80, "Credits Buy Lives During Play" ) PORT_DIPLOCATION("DSW2:8") |
| 2671 | 2666 | PORT_DIPSETTING( 0x00, DEF_STR( No ) ) |
| 2672 | 2667 | PORT_DIPSETTING( 0x80, DEF_STR( Yes ) ) |
| 2668 | |
| 2669 | PORT_START("BONUS") /* fake port to handle bonus lives settings via multiple input ports */ |
| 2670 | PORT_DIPNAME( 0x34, 0x34, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DSW1:3,DSW2:5,6") |
| 2671 | PORT_DIPSETTING( 0x34, "50k 100k 100k+" ) |
| 2672 | PORT_DIPSETTING( 0x24, "60k 120k 120k+" ) |
| 2673 | PORT_DIPSETTING( 0x14, "100k 200k 200k+" ) |
| 2674 | PORT_DIPSETTING( 0x30, "50k 100k" ) |
| 2675 | PORT_DIPSETTING( 0x20, "60k 120k" ) |
| 2676 | PORT_DIPSETTING( 0x10, "100k 200k" ) |
| 2677 | // PORT_DIPSETTING( 0x04, DEF_STR( None ) ) /* duplicated setting */ |
| 2678 | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) |
| 2673 | 2679 | INPUT_PORTS_END |
| 2674 | 2680 | |
| 2675 | | |
| 2676 | 2681 | static INPUT_PORTS_START( dogosokb ) |
| 2677 | 2682 | PORT_INCLUDE( victroad ) |
| 2678 | 2683 | |
| r3426 | r3427 | |
| 2685 | 2690 | PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2686 | 2691 | |
| 2687 | 2692 | PORT_MODIFY("DSW2") |
| 2688 | | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW2:8") |
| 2689 | | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2690 | | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) |
| 2693 | PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "DSW2:8" ) /* patched code at 0x04ee */ |
| 2691 | 2694 | INPUT_PORTS_END |
| 2692 | 2695 | |
| 2693 | 2696 | |
| 2694 | 2697 | static INPUT_PORTS_START( bermudat ) |
| 2695 | 2698 | PORT_START("IN0") |
| 2696 | 2699 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_sound_busy, 0) |
| 2697 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 2698 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT ) /* tilt? */ |
| 2700 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) /* uses "Coin A" settings - code at 0x0a0a */ |
| 2701 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT ) /* reset */ |
| 2699 | 2702 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2700 | 2703 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 2701 | 2704 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) |
| r3426 | r3427 | |
| 2703 | 2706 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) |
| 2704 | 2707 | |
| 2705 | 2708 | PORT_START("IN1") |
| 2706 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 2707 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 2708 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 2709 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 2710 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 2711 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 2709 | 2712 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 2710 | 2713 | PORT_BIT( 0xf0, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(12) PORT_WRAPS PORT_SENSITIVITY(15) PORT_KEYDELTA(1) PORT_CODE_DEC(KEYCODE_Z) PORT_CODE_INC(KEYCODE_X) PORT_REVERSE PORT_FULL_TURN_COUNT(12) |
| 2711 | 2714 | |
| 2712 | 2715 | PORT_START("IN2") |
| 2713 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 2714 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 2715 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 2716 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 2717 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 2718 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 2716 | 2719 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 2717 | 2720 | PORT_BIT( 0xf0, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(12) PORT_WRAPS PORT_SENSITIVITY(15) PORT_KEYDELTA(1) PORT_CODE_DEC(KEYCODE_N) PORT_CODE_INC(KEYCODE_M) PORT_PLAYER(2) PORT_REVERSE PORT_FULL_TURN_COUNT(12) |
| 2718 | 2721 | |
| r3426 | r3427 | |
| 2727 | 2730 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2728 | 2731 | |
| 2729 | 2732 | PORT_START("DSW1") |
| 2730 | | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) ) PORT_DIPLOCATION("DSW1:1") |
| 2731 | | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 2732 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2733 | | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("DSW1:2") |
| 2733 | PORT_DIPUNUSED_DIPLOC( 0x01, 0x01, "DSW1:1" ) |
| 2734 | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("DSW1:2") |
| 2734 | 2735 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 2735 | 2736 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2736 | | PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" ) PORT_DIPLOCATION("DSW1:3") |
| 2737 | | PORT_DIPSETTING( 0x04, "1st & every 2nd" ) |
| 2738 | | PORT_DIPSETTING( 0x00, "1st & 2nd only" ) |
| 2739 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW1:4") |
| 2737 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_bonus_r, (void *)0x04) |
| 2738 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW1:4") |
| 2740 | 2739 | PORT_DIPSETTING( 0x08, "3" ) |
| 2741 | 2740 | PORT_DIPSETTING( 0x00, "5" ) |
| 2742 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW1:5,6") |
| 2741 | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW1:5,6") |
| 2743 | 2742 | PORT_DIPSETTING( 0x00, DEF_STR( 4C_1C ) ) |
| 2744 | 2743 | PORT_DIPSETTING( 0x10, DEF_STR( 3C_1C ) ) |
| 2745 | 2744 | PORT_DIPSETTING( 0x20, DEF_STR( 2C_1C ) ) |
| 2746 | 2745 | PORT_DIPSETTING( 0x30, DEF_STR( 1C_1C ) ) |
| 2747 | | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW1:7,8") |
| 2746 | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW1:7,8") |
| 2748 | 2747 | PORT_DIPSETTING( 0x00, DEF_STR( 1C_2C ) ) |
| 2749 | 2748 | PORT_DIPSETTING( 0x40, DEF_STR( 1C_3C ) ) |
| 2750 | 2749 | PORT_DIPSETTING( 0x80, DEF_STR( 1C_4C ) ) |
| 2751 | 2750 | PORT_DIPSETTING( 0xc0, DEF_STR( 1C_6C ) ) |
| 2752 | 2751 | |
| 2753 | 2752 | PORT_START("DSW2") |
| 2754 | | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW2:1,2") |
| 2753 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW2:1,2") |
| 2755 | 2754 | PORT_DIPSETTING( 0x03, DEF_STR( Easy ) ) |
| 2756 | 2755 | PORT_DIPSETTING( 0x02, DEF_STR( Normal ) ) |
| 2757 | 2756 | PORT_DIPSETTING( 0x01, DEF_STR( Hard ) ) |
| 2758 | 2757 | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 2759 | | PORT_DIPNAME( 0x0c, 0x08, "Game Mode" ) PORT_DIPLOCATION("DSW2:3,4") |
| 2758 | PORT_DIPNAME( 0x0c, 0x08, "Game Mode" ) PORT_DIPLOCATION("DSW2:3,4") |
| 2760 | 2759 | PORT_DIPSETTING( 0x0c, "Demo Sounds Off" ) |
| 2761 | 2760 | PORT_DIPSETTING( 0x08, "Demo Sounds On" ) |
| 2762 | 2761 | PORT_DIPSETTING( 0x00, "Freeze" ) |
| 2763 | 2762 | PORT_DIPSETTING( 0x04, "Infinite Lives (Cheat)") |
| 2764 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DSW2:5,6") |
| 2763 | PORT_BIT( 0x30, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_bonus_r, (void *)0x30) |
| 2764 | PORT_DIPNAME( 0xc0, 0x80, "Game Style" ) PORT_DIPLOCATION("DSW2:7,8") |
| 2765 | PORT_DIPSETTING( 0xc0, "Normal without continue" ) |
| 2766 | PORT_DIPSETTING( 0x80, "Normal with continue" ) |
| 2767 | PORT_DIPSETTING( 0x40, "Time attack 3 minutes" ) |
| 2768 | PORT_DIPSETTING( 0x00, "Time attack 5 minutes" ) |
| 2769 | |
| 2770 | PORT_START("BONUS") /* fake port to handle bonus lives settings via multiple input ports */ |
| 2771 | PORT_DIPNAME( 0x34, 0x34, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DSW1:3,DSW2:5,6") |
| 2772 | PORT_DIPSETTING( 0x34, "50k 100k 100k+" ) |
| 2773 | PORT_DIPSETTING( 0x24, "60k 120k 120k+" ) |
| 2774 | PORT_DIPSETTING( 0x14, "100k 200k 200k+" ) |
| 2765 | 2775 | PORT_DIPSETTING( 0x30, "50k 100k" ) |
| 2766 | 2776 | PORT_DIPSETTING( 0x20, "60k 120k" ) |
| 2767 | 2777 | PORT_DIPSETTING( 0x10, "100k 200k" ) |
| 2778 | // PORT_DIPSETTING( 0x04, DEF_STR( None ) ) /* duplicated setting */ |
| 2768 | 2779 | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) |
| 2769 | | PORT_DIPNAME( 0xc0, 0xc0, "Game Style" ) PORT_DIPLOCATION("DSW2:7,8") |
| 2770 | | PORT_DIPSETTING( 0xc0, "Normal without continue" ) |
| 2771 | | PORT_DIPSETTING( 0x80, "Normal with continue" ) |
| 2772 | | PORT_DIPSETTING( 0x40, "Time attack 3 minutes" ) |
| 2773 | | PORT_DIPSETTING( 0x00, "Time attack 5 minutes" ) |
| 2774 | 2780 | INPUT_PORTS_END |
| 2775 | 2781 | |
| 2776 | 2782 | |
| r3426 | r3427 | |
| 2781 | 2787 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) |
| 2782 | 2788 | |
| 2783 | 2789 | PORT_MODIFY("DSW1") |
| 2784 | | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW1:1") |
| 2790 | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW1:1") |
| 2785 | 2791 | PORT_DIPSETTING( 0x01, DEF_STR( No ) ) |
| 2786 | 2792 | PORT_DIPSETTING( 0x00, DEF_STR( Yes ) ) |
| 2787 | 2793 | |
| 2788 | 2794 | PORT_MODIFY("DSW2") |
| 2789 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DSW2:5,6") |
| 2795 | PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "DSW2:7" ) |
| 2796 | PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "DSW2:8" ) |
| 2797 | |
| 2798 | PORT_MODIFY("BONUS") /* fake port to handle bonus lives settings via multiple input ports */ |
| 2799 | PORT_DIPNAME( 0x34, 0x34, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DSW1:3,DSW2:5,6") |
| 2800 | PORT_DIPSETTING( 0x34, "50k 100k 100k+" ) |
| 2801 | PORT_DIPSETTING( 0x24, "80k 160k 160k+" ) |
| 2802 | PORT_DIPSETTING( 0x14, "100k 200k 200k+" ) |
| 2790 | 2803 | PORT_DIPSETTING( 0x30, "50k 100k" ) |
| 2791 | 2804 | PORT_DIPSETTING( 0x20, "80k 160k" ) |
| 2792 | 2805 | PORT_DIPSETTING( 0x10, "100k 200k" ) |
| 2806 | // PORT_DIPSETTING( 0x04, DEF_STR( None ) ) /* duplicated setting */ |
| 2793 | 2807 | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) |
| 2794 | | PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) ) PORT_DIPLOCATION("DSW2:7") |
| 2795 | | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
| 2796 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2797 | | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) ) PORT_DIPLOCATION("DSW2:8") |
| 2798 | | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2799 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2800 | 2808 | INPUT_PORTS_END |
| 2801 | 2809 | |
| 2802 | | |
| 2803 | 2810 | static INPUT_PORTS_START( bermudaa ) |
| 2804 | 2811 | PORT_INCLUDE( worldwar ) |
| 2805 | 2812 | |
| 2806 | | PORT_MODIFY("DSW2") |
| 2807 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DSW2:5,6") |
| 2813 | PORT_MODIFY("BONUS") /* fake port to handle bonus lives settings via multiple input ports */ |
| 2814 | PORT_DIPNAME( 0x34, 0x34, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DSW1:3,DSW2:5,6") |
| 2815 | PORT_DIPSETTING( 0x34, "25k 50k 50k+" ) |
| 2816 | PORT_DIPSETTING( 0x24, "35k 70k 70k+" ) |
| 2817 | PORT_DIPSETTING( 0x14, "50k 100k 100k+" ) |
| 2808 | 2818 | PORT_DIPSETTING( 0x30, "25k 50k" ) |
| 2809 | 2819 | PORT_DIPSETTING( 0x20, "35k 70k" ) |
| 2810 | | PORT_DIPSETTING( 0x10, "50K 100k" ) |
| 2820 | PORT_DIPSETTING( 0x10, "50k 100k" ) |
| 2821 | // PORT_DIPSETTING( 0x04, DEF_STR( None ) ) /* duplicated setting */ |
| 2811 | 2822 | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) |
| 2812 | 2823 | INPUT_PORTS_END |
| 2813 | 2824 | |
| 2814 | 2825 | |
| 2815 | | static INPUT_PORTS_START( gwar ) |
| 2826 | static INPUT_PORTS_START( psychos ) |
| 2816 | 2827 | PORT_START("IN0") |
| 2817 | 2828 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_sound_busy, 0) |
| 2818 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 2819 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT ) /* tilt? causes reset */ |
| 2820 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) |
| 2829 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2830 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT ) /* reset */ |
| 2831 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2821 | 2832 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 2822 | 2833 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 2823 | 2834 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 ) |
| 2824 | 2835 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) |
| 2825 | 2836 | |
| 2826 | 2837 | PORT_START("IN1") |
| 2827 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 2828 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 2829 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 2830 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 2831 | | PORT_BIT( 0xf0, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(gwar_rotary, (void*)0) |
| 2838 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 2839 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 2840 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 2841 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 2842 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 2843 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 2844 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 2845 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 2832 | 2846 | |
| 2833 | | PORT_START("P1ROT") |
| 2834 | | PORT_BIT( 0x0f, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(12) PORT_WRAPS PORT_SENSITIVITY(15) PORT_KEYDELTA(1) PORT_CODE_DEC(KEYCODE_Z) PORT_CODE_INC(KEYCODE_X) PORT_REVERSE PORT_FULL_TURN_COUNT(12) |
| 2835 | | |
| 2836 | 2847 | PORT_START("IN2") |
| 2837 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 2838 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 2839 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 2840 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 2841 | | PORT_BIT( 0xf0, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(gwar_rotary, (void*)1) |
| 2842 | | |
| 2843 | | PORT_START("P2ROT") |
| 2844 | | PORT_BIT( 0x0f, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(12) PORT_WRAPS PORT_SENSITIVITY(15) PORT_KEYDELTA(1) PORT_CODE_DEC(KEYCODE_N) PORT_CODE_INC(KEYCODE_M) PORT_PLAYER(2) PORT_REVERSE PORT_FULL_TURN_COUNT(12) |
| 2845 | | |
| 2846 | | PORT_START("IN3") |
| 2847 | 2848 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 2848 | 2849 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 2849 | 2850 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| r3426 | r3427 | |
| 2853 | 2854 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2854 | 2855 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2855 | 2856 | |
| 2857 | PORT_START("IN3") |
| 2858 | PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2859 | |
| 2856 | 2860 | PORT_START("DSW1") |
| 2857 | | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW1:1") |
| 2858 | | PORT_DIPSETTING( 0x00, DEF_STR( No ) ) |
| 2859 | | PORT_DIPSETTING( 0x01, DEF_STR( Yes ) ) |
| 2860 | | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("DSW1:2") |
| 2861 | PORT_SERVICE( 0x01, IP_ACTIVE_LOW ) PORT_DIPLOCATION("DSW1:1") |
| 2862 | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("DSW1:2") |
| 2861 | 2863 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 2862 | 2864 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2863 | | PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" ) PORT_DIPLOCATION("DSW1:3") |
| 2864 | | PORT_DIPSETTING( 0x04, "1st & 2nd only" ) |
| 2865 | | PORT_DIPSETTING( 0x00, "1st & every 2nd" ) |
| 2866 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW1:4") |
| 2865 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_bonus_r, (void *)0x04) |
| 2866 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW1:4") |
| 2867 | 2867 | PORT_DIPSETTING( 0x08, "3" ) |
| 2868 | 2868 | PORT_DIPSETTING( 0x00, "5" ) |
| 2869 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW1:5,6") |
| 2869 | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW1:5,6") |
| 2870 | 2870 | PORT_DIPSETTING( 0x00, DEF_STR( 4C_1C ) ) |
| 2871 | 2871 | PORT_DIPSETTING( 0x10, DEF_STR( 3C_1C ) ) |
| 2872 | 2872 | PORT_DIPSETTING( 0x20, DEF_STR( 2C_1C ) ) |
| 2873 | 2873 | PORT_DIPSETTING( 0x30, DEF_STR( 1C_1C ) ) |
| 2874 | | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW1:7,8") |
| 2874 | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW1:7,8") |
| 2875 | 2875 | PORT_DIPSETTING( 0x00, DEF_STR( 1C_2C ) ) |
| 2876 | 2876 | PORT_DIPSETTING( 0x40, DEF_STR( 1C_3C ) ) |
| 2877 | 2877 | PORT_DIPSETTING( 0x80, DEF_STR( 1C_4C ) ) |
| 2878 | 2878 | PORT_DIPSETTING( 0xc0, DEF_STR( 1C_6C ) ) |
| 2879 | 2879 | |
| 2880 | 2880 | PORT_START("DSW2") |
| 2881 | | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW2:1,2") |
| 2882 | | PORT_DIPSETTING( 0x03, DEF_STR( Easy ) ) |
| 2883 | | PORT_DIPSETTING( 0x02, DEF_STR( Normal ) ) |
| 2881 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW2:1,2") |
| 2882 | PORT_DIPSETTING( 0x02, DEF_STR( Easy ) ) |
| 2883 | PORT_DIPSETTING( 0x03, DEF_STR( Normal ) ) |
| 2884 | 2884 | PORT_DIPSETTING( 0x01, DEF_STR( Hard ) ) |
| 2885 | 2885 | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 2886 | | PORT_DIPNAME( 0x0c, 0x08, "Game Mode" ) PORT_DIPLOCATION("DSW2:3,4") |
| 2887 | | PORT_DIPSETTING( 0x0c, "Demo Sounds Off" ) |
| 2888 | | PORT_DIPSETTING( 0x08, "Demo Sounds On" ) |
| 2889 | | PORT_DIPSETTING( 0x00, "Freeze" ) |
| 2890 | | PORT_DIPSETTING( 0x04, "Infinite Lives (Cheat)") |
| 2891 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DSW2:5,6") |
| 2892 | | PORT_DIPSETTING( 0x30, "30k 60k" ) |
| 2893 | | PORT_DIPSETTING( 0x20, "40k 80k" ) |
| 2894 | | PORT_DIPSETTING( 0x10, "50k 100k" ) |
| 2886 | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("DSW2:3") |
| 2887 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2888 | PORT_DIPSETTING( 0x04, DEF_STR( On ) ) |
| 2889 | PORT_DIPNAME( 0x08, 0x08, "Freeze" ) PORT_DIPLOCATION("DSW2:4") |
| 2890 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 2891 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2892 | PORT_BIT( 0x30, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_bonus_r, (void *)0x30) |
| 2893 | PORT_DIPNAME( 0x40, 0x00, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW2:7") |
| 2894 | PORT_DIPSETTING( 0x40, DEF_STR( No ) ) |
| 2895 | PORT_DIPSETTING( 0x00, DEF_STR( Yes ) ) |
| 2896 | PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "DSW2:8" ) |
| 2897 | |
| 2898 | PORT_START("BONUS") /* fake port to handle bonus lives settings via multiple input ports */ |
| 2899 | PORT_DIPNAME( 0x34, 0x30, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DSW1:3,DSW2:5,6") |
| 2900 | PORT_DIPSETTING( 0x30, "50k 100k 100k+" ) |
| 2901 | PORT_DIPSETTING( 0x20, "60k 120k 120k+" ) |
| 2902 | PORT_DIPSETTING( 0x10, "100k 200k 200k+" ) |
| 2903 | PORT_DIPSETTING( 0x34, "50k" ) |
| 2904 | PORT_DIPSETTING( 0x24, "60k" ) |
| 2905 | PORT_DIPSETTING( 0x14, "100k" ) |
| 2906 | // PORT_DIPSETTING( 0x04, DEF_STR( None ) ) /* duplicated setting */ |
| 2895 | 2907 | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) |
| 2896 | | PORT_DIPNAME( 0x40 ,0x40, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW2:7") |
| 2897 | | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
| 2898 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2899 | | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW2:8") |
| 2900 | | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2901 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2902 | 2908 | INPUT_PORTS_END |
| 2903 | 2909 | |
| 2904 | | static INPUT_PORTS_START( gwarb ) |
| 2905 | | PORT_INCLUDE( gwar ) |
| 2906 | 2910 | |
| 2907 | | // This version is modified to work either with or without a rotary joystick |
| 2908 | | // connected. If rotary is not connected, player fires in the direction he's facing. |
| 2909 | | |
| 2910 | | PORT_MODIFY("IN1") |
| 2911 | | PORT_BIT( 0xf0, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(gwarb_rotary, (void*)0) |
| 2912 | | |
| 2913 | | PORT_START("JOYSTICK_MODE") |
| 2914 | | PORT_CONFNAME( 0x01, 0x00, "Joystick mode" ) |
| 2915 | | PORT_CONFSETTING( 0x00, "Normal Joystick" ) |
| 2916 | | PORT_CONFSETTING( 0x01, "Rotary Joystick" ) |
| 2917 | | INPUT_PORTS_END |
| 2918 | | |
| 2919 | | static INPUT_PORTS_START( psychos ) |
| 2911 | static INPUT_PORTS_START( gwar ) |
| 2920 | 2912 | PORT_START("IN0") |
| 2921 | 2913 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_sound_busy, 0) |
| 2922 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2923 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT ) /* reset */ |
| 2924 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2914 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) /* uses "Coin A" settings - code at 0x08c8 */ |
| 2915 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT ) /* reset */ |
| 2916 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) |
| 2925 | 2917 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 2926 | 2918 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 2927 | 2919 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 ) |
| 2928 | 2920 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) |
| 2929 | 2921 | |
| 2930 | 2922 | PORT_START("IN1") |
| 2931 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 2932 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 2933 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 2923 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 2924 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 2925 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 2926 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 2927 | PORT_BIT( 0xf0, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(gwar_rotary, (void*)0) |
| 2928 | |
| 2929 | PORT_START("P1ROT") |
| 2930 | PORT_BIT( 0x0f, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(12) PORT_WRAPS PORT_SENSITIVITY(15) PORT_KEYDELTA(1) PORT_CODE_DEC(KEYCODE_Z) PORT_CODE_INC(KEYCODE_X) PORT_REVERSE PORT_FULL_TURN_COUNT(12) |
| 2931 | |
| 2932 | PORT_START("IN2") |
| 2933 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 2934 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 2935 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 2934 | 2936 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 2935 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 2936 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 2937 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 2938 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 2937 | PORT_BIT( 0xf0, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(gwar_rotary, (void*)1) |
| 2939 | 2938 | |
| 2940 | | PORT_START("IN2") |
| 2939 | PORT_START("P2ROT") |
| 2940 | PORT_BIT( 0x0f, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(12) PORT_WRAPS PORT_SENSITIVITY(15) PORT_KEYDELTA(1) PORT_CODE_DEC(KEYCODE_N) PORT_CODE_INC(KEYCODE_M) PORT_PLAYER(2) PORT_REVERSE PORT_FULL_TURN_COUNT(12) |
| 2941 | |
| 2942 | PORT_START("IN3") |
| 2941 | 2943 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 2942 | 2944 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 2943 | 2945 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| r3426 | r3427 | |
| 2947 | 2949 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2948 | 2950 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2949 | 2951 | |
| 2950 | | PORT_START("IN3") |
| 2951 | | PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2952 | | |
| 2953 | 2952 | PORT_START("DSW1") |
| 2954 | | PORT_SERVICE( 0x01, IP_ACTIVE_LOW ) PORT_DIPLOCATION("DSW1:1") |
| 2955 | | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("DSW1:2") |
| 2953 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW1:1") |
| 2954 | PORT_DIPSETTING( 0x00, DEF_STR( No ) ) |
| 2955 | PORT_DIPSETTING( 0x01, DEF_STR( Yes ) ) |
| 2956 | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("DSW1:2") |
| 2956 | 2957 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 2957 | 2958 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2958 | | PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" ) PORT_DIPLOCATION("DSW1:3") |
| 2959 | | PORT_DIPSETTING( 0x00, "1st & every 2nd" ) |
| 2960 | | PORT_DIPSETTING( 0x04, "1st & 2nd only" ) |
| 2961 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW1:4") |
| 2959 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_bonus_r, (void *)0x04) |
| 2960 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW1:4") |
| 2962 | 2961 | PORT_DIPSETTING( 0x08, "3" ) |
| 2963 | 2962 | PORT_DIPSETTING( 0x00, "5" ) |
| 2964 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW1:5,6") |
| 2963 | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW1:5,6") |
| 2965 | 2964 | PORT_DIPSETTING( 0x00, DEF_STR( 4C_1C ) ) |
| 2966 | 2965 | PORT_DIPSETTING( 0x10, DEF_STR( 3C_1C ) ) |
| 2967 | 2966 | PORT_DIPSETTING( 0x20, DEF_STR( 2C_1C ) ) |
| 2968 | 2967 | PORT_DIPSETTING( 0x30, DEF_STR( 1C_1C ) ) |
| 2969 | | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW1:7,8") |
| 2968 | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW1:7,8") |
| 2970 | 2969 | PORT_DIPSETTING( 0x00, DEF_STR( 1C_2C ) ) |
| 2971 | 2970 | PORT_DIPSETTING( 0x40, DEF_STR( 1C_3C ) ) |
| 2972 | 2971 | PORT_DIPSETTING( 0x80, DEF_STR( 1C_4C ) ) |
| 2973 | 2972 | PORT_DIPSETTING( 0xc0, DEF_STR( 1C_6C ) ) |
| 2974 | 2973 | |
| 2975 | 2974 | PORT_START("DSW2") |
| 2976 | | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW2:1,2") |
| 2977 | | PORT_DIPSETTING( 0x02, DEF_STR( Easy ) ) |
| 2978 | | PORT_DIPSETTING( 0x03, DEF_STR( Normal ) ) |
| 2975 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW2:1,2") |
| 2976 | PORT_DIPSETTING( 0x03, DEF_STR( Easy ) ) |
| 2977 | PORT_DIPSETTING( 0x02, DEF_STR( Normal ) ) |
| 2979 | 2978 | PORT_DIPSETTING( 0x01, DEF_STR( Hard ) ) |
| 2980 | 2979 | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 2981 | | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("DSW2:3") |
| 2982 | | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2983 | | PORT_DIPSETTING( 0x04, DEF_STR( On ) ) |
| 2984 | | PORT_DIPNAME( 0x08, 0x08, "Freeze" ) PORT_DIPLOCATION("DSW2:4") |
| 2985 | | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 2986 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2987 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DSW2:5,6") |
| 2988 | | PORT_DIPSETTING( 0x30, "50K 100K" ) |
| 2989 | | PORT_DIPSETTING( 0x20, "60K 120K" ) |
| 2990 | | PORT_DIPSETTING( 0x10, "100K 200K" ) |
| 2980 | PORT_DIPNAME( 0x0c, 0x08, "Game Mode" ) PORT_DIPLOCATION("DSW2:3,4") |
| 2981 | PORT_DIPSETTING( 0x0c, "Demo Sounds Off" ) |
| 2982 | PORT_DIPSETTING( 0x08, "Demo Sounds On" ) |
| 2983 | PORT_DIPSETTING( 0x00, "Freeze" ) |
| 2984 | PORT_DIPSETTING( 0x04, "Infinite Lives (Cheat)") |
| 2985 | PORT_BIT( 0x30, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_bonus_r, (void *)0x30) |
| 2986 | PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "DSW2:7" ) |
| 2987 | PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "DSW2:8" ) |
| 2988 | |
| 2989 | PORT_START("BONUS") /* fake port to handle bonus lives settings via multiple input ports */ |
| 2990 | PORT_DIPNAME( 0x34, 0x30, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DSW1:3,DSW2:5,6") |
| 2991 | PORT_DIPSETTING( 0x30, "30k 60k 60k+" ) |
| 2992 | PORT_DIPSETTING( 0x20, "40k 80k 80k+" ) |
| 2993 | PORT_DIPSETTING( 0x10, "50k 100k 100k+" ) |
| 2994 | PORT_DIPSETTING( 0x34, "30k 60k" ) |
| 2995 | PORT_DIPSETTING( 0x24, "40k 80k" ) |
| 2996 | PORT_DIPSETTING( 0x14, "50k 100k" ) |
| 2997 | // PORT_DIPSETTING( 0x04, DEF_STR( None ) ) /* duplicated setting */ |
| 2991 | 2998 | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) |
| 2992 | | PORT_DIPNAME( 0x40, 0x00, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW2:7") |
| 2993 | | PORT_DIPSETTING( 0x40, DEF_STR( No ) ) |
| 2994 | | PORT_DIPSETTING( 0x00, DEF_STR( Yes ) ) |
| 2995 | | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) ) PORT_DIPLOCATION("DSW2:8") |
| 2996 | | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2997 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2998 | 2999 | INPUT_PORTS_END |
| 2999 | 3000 | |
| 3001 | static INPUT_PORTS_START( gwarb ) |
| 3002 | PORT_INCLUDE( gwar ) |
| 3000 | 3003 | |
| 3004 | // This version is modified to work either with or without a rotary joystick |
| 3005 | // connected. If rotary is not connected, player fires in the direction he's facing. |
| 3006 | |
| 3007 | PORT_MODIFY("IN1") |
| 3008 | PORT_BIT( 0xf0, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(gwarb_rotary, (void*)0) |
| 3009 | |
| 3010 | PORT_MODIFY("IN2") |
| 3011 | PORT_BIT( 0xf0, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(gwarb_rotary, (void*)1) |
| 3012 | |
| 3013 | PORT_START("JOYSTICK_MODE") |
| 3014 | PORT_CONFNAME( 0x01, 0x00, "Joystick mode" ) |
| 3015 | PORT_CONFSETTING( 0x00, "Normal Joystick" ) |
| 3016 | PORT_CONFSETTING( 0x01, "Rotary Joystick" ) |
| 3017 | INPUT_PORTS_END |
| 3018 | |
| 3019 | |
| 3001 | 3020 | static INPUT_PORTS_START( chopper ) |
| 3002 | 3021 | PORT_START("IN0") |
| 3003 | 3022 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_sound_busy, 0) |
| 3004 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 3005 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT ) /* Reset */ |
| 3023 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) /* uses "Coin A" settings - code at 0x0849 */ |
| 3024 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT ) /* reset */ |
| 3006 | 3025 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) |
| 3007 | 3026 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 3008 | 3027 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) |
| r3426 | r3427 | |
| 3010 | 3029 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) |
| 3011 | 3030 | |
| 3012 | 3031 | PORT_START("IN1") |
| 3013 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_COCKTAIL |
| 3014 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL |
| 3015 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL |
| 3032 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_COCKTAIL |
| 3033 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL |
| 3034 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL |
| 3016 | 3035 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_COCKTAIL |
| 3017 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY |
| 3018 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY |
| 3019 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY |
| 3036 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY |
| 3037 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY |
| 3038 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY |
| 3020 | 3039 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY |
| 3021 | 3040 | |
| 3022 | 3041 | PORT_START("IN2") |
| r3426 | r3427 | |
| 3033 | 3052 | PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 3034 | 3053 | |
| 3035 | 3054 | PORT_START("DSW1") |
| 3036 | | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("DSW1:1") |
| 3055 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("DSW1:1") |
| 3037 | 3056 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 3038 | 3057 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 3039 | | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("DSW1:2") |
| 3040 | | PORT_DIPSETTING( 0x02, DEF_STR( Upright ) ) |
| 3058 | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("DSW1:2") |
| 3059 | PORT_DIPSETTING( 0x02, DEF_STR( Upright ) ) /* Single Controls */ |
| 3041 | 3060 | PORT_DIPSETTING( 0x00, DEF_STR( Cocktail ) ) |
| 3042 | | PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" ) PORT_DIPLOCATION("DSW1:3") |
| 3043 | | PORT_DIPSETTING( 0x00, "1st & every 2nd" ) |
| 3044 | | PORT_DIPSETTING( 0x04, "1st & 2nd only" ) |
| 3045 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW1:4") |
| 3061 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_bonus_r, (void *)0x04) |
| 3062 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW1:4") |
| 3046 | 3063 | PORT_DIPSETTING( 0x08, "3" ) |
| 3047 | 3064 | PORT_DIPSETTING( 0x00, "5" ) |
| 3048 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW1:5,6") |
| 3065 | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW1:5,6") |
| 3049 | 3066 | PORT_DIPSETTING( 0x00, DEF_STR( 4C_1C ) ) |
| 3050 | 3067 | PORT_DIPSETTING( 0x10, DEF_STR( 3C_1C ) ) |
| 3051 | 3068 | PORT_DIPSETTING( 0x20, DEF_STR( 2C_1C ) ) |
| 3052 | 3069 | PORT_DIPSETTING( 0x30, DEF_STR( 1C_1C ) ) |
| 3053 | | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW1:7,8") |
| 3070 | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW1:7,8") |
| 3054 | 3071 | PORT_DIPSETTING( 0x00, DEF_STR( 1C_2C ) ) |
| 3055 | 3072 | PORT_DIPSETTING( 0x40, DEF_STR( 1C_3C ) ) |
| 3056 | 3073 | PORT_DIPSETTING( 0x80, DEF_STR( 1C_4C ) ) |
| 3057 | 3074 | PORT_DIPSETTING( 0xc0, DEF_STR( 1C_6C ) ) |
| 3058 | 3075 | |
| 3059 | 3076 | PORT_START("DSW2") |
| 3060 | | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW2:1,2") |
| 3077 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW2:1,2") |
| 3061 | 3078 | PORT_DIPSETTING( 0x02, DEF_STR( Easy ) ) |
| 3062 | 3079 | PORT_DIPSETTING( 0x03, DEF_STR( Normal ) ) |
| 3063 | 3080 | PORT_DIPSETTING( 0x01, DEF_STR( Hard ) ) |
| 3064 | 3081 | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 3065 | | PORT_DIPNAME( 0x0c, 0x0c, "Game Mode" ) PORT_DIPLOCATION("DSW2:3,4") |
| 3082 | PORT_DIPNAME( 0x0c, 0x0c, "Game Mode" ) PORT_DIPLOCATION("DSW2:3,4") |
| 3066 | 3083 | PORT_DIPSETTING( 0x08, "Demo Sounds Off" ) |
| 3067 | 3084 | PORT_DIPSETTING( 0x0c, "Demo Sounds On" ) |
| 3068 | 3085 | PORT_DIPSETTING( 0x00, "Freeze" ) |
| 3069 | 3086 | PORT_DIPSETTING( 0x04, "Infinite Lives (Cheat)") |
| 3070 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DSW2:5,6") |
| 3071 | | PORT_DIPSETTING( 0x30, "50k 100k" ) |
| 3072 | | PORT_DIPSETTING( 0x20, "75k 150k" ) |
| 3073 | | PORT_DIPSETTING( 0x10, "100k 200k" ) |
| 3074 | | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) |
| 3075 | | PORT_DIPNAME( 0x40, 0x40, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW2:7") |
| 3087 | PORT_BIT( 0x30, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_bonus_r, (void *)0x30) |
| 3088 | PORT_DIPNAME( 0x40, 0x40, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW2:7") |
| 3076 | 3089 | PORT_DIPSETTING( 0x00, DEF_STR( No ) ) |
| 3077 | 3090 | PORT_DIPSETTING( 0x40, DEF_STR( Yes ) ) |
| 3078 | | PORT_DIPNAME( 0x80, 0x80, "Invulnerability (Cheat)") PORT_DIPLOCATION("DSW2:8") |
| 3091 | PORT_DIPNAME( 0x80, 0x80, "Invulnerability (Cheat)") PORT_DIPLOCATION("DSW2:8") |
| 3079 | 3092 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 3080 | 3093 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 3094 | |
| 3095 | PORT_START("BONUS") /* fake port to handle bonus lives settings via multiple input ports */ |
| 3096 | PORT_DIPNAME( 0x34, 0x30, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DSW1:3,DSW2:5,6") |
| 3097 | PORT_DIPSETTING( 0x30, "50k 100k 100k+" ) |
| 3098 | PORT_DIPSETTING( 0x20, "75k 150k 150k+" ) |
| 3099 | PORT_DIPSETTING( 0x10, "100k 200k 200k+" ) |
| 3100 | PORT_DIPSETTING( 0x34, "50k 100k" ) |
| 3101 | PORT_DIPSETTING( 0x24, "75k 150k" ) |
| 3102 | PORT_DIPSETTING( 0x14, "100k 200k" ) |
| 3103 | // PORT_DIPSETTING( 0x04, DEF_STR( None ) ) /* duplicated setting */ |
| 3104 | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) |
| 3081 | 3105 | INPUT_PORTS_END |
| 3082 | 3106 | |
| 3083 | 3107 | static INPUT_PORTS_START( choppera ) |
| r3426 | r3427 | |
| 3086 | 3110 | // P1 and P2 inputs are split in two ports |
| 3087 | 3111 | |
| 3088 | 3112 | PORT_MODIFY("IN1") |
| 3089 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY |
| 3090 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY |
| 3091 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY |
| 3113 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY |
| 3114 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY |
| 3115 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY |
| 3092 | 3116 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY |
| 3093 | 3117 | PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3094 | 3118 | |
| 3095 | 3119 | PORT_MODIFY("IN2") |
| 3096 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_COCKTAIL |
| 3097 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL |
| 3098 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL |
| 3120 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_COCKTAIL |
| 3121 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL |
| 3122 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL |
| 3099 | 3123 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_COCKTAIL |
| 3100 | 3124 | PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3101 | 3125 | |
| r3426 | r3427 | |
| 3114 | 3138 | static INPUT_PORTS_START( tdfever ) |
| 3115 | 3139 | PORT_START("IN0") |
| 3116 | 3140 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3117 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) |
| 3118 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 3141 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) /* also reset - code at 0x074a */ |
| 3142 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1 ) /* adds 1 credit - code at 0x1065 */ |
| 3119 | 3143 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_sound_busy, 0) |
| 3120 | 3144 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 3121 | 3145 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) |
| r3426 | r3427 | |
| 3138 | 3162 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 3139 | 3163 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 3140 | 3164 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 3141 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 3142 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 3143 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 3165 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 3166 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 3167 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 3144 | 3168 | |
| 3145 | 3169 | PORT_START("IN3") |
| 3146 | 3170 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| r3426 | r3427 | |
| 3148 | 3172 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 3149 | 3173 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 3150 | 3174 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 3151 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 3152 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 3153 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 3175 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 3176 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 3177 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 3154 | 3178 | |
| 3155 | 3179 | PORT_START("IN4") |
| 3156 | 3180 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(3) |
| r3426 | r3427 | |
| 3158 | 3182 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3159 | 3183 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START5 ) PORT_NAME("Start Game E") |
| 3160 | 3184 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(3) |
| 3161 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(3) |
| 3162 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(3) |
| 3163 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(3) |
| 3185 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(3) |
| 3186 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(3) |
| 3187 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(3) |
| 3164 | 3188 | |
| 3165 | 3189 | PORT_START("IN5") |
| 3166 | 3190 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(4) |
| r3426 | r3427 | |
| 3168 | 3192 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3169 | 3193 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3170 | 3194 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(4) |
| 3171 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(4) |
| 3172 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(4) |
| 3173 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(4) |
| 3195 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(4) |
| 3196 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(4) |
| 3197 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(4) |
| 3174 | 3198 | |
| 3175 | 3199 | PORT_START("IN6") |
| 3176 | 3200 | PORT_BIT( 0x7f, 0x00, IPT_DIAL ) PORT_SENSITIVITY(25) PORT_KEYDELTA(10) PORT_CODE_DEC(KEYCODE_Z) PORT_CODE_INC(KEYCODE_X) PORT_PLAYER(1) |
| r3426 | r3427 | |
| 3189 | 3213 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 3190 | 3214 | |
| 3191 | 3215 | PORT_START("DSW1") |
| 3192 | | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW1:1") |
| 3216 | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW1:1") |
| 3193 | 3217 | PORT_DIPSETTING( 0x01, DEF_STR( No ) ) |
| 3194 | 3218 | PORT_DIPSETTING( 0x00, DEF_STR( Yes ) ) |
| 3195 | | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("DSW1:2") |
| 3219 | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("DSW1:2") |
| 3196 | 3220 | PORT_DIPSETTING( 0x02, "2 Player Upright" ) |
| 3197 | 3221 | PORT_DIPSETTING( 0x00, "4 Player Cocktail" ) |
| 3198 | | PORT_DIPNAME( 0x0c, 0x00, "1st Down Bonus Time" ) PORT_DIPLOCATION("DSW1:3,4") |
| 3222 | PORT_DIPNAME( 0x0c, 0x00, "1st Down Bonus Time" ) PORT_DIPLOCATION("DSW1:3,4") |
| 3199 | 3223 | PORT_DIPSETTING( 0x00, "Every 1st Down" ) |
| 3200 | 3224 | PORT_DIPSETTING( 0x04, "Every 4 1st Downs" ) |
| 3201 | 3225 | PORT_DIPSETTING( 0x08, "Every 6 1st Downs" ) |
| 3202 | 3226 | PORT_DIPSETTING( 0x0c, "Every 8 1st Downs" ) |
| 3203 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW1:5,6") |
| 3227 | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW1:5,6") |
| 3204 | 3228 | PORT_DIPSETTING( 0x00, DEF_STR( 4C_1C ) ) |
| 3205 | 3229 | PORT_DIPSETTING( 0x10, DEF_STR( 3C_1C ) ) |
| 3206 | 3230 | PORT_DIPSETTING( 0x20, DEF_STR( 2C_1C ) ) |
| 3207 | 3231 | PORT_DIPSETTING( 0x30, DEF_STR( 1C_1C ) ) |
| 3208 | | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW1:7,8") /* Manual shows these two as blank */ |
| 3232 | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW1:7,8") /* Manual shows these two as blank */ |
| 3209 | 3233 | PORT_DIPSETTING( 0x00, DEF_STR( 1C_2C ) ) |
| 3210 | 3234 | PORT_DIPSETTING( 0x40, DEF_STR( 1C_3C ) ) |
| 3211 | 3235 | PORT_DIPSETTING( 0x80, DEF_STR( 1C_4C ) ) |
| 3212 | 3236 | PORT_DIPSETTING( 0xc0, DEF_STR( 1C_6C ) ) |
| 3213 | 3237 | |
| 3214 | 3238 | PORT_START("DSW2") |
| 3215 | | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW2:1,2") |
| 3239 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW2:1,2") |
| 3216 | 3240 | PORT_DIPSETTING( 0x03, DEF_STR( Easy ) ) |
| 3217 | 3241 | PORT_DIPSETTING( 0x02, DEF_STR( Normal ) ) |
| 3218 | 3242 | PORT_DIPSETTING( 0x01, DEF_STR( Hard ) ) |
| 3219 | 3243 | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 3220 | | PORT_DIPNAME( 0x0c, 0x08, "Game Mode" ) PORT_DIPLOCATION("DSW2:3,4") |
| 3244 | PORT_DIPNAME( 0x0c, 0x08, "Game Mode" ) PORT_DIPLOCATION("DSW2:3,4") |
| 3221 | 3245 | PORT_DIPSETTING( 0x0c, "Demo Sound Off" ) |
| 3222 | 3246 | PORT_DIPSETTING( 0x08, "Demo Sound On" ) |
| 3223 | 3247 | PORT_DIPSETTING( 0x00, "Freeze" ) |
| r3426 | r3427 | |
| 3237 | 3261 | OFF ON ON 2:00 2:10 3:00 3:10 4:00 |
| 3238 | 3262 | ON ON ON 2:10 2:20 3:10 3:20 4:10 |
| 3239 | 3263 | */ |
| 3240 | | PORT_DIPNAME( 0x70, 0x70, "Play Time (Type A)" ) PORT_DIPLOCATION("DSW2:5,6,7") |
| 3264 | PORT_DIPNAME( 0x70, 0x70, "Play Time (Type A)" ) PORT_DIPLOCATION("DSW2:5,6,7") |
| 3241 | 3265 | PORT_DIPSETTING( 0x70, "1:00" ) |
| 3242 | 3266 | PORT_DIPSETTING( 0x60, "1:10" ) |
| 3243 | 3267 | PORT_DIPSETTING( 0x50, "1:20" ) |
| r3426 | r3427 | |
| 3246 | 3270 | PORT_DIPSETTING( 0x20, "1:50" ) |
| 3247 | 3271 | PORT_DIPSETTING( 0x10, "2:00" ) |
| 3248 | 3272 | PORT_DIPSETTING( 0x00, "2:10" ) |
| 3249 | | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("DSW2:8") |
| 3273 | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("DSW2:8") |
| 3250 | 3274 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 3251 | 3275 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 3252 | 3276 | INPUT_PORTS_END |
| r3426 | r3427 | |
| 3255 | 3279 | static INPUT_PORTS_START( fsoccer ) |
| 3256 | 3280 | PORT_START("IN0") |
| 3257 | 3281 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3258 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) // same as the dip switch |
| 3259 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 3282 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) /* same as the dip switch / also reset - code at 0x00cc */ |
| 3283 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1 ) /* uses "Coin A" settings - code at 0x677f */ |
| 3260 | 3284 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(snk_sound_busy, 0) |
| 3261 | 3285 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 3262 | 3286 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) |
| r3426 | r3427 | |
| 3279 | 3303 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3280 | 3304 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3281 | 3305 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 3282 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 3283 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 3284 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 3306 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 3307 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 3308 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 3285 | 3309 | |
| 3286 | 3310 | PORT_START("IN3") |
| 3287 | 3311 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| r3426 | r3427 | |
| 3289 | 3313 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3290 | 3314 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3291 | 3315 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 3292 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 3293 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 3294 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 3316 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 3317 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 3318 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 3295 | 3319 | |
| 3296 | 3320 | PORT_START("IN4") |
| 3297 | 3321 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(3) |
| r3426 | r3427 | |
| 3299 | 3323 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3300 | 3324 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START5 ) PORT_NAME("Start Game E") |
| 3301 | 3325 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(3) |
| 3302 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(3) |
| 3303 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(3) |
| 3304 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(3) |
| 3326 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(3) |
| 3327 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(3) |
| 3328 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(3) |
| 3305 | 3329 | |
| 3306 | 3330 | PORT_START("IN5") |
| 3307 | 3331 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(4) |
| r3426 | r3427 | |
| 3309 | 3333 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3310 | 3334 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3311 | 3335 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(4) |
| 3312 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(4) |
| 3313 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(4) |
| 3314 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(4) |
| 3336 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(4) |
| 3337 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(4) |
| 3338 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(4) |
| 3315 | 3339 | |
| 3316 | 3340 | PORT_START("IN6") |
| 3317 | 3341 | PORT_BIT( 0x7f, 0x00, IPT_DIAL ) PORT_SENSITIVITY(25) PORT_KEYDELTA(10) PORT_CODE_DEC(KEYCODE_Z) PORT_CODE_INC(KEYCODE_X) PORT_PLAYER(1) |
| r3426 | r3427 | |
| 3330 | 3354 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 3331 | 3355 | |
| 3332 | 3356 | PORT_START("DSW1") |
| 3333 | | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("DSW1:1,2") |
| 3357 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("DSW1:1,2") |
| 3334 | 3358 | PORT_DIPSETTING( 0x03, "Upright (With VS)" ) |
| 3335 | 3359 | PORT_DIPSETTING( 0x02, "Upright (Without VS)" ) |
| 3336 | 3360 | PORT_DIPSETTING( 0x00, "Cocktail (2 Players)" ) |
| 3337 | 3361 | PORT_DIPSETTING( 0x01, "Cocktail (4 Players)" ) |
| 3338 | | PORT_DIPNAME( 0x0c, 0x04, DEF_STR( Version ) ) PORT_DIPLOCATION("DSW1:3,4") |
| 3362 | PORT_DIPNAME( 0x0c, 0x04, DEF_STR( Version ) ) PORT_DIPLOCATION("DSW1:3,4") |
| 3339 | 3363 | PORT_DIPSETTING( 0x04, DEF_STR( Europe ) ) |
| 3340 | 3364 | PORT_DIPSETTING( 0x00, DEF_STR( USA ) ) |
| 3341 | 3365 | PORT_DIPSETTING( 0x08, DEF_STR( Japan ) ) |
| 3342 | 3366 | // PORT_DIPSETTING( 0x0c, DEF_STR( Europe ) ) |
| 3343 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW1:5,6") |
| 3367 | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW1:5,6") |
| 3344 | 3368 | PORT_DIPSETTING( 0x00, DEF_STR( 4C_1C ) ) |
| 3345 | 3369 | PORT_DIPSETTING( 0x10, DEF_STR( 3C_1C ) ) |
| 3346 | 3370 | PORT_DIPSETTING( 0x20, DEF_STR( 2C_1C ) ) |
| 3347 | 3371 | PORT_DIPSETTING( 0x30, DEF_STR( 1C_1C ) ) |
| 3348 | | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW1:7,8") |
| 3372 | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW1:7,8") |
| 3349 | 3373 | PORT_DIPSETTING( 0x00, DEF_STR( 1C_2C ) ) |
| 3350 | 3374 | PORT_DIPSETTING( 0x40, DEF_STR( 1C_3C ) ) |
| 3351 | 3375 | PORT_DIPSETTING( 0x80, DEF_STR( 1C_4C ) ) |
| 3352 | 3376 | PORT_DIPSETTING( 0xc0, DEF_STR( 1C_6C ) ) |
| 3353 | 3377 | |
| 3354 | 3378 | PORT_START("DSW2") |
| 3355 | | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW2:1") |
| 3379 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW2:1") |
| 3356 | 3380 | PORT_DIPSETTING( 0x00, DEF_STR( No ) ) |
| 3357 | 3381 | PORT_DIPSETTING( 0x01, DEF_STR( Yes ) ) |
| 3358 | | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("DSW2:2") |
| 3382 | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("DSW2:2") |
| 3359 | 3383 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 3360 | 3384 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 3361 | | PORT_DIPNAME( 0x0c, 0x0c, "Game Mode" ) PORT_DIPLOCATION("DSW2:3,4") |
| 3385 | PORT_DIPNAME( 0x0c, 0x0c, "Game Mode" ) PORT_DIPLOCATION("DSW2:3,4") |
| 3362 | 3386 | PORT_DIPSETTING( 0x08, "Demo Sound Off" ) |
| 3363 | 3387 | PORT_DIPSETTING( 0x0c, "Demo Sound On" ) |
| 3364 | 3388 | PORT_DIPSETTING( 0x00, "Freeze" ) |
| 3365 | 3389 | PORT_DIPSETTING( 0x04, "Win Match Against CPU (Cheat)") |
| 3366 | 3390 | /* |
| 3367 | | Dip Switch settings are the time for match type A. Here is what you |
| 3368 | | have to add for games B to E : |
| 3391 | Dip Switch settings are the time for match type A. Here is what you have to add for games B to E : |
| 3369 | 3392 | |
| 3370 | 3393 | Match Type B C D E |
| 3371 | 3394 | Time to add 00:30 01:00 01:30 02:00 |
| 3372 | 3395 | */ |
| 3373 | | PORT_DIPNAME( 0x70, 0x70, "Play Time (Type A)" ) PORT_DIPLOCATION("DSW2:5,6,7") |
| 3396 | PORT_DIPNAME( 0x70, 0x70, "Play Time (Type A)" ) PORT_DIPLOCATION("DSW2:5,6,7") |
| 3374 | 3397 | PORT_DIPSETTING( 0x10, "1:00" ) |
| 3375 | 3398 | PORT_DIPSETTING( 0x60, "1:10" ) |
| 3376 | 3399 | PORT_DIPSETTING( 0x50, "1:20" ) |
| r3426 | r3427 | |
| 3379 | 3402 | PORT_DIPSETTING( 0x20, "1:50" ) |
| 3380 | 3403 | PORT_DIPSETTING( 0x70, "2:00" ) |
| 3381 | 3404 | PORT_DIPSETTING( 0x00, "2:10" ) |
| 3382 | | PORT_SERVICE( 0x80, IP_ACTIVE_LOW ) PORT_DIPLOCATION("DSW2:8") |
| 3405 | PORT_SERVICE( 0x80, IP_ACTIVE_LOW ) PORT_DIPLOCATION("DSW2:8") |
| 3383 | 3406 | INPUT_PORTS_END |
| 3384 | 3407 | |
| 3385 | 3408 | |
| r3426 | r3427 | |
| 6162 | 6185 | GAME( 1986, ikari, 0, ikari, ikari, 0, ROT270, "SNK", "Ikari Warriors (US JAMMA)", 0 ) |
| 6163 | 6186 | GAME( 1986, ikaria, ikari, ikari, ikaria, 0, ROT270, "SNK", "Ikari Warriors (US)", 0 ) |
| 6164 | 6187 | GAME( 1986, ikarinc, ikari, ikari, ikarinc, 0, ROT270, "SNK", "Ikari Warriors (US No Continues)", 0 ) |
| 6165 | | GAME( 1986, ikarijp, ikari, ikari, ikarinc, 0, ROT270, "SNK", "Ikari (Japan)", 0 ) |
| 6188 | GAME( 1986, ikarijp, ikari, ikari, ikarinc, 0, ROT270, "SNK", "Ikari (Japan No Continues)", 0 ) |
| 6166 | 6189 | GAME( 1986, ikarijpb, ikari, ikari, ikarijpb, 0, ROT270, "bootleg", "Ikari (Joystick hack bootleg)", 0 ) |
| 6167 | 6190 | GAME( 1986, victroad, 0, victroad, victroad, 0, ROT270, "SNK", "Victory Road", 0 ) |
| 6168 | 6191 | GAME( 1986, dogosoke, victroad, victroad, victroad, 0, ROT270, "SNK", "Dogou Souken", 0 ) |
| r3426 | r3427 | |
| 6188 | 6211 | GAME( 1988, tdfever2, tdfever, tdfever2, tdfever, 0, ROT90, "SNK", "TouchDown Fever 2", 0 ) /* upgrade kit for Touchdown Fever */ |
| 6189 | 6212 | GAME( 1988, fsoccer, 0, tdfever2, fsoccer, 0, ROT0, "SNK", "Fighting Soccer (version 4)", 0 ) |
| 6190 | 6213 | GAME( 1988, fsoccerj, fsoccer, tdfever2, fsoccer, 0, ROT0, "SNK", "Fighting Soccer (Japan)", 0 ) |
| 6191 | | GAME( 1988, fsoccerb, fsoccer, tdfever2, fsoccerb, 0, ROT0, "bootleg", "Fighting Soccer (joystick hack bootleg)", 0 ) |
| 6214 | GAME( 1988, fsoccerb, fsoccer, tdfever2, fsoccerb, 0, ROT0, "bootleg", "Fighting Soccer (Joystick hack bootleg)", 0 ) |
src/mame/drivers/neodrvr.c
| r3426 | r3427 | |
| 632 | 632 | |
| 633 | 633 | ****************************************************************************/ |
| 634 | 634 | |
| 635 | |
| 636 | /* OEM sets */ |
| 637 | |
| 638 | |
| 639 | /* |
| 640 | Missing (undumped) sets: |
| 641 | . Rage of the Dragons (AES) |
| 642 | . Last Blade 2 (early revisions) ? |
| 643 | . Power Spikes II (early revisions) ? |
| 644 | . Metal Slug 3 (rev. Mar/17/2000 1:36) |
| 645 | . Metal Slug 4 (AES) |
| 646 | . Metal Slug 5 (PCB) |
| 647 | . 98 Best 44 |
| 648 | |
| 649 | Redump required: |
| 650 | . All set with BAD_DUMP roms |
| 651 | . Sets which have a p1h |
| 652 | |
| 653 | All rom labels need to be reverified |
| 654 | |
| 655 | */ |
| 656 | |
| 635 | 657 | ROM_START( nam1975 ) /* MVS AND AES VERSION */ |
| 636 | 658 | ROM_REGION( 0x100000, "main", 0 ) |
| 637 | 659 | ROM_LOAD16_WORD_SWAP( "001-p1.bin", 0x000000, 0x080000, CRC(cc9fc951) SHA1(92f4e6ddeeb825077d92dbb70b50afea985f15c0) ) |
| r3426 | r3427 | |
| 941 | 963 | |
| 942 | 964 | ROM_START( superspy ) |
| 943 | 965 | ROM_REGION( 0x100000, "main", 0 ) |
| 944 | | ROM_LOAD16_WORD_SWAP( "011-p1.bin", 0x000000, 0x080000, CRC(c7f944b5) SHA1(da7560e09187c68f1d9f7656218497b4464c56c9) ) |
| 966 | ROM_LOAD16_WORD_SWAP( "011-p1.bin", 0x000000, 0x080000, CRC(c7f944b5) SHA1(da7560e09187c68f1d9f7656218497b4464c56c9) ) |
| 945 | 967 | ROM_LOAD16_WORD_SWAP( "011-sp2.bin", 0x080000, 0x020000, CRC(811a4faf) SHA1(8169dfaf79f52d80ecec402ce1b1ab9cafb7ebdd) ) |
| 946 | 968 | |
| 947 | 969 | NEO_SFIX_128K( "011-s1.bin", CRC(ec5fdb96) SHA1(8003028025ac7bf531e568add6ba66c02d0b7e84) ) |
| r3426 | r3427 | |
| 1167 | 1189 | ROM_START( gpilotsh ) /* AES VERSION */ |
| 1168 | 1190 | ROM_REGION( 0x100000, "main", 0 ) |
| 1169 | 1191 | ROM_LOAD16_WORD_SWAP( "020-hp1.bin", 0x000000, 0x080000, CRC(7cdb01ce) SHA1(32cae2ddf5e26fb7e8a09132e600220db82df3b8) ) |
| 1170 | | ROM_LOAD16_WORD_SWAP( "020-p2.bin", 0x080000, 0x020000, CRC(edcb22ac) SHA1(505d2db38ae999b7d436e8f2ff56b81796d62b54) ) |
| 1192 | ROM_LOAD16_WORD_SWAP( "020-p2.bin", 0x080000, 0x020000, CRC(edcb22ac) SHA1(505d2db38ae999b7d436e8f2ff56b81796d62b54) ) |
| 1171 | 1193 | |
| 1172 | 1194 | NEO_SFIX_128K( "020-s1.bin", CRC(a6d83d53) SHA1(9a8c092f89521cc0b27a385aa72e29cbaca926c5) ) |
| 1173 | 1195 | |
| r3426 | r3427 | |
| 1214 | 1236 | |
| 1215 | 1237 | NEO_SFIX_128K( "022-s1.bin", CRC(843c3624) SHA1(dbdf86c193b7c1d795f8c21f2c103c1d3e18abbe) ) |
| 1216 | 1238 | |
| 1217 | | NEO_BIOS_AUDIO_128K( "022-m1.bin", CRC(8e1d4ab6) SHA1(deabc11ab81e7e68a3e041c03a127ae28d0d7264) ) |
| 1239 | NEO_BIOS_AUDIO_128K( "022-m1.bin", CRC(8e1d4ab6) SHA1(deabc11ab81e7e68a3e041c03a127ae28d0d7264) ) |
| 1218 | 1240 | |
| 1219 | 1241 | ROM_REGION( 0x200000, "ym", 0 ) |
| 1220 | 1242 | ROM_LOAD( "022-v11.bin", 0x000000, 0x100000, CRC(2cb4ad91) SHA1(169ec7303c4275155a66a88cc08270c24132bb36) ) |
| r3426 | r3427 | |
| 1314 | 1336 | ROM_REGION( 0x100000, "main", 0 ) |
| 1315 | 1337 | ROM_LOAD16_WORD_SWAP( "029-p1.bin", 0x000000, 0x080000, CRC(9d563f19) SHA1(9bff7bf9fdcf81a0a6c4ce3e196097d4f05e67b6) ) |
| 1316 | 1338 | |
| 1317 | | NEO_SFIX_128K( "029-s1.bin", CRC(bcd502f0) SHA1(a3400f52c037aa6a42e59e602cc24fa45fcbc951) ) |
| 1339 | NEO_SFIX_128K( "029-s1.bin", CRC(bcd502f0) SHA1(a3400f52c037aa6a42e59e602cc24fa45fcbc951) ) |
| 1318 | 1340 | |
| 1319 | 1341 | NEO_BIOS_AUDIO_128K( "029-m1.bin", CRC(8ed64977) SHA1(c2f77213f05b4b2e1962a45e718a9e36cc398cbb) ) |
| 1320 | 1342 | |
| r3426 | r3427 | |
| 1558 | 1580 | NEO_BIOS_AUDIO_128K( "037-m1.bin", CRC(9c384263) SHA1(74b86284048669e316c5d241b4aaeb02d59d4dfa) ) |
| 1559 | 1581 | |
| 1560 | 1582 | ROM_REGION( 0x100000, "ym", 0 ) |
| 1561 | | ROM_LOAD( "037-v1.bin", 0x000000, 0x100000, CRC(61fedf65) SHA1(98f31d1e23bf7c1f7844e67f14707a704134042e) ) |
| 1583 | ROM_LOAD( "037-v1.bin", 0x000000, 0x100000, CRC(61fedf65) SHA1(98f31d1e23bf7c1f7844e67f14707a704134042e) ) |
| 1562 | 1584 | |
| 1563 | 1585 | NO_DELTAT_REGION |
| 1564 | 1586 | |
| r3426 | r3427 | |
| 1608 | 1630 | |
| 1609 | 1631 | ROM_REGION( 0x600000, "sprites", ROMREGION_DISPOSE ) |
| 1610 | 1632 | ROM_LOAD16_BYTE( "039-c1.bin", 0x000000, 0x100000, CRC(6d1c4aa9) SHA1(4fbc9d7cb37522ec298eefbe38c75a2d050fbb4a) ) /* Plane 0,1 */ |
| 1611 | | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 1633 | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 1612 | 1634 | ROM_LOAD16_BYTE( "039-c2.bin", 0x000001, 0x100000, CRC(f7b75337) SHA1(4d85f85948c3e6ed38b0b0ccda79de3ce026e2d9) ) /* Plane 2,3 */ |
| 1613 | | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 1635 | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 1614 | 1636 | ROM_LOAD16_BYTE( "039-c3.bin", 0x200000, 0x080000, CRC(bfc4f0b2) SHA1(f4abe2b52882b966412f3b503b8f2c8f49b57968) ) /* Plane 0,1 */ |
| 1615 | 1637 | ROM_LOAD16_BYTE( "039-c4.bin", 0x200001, 0x080000, CRC(81c9c250) SHA1(e3a34ff69081a8681b5ca895915892dcdccfa7aa) ) /* Plane 2,3 */ |
| 1616 | 1638 | ROM_END |
| r3426 | r3427 | |
| 1621 | 1643 | |
| 1622 | 1644 | NEO_SFIX_128K( "040-s1.bin", CRC(cd9802a3) SHA1(f685d4638f4f68e7e3f101c0c39128454536721b) ) |
| 1623 | 1645 | |
| 1624 | | // NEO_BIOS_AUDIO_128K( "040-m1o.bin", CRC(9902dfa2) SHA1(af6284c5298328156726b76b968995ad25fdf4de) ) // old rom, bad?, diff rev? |
| 1625 | 1646 | NEO_BIOS_AUDIO_128K( "040-m1.bin", CRC(d4de4bca) SHA1(ecf604d06f01d40b04e285facef66a6ae2d35661) ) |
| 1626 | 1647 | |
| 1627 | 1648 | ROM_REGION( 0x300000, "ym", 0 ) |
| r3426 | r3427 | |
| 1632 | 1653 | |
| 1633 | 1654 | ROM_REGION( 0x600000, "sprites", ROMREGION_DISPOSE ) |
| 1634 | 1655 | ROM_LOAD16_BYTE( "040-c1.bin", 0x000000, 0x100000, CRC(faa8ea99) SHA1(714575e57ea1990612f960ec42b38d2e157ad400) ) /* Plane 0,1 */ |
| 1635 | | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 1656 | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 1636 | 1657 | ROM_LOAD16_BYTE( "040-c2.bin", 0x000001, 0x100000, CRC(87d0ec65) SHA1(23645e0cf859fb4cec3745b3846ca0ef64c689fb) ) /* Plane 2,3 */ |
| 1637 | | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 1658 | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 1638 | 1659 | ROM_LOAD16_BYTE( "040-c3.bin", 0x200000, 0x080000, CRC(24b5ba80) SHA1(29d58a6b56bd24ee2046a8d45e023b4d7ab7685b) ) /* Plane 0,1 */ |
| 1639 | 1660 | ROM_LOAD16_BYTE( "040-c4.bin", 0x200001, 0x080000, CRC(1c9e9930) SHA1(d017474873750a7602b7708c663d29b25ef7bb63) ) /* Plane 2,3 */ |
| 1640 | 1661 | ROM_END |
| r3426 | r3427 | |
| 1701 | 1722 | |
| 1702 | 1723 | ROM_REGION( 0x0800000, "sprites", ROMREGION_DISPOSE ) |
| 1703 | 1724 | ROM_LOAD16_BYTE( "043-c1.bin", 0x000000, 0x100000, CRC(bad2d67f) SHA1(04928e50ca75b7fbc52b64e816ec5701901f5893) ) /* Plane 0,1 */ |
| 1704 | | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 1725 | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 1705 | 1726 | ROM_LOAD16_BYTE( "043-c2.bin", 0x000001, 0x100000, CRC(a7fbda95) SHA1(9da3c5faf22592a7eaf8df9fa6454f48c2a927ae) ) /* Plane 2,3 */ |
| 1706 | | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 1727 | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 1707 | 1728 | ROM_LOAD16_BYTE( "043-c3.bin", 0x200000, 0x100000, CRC(f00be011) SHA1(2721cdba37a511a966a2a53b9bd6240f181d920c) ) /* Plane 0,1 */ |
| 1708 | | ROM_CONTINUE( 0x600000, 0x100000 ) |
| 1729 | ROM_CONTINUE( 0x600000, 0x100000 ) |
| 1709 | 1730 | ROM_LOAD16_BYTE( "043-c4.bin", 0x200001, 0x100000, CRC(1887e5c0) SHA1(9b915359add7c10c78d8b281b4084eceea8f0499) ) /* Plane 2,3 */ |
| 1710 | | ROM_CONTINUE( 0x600001, 0x100000 ) |
| 1731 | ROM_CONTINUE( 0x600001, 0x100000 ) |
| 1711 | 1732 | ROM_END |
| 1712 | 1733 | |
| 1713 | 1734 | ROM_START( aof ) /* MVS AND AES VERSION */ |
| r3426 | r3427 | |
| 1727 | 1748 | |
| 1728 | 1749 | ROM_REGION( 0x800000, "sprites", ROMREGION_DISPOSE ) |
| 1729 | 1750 | ROM_LOAD16_BYTE( "044-c1.bin", 0x000000, 0x100000, CRC(ddab98a7) SHA1(f20eb81ec431268798c142c482146c1545af1c24) ) /* Plane 0,1 */ |
| 1730 | | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 1751 | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 1731 | 1752 | ROM_LOAD16_BYTE( "044-c2.bin", 0x000001, 0x100000, CRC(d8ccd575) SHA1(f697263fe92164e274bf34c55327b3d4a158b332) ) /* Plane 2,3 */ |
| 1732 | | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 1753 | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 1733 | 1754 | ROM_LOAD16_BYTE( "044-c3.bin", 0x200000, 0x100000, CRC(403e898a) SHA1(dd5888f8b24a33b2c1f483316fe80c17849ccfc4) ) /* Plane 0,1 */ |
| 1734 | | ROM_CONTINUE( 0x600000, 0x100000 ) |
| 1755 | ROM_CONTINUE( 0x600000, 0x100000 ) |
| 1735 | 1756 | ROM_LOAD16_BYTE( "044-c4.bin", 0x200001, 0x100000, CRC(6235fbaa) SHA1(9090e337d7beed25ba81ae0708d0aeb57e6cf405) ) /* Plane 2,3 */ |
| 1736 | | ROM_CONTINUE( 0x600001, 0x100000 ) |
| 1757 | ROM_CONTINUE( 0x600001, 0x100000 ) |
| 1737 | 1758 | ROM_END |
| 1738 | 1759 | |
| 1739 | 1760 | ROM_START( samsho ) /* MVS VERSION */ |
| 1740 | 1761 | ROM_REGION( 0x200000, "main", 0 ) |
| 1741 | | ROM_LOAD16_WORD_SWAP( "045-p1.bin", 0x000000, 0x100000, CRC(dfe51bf0) SHA1(2243af3770a516ae698b69bcd9daf53632d9128d) ) |
| 1762 | ROM_LOAD16_WORD_SWAP( "045-p1.bin", 0x000000, 0x100000, CRC(dfe51bf0) SHA1(2243af3770a516ae698b69bcd9daf53632d9128d) ) |
| 1742 | 1763 | ROM_LOAD16_WORD_SWAP( "045-pg2.bin", 0x100000, 0x100000, CRC(46745b94) SHA1(d9e959fd1f88c9402915c1d0dcdb4a9e3d49cdcb) ) |
| 1743 | 1764 | |
| 1744 | 1765 | NEO_SFIX_128K( "045-s1.bin", CRC(9142a4d3) SHA1(54088e99fcfd75fd0f94852890a56350066a05a3) ) |
| r3426 | r3427 | |
| 1868 | 1889 | |
| 1869 | 1890 | ROM_REGION( 0x800000, "sprites", ROMREGION_DISPOSE ) |
| 1870 | 1891 | ROM_LOAD16_BYTE( "047-c1.bin", 0x000000, 0x100000, CRC(f72a939e) SHA1(67fc398ec28061adca0d3be82bbe7297015800da) ) /* Plane 0,1 */ |
| 1871 | | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 1892 | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 1872 | 1893 | ROM_LOAD16_BYTE( "047-c2.bin", 0x000001, 0x100000, CRC(05119a0d) SHA1(c2f100b73eb04f65b6ba6089d49aceb51b470ec6) ) /* Plane 2,3 */ |
| 1873 | | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 1894 | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 1874 | 1895 | ROM_LOAD16_BYTE( "047-c3.bin", 0x200000, 0x100000, CRC(01e00738) SHA1(79654f24d777dd5eb68bafc3b8cb9db71d5822e2) ) /* Plane 0,1 */ |
| 1875 | | ROM_CONTINUE( 0x600000, 0x100000 ) |
| 1896 | ROM_CONTINUE( 0x600000, 0x100000 ) |
| 1876 | 1897 | ROM_LOAD16_BYTE( "047-c4.bin", 0x200001, 0x100000, CRC(9fe27432) SHA1(89d22d77ba8bc6d1f6c974195c34ad61b9010de7) ) /* Plane 2,3 */ |
| 1877 | | ROM_CONTINUE( 0x600001, 0x100000 ) |
| 1898 | ROM_CONTINUE( 0x600001, 0x100000 ) |
| 1878 | 1899 | ROM_END |
| 1879 | 1900 | |
| 1880 | 1901 | ROM_START( janshin ) |
| r3426 | r3427 | |
| 1953 | 1974 | |
| 1954 | 1975 | ROM_REGION( 0x600000, "sprites", ROMREGION_DISPOSE ) |
| 1955 | 1976 | ROM_LOAD16_BYTE( "051-c1.bin", 0x000000, 0x100000, CRC(d624c132) SHA1(49c7e9f020cba45d7083b45252bcc03397f8c286) ) /* Plane 0,1 */ |
| 1956 | | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 1977 | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 1957 | 1978 | ROM_LOAD16_BYTE( "051-c2.bin", 0x000001, 0x100000, CRC(40d69f1e) SHA1(ec4a13582772594957f927622d50f54b0dfcd8d8) ) /* Plane 2,3 */ |
| 1958 | | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 1979 | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 1959 | 1980 | ROM_END |
| 1960 | 1981 | |
| 1961 | 1982 | ROM_START( ssideki ) |
| r3426 | r3427 | |
| 1973 | 1994 | |
| 1974 | 1995 | ROM_REGION( 0x600000, "sprites", ROMREGION_DISPOSE ) |
| 1975 | 1996 | ROM_LOAD16_BYTE( "052-c1.bin", 0x000000, 0x100000, CRC(53e1c002) SHA1(2125b1be379ea7933893ffb1cd65d6c4bf8b03bd) ) /* Plane 0,1 */ |
| 1976 | | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 1997 | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 1977 | 1998 | ROM_LOAD16_BYTE( "052-c2.bin", 0x000001, 0x100000, CRC(776a2d1f) SHA1(bca0bac87443e9e78c623d284f6cc96cc9c9098f) ) /* Plane 2,3 */ |
| 1978 | | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 1999 | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 1979 | 2000 | ROM_END |
| 1980 | 2001 | |
| 1981 | 2002 | ROM_START( wh1 ) /* MVS VERSION */ |
| r3426 | r3427 | |
| 1996 | 2017 | |
| 1997 | 2018 | ROM_REGION( 0x600000, "sprites", ROMREGION_DISPOSE ) |
| 1998 | 2019 | ROM_LOAD16_BYTE( "053-c1.bin", 0x000000, 0x100000, CRC(85eb5bce) SHA1(3d03d29296ca6e6b5106aac4aaeec9d4b4ed1313) ) /* Plane 0,1 */ |
| 1999 | | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 2020 | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 2000 | 2021 | ROM_LOAD16_BYTE( "053-c2.bin", 0x000001, 0x100000, CRC(ec93b048) SHA1(d4159210df94e259f874a4671d271ec27be13451) ) /* Plane 2,3 */ |
| 2001 | | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 2022 | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 2002 | 2023 | ROM_LOAD16_BYTE( "053-c3.bin", 0x200000, 0x100000, CRC(0dd64965) SHA1(e97b3b8a461da5e8861b3dfdacb25e007ced37a1) ) /* Plane 0,1 */ |
| 2003 | 2024 | ROM_LOAD16_BYTE( "053-c4.bin", 0x200001, 0x100000, CRC(9270d954) SHA1(a2ef909868f6b06cdcc22a63ddf6c96be12b999c) ) /* Plane 2,3 */ |
| 2004 | 2025 | ROM_END |
| r3426 | r3427 | |
| 2020 | 2041 | |
| 2021 | 2042 | ROM_REGION( 0x600000, "sprites", ROMREGION_DISPOSE ) |
| 2022 | 2043 | ROM_LOAD16_BYTE( "053-c1.bin", 0x000000, 0x100000, CRC(85eb5bce) SHA1(3d03d29296ca6e6b5106aac4aaeec9d4b4ed1313) ) /* Plane 0,1 */ |
| 2023 | | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 2044 | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 2024 | 2045 | ROM_LOAD16_BYTE( "053-c2.bin", 0x000001, 0x100000, CRC(ec93b048) SHA1(d4159210df94e259f874a4671d271ec27be13451) ) /* Plane 2,3 */ |
| 2025 | | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 2046 | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 2026 | 2047 | ROM_LOAD16_BYTE( "053-c3.bin", 0x200000, 0x100000, CRC(0dd64965) SHA1(e97b3b8a461da5e8861b3dfdacb25e007ced37a1) ) /* Plane 0,1 */ |
| 2027 | 2048 | ROM_LOAD16_BYTE( "053-c4.bin", 0x200001, 0x100000, CRC(9270d954) SHA1(a2ef909868f6b06cdcc22a63ddf6c96be12b999c) ) /* Plane 2,3 */ |
| 2028 | 2049 | ROM_END |
| r3426 | r3427 | |
| 2044 | 2065 | |
| 2045 | 2066 | ROM_REGION( 0x600000, "sprites", ROMREGION_DISPOSE ) |
| 2046 | 2067 | ROM_LOAD16_BYTE( "053-c1.bin", 0x000000, 0x100000, CRC(85eb5bce) SHA1(3d03d29296ca6e6b5106aac4aaeec9d4b4ed1313) ) /* Plane 0,1 */ |
| 2047 | | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 2068 | ROM_CONTINUE( 0x400000, 0x100000 ) |
| 2048 | 2069 | ROM_LOAD16_BYTE( "053-c2.bin", 0x000001, 0x100000, CRC(ec93b048) SHA1(d4159210df94e259f874a4671d271ec27be13451) ) /* Plane 2,3 */ |
| 2049 | | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 2070 | ROM_CONTINUE( 0x400001, 0x100000 ) |
| 2050 | 2071 | ROM_LOAD16_BYTE( "053-c3.bin", 0x200000, 0x100000, CRC(0dd64965) SHA1(e97b3b8a461da5e8861b3dfdacb25e007ced37a1) ) /* Plane 0,1 */ |
| 2051 | 2072 | ROM_LOAD16_BYTE( "053-c4.bin", 0x200001, 0x100000, CRC(9270d954) SHA1(a2ef909868f6b06cdcc22a63ddf6c96be12b999c) ) /* Plane 2,3 */ |
| 2052 | 2073 | ROM_END |
| r3426 | r3427 | |
| 2054 | 2075 | ROM_START( kof94 ) |
| 2055 | 2076 | ROM_REGION( 0x200000, "main", 0 ) |
| 2056 | 2077 | ROM_LOAD16_WORD_SWAP( "055-p1.bin", 0x100000, 0x100000, CRC(f10a2042) SHA1(d08a3f3c28be4b1793de7d362456281329fe1828) ) |
| 2057 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2078 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2058 | 2079 | |
| 2059 | 2080 | NEO_SFIX_128K( "055-s1.bin", CRC(825976c1) SHA1(cb6a70bdd95d449d25196ca269b621c362db6743) ) |
| 2060 | 2081 | |
| r3426 | r3427 | |
| 2134 | 2155 | ROM_START( wh2 ) |
| 2135 | 2156 | ROM_REGION( 0x200000, "main", 0 ) |
| 2136 | 2157 | ROM_LOAD16_WORD_SWAP( "057-p1.bin", 0x100000, 0x100000, CRC(65a891d9) SHA1(ff8d5ccb0dd22c523902bb3db3c645583a335056) ) |
| 2137 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2158 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2138 | 2159 | |
| 2139 | 2160 | NEO_SFIX_128K( "057-s1.bin", CRC(fcaeb3a4) SHA1(1f3f85e38b8552333261c04ae5af0d6e3b310622) ) |
| 2140 | 2161 | |
| r3426 | r3427 | |
| 2210 | 2231 | ROM_START( savagere ) |
| 2211 | 2232 | ROM_REGION( 0x200000, "main", 0 ) |
| 2212 | 2233 | ROM_LOAD16_WORD_SWAP( "059-p1.bin", 0x100000, 0x100000, CRC(01d4e9c0) SHA1(3179d2be59bf2de6918d506117cff50acf7e09f3) ) |
| 2213 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2234 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2214 | 2235 | |
| 2215 | 2236 | NEO_SFIX_128K( "059-s1.bin", CRC(e08978ca) SHA1(55152cb9bd0403ae8656b93a6b1522dba5db6d1a) ) |
| 2216 | 2237 | |
| r3426 | r3427 | |
| 2243 | 2264 | |
| 2244 | 2265 | NEO_BIOS_AUDIO_128K( "060-m1.bin", CRC(0b7c4e65) SHA1(999a1e784de18db3f1332b30bc425836ea6970be) ) |
| 2245 | 2266 | |
| 2246 | | ROM_REGION( 0x300000, "ym", 0 ) |
| 2267 | ROM_REGION( 0x300000, "ym", 0 ) |
| 2247 | 2268 | ROM_LOAD( "060-v1.bin", 0x000000, 0x200000, CRC(f417c215) SHA1(0f53b8dd056f43b5d880628e8b74c2b27881ffac) ) |
| 2248 | 2269 | ROM_LOAD( "060-v2.bin", 0x200000, 0x100000, CRC(efcff7cf) SHA1(e8372303724284a750b706dc6bf7641e4c52bb95) ) |
| 2249 | 2270 | |
| r3426 | r3427 | |
| 2267 | 2288 | |
| 2268 | 2289 | NEO_BIOS_AUDIO_128K( "060-m1.bin", CRC(0b7c4e65) SHA1(999a1e784de18db3f1332b30bc425836ea6970be) ) |
| 2269 | 2290 | |
| 2270 | | ROM_REGION( 0x300000, "ym", 0 ) |
| 2291 | ROM_REGION( 0x300000, "ym", 0 ) |
| 2271 | 2292 | ROM_LOAD( "060-v1.bin", 0x000000, 0x200000, CRC(f417c215) SHA1(0f53b8dd056f43b5d880628e8b74c2b27881ffac) ) |
| 2272 | 2293 | ROM_LOAD( "060-v2.bin", 0x200000, 0x100000, CRC(efcff7cf) SHA1(e8372303724284a750b706dc6bf7641e4c52bb95) ) |
| 2273 | 2294 | |
| r3426 | r3427 | |
| 2329 | 2350 | ROM_START( samsho2 ) /* MVS AND AES VERSION */ |
| 2330 | 2351 | ROM_REGION( 0x200000, "main", 0 ) |
| 2331 | 2352 | ROM_LOAD16_WORD_SWAP( "063-p1.bin", 0x100000, 0x100000, CRC(22368892) SHA1(0997f8284aa0f57a333be8a0fdea777d0d01afd6) ) |
| 2332 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2353 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2333 | 2354 | |
| 2334 | 2355 | NEO_SFIX_128K( "063-s1.bin", CRC(64a5cd66) SHA1(12cdfb27bf9ccd5a8df6ddd4628ef7cf2c6d4964) ) |
| 2335 | 2356 | |
| r3426 | r3427 | |
| 2357 | 2378 | ROM_START( wh2j ) /* MVS VERSION */ |
| 2358 | 2379 | ROM_REGION( 0x200000, "main", 0 ) |
| 2359 | 2380 | ROM_LOAD16_WORD_SWAP( "064-p1.bin", 0x100000, 0x100000, CRC(385a2e86) SHA1(cfde4a1aeae038a3d6ca9946065624f097682d3d) ) |
| 2360 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2381 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2361 | 2382 | |
| 2362 | 2383 | NEO_SFIX_128K( "064-s1.bin", CRC(2a03998a) SHA1(5e33f469982f12d4622a06d323a345f192bf88e6) ) |
| 2363 | 2384 | |
| r3426 | r3427 | |
| 2379 | 2400 | ROM_START( wh2jh ) /* AES VERSION */ |
| 2380 | 2401 | ROM_REGION( 0x200000, "main", 0 ) |
| 2381 | 2402 | ROM_LOAD16_WORD_SWAP( "064-p1.bin", 0x100000, 0x100000, CRC(385a2e86) SHA1(cfde4a1aeae038a3d6ca9946065624f097682d3d) ) |
| 2382 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2403 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2383 | 2404 | |
| 2384 | 2405 | NEO_SFIX_128K( "064-s1.bin", CRC(2a03998a) SHA1(5e33f469982f12d4622a06d323a345f192bf88e6) ) |
| 2385 | 2406 | |
| r3426 | r3427 | |
| 2561 | 2582 | ROM_START( aodk ) |
| 2562 | 2583 | ROM_REGION( 0x200000, "main", 0 ) |
| 2563 | 2584 | ROM_LOAD16_WORD_SWAP( "074-p1.bin", 0x100000, 0x100000, CRC(62369553) SHA1(ca4d561ee08d16fe6804249d1ba49188eb3bd606) ) |
| 2564 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2585 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2565 | 2586 | |
| 2566 | 2587 | NEO_SFIX_128K( "074-s1.bin", CRC(96148d2b) SHA1(47725a8059346ebe5639bbdbf62a2ac8028756a9) ) |
| 2567 | 2588 | |
| r3426 | r3427 | |
| 2587 | 2608 | ROM_START( sonicwi2 ) |
| 2588 | 2609 | ROM_REGION( 0x200000, "main", 0 ) |
| 2589 | 2610 | ROM_LOAD16_WORD_SWAP( "075-p1.bin", 0x100000, 0x100000, CRC(92871738) SHA1(fed040a7c1ff9e495109813a702d09fb1d2ecf3a) ) |
| 2590 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2611 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2591 | 2612 | |
| 2592 | 2613 | NEO_SFIX_128K( "075-s1.bin", CRC(c9eec367) SHA1(574e1afe7e0d54610c145131106e59ba2894eeb7) ) |
| 2593 | 2614 | |
| r3426 | r3427 | |
| 2631 | 2652 | ROM_START( galaxyfg ) |
| 2632 | 2653 | ROM_REGION( 0x200000, "main", 0 ) |
| 2633 | 2654 | ROM_LOAD16_WORD_SWAP( "078-p1.bin", 0x100000, 0x100000, CRC(45906309) SHA1(cdcd96a564acf42e959193e139e149b29c103e25) ) |
| 2634 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2655 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2635 | 2656 | |
| 2636 | 2657 | NEO_SFIX_128K( "078-s1.bin", CRC(72f8923e) SHA1(da908bffc2b5d8baa2002dbb5bfb3aa17d2472b7) ) |
| 2637 | 2658 | |
| r3426 | r3427 | |
| 2692 | 2713 | NO_DELTAT_REGION |
| 2693 | 2714 | |
| 2694 | 2715 | ROM_REGION( 0x800000, "sprites", ROMREGION_DISPOSE ) |
| 2695 | | ROM_LOAD16_BYTE( "080-c1.bin", 0x000000, 0x200000, CRC(ea1d764a) SHA1(78cc1735624c37f90607baa92e110a3c5cc54c6f) ) /* Plane 0,1 */ |
| 2696 | | ROM_LOAD16_BYTE( "080-c2.bin", 0x000001, 0x200000, CRC(d331d4a4) SHA1(94228d13fb1e30973eb54058e697f17456ee16ea) ) /* Plane 2,3 */ |
| 2697 | | ROM_LOAD16_BYTE( "080-c3.bin", 0x400000, 0x200000, CRC(b4851bfe) SHA1(b8286c601de5755c1681ea46e177fc89006fc066) ) /* Plane 0,1 */ |
| 2698 | | ROM_LOAD16_BYTE( "080-c4.bin", 0x400001, 0x200000, CRC(ca6f5460) SHA1(ed36e244c9335f4c0a97c57b7b7f1b849dd3a90d) ) /* Plane 2,3 */ |
| 2716 | ROM_LOAD16_BYTE( "080-c1.bin", 0x000000, 0x200000, CRC(ea1d764a) SHA1(78cc1735624c37f90607baa92e110a3c5cc54c6f) ) /* Plane 0,1 */ |
| 2717 | ROM_LOAD16_BYTE( "080-c2.bin", 0x000001, 0x200000, CRC(d331d4a4) SHA1(94228d13fb1e30973eb54058e697f17456ee16ea) ) /* Plane 2,3 */ |
| 2718 | ROM_LOAD16_BYTE( "080-c3.bin", 0x400000, 0x200000, CRC(b4851bfe) SHA1(b8286c601de5755c1681ea46e177fc89006fc066) ) /* Plane 0,1 */ |
| 2719 | ROM_LOAD16_BYTE( "080-c4.bin", 0x400001, 0x200000, CRC(ca6f5460) SHA1(ed36e244c9335f4c0a97c57b7b7f1b849dd3a90d) ) /* Plane 2,3 */ |
| 2699 | 2720 | ROM_END |
| 2700 | 2721 | |
| 2701 | 2722 | ROM_START( ssideki3 ) |
| 2702 | 2723 | ROM_REGION( 0x200000, "main", 0 ) |
| 2703 | 2724 | ROM_LOAD16_WORD_SWAP( "081-p1.bin", 0x100000, 0x100000, CRC(6bc27a3d) SHA1(94692abe7343f9204a557acae4ab74d0af511ca3) ) |
| 2704 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2725 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2705 | 2726 | |
| 2706 | 2727 | NEO_SFIX_128K( "081-s1.bin", CRC(7626da34) SHA1(30bad65633d0035fd578323c22cbddb8c9d549a6) ) |
| 2707 | 2728 | |
| r3426 | r3427 | |
| 2726 | 2747 | ROM_START( doubledr ) |
| 2727 | 2748 | ROM_REGION( 0x200000, "main", 0 ) |
| 2728 | 2749 | ROM_LOAD16_WORD_SWAP( "082-p1.bin", 0x100000, 0x100000, CRC(34ab832a) SHA1(fbb1bd195f5653f7b9c89648649f838eaf83cbe4) ) |
| 2729 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2750 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2730 | 2751 | |
| 2731 | 2752 | NEO_SFIX_128K( "082-s1.bin", CRC(bef995c5) SHA1(9c89adbdaa5c1f827632c701688563dac2e482a4) ) |
| 2732 | 2753 | |
| r3426 | r3427 | |
| 2801 | 2822 | ROM_START( kof95 ) |
| 2802 | 2823 | ROM_REGION( 0x200000, "main", 0 ) |
| 2803 | 2824 | ROM_LOAD16_WORD_SWAP( "084-p1.bin",0x100000, 0x100000, CRC(2cba2716) SHA1(f6c2d0537c9c3e0938065c65b1797c47198fcff8) ) |
| 2804 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2825 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2805 | 2826 | |
| 2806 | 2827 | NEO_SFIX_128K( "084-s1.bin", CRC(de716f8a) SHA1(f7386454a943ed5caf625f67ee1d0197b1c6fa13) ) |
| 2807 | 2828 | |
| r3426 | r3427 | |
| 2831 | 2852 | /* There also exists a MVS version with 4x eprom (EP1~EP4); board used is NEO-MVS PROGSM */ |
| 2832 | 2853 | ROM_REGION( 0x200000, "main", 0 ) |
| 2833 | 2854 | ROM_LOAD16_WORD_SWAP( "084-pg1.bin", 0x100000, 0x100000, CRC(5e54cf95) SHA1(41abe2042fdbb1526e92a0789976a9b1ac5e60f0) ) |
| 2834 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2855 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 2835 | 2856 | |
| 2836 | 2857 | NEO_SFIX_128K( "084-s1.bin", CRC(de716f8a) SHA1(f7386454a943ed5caf625f67ee1d0197b1c6fa13) ) |
| 2837 | 2858 | |
| r3426 | r3427 | |
| 2961 | 2982 | |
| 2962 | 2983 | ROM_START( stakwin ) |
| 2963 | 2984 | ROM_REGION( 0x200000, "main", 0 ) |
| 2964 | | ROM_LOAD16_WORD_SWAP( "088-p1.bin", 0x100000, 0x100000, CRC(bd5814f6) SHA1(95179a4dee61ae88bb5d9fd74af0c56c8c29f5ea) ) |
| 2965 | | ROM_CONTINUE( 0x000000, 0x100000) |
| 2985 | ROM_LOAD16_WORD_SWAP( "088-p1.bin", 0x100000, 0x100000, CRC(bd5814f6) SHA1(95179a4dee61ae88bb5d9fd74af0c56c8c29f5ea) ) |
| 2986 | ROM_CONTINUE( 0x000000, 0x100000) |
| 2966 | 2987 | |
| 2967 | 2988 | NEO_SFIX_128K( "088-s1.bin", CRC(073cb208) SHA1(c5b4697d767575884dd49ae416c1fe4a4a92d3f6) ) |
| 2968 | 2989 | |
| r3426 | r3427 | |
| 3009 | 3030 | ROM_START( whp ) |
| 3010 | 3031 | ROM_REGION( 0x200000, "main", 0 ) |
| 3011 | 3032 | ROM_LOAD16_WORD_SWAP( "090-p1.bin", 0x100000, 0x100000, CRC(afaa4702) SHA1(83d122fddf17d4774353abf4a0655f3939f7b752) ) |
| 3012 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3033 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3013 | 3034 | |
| 3014 | | NEO_SFIX_128K( "090-s1.bin", CRC(174a880f) SHA1(c35d315d728d119a6e9aa42e0593937c90897449) ) |
| 3035 | NEO_SFIX_128K( "090-s1.bin", CRC(174a880f) SHA1(c35d315d728d119a6e9aa42e0593937c90897449) ) |
| 3015 | 3036 | |
| 3016 | 3037 | NEO_BIOS_AUDIO_128K( "090-m1.bin", CRC(28065668) SHA1(0c60d4afa1dccad0135e733104f056be73b54e4e) ) |
| 3017 | 3038 | |
| r3426 | r3427 | |
| 3038 | 3059 | ROM_START( kabukikl ) |
| 3039 | 3060 | ROM_REGION( 0x200000, "main", 0 ) |
| 3040 | 3061 | ROM_LOAD16_WORD_SWAP( "092-p1.bin", 0x100000, 0x100000, CRC(28ec9b77) SHA1(7cdc789a99f8127f437d68cbc41278c926be9efd) ) |
| 3041 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3062 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3042 | 3063 | |
| 3043 | 3064 | NEO_SFIX_128K( "092-s1.bin", CRC(a3d68ee2) SHA1(386f6110a16967a72fbf788f9d968fddcdcd2889) ) |
| 3044 | 3065 | |
| r3426 | r3427 | |
| 3083 | 3104 | ROM_START( gowcaizr ) |
| 3084 | 3105 | ROM_REGION( 0x200000, "main", 0 ) |
| 3085 | 3106 | ROM_LOAD16_WORD_SWAP( "094-p1.bin", 0x100000, 0x100000, CRC(33019545) SHA1(213db6c0b7d24b74b809854f9c606dbea1d9ba00) ) |
| 3086 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3107 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3087 | 3108 | |
| 3088 | 3109 | NEO_SFIX_128K( "094-s1.bin", CRC(2f8748a2) SHA1(5cc723c4284120473d63d8b0c1a3b3be74bdc324) ) |
| 3089 | 3110 | |
| r3426 | r3427 | |
| 3223 | 3244 | ROM_START( sonicwi3 ) |
| 3224 | 3245 | ROM_REGION( 0x200000, "main", 0 ) |
| 3225 | 3246 | ROM_LOAD16_WORD_SWAP( "097-p1.bin", 0x100000, 0x100000, CRC(0547121d) SHA1(e0bb6c614f572b74ba9a9f0d3d5b69fbc91ebc52) ) |
| 3226 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3247 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3227 | 3248 | |
| 3228 | 3249 | NEO_SFIX_128K( "097-s1.bin", CRC(8dd66743) SHA1(39214bb25a1d5b44a8524010be05bf5a0211981f) ) |
| 3229 | 3250 | |
| r3426 | r3427 | |
| 3245 | 3266 | ROM_START( turfmast ) |
| 3246 | 3267 | ROM_REGION( 0x200000, "main", 0 ) |
| 3247 | 3268 | ROM_LOAD16_WORD_SWAP( "200-p1.bin", 0x100000, 0x100000, CRC(28c83048) SHA1(e7ef87e1de21d2bb17ef17bb08657e92363f0e9a) ) |
| 3248 | | ROM_CONTINUE( 0x000000, 0x100000) |
| 3269 | ROM_CONTINUE( 0x000000, 0x100000) |
| 3249 | 3270 | |
| 3250 | 3271 | NEO_SFIX_128K( "200-s1.bin", CRC(9a5402b2) SHA1(ae1a0b5450869d61b2bb23671c744d3dda8769c4) ) |
| 3251 | 3272 | |
| r3426 | r3427 | |
| 3267 | 3288 | ROM_START( mslug ) |
| 3268 | 3289 | ROM_REGION( 0x200000, "main", 0 ) |
| 3269 | 3290 | ROM_LOAD16_WORD_SWAP( "201-p1.bin", 0x100000, 0x100000, CRC(08d8daa5) SHA1(b888993dbb7e9f0a28a01d7d2e1da00ef9cf6f38) ) |
| 3270 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3291 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3271 | 3292 | |
| 3272 | 3293 | NEO_SFIX_128K( "201-s1.bin", CRC(2f55958d) SHA1(550b53628daec9f1e1e11a398854092d90f9505a) ) |
| 3273 | 3294 | |
| r3426 | r3427 | |
| 3318 | 3339 | NO_DELTAT_REGION |
| 3319 | 3340 | |
| 3320 | 3341 | ROM_REGION( 0x400000, "sprites", ROMREGION_DISPOSE ) |
| 3321 | | ROM_LOAD16_BYTE( "203-c1.bin", 0x000000, 0x200000, CRC(bba9e8c0) SHA1(db89b7275a59ae6104a8308025c7e142a67b947b) ) /* Plane 0,1 */ |
| 3322 | | ROM_LOAD16_BYTE( "203-c2.bin", 0x000001, 0x200000, CRC(2574be03) SHA1(198cfd697c623022919ae4118928a7fe30cd6c46) ) /* Plane 2,3 */ |
| 3342 | ROM_LOAD16_BYTE( "203-c1.bin", 0x000000, 0x200000, CRC(bba9e8c0) SHA1(db89b7275a59ae6104a8308025c7e142a67b947b) ) /* Plane 0,1 */ |
| 3343 | ROM_LOAD16_BYTE( "203-c2.bin", 0x000001, 0x200000, CRC(2574be03) SHA1(198cfd697c623022919ae4118928a7fe30cd6c46) ) /* Plane 2,3 */ |
| 3323 | 3344 | ROM_END |
| 3324 | 3345 | |
| 3325 | 3346 | ROM_START( marukodq ) |
| r3426 | r3427 | |
| 3364 | 3385 | ROM_START( sdodgeb ) |
| 3365 | 3386 | ROM_REGION( 0x200000, "main", 0 ) |
| 3366 | 3387 | ROM_LOAD16_WORD_SWAP( "208-p1.bin", 0x100000, 0x100000, CRC(127f3d32) SHA1(18e77b79b1197a89371533ef9b1e4d682c44d875) ) |
| 3367 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3388 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3368 | 3389 | |
| 3369 | 3390 | NEO_SFIX_128K( "208-s1.bin", CRC(64abd6b3) SHA1(0315d724e4d83a44ce84c531ff9b8c398363c039) ) |
| 3370 | 3391 | |
| r3426 | r3427 | |
| 3386 | 3407 | ROM_START( goalx3 ) |
| 3387 | 3408 | ROM_REGION( 0x200000, "main", 0 ) |
| 3388 | 3409 | ROM_LOAD16_WORD_SWAP( "209-p1.bin", 0x100000, 0x100000, CRC(2a019a79) SHA1(422a639e74284fef2e53e1b49cf8803b0a7e80c6) ) |
| 3389 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3410 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3390 | 3411 | |
| 3391 | 3412 | NEO_SFIX_128K( "209-s1.bin", CRC(c0eaad86) SHA1(99412093c9707d51817893971e73fb8469cdc9d0) ) |
| 3392 | 3413 | |
| r3426 | r3427 | |
| 3431 | 3452 | ROM_START( overtop ) |
| 3432 | 3453 | ROM_REGION( 0x200000, "main", 0 ) |
| 3433 | 3454 | ROM_LOAD16_WORD_SWAP( "212-p1.bin", 0x100000, 0x100000, CRC(16c063a9) SHA1(5432869f830eed816ee5ed71c7fd39f749d15619) ) |
| 3434 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3455 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3435 | 3456 | |
| 3436 | | NEO_SFIX_128K( "212-s1.bin", CRC(481d3ddc) SHA1(7b0df3fc5b19f282abfd0eb5a4c6ed836a536ece) ) |
| 3457 | NEO_SFIX_128K( "212-s1.bin", CRC(481d3ddc) SHA1(7b0df3fc5b19f282abfd0eb5a4c6ed836a536ece) ) |
| 3437 | 3458 | |
| 3438 | 3459 | NEO_BIOS_AUDIO_128K( "212-m1.bin", CRC(fcab6191) SHA1(488b8310b0957f0012fe50f73641b606f6ac4a57) ) |
| 3439 | 3460 | |
| r3426 | r3427 | |
| 3453 | 3474 | |
| 3454 | 3475 | ROM_START( neodrift ) |
| 3455 | 3476 | ROM_REGION( 0x200000, "main", 0 ) |
| 3456 | | ROM_LOAD16_WORD_SWAP( "213-p1.bin", 0x100000, 0x100000, CRC(e397d798) SHA1(10f459111db4bab7aaa63ca47e83304a84300812) ) |
| 3457 | | ROM_CONTINUE( 0x000000, 0x100000) |
| 3477 | ROM_LOAD16_WORD_SWAP( "213-p1.bin", 0x100000, 0x100000, CRC(e397d798) SHA1(10f459111db4bab7aaa63ca47e83304a84300812) ) |
| 3478 | ROM_CONTINUE( 0x000000, 0x100000) |
| 3458 | 3479 | |
| 3459 | 3480 | NEO_SFIX_128K( "213-s1.bin", CRC(b76b61bc) SHA1(5fdb407d16ab9e33c4f26ee09ff70891ae1d2bd0) ) |
| 3460 | 3481 | |
| r3426 | r3427 | |
| 3528 | 3549 | ROM_START( ssideki4 ) |
| 3529 | 3550 | ROM_REGION( 0x200000, "main", 0 ) |
| 3530 | 3551 | ROM_LOAD16_WORD_SWAP( "215-p1.bin", 0x100000, 0x100000, CRC(519b4ba3) SHA1(5aa59514b23aa663f2c4014ee94a31e9f59151de) ) |
| 3531 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3552 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3532 | 3553 | |
| 3533 | 3554 | NEO_SFIX_128K( "215-s1.bin", CRC(f0fe5c36) SHA1(b7badd6d2ac3788ce5cace1fcf5cdad14734e4e6) ) |
| 3534 | 3555 | |
| r3426 | r3427 | |
| 3552 | 3573 | ROM_START( kizuna ) |
| 3553 | 3574 | ROM_REGION( 0x200000, "main", 0 ) |
| 3554 | 3575 | ROM_LOAD16_WORD_SWAP( "216-p1.bin", 0x100000, 0x100000, CRC(75d2b3de) SHA1(ee778656c26828935ee2a2bfd0ce5a22aa681c10) ) |
| 3555 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3576 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3556 | 3577 | |
| 3557 | | NEO_SFIX_128K( "216-s1.bin", CRC(efdc72d7) SHA1(be37cbf1852e2e4c907cc799b754b538544b6703) ) |
| 3578 | NEO_SFIX_128K( "216-s1.bin", CRC(efdc72d7) SHA1(be37cbf1852e2e4c907cc799b754b538544b6703) ) |
| 3558 | 3579 | |
| 3559 | 3580 | NEO_BIOS_AUDIO_128K( "216-m1.bin", CRC(1b096820) SHA1(72852e78c620038f8dafde5e54e02e418c31be9c) ) |
| 3560 | 3581 | |
| r3426 | r3427 | |
| 3608 | 3629 | ROM_START( ragnagrd ) |
| 3609 | 3630 | ROM_REGION( 0x200000, "main", 0 ) |
| 3610 | 3631 | ROM_LOAD16_WORD_SWAP( "218-p1.bin", 0x100000, 0x100000, CRC(ca372303) SHA1(67991e4fef9b36bc7d909810eebb857ac2f906f1) ) |
| 3611 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3632 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3612 | 3633 | |
| 3613 | 3634 | NEO_SFIX_128K( "218-s1.bin", CRC(7d402f9a) SHA1(59ec29d03e62e7a8bef689a124a9164f43b2ace1) ) |
| 3614 | 3635 | |
| r3426 | r3427 | |
| 3634 | 3655 | ROM_START( pgoal ) |
| 3635 | 3656 | ROM_REGION( 0x200000, "main", 0 ) |
| 3636 | 3657 | ROM_LOAD16_WORD_SWAP( "219-p1.bin", 0x100000, 0x100000, CRC(6af0e574) SHA1(c3f0fed0d942e48c99c80b1713f271c033ce0f4f) ) |
| 3637 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3658 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3638 | 3659 | |
| 3639 | 3660 | NEO_SFIX_128K( "219-s1.bin", CRC(002f3c88) SHA1(a8a5bbc5397c8ae9858e38997ebdc713b7b4f50a) ) |
| 3640 | 3661 | |
| r3426 | r3427 | |
| 3727 | 3748 | ROM_LOAD16_BYTE( "223-c8.bin", 0x1800001, 0x400000, CRC(5ad62102) SHA1(e28cc9840caed2a1a8bd65a03bef05231071040c) ) /* Plane 2,3 */ |
| 3728 | 3749 | ROM_END |
| 3729 | 3750 | |
| 3730 | | |
| 3731 | 3751 | ROM_START( twinspri ) |
| 3732 | 3752 | ROM_REGION( 0x400000, "main", 0 ) |
| 3733 | 3753 | ROM_LOAD16_WORD_SWAP( "224-p1.bin", 0x100000, 0x100000, CRC(7697e445) SHA1(5b55ca120f77a931d40719b14e0bfc8cac1d628c) ) |
| 3734 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3754 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3735 | 3755 | |
| 3736 | 3756 | NEO_SFIX_128K( "224-s1.bin", CRC(eeed5758) SHA1(24e48f396716e145b692468762cf595fb7267873) ) |
| 3737 | 3757 | |
| r3426 | r3427 | |
| 3777 | 3797 | ROM_START( stakwin2 ) |
| 3778 | 3798 | ROM_REGION( 0x200000, "main", 0 ) |
| 3779 | 3799 | ROM_LOAD16_WORD_SWAP( "227-p1.bin", 0x100000, 0x100000, CRC(daf101d2) SHA1(96b90f884bae2969ebd8c04aba509928464e2433) ) |
| 3780 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3800 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3781 | 3801 | |
| 3782 | 3802 | NEO_SFIX_128K( "227-s1.bin", CRC(2a8c4462) SHA1(9155fbb5fee6d46a68d17ea780a7a92565f9aa47) ) |
| 3783 | 3803 | |
| r3426 | r3427 | |
| 3798 | 3818 | |
| 3799 | 3819 | ROM_START( ghostlop ) |
| 3800 | 3820 | ROM_REGION( 0x200000, "main", 0 ) |
| 3801 | | ROM_LOAD16_WORD_SWAP( "gl-p1.rom", 0x000000, 0x100000, CRC(6033172e) SHA1(f57fb706aa8dd9e5f9e992a5d35c1799578b59f8) ) |
| 3821 | ROM_LOAD16_WORD_SWAP( "gl-p1.bin", 0x000000, 0x100000, CRC(6033172e) SHA1(f57fb706aa8dd9e5f9e992a5d35c1799578b59f8) ) |
| 3802 | 3822 | |
| 3803 | | NEO_SFIX_128K( "gl-s1.rom", CRC(83c24e81) SHA1(585ef209d8bfc23bdccc1f37d8b764eeedfedc1c) ) |
| 3823 | NEO_SFIX_128K( "gl-s1.bin", CRC(83c24e81) SHA1(585ef209d8bfc23bdccc1f37d8b764eeedfedc1c) ) |
| 3804 | 3824 | |
| 3805 | | NEO_BIOS_AUDIO_128K( "gl-m1.rom", CRC(fd833b33) SHA1(ab6c218c42cba821654cbdae154efecb69f844f6) ) |
| 3825 | NEO_BIOS_AUDIO_128K( "gl-m1.bin", CRC(fd833b33) SHA1(ab6c218c42cba821654cbdae154efecb69f844f6) ) |
| 3806 | 3826 | |
| 3807 | 3827 | ROM_REGION( 0x200000, "ym", 0 ) |
| 3808 | | ROM_LOAD( "gl-v1.rom", 0x000000, 0x200000, CRC(c603fce6) SHA1(5a866471d35895b2ae13cbd5d1cb41bf2e72e1b8) ) |
| 3828 | ROM_LOAD( "gl-v1.bin", 0x000000, 0x200000, CRC(c603fce6) SHA1(5a866471d35895b2ae13cbd5d1cb41bf2e72e1b8) ) |
| 3809 | 3829 | |
| 3810 | 3830 | NO_DELTAT_REGION |
| 3811 | 3831 | |
| 3812 | 3832 | ROM_REGION( 0x800000, "sprites", ROMREGION_DISPOSE ) |
| 3813 | | ROM_LOAD16_BYTE( "gl-c1.rom", 0x000000, 0x400000, CRC(bfc99efe) SHA1(5cd2545310142080b8286e787cf5b859f627b3db) ) /* Plane 0,1 */ |
| 3814 | | ROM_LOAD16_BYTE( "gl-c2.rom", 0x000001, 0x400000, CRC(69788082) SHA1(c3ecb42ddcbd9e16d0018a0c3adb56a911d813ca) ) /* Plane 2,3 */ |
| 3833 | ROM_LOAD16_BYTE( "gl-c1.bin", 0x000000, 0x400000, CRC(bfc99efe) SHA1(5cd2545310142080b8286e787cf5b859f627b3db) ) /* Plane 0,1 */ |
| 3834 | ROM_LOAD16_BYTE( "gl-c2.bin", 0x000001, 0x400000, CRC(69788082) SHA1(c3ecb42ddcbd9e16d0018a0c3adb56a911d813ca) ) /* Plane 2,3 */ |
| 3815 | 3835 | ROM_END |
| 3816 | 3836 | |
| 3817 | 3837 | ROM_START( breakers ) |
| 3818 | 3838 | ROM_REGION( 0x200000, "main", 0 ) |
| 3819 | 3839 | ROM_LOAD16_WORD_SWAP( "230-p1.bin", 0x100000, 0x100000, CRC(ed24a6e6) SHA1(3fb77ae696d92d2f9a5d589e08b708545c7cda0a) ) |
| 3820 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3840 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 3821 | 3841 | |
| 3822 | 3842 | NEO_SFIX_128K( "230-s1.bin", CRC(076fb64c) SHA1(c166038128d7004f69932141f83b320a35c2b4ca) ) |
| 3823 | 3843 | |
| r3426 | r3427 | |
| 3906 | 3926 | ROM_LOAD16_BYTE( "232-c6.bin", 0x2000001, 0x400000, CRC(4ff4d47b) SHA1(4d5689ede24a5fe4330bd85d4d3f4eb2795308bb) ) /* Plane 2,3 */ |
| 3907 | 3927 | ROM_END |
| 3908 | 3928 | |
| 3909 | | ROM_START( kof97pls ) /* bootleg */ |
| 3910 | | ROM_REGION( 0x500000, "main", 0 ) |
| 3911 | | ROM_LOAD16_WORD_SWAP( "232-p1p.bin", 0x000000, 0x100000, CRC(c01fda46) SHA1(bc6402f5082efc80a8936364c657165f19b49415) ) |
| 3912 | | ROM_LOAD16_WORD_SWAP( "232-p2p.bin", 0x100000, 0x400000, CRC(5502b020) SHA1(37c48198d8b3798910a44075782cd1a20b687b4a) ) |
| 3913 | | |
| 3914 | | NEO_SFIX_128K( "232-s1p.bin", CRC(73254270) SHA1(8d06305f9d8890da1327356272b88bdd0dc089f5) ) |
| 3915 | | |
| 3916 | | NEO_BIOS_AUDIO_128K( "232-m1.bin", CRC(45348747) SHA1(ed77cbae2b208d1177a9f5f6e8cd57070e90b65b) ) |
| 3917 | | |
| 3918 | | ROM_REGION( 0xc00000, "ym", 0 ) |
| 3919 | | ROM_LOAD( "232-v1.bin", 0x000000, 0x400000, CRC(22a2b5b5) SHA1(ebdbc977332e6d93e266755000b43857e0082965) ) |
| 3920 | | ROM_LOAD( "232-v2.bin", 0x400000, 0x400000, CRC(2304e744) SHA1(98d283e2bcc9291a53f52afd35ef76dfb0828432) ) |
| 3921 | | ROM_LOAD( "232-v3.bin", 0x800000, 0x400000, CRC(759eb954) SHA1(54e77c4e9e6b89458e59824e478ddc33a9c72655) ) |
| 3922 | | |
| 3923 | | NO_DELTAT_REGION |
| 3924 | | |
| 3925 | | ROM_REGION( 0x2800000, "sprites", ROMREGION_DISPOSE ) |
| 3926 | | ROM_LOAD16_BYTE( "232-c1.bin", 0x0000000, 0x800000, CRC(5f8bf0a1) SHA1(e8b63bbc814de171fd18c5864a7fc639970c1ecf) ) /* Plane 0,1 */ |
| 3927 | | ROM_LOAD16_BYTE( "232-c2.bin", 0x0000001, 0x800000, CRC(e4d45c81) SHA1(fdb2b9326362e27b1c7a5beb977e0bc537488186) ) /* Plane 2,3 */ |
| 3928 | | ROM_LOAD16_BYTE( "232-c3.bin", 0x1000000, 0x800000, CRC(581d6618) SHA1(14d3124a08ded59f86932c6b28e1a4e48c564ccd) ) /* Plane 0,1 */ |
| 3929 | | ROM_LOAD16_BYTE( "232-c4.bin", 0x1000001, 0x800000, CRC(49bb1e68) SHA1(f769c1bd1b019521111ff3f0d22c63cb1f2640ef) ) /* Plane 2,3 */ |
| 3930 | | ROM_LOAD16_BYTE( "232-c5.bin", 0x2000000, 0x400000, CRC(34fc4e51) SHA1(b39c65f27873f71a6f5a5d1d04e5435f874472ee) ) /* Plane 0,1 */ |
| 3931 | | ROM_LOAD16_BYTE( "232-c6.bin", 0x2000001, 0x400000, CRC(4ff4d47b) SHA1(4d5689ede24a5fe4330bd85d4d3f4eb2795308bb) ) /* Plane 2,3 */ |
| 3932 | | ROM_END |
| 3933 | | |
| 3934 | 3929 | ROM_START( magdrop3 ) |
| 3935 | 3930 | ROM_REGION( 0x100000, "main", 0 ) |
| 3936 | 3931 | ROM_LOAD16_WORD_SWAP( "233-p1.bin", 0x000000, 0x100000, CRC(931e17fa) SHA1(4a95c4b79d0878485ce272e9f4c4f647bec0e070) ) |
| r3426 | r3427 | |
| 4261 | 4256 | ROM_LOAD16_WORD_SWAP( "241-p1.bin", 0x000000, 0x100000, CRC(2a53c5da) SHA1(5a6aba482cac588a6c2c51179c95b487c6e11899) ) |
| 4262 | 4257 | ROM_LOAD16_WORD_SWAP( "241-p2.bin", 0x100000, 0x200000, CRC(38883f44) SHA1(fcf34b8c6e37774741542393b963635412484a27) ) |
| 4263 | 4258 | |
| 4264 | | NEO_SFIX_128K( "241-s1.bin", CRC(f3d32f0f) SHA1(2dc38b7dfd3ff14f64d5c0733c510b6bb8c692d0) ) |
| 4259 | NEO_SFIX_128K( "241-s1.bin", CRC(f3d32f0f) SHA1(2dc38b7dfd3ff14f64d5c0733c510b6bb8c692d0) ) |
| 4265 | 4260 | |
| 4266 | 4261 | NEO_BIOS_AUDIO_128K( "241-m1.bin", CRC(94520ebd) SHA1(f8a1551cebcb91e416f30f50581feed7f72899e9) ) |
| 4267 | 4262 | |
| r3426 | r3427 | |
| 4383 | 4378 | NO_DELTAT_REGION |
| 4384 | 4379 | |
| 4385 | 4380 | ROM_REGION( 0x3000000, "sprites", ROMREGION_DISPOSE ) |
| 4386 | | ROM_LOAD16_BYTE( "243-c1.bin", 0x0000000, 0x800000, CRC(5839444d) SHA1(0616921c4cce20422563578bd0e806d359508599) ) /* Plane 0,1 */ |
| 4387 | | ROM_LOAD16_BYTE( "243-c2.bin", 0x0000001, 0x800000, CRC(dd087428) SHA1(ca27fdb60425664956a18c021ea465f452fb1527) ) /* Plane 2,3 */ |
| 4388 | | ROM_LOAD16_BYTE( "243-c3.bin", 0x1000000, 0x800000, CRC(6054cbe0) SHA1(ec2f65e9c930250ee25fd064ee5ae76a7a9c61d9) ) /* Plane 0,1 */ |
| 4389 | | ROM_LOAD16_BYTE( "243-c4.bin", 0x1000001, 0x800000, CRC(8bd2a9d2) SHA1(0935df65cd2b0891a708bcc0f1c188148058d4b5) ) /* Plane 2,3 */ |
| 4390 | | ROM_LOAD16_BYTE( "243-c5.bin", 0x2000000, 0x800000, CRC(6a503dcf) SHA1(23241b16d7e20f923d41186b29487ab922c7f530) ) /* Plane 0,1 */ |
| 4391 | | ROM_LOAD16_BYTE( "243-c6.bin", 0x2000001, 0x800000, CRC(ec9c36d0) SHA1(e145e9e359000dda6e1dfe95a996bc6d29cfca21) ) /* Plane 2,3 */ |
| 4381 | ROM_LOAD16_BYTE( "243-c1.bin", 0x0000000, 0x800000, CRC(5839444d) SHA1(0616921c4cce20422563578bd0e806d359508599) ) /* Plane 0,1 */ |
| 4382 | ROM_LOAD16_BYTE( "243-c2.bin", 0x0000001, 0x800000, CRC(dd087428) SHA1(ca27fdb60425664956a18c021ea465f452fb1527) ) /* Plane 2,3 */ |
| 4383 | ROM_LOAD16_BYTE( "243-c3.bin", 0x1000000, 0x800000, CRC(6054cbe0) SHA1(ec2f65e9c930250ee25fd064ee5ae76a7a9c61d9) ) /* Plane 0,1 */ |
| 4384 | ROM_LOAD16_BYTE( "243-c4.bin", 0x1000001, 0x800000, CRC(8bd2a9d2) SHA1(0935df65cd2b0891a708bcc0f1c188148058d4b5) ) /* Plane 2,3 */ |
| 4385 | ROM_LOAD16_BYTE( "243-c5.bin", 0x2000000, 0x800000, CRC(6a503dcf) SHA1(23241b16d7e20f923d41186b29487ab922c7f530) ) /* Plane 0,1 */ |
| 4386 | ROM_LOAD16_BYTE( "243-c6.bin", 0x2000001, 0x800000, CRC(ec9c36d0) SHA1(e145e9e359000dda6e1dfe95a996bc6d29cfca21) ) /* Plane 2,3 */ |
| 4392 | 4387 | ROM_END |
| 4393 | 4388 | |
| 4394 | 4389 | ROM_START( neocup98 ) |
| 4395 | 4390 | ROM_REGION( 0x200000, "main", 0 ) |
| 4396 | 4391 | ROM_LOAD16_WORD_SWAP( "244-p1.bin", 0x100000, 0x100000, CRC(f8fdb7a5) SHA1(f34ee5d1c24e70427d05ef488f46906dbd9f9950) ) |
| 4397 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 4392 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 4398 | 4393 | |
| 4399 | 4394 | NEO_SFIX_128K( "244-s1.bin", CRC(9bddb697) SHA1(2f479bcd5a433201168792a578de3057252d649f) ) |
| 4400 | 4395 | |
| r3426 | r3427 | |
| 4414 | 4409 | ROM_START( breakrev ) |
| 4415 | 4410 | ROM_REGION( 0x200000, "main", 0 ) |
| 4416 | 4411 | ROM_LOAD16_WORD_SWAP( "245-p1.bin", 0x100000, 0x100000, CRC(c828876d) SHA1(1dcba850e5cf8219d0945612cfded6d20ca8682a) ) |
| 4417 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 4412 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 4418 | 4413 | |
| 4419 | 4414 | NEO_SFIX_128K( "245-s1.bin", CRC(e7660a5d) SHA1(1cd54964ba60b245ea57d9daf0e27b572b815d21) ) |
| 4420 | 4415 | |
| 4421 | 4416 | NEO_BIOS_AUDIO_128K( "245-m1.bin", CRC(00f31c66) SHA1(8488598415c9b74bce00e05b31d96e3d1625c20d) ) |
| 4422 | 4417 | |
| 4423 | | ROM_REGION( 0x800000, "ym", 0 ) |
| 4418 | ROM_REGION( 0x800000, "ym", 0 ) |
| 4424 | 4419 | ROM_LOAD( "245-v1.bin", 0x000000, 0x400000, CRC(e255446c) SHA1(b3933340d49d4ba581f3bf1af7ad69d786205790) ) |
| 4425 | 4420 | ROM_LOAD( "245-v2.bin", 0x400000, 0x400000, CRC(9068198a) SHA1(71819b0475a5e173a2f9a6e4ff19a94655141c3c) ) |
| 4426 | 4421 | |
| r3426 | r3427 | |
| 4431 | 4426 | ROM_LOAD16_BYTE( "230-c2.bin", 0x0000001, 0x400000, CRC(fdee05cd) SHA1(efc4ffd790953ac7c25d5f045c64a9b49d24b096) ) /* Plane 2,3 */ |
| 4432 | 4427 | ROM_LOAD16_BYTE( "230-c3.bin", 0x0800000, 0x400000, CRC(645077f3) SHA1(0ae74f3b4b3b88f128c6d8c0f35ffa53f5d67ef2) ) /* Plane 0,1 */ |
| 4433 | 4428 | ROM_LOAD16_BYTE( "230-c4.bin", 0x0800001, 0x400000, CRC(63aeb74c) SHA1(9ff6930c0c3d79b46b86356e8565ce4fcd69ac38) ) /* Plane 2,3 */ |
| 4434 | | ROM_LOAD16_BYTE( "245-c5.bin", 0x1000000, 0x200000, CRC(28ff1792) SHA1(0cc5c16ac42f52cee74f88235aef0671bee33b4c) ) /* Plane 0,1 */ |
| 4435 | | ROM_LOAD16_BYTE( "245-c6.bin", 0x1000001, 0x200000, CRC(23c65644) SHA1(9dc74c3075cf0f738b6b41e5e8d89a74a6c9ef07) ) /* Plane 2,3 */ |
| 4429 | ROM_LOAD16_BYTE( "245-c5.bin", 0x1000000, 0x200000, CRC(28ff1792) SHA1(0cc5c16ac42f52cee74f88235aef0671bee33b4c) ) /* Plane 0,1 */ |
| 4430 | ROM_LOAD16_BYTE( "245-c6.bin", 0x1000001, 0x200000, CRC(23c65644) SHA1(9dc74c3075cf0f738b6b41e5e8d89a74a6c9ef07) ) /* Plane 2,3 */ |
| 4436 | 4431 | ROM_END |
| 4437 | 4432 | |
| 4438 | 4433 | ROM_START( shocktr2 ) |
| r3426 | r3427 | |
| 4460 | 4455 | ROM_LOAD16_BYTE( "246-c6.bin", 0x2000001, 0x800000, CRC(7e2caae1) SHA1(d9de14e3e323664a8c5b7f1df1ba9ec7dd0e6a46) ) /* Plane 2,3 */ |
| 4461 | 4456 | ROM_END |
| 4462 | 4457 | |
| 4463 | | ROM_START( lans2004 ) /* Bootleg / Hack of Shock Troopers - 2nd Squad */ |
| 4464 | | ROM_REGION( 0x600000, "main", 0 ) |
| 4465 | | ROM_LOAD16_WORD_SWAP( "lnsq-p1.bin", 0x000000, 0x200000, CRC(b40a879a) SHA1(379f3d44b0bae430b32157fd5f4018d77b243c58) ) |
| 4466 | | ROM_LOAD16_WORD_SWAP( "lnsq-p21.bin", 0x200000, 0x200000, CRC(ecdb2d42) SHA1(0d930cd369dfbcab7778b144355e5f70874aa324) ) |
| 4467 | | ROM_LOAD16_WORD_SWAP( "lnsq-p22.bin", 0x400000, 0x200000, CRC(fac5e2e7) SHA1(5cce7226c137da80c969df00e1cda41ef9c5082c) ) |
| 4468 | | |
| 4469 | | NEO_SFIX_128K( "lnsq-s1.bin", CRC(39e82897) SHA1(24a8c94dd7e70ecde8f90ea17f75b6b5d065704f) ) |
| 4470 | | |
| 4471 | | NEO_BIOS_AUDIO_128K( "246-m1.bin", CRC(d0604ad1) SHA1(fae3cd52a177eadd5f5775ace957cc0f8301e65d) ) |
| 4472 | | |
| 4473 | | ROM_REGION( 0xA00000, "ym", 0 ) |
| 4474 | | ROM_LOAD( "lnsq-v1.bin", 0x000000, 0x400000, CRC(4408ebc3) SHA1(e3f4d8a7e243a8cf48e97d91bbfec7829c0d9404) ) |
| 4475 | | ROM_LOAD( "lnsq-v2.bin", 0x400000, 0x400000, CRC(3d953975) SHA1(6a4ab02ab3d4416a65343cf16815007cb273f19b) ) |
| 4476 | | ROM_LOAD( "lnsq-v3.bin", 0x800000, 0x200000, CRC(437d1d8e) SHA1(95e015c21707b53ed7223eaa19f6cdcfb4d94f0c) ) |
| 4477 | | |
| 4478 | | NO_DELTAT_REGION |
| 4479 | | |
| 4480 | | ROM_REGION( 0x3000000, "sprites", ROMREGION_DISPOSE ) |
| 4481 | | ROM_LOAD16_BYTE( "lnsq-c1.bin", 0x0000000, 0x800000, CRC(b83de59f) SHA1(8cc060f9a57ab7d4238543b0bce5f5cd1d271d4f) ) /* Plane 0,1 */ |
| 4482 | | ROM_LOAD16_BYTE( "lnsq-c2.bin", 0x0000001, 0x800000, CRC(e08969fd) SHA1(c192639d023cdad64a8f53dbcda02aa8cfb4168e) ) /* Plane 2,3 */ |
| 4483 | | ROM_LOAD16_BYTE( "lnsq-c3.bin", 0x1000000, 0x800000, CRC(013f2cda) SHA1(6261111ce69dc23fbf97241131e5a6a49355d18c) ) /* Plane 0,1 */ |
| 4484 | | ROM_LOAD16_BYTE( "lnsq-c4.bin", 0x1000001, 0x800000, CRC(d8c3a758) SHA1(d19ca3be06f9fb0cb1933b1eb3da318524c3145d) ) /* Plane 2,3 */ |
| 4485 | | ROM_LOAD16_BYTE( "lnsq-c5.bin", 0x2000000, 0x800000, CRC(75500b82) SHA1(06d2afe94ea3eb3c4e523f593b8e709dd7c284a3) ) /* Plane 0,1 */ |
| 4486 | | ROM_LOAD16_BYTE( "lnsq-c6.bin", 0x2000001, 0x800000, CRC(670ac13b) SHA1(f448a144caae51b69ea19e1f43940db135d1164a) ) /* Plane 2,3 */ |
| 4487 | | ROM_END |
| 4488 | | |
| 4489 | 4458 | ROM_START( flipshot ) |
| 4490 | 4459 | ROM_REGION( 0x100000, "main", 0 ) |
| 4491 | 4460 | ROM_LOAD16_WORD_SWAP( "247-p1.bin", 0x000000, 0x080000, CRC(d2e7a7e3) SHA1(1ff4f070fcc658bbc7dc69e16c87f82d7392d100) ) |
| r3426 | r3427 | |
| 4500 | 4469 | NO_DELTAT_REGION |
| 4501 | 4470 | |
| 4502 | 4471 | ROM_REGION( 0x400000, "sprites", ROMREGION_DISPOSE ) |
| 4503 | | ROM_LOAD16_BYTE( "247-c1.bin", 0x000000, 0x200000, CRC(c9eedcb2) SHA1(7627f2810322c146511525eb70b573a6a5ede926) ) /* Plane 0,1 */ |
| 4504 | | ROM_LOAD16_BYTE( "247-c2.bin", 0x000001, 0x200000, CRC(7d6d6e87) SHA1(6475b58b9f91c20d1f465f3e892de0c68e12a92b) ) /* Plane 2,3 */ |
| 4472 | ROM_LOAD16_BYTE( "247-c1.bin", 0x000000, 0x200000, CRC(c9eedcb2) SHA1(7627f2810322c146511525eb70b573a6a5ede926) ) /* Plane 0,1 */ |
| 4473 | ROM_LOAD16_BYTE( "247-c2.bin", 0x000001, 0x200000, CRC(7d6d6e87) SHA1(6475b58b9f91c20d1f465f3e892de0c68e12a92b) ) /* Plane 2,3 */ |
| 4505 | 4474 | ROM_END |
| 4506 | 4475 | |
| 4507 | 4476 | ROM_START( pbobbl2n ) |
| r3426 | r3427 | |
| 4528 | 4497 | ROM_START( ctomaday ) |
| 4529 | 4498 | ROM_REGION( 0x200000, "main", 0 ) |
| 4530 | 4499 | ROM_LOAD16_WORD_SWAP( "249-p1.bin", 0x100000, 0x100000, CRC(c9386118) SHA1(5554662c7bc8605889cac4a67fee05bbb4eb786f) ) |
| 4531 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 4500 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 4532 | 4501 | |
| 4533 | 4502 | NEO_SFIX_128K( "249-s1.bin", CRC(dc9eb372) SHA1(b8aa142243ba303799554479bfc88eb49260f3b1) ) |
| 4534 | 4503 | |
| r3426 | r3427 | |
| 4541 | 4510 | NO_DELTAT_REGION |
| 4542 | 4511 | |
| 4543 | 4512 | ROM_REGION( 0x800000, "sprites", ROMREGION_DISPOSE ) |
| 4544 | | ROM_LOAD16_BYTE( "249-c1.bin", 0x000000, 0x400000, CRC(041fb8ee) SHA1(dacc84d713d76818d89a26358374afaa22fa82a2) ) /* Plane 0,1 */ |
| 4545 | | ROM_LOAD16_BYTE( "249-c2.bin", 0x000001, 0x400000, CRC(74f3cdf4) SHA1(55ddabaf77f4d575f4deb24fe63e4bdc2c6f31e1) ) /* Plane 2,3 */ |
| 4513 | ROM_LOAD16_BYTE( "249-c1.bin", 0x000000, 0x400000, CRC(041fb8ee) SHA1(dacc84d713d76818d89a26358374afaa22fa82a2) ) /* Plane 0,1 */ |
| 4514 | ROM_LOAD16_BYTE( "249-c2.bin", 0x000001, 0x400000, CRC(74f3cdf4) SHA1(55ddabaf77f4d575f4deb24fe63e4bdc2c6f31e1) ) /* Plane 2,3 */ |
| 4546 | 4515 | ROM_END |
| 4547 | 4516 | |
| 4548 | 4517 | ROM_START( mslugx ) |
| r3426 | r3427 | |
| 4550 | 4519 | ROM_LOAD16_WORD_SWAP( "250-p1.bin", 0x000000, 0x100000, CRC(81f1f60b) SHA1(4c19f2e9824e606178ac1c9d4b0516fbaa625035) ) |
| 4551 | 4520 | ROM_LOAD16_WORD_SWAP( "250-p2.bin", 0x100000, 0x400000, CRC(1fda2e12) SHA1(18aaa7a3ba8da99f78c430e9be69ccde04bc04d9) ) |
| 4552 | 4521 | |
| 4553 | | NEO_SFIX_128K( "250-s1.bin", CRC(fb6f441d) SHA1(2cc392ecde5d5afb28ddbaa1030552b48571dcfb) ) |
| 4522 | NEO_SFIX_128K( "250-s1.bin", CRC(fb6f441d) SHA1(2cc392ecde5d5afb28ddbaa1030552b48571dcfb) ) |
| 4554 | 4523 | |
| 4555 | 4524 | NEO_BIOS_AUDIO_128K( "250-m1.bin", CRC(fd42a842) SHA1(55769bad4860f64ef53a333e0da9e073db483d6a) ) |
| 4556 | 4525 | |
| r3426 | r3427 | |
| 4596 | 4565 | |
| 4597 | 4566 | ROM_REGION( 0x4000000, "sprites", ROMREGION_DISPOSE ) |
| 4598 | 4567 | /* Encrypted */ |
| 4599 | | ROM_LOAD16_BYTE( "251-c1.bin", 0x0000000, 0x800000, CRC(0f9e93fe) SHA1(c7d77f0833c6f526f632e4f2dce59e302f6b9a15) ) /* Plane 0,1 */ |
| 4600 | | ROM_LOAD16_BYTE( "251-c2.bin", 0x0000001, 0x800000, CRC(e71e2ea3) SHA1(39c7a326fddbcca3b29c68cdc96aad4d62295c0f) ) /* Plane 2,3 */ |
| 4601 | | ROM_LOAD16_BYTE( "251-c3.bin", 0x1000000, 0x800000, CRC(238755d2) SHA1(01125b5c7a28e350f091280b041954fd1ac7c98f) ) /* Plane 0,1 */ |
| 4602 | | ROM_LOAD16_BYTE( "251-c4.bin", 0x1000001, 0x800000, CRC(438c8b22) SHA1(ffbc643f5b27dd00f2f95d4ef4c5f29ee814722b) ) /* Plane 2,3 */ |
| 4603 | | ROM_LOAD16_BYTE( "251-c5.bin", 0x2000000, 0x800000, CRC(0b0abd0a) SHA1(d5ad324fe523bdc6f09209d236cc4932524a48f1) ) /* Plane 0,1 */ |
| 4604 | | ROM_LOAD16_BYTE( "251-c6.bin", 0x2000001, 0x800000, CRC(65bbf281) SHA1(79ae174667a23dabcfe865b6cd6133c86098452e) ) /* Plane 2,3 */ |
| 4605 | | ROM_LOAD16_BYTE( "251-c7.bin", 0x3000000, 0x800000, CRC(ff65f62e) SHA1(7cd335fede05b56e15db90ce407c1183a78da4e9) ) /* Plane 0,1 */ |
| 4606 | | ROM_LOAD16_BYTE( "251-c8.bin", 0x3000001, 0x800000, CRC(8d921c68) SHA1(42acf1d27d52a8e3b6262eb7df50693c0b135565) ) /* Plane 2,3 */ |
| 4568 | ROM_LOAD16_BYTE( "251-c1.bin", 0x0000000, 0x800000, CRC(0f9e93fe) SHA1(c7d77f0833c6f526f632e4f2dce59e302f6b9a15) ) /* Plane 0,1 */ |
| 4569 | ROM_LOAD16_BYTE( "251-c2.bin", 0x0000001, 0x800000, CRC(e71e2ea3) SHA1(39c7a326fddbcca3b29c68cdc96aad4d62295c0f) ) /* Plane 2,3 */ |
| 4570 | ROM_LOAD16_BYTE( "251-c3.bin", 0x1000000, 0x800000, CRC(238755d2) SHA1(01125b5c7a28e350f091280b041954fd1ac7c98f) ) /* Plane 0,1 */ |
| 4571 | ROM_LOAD16_BYTE( "251-c4.bin", 0x1000001, 0x800000, CRC(438c8b22) SHA1(ffbc643f5b27dd00f2f95d4ef4c5f29ee814722b) ) /* Plane 2,3 */ |
| 4572 | ROM_LOAD16_BYTE( "251-c5.bin", 0x2000000, 0x800000, CRC(0b0abd0a) SHA1(d5ad324fe523bdc6f09209d236cc4932524a48f1) ) /* Plane 0,1 */ |
| 4573 | ROM_LOAD16_BYTE( "251-c6.bin", 0x2000001, 0x800000, CRC(65bbf281) SHA1(79ae174667a23dabcfe865b6cd6133c86098452e) ) /* Plane 2,3 */ |
| 4574 | ROM_LOAD16_BYTE( "251-c7.bin", 0x3000000, 0x800000, CRC(ff65f62e) SHA1(7cd335fede05b56e15db90ce407c1183a78da4e9) ) /* Plane 0,1 */ |
| 4575 | ROM_LOAD16_BYTE( "251-c8.bin", 0x3000001, 0x800000, CRC(8d921c68) SHA1(42acf1d27d52a8e3b6262eb7df50693c0b135565) ) /* Plane 2,3 */ |
| 4607 | 4576 | ROM_END |
| 4608 | 4577 | |
| 4609 | 4578 | ROM_START( kof99a ) /* Original Version - Encrypted Code & GFX */ /* MVS VERSION */ |
| 4610 | 4579 | ROM_REGION( 0x900000, "main", 0 ) |
| 4611 | | ROM_LOAD16_WORD_SWAP( "251-sma.ka", 0x0c0000, 0x040000, CRC(7766d09e) SHA1(4e0a49d1ad669a62676cb30f527c6590cde80194) ) /* stored in the custom chip */ |
| 4612 | | ROM_LOAD16_WORD_SWAP( "251-p1.bin", 0x100000, 0x400000, CRC(006e4532) SHA1(47791ab4044ad55988b1d3412d95b65b91a163c8) ) |
| 4613 | | ROM_LOAD16_WORD_SWAP( "251-p2.bin", 0x500000, 0x400000, CRC(90175f15) SHA1(aa9e75810438a8b45808a8bf32cb04d91b5c0b3a) ) |
| 4580 | ROM_LOAD16_WORD_SWAP( "251-sma.ka", 0x0c0000, 0x040000, CRC(7766d09e) SHA1(4e0a49d1ad669a62676cb30f527c6590cde80194) ) /* stored in the custom chip */ |
| 4581 | ROM_LOAD16_WORD_SWAP( "251-p1.bin", 0x100000, 0x400000, CRC(006e4532) SHA1(47791ab4044ad55988b1d3412d95b65b91a163c8) ) |
| 4582 | ROM_LOAD16_WORD_SWAP( "251-p2.bin", 0x500000, 0x400000, CRC(90175f15) SHA1(aa9e75810438a8b45808a8bf32cb04d91b5c0b3a) ) |
| 4614 | 4583 | |
| 4615 | 4584 | ROM_Y_ZOOM |
| 4616 | 4585 | |
| r3426 | r3427 | |
| 4632 | 4601 | |
| 4633 | 4602 | ROM_REGION( 0x4000000, "sprites", ROMREGION_DISPOSE ) |
| 4634 | 4603 | /* Encrypted */ |
| 4635 | | ROM_LOAD16_BYTE( "251-c1.bin", 0x0000000, 0x800000, CRC(0f9e93fe) SHA1(c7d77f0833c6f526f632e4f2dce59e302f6b9a15) ) /* Plane 0,1 */ |
| 4636 | | ROM_LOAD16_BYTE( "251-c2.bin", 0x0000001, 0x800000, CRC(e71e2ea3) SHA1(39c7a326fddbcca3b29c68cdc96aad4d62295c0f) ) /* Plane 2,3 */ |
| 4637 | | ROM_LOAD16_BYTE( "251-c3.bin", 0x1000000, 0x800000, CRC(238755d2) SHA1(01125b5c7a28e350f091280b041954fd1ac7c98f) ) /* Plane 0,1 */ |
| 4638 | | ROM_LOAD16_BYTE( "251-c4.bin", 0x1000001, 0x800000, CRC(438c8b22) SHA1(ffbc643f5b27dd00f2f95d4ef4c5f29ee814722b) ) /* Plane 2,3 */ |
| 4639 | | ROM_LOAD16_BYTE( "251-c5.bin", 0x2000000, 0x800000, CRC(0b0abd0a) SHA1(d5ad324fe523bdc6f09209d236cc4932524a48f1) ) /* Plane 0,1 */ |
| 4640 | | ROM_LOAD16_BYTE( "251-c6.bin", 0x2000001, 0x800000, CRC(65bbf281) SHA1(79ae174667a23dabcfe865b6cd6133c86098452e) ) /* Plane 2,3 */ |
| 4641 | | ROM_LOAD16_BYTE( "251-c7.bin", 0x3000000, 0x800000, CRC(ff65f62e) SHA1(7cd335fede05b56e15db90ce407c1183a78da4e9) ) /* Plane 0,1 */ |
| 4642 | | ROM_LOAD16_BYTE( "251-c8.bin", 0x3000001, 0x800000, CRC(8d921c68) SHA1(42acf1d27d52a8e3b6262eb7df50693c0b135565) ) /* Plane 2,3 */ |
| 4604 | ROM_LOAD16_BYTE( "251-c1.bin", 0x0000000, 0x800000, CRC(0f9e93fe) SHA1(c7d77f0833c6f526f632e4f2dce59e302f6b9a15) ) /* Plane 0,1 */ |
| 4605 | ROM_LOAD16_BYTE( "251-c2.bin", 0x0000001, 0x800000, CRC(e71e2ea3) SHA1(39c7a326fddbcca3b29c68cdc96aad4d62295c0f) ) /* Plane 2,3 */ |
| 4606 | ROM_LOAD16_BYTE( "251-c3.bin", 0x1000000, 0x800000, CRC(238755d2) SHA1(01125b5c7a28e350f091280b041954fd1ac7c98f) ) /* Plane 0,1 */ |
| 4607 | ROM_LOAD16_BYTE( "251-c4.bin", 0x1000001, 0x800000, CRC(438c8b22) SHA1(ffbc643f5b27dd00f2f95d4ef4c5f29ee814722b) ) /* Plane 2,3 */ |
| 4608 | ROM_LOAD16_BYTE( "251-c5.bin", 0x2000000, 0x800000, CRC(0b0abd0a) SHA1(d5ad324fe523bdc6f09209d236cc4932524a48f1) ) /* Plane 0,1 */ |
| 4609 | ROM_LOAD16_BYTE( "251-c6.bin", 0x2000001, 0x800000, CRC(65bbf281) SHA1(79ae174667a23dabcfe865b6cd6133c86098452e) ) /* Plane 2,3 */ |
| 4610 | ROM_LOAD16_BYTE( "251-c7.bin", 0x3000000, 0x800000, CRC(ff65f62e) SHA1(7cd335fede05b56e15db90ce407c1183a78da4e9) ) /* Plane 0,1 */ |
| 4611 | ROM_LOAD16_BYTE( "251-c8.bin", 0x3000001, 0x800000, CRC(8d921c68) SHA1(42acf1d27d52a8e3b6262eb7df50693c0b135565) ) /* Plane 2,3 */ |
| 4643 | 4612 | ROM_END |
| 4644 | 4613 | |
| 4645 | 4614 | ROM_START( kof99e ) /* Original Version - Encrypted Code & GFX */ |
| 4646 | 4615 | ROM_REGION( 0x900000, "main", 0 ) |
| 4647 | | ROM_LOAD16_WORD_SWAP( "251-sma.ka", 0x0c0000, 0x040000, CRC(7766d09e) SHA1(4e0a49d1ad669a62676cb30f527c6590cde80194) ) /* stored in the custom chip */ |
| 4648 | | ROM_LOAD16_WORD_SWAP( "251-ep1.p1", 0x100000, 0x200000, CRC(1e8d692d) SHA1(eea1aa8c0a17f089ac14831889c36535e559072c) ) |
| 4649 | | ROM_LOAD16_WORD_SWAP( "251-ep2.p2", 0x300000, 0x200000, CRC(d6206e5a) SHA1(0e1100d03c40c6d5cfa899d009e319ae73fce6b8) ) |
| 4650 | | ROM_LOAD16_WORD_SWAP( "251-ep3.p3", 0x500000, 0x200000, CRC(d58c3ef8) SHA1(f927d90d55b49944f448d6286e0cb913cc70ade1) ) |
| 4651 | | ROM_LOAD16_WORD_SWAP( "251-ep4.p4", 0x700000, 0x200000, CRC(52de02ae) SHA1(f16924ff8eef92da7716236a6a055e22e090a02b) ) |
| 4616 | ROM_LOAD16_WORD_SWAP( "251-sma.ka", 0x0c0000, 0x040000, CRC(7766d09e) SHA1(4e0a49d1ad669a62676cb30f527c6590cde80194) ) /* stored in the custom chip */ |
| 4617 | ROM_LOAD16_WORD_SWAP( "251-ep1.p1", 0x100000, 0x200000, CRC(1e8d692d) SHA1(eea1aa8c0a17f089ac14831889c36535e559072c) ) |
| 4618 | ROM_LOAD16_WORD_SWAP( "251-ep2.p2", 0x300000, 0x200000, CRC(d6206e5a) SHA1(0e1100d03c40c6d5cfa899d009e319ae73fce6b8) ) |
| 4619 | ROM_LOAD16_WORD_SWAP( "251-ep3.p3", 0x500000, 0x200000, CRC(d58c3ef8) SHA1(f927d90d55b49944f448d6286e0cb913cc70ade1) ) |
| 4620 | ROM_LOAD16_WORD_SWAP( "251-ep4.p4", 0x700000, 0x200000, CRC(52de02ae) SHA1(f16924ff8eef92da7716236a6a055e22e090a02b) ) |
| 4652 | 4621 | |
| 4653 | 4622 | ROM_Y_ZOOM |
| 4654 | 4623 | |
| r3426 | r3427 | |
| 4670 | 4639 | |
| 4671 | 4640 | ROM_REGION( 0x4000000, "sprites", ROMREGION_DISPOSE ) |
| 4672 | 4641 | /* Encrypted */ |
| 4673 | | ROM_LOAD16_BYTE( "251-c1.bin", 0x0000000, 0x800000, CRC(0f9e93fe) SHA1(c7d77f0833c6f526f632e4f2dce59e302f6b9a15) ) /* Plane 0,1 */ |
| 4674 | | ROM_LOAD16_BYTE( "251-c2.bin", 0x0000001, 0x800000, CRC(e71e2ea3) SHA1(39c7a326fddbcca3b29c68cdc96aad4d62295c0f) ) /* Plane 2,3 */ |
| 4675 | | ROM_LOAD16_BYTE( "251-c3.bin", 0x1000000, 0x800000, CRC(238755d2) SHA1(01125b5c7a28e350f091280b041954fd1ac7c98f) ) /* Plane 0,1 */ |
| 4676 | | ROM_LOAD16_BYTE( "251-c4.bin", 0x1000001, 0x800000, CRC(438c8b22) SHA1(ffbc643f5b27dd00f2f95d4ef4c5f29ee814722b) ) /* Plane 2,3 */ |
| 4677 | | ROM_LOAD16_BYTE( "251-c5.bin", 0x2000000, 0x800000, CRC(0b0abd0a) SHA1(d5ad324fe523bdc6f09209d236cc4932524a48f1) ) /* Plane 0,1 */ |
| 4678 | | ROM_LOAD16_BYTE( "251-c6.bin", 0x2000001, 0x800000, CRC(65bbf281) SHA1(79ae174667a23dabcfe865b6cd6133c86098452e) ) /* Plane 2,3 */ |
| 4679 | | ROM_LOAD16_BYTE( "251-c7.bin", 0x3000000, 0x800000, CRC(ff65f62e) SHA1(7cd335fede05b56e15db90ce407c1183a78da4e9) ) /* Plane 0,1 */ |
| 4680 | | ROM_LOAD16_BYTE( "251-c8.bin", 0x3000001, 0x800000, CRC(8d921c68) SHA1(42acf1d27d52a8e3b6262eb7df50693c0b135565) ) /* Plane 2,3 */ |
| 4642 | ROM_LOAD16_BYTE( "251-c1.bin", 0x0000000, 0x800000, CRC(0f9e93fe) SHA1(c7d77f0833c6f526f632e4f2dce59e302f6b9a15) ) /* Plane 0,1 */ |
| 4643 | ROM_LOAD16_BYTE( "251-c2.bin", 0x0000001, 0x800000, CRC(e71e2ea3) SHA1(39c7a326fddbcca3b29c68cdc96aad4d62295c0f) ) /* Plane 2,3 */ |
| 4644 | ROM_LOAD16_BYTE( "251-c3.bin", 0x1000000, 0x800000, CRC(238755d2) SHA1(01125b5c7a28e350f091280b041954fd1ac7c98f) ) /* Plane 0,1 */ |
| 4645 | ROM_LOAD16_BYTE( "251-c4.bin", 0x1000001, 0x800000, CRC(438c8b22) SHA1(ffbc643f5b27dd00f2f95d4ef4c5f29ee814722b) ) /* Plane 2,3 */ |
| 4646 | ROM_LOAD16_BYTE( "251-c5.bin", 0x2000000, 0x800000, CRC(0b0abd0a) SHA1(d5ad324fe523bdc6f09209d236cc4932524a48f1) ) /* Plane 0,1 */ |
| 4647 | ROM_LOAD16_BYTE( "251-c6.bin", 0x2000001, 0x800000, CRC(65bbf281) SHA1(79ae174667a23dabcfe865b6cd6133c86098452e) ) /* Plane 2,3 */ |
| 4648 | ROM_LOAD16_BYTE( "251-c7.bin", 0x3000000, 0x800000, CRC(ff65f62e) SHA1(7cd335fede05b56e15db90ce407c1183a78da4e9) ) /* Plane 0,1 */ |
| 4649 | ROM_LOAD16_BYTE( "251-c8.bin", 0x3000001, 0x800000, CRC(8d921c68) SHA1(42acf1d27d52a8e3b6262eb7df50693c0b135565) ) /* Plane 2,3 */ |
| 4681 | 4650 | ROM_END |
| 4682 | 4651 | |
| 4683 | 4652 | ROM_START( kof99n ) /* Original Version - Encrypted GFX */ |
| r3426 | r3427 | |
| 4706 | 4675 | |
| 4707 | 4676 | ROM_REGION( 0x4000000, "sprites", ROMREGION_DISPOSE ) |
| 4708 | 4677 | /* Encrypted */ |
| 4709 | | ROM_LOAD16_BYTE( "251-c1.bin", 0x0000000, 0x800000, CRC(0f9e93fe) SHA1(c7d77f0833c6f526f632e4f2dce59e302f6b9a15) ) /* Plane 0,1 */ |
| 4710 | | ROM_LOAD16_BYTE( "251-c2.bin", 0x0000001, 0x800000, CRC(e71e2ea3) SHA1(39c7a326fddbcca3b29c68cdc96aad4d62295c0f) ) /* Plane 2,3 */ |
| 4711 | | ROM_LOAD16_BYTE( "251-c3.bin", 0x1000000, 0x800000, CRC(238755d2) SHA1(01125b5c7a28e350f091280b041954fd1ac7c98f) ) /* Plane 0,1 */ |
| 4712 | | ROM_LOAD16_BYTE( "251-c4.bin", 0x1000001, 0x800000, CRC(438c8b22) SHA1(ffbc643f5b27dd00f2f95d4ef4c5f29ee814722b) ) /* Plane 2,3 */ |
| 4713 | | ROM_LOAD16_BYTE( "251-c5.bin", 0x2000000, 0x800000, CRC(0b0abd0a) SHA1(d5ad324fe523bdc6f09209d236cc4932524a48f1) ) /* Plane 0,1 */ |
| 4714 | | ROM_LOAD16_BYTE( "251-c6.bin", 0x2000001, 0x800000, CRC(65bbf281) SHA1(79ae174667a23dabcfe865b6cd6133c86098452e) ) /* Plane 2,3 */ |
| 4715 | | ROM_LOAD16_BYTE( "251-c7.bin", 0x3000000, 0x800000, CRC(ff65f62e) SHA1(7cd335fede05b56e15db90ce407c1183a78da4e9) ) /* Plane 0,1 */ |
| 4716 | | ROM_LOAD16_BYTE( "251-c8.bin", 0x3000001, 0x800000, CRC(8d921c68) SHA1(42acf1d27d52a8e3b6262eb7df50693c0b135565) ) /* Plane 2,3 */ |
| 4678 | ROM_LOAD16_BYTE( "251-c1.bin", 0x0000000, 0x800000, CRC(0f9e93fe) SHA1(c7d77f0833c6f526f632e4f2dce59e302f6b9a15) ) /* Plane 0,1 */ |
| 4679 | ROM_LOAD16_BYTE( "251-c2.bin", 0x0000001, 0x800000, CRC(e71e2ea3) SHA1(39c7a326fddbcca3b29c68cdc96aad4d62295c0f) ) /* Plane 2,3 */ |
| 4680 | ROM_LOAD16_BYTE( "251-c3.bin", 0x1000000, 0x800000, CRC(238755d2) SHA1(01125b5c7a28e350f091280b041954fd1ac7c98f) ) /* Plane 0,1 */ |
| 4681 | ROM_LOAD16_BYTE( "251-c4.bin", 0x1000001, 0x800000, CRC(438c8b22) SHA1(ffbc643f5b27dd00f2f95d4ef4c5f29ee814722b) ) /* Plane 2,3 */ |
| 4682 | ROM_LOAD16_BYTE( "251-c5.bin", 0x2000000, 0x800000, CRC(0b0abd0a) SHA1(d5ad324fe523bdc6f09209d236cc4932524a48f1) ) /* Plane 0,1 */ |
| 4683 | ROM_LOAD16_BYTE( "251-c6.bin", 0x2000001, 0x800000, CRC(65bbf281) SHA1(79ae174667a23dabcfe865b6cd6133c86098452e) ) /* Plane 2,3 */ |
| 4684 | ROM_LOAD16_BYTE( "251-c7.bin", 0x3000000, 0x800000, CRC(ff65f62e) SHA1(7cd335fede05b56e15db90ce407c1183a78da4e9) ) /* Plane 0,1 */ |
| 4685 | ROM_LOAD16_BYTE( "251-c8.bin", 0x3000001, 0x800000, CRC(8d921c68) SHA1(42acf1d27d52a8e3b6262eb7df50693c0b135565) ) /* Plane 2,3 */ |
| 4717 | 4686 | ROM_END |
| 4718 | 4687 | |
| 4719 | 4688 | ROM_START( kof99p ) /* Prototype Version - Possibly Hacked */ |
| r3426 | r3427 | |
| 4750 | 4719 | ROM_START( ganryu ) /* Original Version - Encrypted GFX */ |
| 4751 | 4720 | ROM_REGION( 0x200000, "main", 0 ) |
| 4752 | 4721 | ROM_LOAD16_WORD_SWAP( "252-p1.bin", 0x100000, 0x100000, CRC(4b8ac4fb) SHA1(93d90271bff281862b03beba3809cf95a47a1e44) ) |
| 4753 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 4722 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 4754 | 4723 | |
| 4755 | 4724 | ROM_Y_ZOOM |
| 4756 | 4725 | |
| 4757 | 4726 | /* The Encrypted Boards do _not_ have an s1 rom, data for it comes from the Cx ROMs */ |
| 4758 | 4727 | ROM_REGION( 0x20000, "fixed", 0 ) |
| 4759 | | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 4728 | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 4760 | 4729 | ROM_REGION( 0x20000, "fixedbios", 0 ) |
| 4761 | 4730 | ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) ) |
| 4762 | 4731 | |
| r3426 | r3427 | |
| 4785 | 4754 | |
| 4786 | 4755 | /* The Encrypted Boards do _not_ have an s1 rom, data for it comes from the Cx ROMs */ |
| 4787 | 4756 | ROM_REGION( 0x80000, "fixed", 0 ) /* larger char set */ |
| 4788 | | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 4757 | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 4789 | 4758 | ROM_REGION( 0x20000, "fixedbios", 0 ) |
| 4790 | 4759 | ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) ) |
| 4791 | 4760 | |
| r3426 | r3427 | |
| 4821 | 4790 | |
| 4822 | 4791 | /* The Encrypted Boards do _not_ have an s1 rom, data for it comes from the Cx ROMs */ |
| 4823 | 4792 | ROM_REGION( 0x80000, "fixed", 0 ) /* larger char set */ |
| 4824 | | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 4793 | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 4825 | 4794 | ROM_REGION( 0x20000, "fixedbios", 0 ) |
| 4826 | 4795 | ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) ) |
| 4827 | 4796 | |
| r3426 | r3427 | |
| 4875 | 4844 | ROM_LOAD16_BYTE( "253-c8p.bin", 0x3000001, 0x800000, CRC(f778fe99) SHA1(c963f6ba90a36d02991728b44ffcf174ca18268a) ) /* Plane 2,3 */ |
| 4876 | 4845 | ROM_END |
| 4877 | 4846 | |
| 4878 | | ROM_START( garoubl ) /* Bootleg of garoup */ |
| 4879 | | ROM_REGION( 0x500000, "main", 0 ) |
| 4880 | | ROM_LOAD16_WORD_SWAP( "253-p1bl.bin", 0x000000, 0x100000, CRC(fd446d59) SHA1(e37484673a935b2af76c84cd26977c751c0f8cff) ) |
| 4881 | | ROM_LOAD16_WORD_SWAP( "253-p2bl.bin", 0x100000, 0x400000, CRC(3fb10a84) SHA1(4e4a4f4cd7f0ad2520c938c64c8910e6f8805eaf) ) |
| 4882 | | |
| 4883 | | NEO_SFIX_128K( "253-s1bl.bin", CRC(df720e33) SHA1(58d05002d4851682bd626241fa7b70f78f6f3bc8) ) |
| 4884 | | |
| 4885 | | NEO_BIOS_AUDIO_512K( "253-m1bl.bin", CRC(7c51d002) SHA1(01ffba6cbc8da07804f7b21d8c71c39d64a1a4e2) ) |
| 4886 | | |
| 4887 | | ROM_REGION( 0x1000000, "ym", 0 ) |
| 4888 | | ROM_LOAD( "253-v1bl.bin", 0x000000, 0x400000, CRC(98d736e4) SHA1(3edda9a1d45b0e38a85156d24fc8ff2f0011239b) ) |
| 4889 | | ROM_LOAD( "253-v2bl.bin", 0x400000, 0x400000, CRC(eb43c03f) SHA1(83c9c168b154e60a64f1033004b2d33e218bbb8b) ) |
| 4890 | | ROM_LOAD( "253-v3bl.bin", 0x800000, 0x400000, CRC(10a0f814) SHA1(e86def80d6fb2a38ebc9f3338d22f28c15ce85da) ) |
| 4891 | | ROM_LOAD( "253-v4bl.bin", 0xc00000, 0x400000, CRC(8918fdd3) SHA1(60ea2104a0f993341124728d8fde0e8e937c55ef) ) |
| 4892 | | |
| 4893 | | NO_DELTAT_REGION |
| 4894 | | |
| 4895 | | ROM_REGION( 0x4000000, "sprites", ROMREGION_DISPOSE ) |
| 4896 | | ROM_LOAD16_BYTE( "253-c1bl.bin", 0x0000000, 0x1000000, CRC(e2ac83fa) SHA1(186f88a85d80efbb0371bd42cca152b6b59817fb) ) /* Plane 0,1 */ |
| 4897 | | ROM_LOAD16_BYTE( "253-c2bl.bin", 0x0000001, 0x1000000, CRC(7c344b24) SHA1(f8af62a917e0ce2bf8ae4f17736fdd84d55d0788) ) /* Plane 2,3 */ |
| 4898 | | ROM_LOAD16_BYTE( "253-c3bl.bin", 0x2000000, 0x1000000, CRC(d3aec5a6) SHA1(c1a584909a8a1519f676aa49351742b87c18276d) ) /* Plane 0,1 */ |
| 4899 | | ROM_LOAD16_BYTE( "253-c4bl.bin", 0x2000001, 0x1000000, CRC(e02a242d) SHA1(8a73826d14880303a7bea2a903e842c733178aca) ) /* Plane 2,3 */ |
| 4900 | | ROM_END |
| 4901 | | |
| 4902 | | |
| 4903 | 4847 | ROM_START( s1945p ) /* Original Version, Encrypted GFX Roms */ |
| 4904 | 4848 | ROM_REGION( 0x500000, "main", 0 ) |
| 4905 | 4849 | ROM_LOAD16_WORD_SWAP( "254-p1.bin", 0x000000, 0x100000, CRC(ff8efcff) SHA1(dcaeaca573385c172ecc43ee6bee355359091893) ) |
| r3426 | r3427 | |
| 4909 | 4853 | |
| 4910 | 4854 | /* The Encrypted Boards do _not_ have an s1 rom, data for it comes from the Cx ROMs */ |
| 4911 | 4855 | ROM_REGION( 0x20000, "fixed", 0 ) |
| 4912 | | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 4856 | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 4913 | 4857 | ROM_REGION( 0x20000, "fixedbios", 0 ) |
| 4914 | 4858 | ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) ) |
| 4915 | 4859 | |
| r3426 | r3427 | |
| 4943 | 4887 | |
| 4944 | 4888 | /* The Encrypted Boards do _not_ have an s1 rom, data for it comes from the Cx ROMs */ |
| 4945 | 4889 | ROM_REGION( 0x20000, "fixed", 0 ) |
| 4946 | | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 4890 | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 4947 | 4891 | ROM_REGION( 0x20000, "fixedbios", 0 ) |
| 4948 | 4892 | ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) ) |
| 4949 | 4893 | |
| r3426 | r3427 | |
| 4957 | 4901 | |
| 4958 | 4902 | ROM_REGION( 0x3000000, "sprites", ROMREGION_DISPOSE ) |
| 4959 | 4903 | /* Encrypted */ |
| 4960 | | ROM_LOAD16_BYTE( "255-c1.bin", 0x0000000, 0x800000, CRC(ea06000b) SHA1(1539b12e461fa48301190eb8171bbffff9d984b7) ) /* Plane 0,1 */ |
| 4961 | | ROM_LOAD16_BYTE( "255-c2.bin", 0x0000001, 0x800000, CRC(04e67d79) SHA1(aadb6ee750da2c14c6eededa2218db95e051a32c) ) /* Plane 2,3 */ |
| 4962 | | ROM_LOAD16_BYTE( "255-c3.bin", 0x1000000, 0x800000, CRC(60e31e08) SHA1(bd5b81ad9d04cdc4e0df31ac40eca305f98277eb) ) /* Plane 0,1 */ |
| 4963 | | ROM_LOAD16_BYTE( "255-c4.bin", 0x1000001, 0x800000, CRC(40371d69) SHA1(90011ccc5672ff1b90737cf50c963e71b6217ce3) ) /* Plane 2,3 */ |
| 4964 | | ROM_LOAD16_BYTE( "255-c5.bin", 0x2000000, 0x800000, CRC(0b2e6adf) SHA1(15c7d9aa8b1ad9a071e6fd0ef0de8a057c23b02e) ) /* Plane 0,1 */ |
| 4965 | | ROM_LOAD16_BYTE( "255-c6.bin", 0x2000001, 0x800000, CRC(b001bdd3) SHA1(394ba8004644844ee97a120cfda48aeac685af8a) ) /* Plane 2,3 */ |
| 4904 | ROM_LOAD16_BYTE( "255-c1.bin", 0x0000000, 0x800000, CRC(ea06000b) SHA1(1539b12e461fa48301190eb8171bbffff9d984b7) ) /* Plane 0,1 */ |
| 4905 | ROM_LOAD16_BYTE( "255-c2.bin", 0x0000001, 0x800000, CRC(04e67d79) SHA1(aadb6ee750da2c14c6eededa2218db95e051a32c) ) /* Plane 2,3 */ |
| 4906 | ROM_LOAD16_BYTE( "255-c3.bin", 0x1000000, 0x800000, CRC(60e31e08) SHA1(bd5b81ad9d04cdc4e0df31ac40eca305f98277eb) ) /* Plane 0,1 */ |
| 4907 | ROM_LOAD16_BYTE( "255-c4.bin", 0x1000001, 0x800000, CRC(40371d69) SHA1(90011ccc5672ff1b90737cf50c963e71b6217ce3) ) /* Plane 2,3 */ |
| 4908 | ROM_LOAD16_BYTE( "255-c5.bin", 0x2000000, 0x800000, CRC(0b2e6adf) SHA1(15c7d9aa8b1ad9a071e6fd0ef0de8a057c23b02e) ) /* Plane 0,1 */ |
| 4909 | ROM_LOAD16_BYTE( "255-c6.bin", 0x2000001, 0x800000, CRC(b001bdd3) SHA1(394ba8004644844ee97a120cfda48aeac685af8a) ) /* Plane 2,3 */ |
| 4966 | 4910 | ROM_END |
| 4967 | 4911 | |
| 4968 | 4912 | ROM_START( mslug3 ) /* Original Version - Encrypted Code & GFX */ |
| r3426 | r3427 | |
| 4975 | 4919 | |
| 4976 | 4920 | /* The Encrypted Boards do _not_ have an s1 rom, data for it comes from the Cx ROMs */ |
| 4977 | 4921 | ROM_REGION( 0x80000, "fixed", 0 ) /* larger char set */ |
| 4978 | | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 4922 | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 4979 | 4923 | ROM_REGION( 0x20000, "fixedbios", 0 ) |
| 4980 | 4924 | ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) ) |
| 4981 | 4925 | |
| r3426 | r3427 | |
| 4991 | 4935 | |
| 4992 | 4936 | ROM_REGION( 0x4000000, "sprites", ROMREGION_DISPOSE ) |
| 4993 | 4937 | /* Encrypted */ |
| 4994 | | ROM_LOAD16_BYTE( "256-c1.bin", 0x0000000, 0x800000, CRC(5a79c34e) SHA1(b8aa51fa50935cae62ab3d125b723ab888691e60) ) /* Plane 0,1 */ |
| 4995 | | ROM_LOAD16_BYTE( "256-c2.bin", 0x0000001, 0x800000, CRC(944c362c) SHA1(3843ab300f956280475469caee70135658f67089) ) /* Plane 2,3 */ |
| 4996 | | ROM_LOAD16_BYTE( "256-c3.bin", 0x1000000, 0x800000, CRC(6e69d36f) SHA1(94e8cf42e999114b4bd8b30e0aa2f365578c4c9a) ) /* Plane 0,1 */ |
| 4997 | | ROM_LOAD16_BYTE( "256-c4.bin", 0x1000001, 0x800000, CRC(b755b4eb) SHA1(804700a0966a48f130c434ede3f970792ea74fa5) ) /* Plane 2,3 */ |
| 4998 | | ROM_LOAD16_BYTE( "256-c5.bin", 0x2000000, 0x800000, CRC(7aacab47) SHA1(312c1c9846175fe1a3cad51d5ae230cf674fc93d) ) /* Plane 0,1 */ |
| 4999 | | ROM_LOAD16_BYTE( "256-c6.bin", 0x2000001, 0x800000, CRC(c698fd5d) SHA1(16818883b06849ba2f8d61bdd5e21aaf99bd8408) ) /* Plane 2,3 */ |
| 5000 | | ROM_LOAD16_BYTE( "256-c7.bin", 0x3000000, 0x800000, CRC(cfceddd2) SHA1(7def666adf8bd1703f40c61f182fc040b6362dc9) ) /* Plane 0,1 */ |
| 5001 | | ROM_LOAD16_BYTE( "256-c8.bin", 0x3000001, 0x800000, CRC(4d9be34c) SHA1(a737bdfa2b815aea7067e7af2636e83a9409c414) ) /* Plane 2,3 */ |
| 4938 | ROM_LOAD16_BYTE( "256-c1.bin", 0x0000000, 0x800000, CRC(5a79c34e) SHA1(b8aa51fa50935cae62ab3d125b723ab888691e60) ) /* Plane 0,1 */ |
| 4939 | ROM_LOAD16_BYTE( "256-c2.bin", 0x0000001, 0x800000, CRC(944c362c) SHA1(3843ab300f956280475469caee70135658f67089) ) /* Plane 2,3 */ |
| 4940 | ROM_LOAD16_BYTE( "256-c3.bin", 0x1000000, 0x800000, CRC(6e69d36f) SHA1(94e8cf42e999114b4bd8b30e0aa2f365578c4c9a) ) /* Plane 0,1 */ |
| 4941 | ROM_LOAD16_BYTE( "256-c4.bin", 0x1000001, 0x800000, CRC(b755b4eb) SHA1(804700a0966a48f130c434ede3f970792ea74fa5) ) /* Plane 2,3 */ |
| 4942 | ROM_LOAD16_BYTE( "256-c5.bin", 0x2000000, 0x800000, CRC(7aacab47) SHA1(312c1c9846175fe1a3cad51d5ae230cf674fc93d) ) /* Plane 0,1 */ |
| 4943 | ROM_LOAD16_BYTE( "256-c6.bin", 0x2000001, 0x800000, CRC(c698fd5d) SHA1(16818883b06849ba2f8d61bdd5e21aaf99bd8408) ) /* Plane 2,3 */ |
| 4944 | ROM_LOAD16_BYTE( "256-c7.bin", 0x3000000, 0x800000, CRC(cfceddd2) SHA1(7def666adf8bd1703f40c61f182fc040b6362dc9) ) /* Plane 0,1 */ |
| 4945 | ROM_LOAD16_BYTE( "256-c8.bin", 0x3000001, 0x800000, CRC(4d9be34c) SHA1(a737bdfa2b815aea7067e7af2636e83a9409c414) ) /* Plane 2,3 */ |
| 5002 | 4946 | ROM_END |
| 5003 | 4947 | |
| 5004 | 4948 | ROM_START( mslug3h ) /* Original Version - Encrypted GFX */ /* AES VERSION */ |
| 5005 | 4949 | ROM_REGION( 0x500000, "main", 0 ) |
| 5006 | | ROM_LOAD16_WORD_SWAP( "256-ph1.bin", 0x000000, 0x100000, CRC(9c42ca85) SHA1(7a8f77a89867b889295ae9b9dfd4ba28f02d234d) ) |
| 5007 | | ROM_LOAD16_WORD_SWAP( "256-ph2.bin", 0x100000, 0x400000, CRC(1f3d8ce8) SHA1(08b05a8abfb86ec09a5e758d6273acf1489961f9) ) |
| 4950 | ROM_LOAD16_WORD_SWAP( "256-ph1.bin", 0x000000, 0x100000, CRC(9c42ca85) SHA1(7a8f77a89867b889295ae9b9dfd4ba28f02d234d) ) |
| 4951 | ROM_LOAD16_WORD_SWAP( "256-ph2.bin", 0x100000, 0x400000, CRC(1f3d8ce8) SHA1(08b05a8abfb86ec09a5e758d6273acf1489961f9) ) |
| 5008 | 4952 | |
| 5009 | 4953 | ROM_Y_ZOOM |
| 5010 | 4954 | |
| 5011 | 4955 | /* The Encrypted Boards do _not_ have an s1 rom, data for it comes from the Cx ROMs */ |
| 5012 | 4956 | ROM_REGION( 0x80000, "fixed", 0 ) /* larger char set */ |
| 5013 | | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 4957 | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 5014 | 4958 | ROM_REGION( 0x20000, "fixedbios", 0 ) |
| 5015 | 4959 | ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) ) |
| 5016 | 4960 | |
| r3426 | r3427 | |
| 5026 | 4970 | |
| 5027 | 4971 | ROM_REGION( 0x4000000, "sprites", ROMREGION_DISPOSE ) |
| 5028 | 4972 | /* Encrypted */ |
| 5029 | | ROM_LOAD16_BYTE( "256-c1.bin", 0x0000000, 0x800000, CRC(5a79c34e) SHA1(b8aa51fa50935cae62ab3d125b723ab888691e60) ) /* Plane 0,1 */ |
| 5030 | | ROM_LOAD16_BYTE( "256-c2.bin", 0x0000001, 0x800000, CRC(944c362c) SHA1(3843ab300f956280475469caee70135658f67089) ) /* Plane 2,3 */ |
| 5031 | | ROM_LOAD16_BYTE( "256-c3.bin", 0x1000000, 0x800000, CRC(6e69d36f) SHA1(94e8cf42e999114b4bd8b30e0aa2f365578c4c9a) ) /* Plane 0,1 */ |
| 5032 | | ROM_LOAD16_BYTE( "256-c4.bin", 0x1000001, 0x800000, CRC(b755b4eb) SHA1(804700a0966a48f130c434ede3f970792ea74fa5) ) /* Plane 2,3 */ |
| 5033 | | ROM_LOAD16_BYTE( "256-c5.bin", 0x2000000, 0x800000, CRC(7aacab47) SHA1(312c1c9846175fe1a3cad51d5ae230cf674fc93d) ) /* Plane 0,1 */ |
| 5034 | | ROM_LOAD16_BYTE( "256-c6.bin", 0x2000001, 0x800000, CRC(c698fd5d) SHA1(16818883b06849ba2f8d61bdd5e21aaf99bd8408) ) /* Plane 2,3 */ |
| 5035 | | ROM_LOAD16_BYTE( "256-c7.bin", 0x3000000, 0x800000, CRC(cfceddd2) SHA1(7def666adf8bd1703f40c61f182fc040b6362dc9) ) /* Plane 0,1 */ |
| 5036 | | ROM_LOAD16_BYTE( "256-c8.bin", 0x3000001, 0x800000, CRC(4d9be34c) SHA1(a737bdfa2b815aea7067e7af2636e83a9409c414) ) /* Plane 2,3 */ |
| 4973 | ROM_LOAD16_BYTE( "256-c1.bin", 0x0000000, 0x800000, CRC(5a79c34e) SHA1(b8aa51fa50935cae62ab3d125b723ab888691e60) ) /* Plane 0,1 */ |
| 4974 | ROM_LOAD16_BYTE( "256-c2.bin", 0x0000001, 0x800000, CRC(944c362c) SHA1(3843ab300f956280475469caee70135658f67089) ) /* Plane 2,3 */ |
| 4975 | ROM_LOAD16_BYTE( "256-c3.bin", 0x1000000, 0x800000, CRC(6e69d36f) SHA1(94e8cf42e999114b4bd8b30e0aa2f365578c4c9a) ) /* Plane 0,1 */ |
| 4976 | ROM_LOAD16_BYTE( "256-c4.bin", 0x1000001, 0x800000, CRC(b755b4eb) SHA1(804700a0966a48f130c434ede3f970792ea74fa5) ) /* Plane 2,3 */ |
| 4977 | ROM_LOAD16_BYTE( "256-c5.bin", 0x2000000, 0x800000, CRC(7aacab47) SHA1(312c1c9846175fe1a3cad51d5ae230cf674fc93d) ) /* Plane 0,1 */ |
| 4978 | ROM_LOAD16_BYTE( "256-c6.bin", 0x2000001, 0x800000, CRC(c698fd5d) SHA1(16818883b06849ba2f8d61bdd5e21aaf99bd8408) ) /* Plane 2,3 */ |
| 4979 | ROM_LOAD16_BYTE( "256-c7.bin", 0x3000000, 0x800000, CRC(cfceddd2) SHA1(7def666adf8bd1703f40c61f182fc040b6362dc9) ) /* Plane 0,1 */ |
| 4980 | ROM_LOAD16_BYTE( "256-c8.bin", 0x3000001, 0x800000, CRC(4d9be34c) SHA1(a737bdfa2b815aea7067e7af2636e83a9409c414) ) /* Plane 2,3 */ |
| 5037 | 4981 | ROM_END |
| 5038 | 4982 | |
| 5039 | | |
| 5040 | 4983 | ROM_START( kof2000 ) /* Original Version, Encrypted Code + Sound + GFX Roms */ |
| 5041 | 4984 | ROM_REGION( 0x900000, "main", 0 ) |
| 5042 | 4985 | ROM_LOAD16_WORD_SWAP( "257-sma.bin", 0x0c0000, 0x040000, CRC(71c6e6bb) SHA1(1bd29ded4c6b29780db8e8b772c452189699ca89) ) /* stored in the custom chip */ |
| r3426 | r3427 | |
| 5047 | 4990 | |
| 5048 | 4991 | /* The Encrypted Boards do _not_ have an s1 rom, data for it comes from the Cx ROMs */ |
| 5049 | 4992 | ROM_REGION( 0x80000, "fixed", 0 ) /* larger char set */ |
| 5050 | | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 4993 | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 5051 | 4994 | ROM_REGION( 0x20000, "fixedbios", 0 ) |
| 5052 | 4995 | ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) ) |
| 5053 | 4996 | |
| r3426 | r3427 | |
| 5063 | 5006 | NO_DELTAT_REGION |
| 5064 | 5007 | |
| 5065 | 5008 | ROM_REGION( 0x4000000, "sprites", ROMREGION_DISPOSE ) |
| 5066 | | ROM_LOAD16_BYTE( "257-c1.bin", 0x0000000, 0x800000, CRC(cef1cdfa) SHA1(6135080f3a6b4712b76cc217edcc58e72b55c2b9) ) /* Plane 0,1 */ |
| 5067 | | ROM_LOAD16_BYTE( "257-c2.bin", 0x0000001, 0x800000, CRC(f7bf0003) SHA1(9f7b19a2100cf7d12867e742f440dd5277b4f895) ) /* Plane 2,3 */ |
| 5068 | | ROM_LOAD16_BYTE( "257-c3.bin", 0x1000000, 0x800000, CRC(101e6560) SHA1(8073ae1139e215d1167f8d32c14079a46ce3ee1c) ) /* Plane 0,1 */ |
| 5069 | | ROM_LOAD16_BYTE( "257-c4.bin", 0x1000001, 0x800000, CRC(bd2fc1b1) SHA1(da0006761923ad49b404a08d7a151193ee307a69) ) /* Plane 2,3 */ |
| 5070 | | ROM_LOAD16_BYTE( "257-c5.bin", 0x2000000, 0x800000, CRC(89775412) SHA1(b221b30224bc4239f1b3c2d2fd1cd4fa84e3523c) ) /* Plane 0,1 */ |
| 5071 | | ROM_LOAD16_BYTE( "257-c6.bin", 0x2000001, 0x800000, CRC(fa7200d5) SHA1(6f2b0d38af34e280d56a58955400e5c679906871) ) /* Plane 2,3 */ |
| 5072 | | ROM_LOAD16_BYTE( "257-c7.bin", 0x3000000, 0x800000, CRC(7da11fe4) SHA1(065336cf166807acb6c8569d59d3bf37a19b0a42) ) /* Plane 0,1 */ |
| 5073 | | ROM_LOAD16_BYTE( "257-c8.bin", 0x3000001, 0x800000, CRC(b1afa60b) SHA1(b916184f5cfe4121752270f4f65abf35d8eb0519) ) /* Plane 2,3 */ |
| 5009 | ROM_LOAD16_BYTE( "257-c1.bin", 0x0000000, 0x800000, CRC(cef1cdfa) SHA1(6135080f3a6b4712b76cc217edcc58e72b55c2b9) ) /* Plane 0,1 */ |
| 5010 | ROM_LOAD16_BYTE( "257-c2.bin", 0x0000001, 0x800000, CRC(f7bf0003) SHA1(9f7b19a2100cf7d12867e742f440dd5277b4f895) ) /* Plane 2,3 */ |
| 5011 | ROM_LOAD16_BYTE( "257-c3.bin", 0x1000000, 0x800000, CRC(101e6560) SHA1(8073ae1139e215d1167f8d32c14079a46ce3ee1c) ) /* Plane 0,1 */ |
| 5012 | ROM_LOAD16_BYTE( "257-c4.bin", 0x1000001, 0x800000, CRC(bd2fc1b1) SHA1(da0006761923ad49b404a08d7a151193ee307a69) ) /* Plane 2,3 */ |
| 5013 | ROM_LOAD16_BYTE( "257-c5.bin", 0x2000000, 0x800000, CRC(89775412) SHA1(b221b30224bc4239f1b3c2d2fd1cd4fa84e3523c) ) /* Plane 0,1 */ |
| 5014 | ROM_LOAD16_BYTE( "257-c6.bin", 0x2000001, 0x800000, CRC(fa7200d5) SHA1(6f2b0d38af34e280d56a58955400e5c679906871) ) /* Plane 2,3 */ |
| 5015 | ROM_LOAD16_BYTE( "257-c7.bin", 0x3000000, 0x800000, CRC(7da11fe4) SHA1(065336cf166807acb6c8569d59d3bf37a19b0a42) ) /* Plane 0,1 */ |
| 5016 | ROM_LOAD16_BYTE( "257-c8.bin", 0x3000001, 0x800000, CRC(b1afa60b) SHA1(b916184f5cfe4121752270f4f65abf35d8eb0519) ) /* Plane 2,3 */ |
| 5074 | 5017 | ROM_END |
| 5075 | 5018 | |
| 5076 | 5019 | ROM_START( kof2000n ) /* Original Version, Encrypted Sound + GFX Roms */ |
| 5077 | 5020 | ROM_REGION( 0x500000, "main", 0 ) |
| 5078 | | ROM_LOAD16_WORD_SWAP( "257-p1n.bin", 0x000000, 0x100000, CRC(5f809dbe) SHA1(2bc233dcff5622de86d01e3b74b840c7caf12982) ) |
| 5079 | | ROM_LOAD16_WORD_SWAP( "257-p2n.bin", 0x100000, 0x400000, CRC(693c2c5e) SHA1(dc9121b7369ef46596343cac055a00aec81704d4) ) |
| 5021 | ROM_LOAD16_WORD_SWAP( "257-p1n.bin", 0x000000, 0x100000, CRC(5f809dbe) SHA1(2bc233dcff5622de86d01e3b74b840c7caf12982) ) |
| 5022 | ROM_LOAD16_WORD_SWAP( "257-p2n.bin", 0x100000, 0x400000, CRC(693c2c5e) SHA1(dc9121b7369ef46596343cac055a00aec81704d4) ) |
| 5080 | 5023 | |
| 5081 | 5024 | ROM_Y_ZOOM |
| 5082 | 5025 | |
| 5083 | 5026 | /* The Encrypted Boards do _not_ have an s1 rom, data for it comes from the Cx ROMs */ |
| 5084 | 5027 | ROM_REGION( 0x80000, "fixed", 0 ) /* larger char set */ |
| 5085 | | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 5028 | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 5086 | 5029 | ROM_REGION( 0x20000, "fixedbios", 0 ) |
| 5087 | 5030 | ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) ) |
| 5088 | 5031 | |
| r3426 | r3427 | |
| 5098 | 5041 | NO_DELTAT_REGION |
| 5099 | 5042 | |
| 5100 | 5043 | ROM_REGION( 0x4000000, "sprites", ROMREGION_DISPOSE ) |
| 5101 | | ROM_LOAD16_BYTE( "257-c1.bin", 0x0000000, 0x800000, CRC(cef1cdfa) SHA1(6135080f3a6b4712b76cc217edcc58e72b55c2b9) ) /* Plane 0,1 */ |
| 5102 | | ROM_LOAD16_BYTE( "257-c2.bin", 0x0000001, 0x800000, CRC(f7bf0003) SHA1(9f7b19a2100cf7d12867e742f440dd5277b4f895) ) /* Plane 2,3 */ |
| 5103 | | ROM_LOAD16_BYTE( "257-c3.bin", 0x1000000, 0x800000, CRC(101e6560) SHA1(8073ae1139e215d1167f8d32c14079a46ce3ee1c) ) /* Plane 0,1 */ |
| 5104 | | ROM_LOAD16_BYTE( "257-c4.bin", 0x1000001, 0x800000, CRC(bd2fc1b1) SHA1(da0006761923ad49b404a08d7a151193ee307a69) ) /* Plane 2,3 */ |
| 5105 | | ROM_LOAD16_BYTE( "257-c5.bin", 0x2000000, 0x800000, CRC(89775412) SHA1(b221b30224bc4239f1b3c2d2fd1cd4fa84e3523c) ) /* Plane 0,1 */ |
| 5106 | | ROM_LOAD16_BYTE( "257-c6.bin", 0x2000001, 0x800000, CRC(fa7200d5) SHA1(6f2b0d38af34e280d56a58955400e5c679906871) ) /* Plane 2,3 */ |
| 5107 | | ROM_LOAD16_BYTE( "257-c7.bin", 0x3000000, 0x800000, CRC(7da11fe4) SHA1(065336cf166807acb6c8569d59d3bf37a19b0a42) ) /* Plane 0,1 */ |
| 5108 | | ROM_LOAD16_BYTE( "257-c8.bin", 0x3000001, 0x800000, CRC(b1afa60b) SHA1(b916184f5cfe4121752270f4f65abf35d8eb0519) ) /* Plane 2,3 */ |
| 5044 | ROM_LOAD16_BYTE( "257-c1.bin", 0x0000000, 0x800000, CRC(cef1cdfa) SHA1(6135080f3a6b4712b76cc217edcc58e72b55c2b9) ) /* Plane 0,1 */ |
| 5045 | ROM_LOAD16_BYTE( "257-c2.bin", 0x0000001, 0x800000, CRC(f7bf0003) SHA1(9f7b19a2100cf7d12867e742f440dd5277b4f895) ) /* Plane 2,3 */ |
| 5046 | ROM_LOAD16_BYTE( "257-c3.bin", 0x1000000, 0x800000, CRC(101e6560) SHA1(8073ae1139e215d1167f8d32c14079a46ce3ee1c) ) /* Plane 0,1 */ |
| 5047 | ROM_LOAD16_BYTE( "257-c4.bin", 0x1000001, 0x800000, CRC(bd2fc1b1) SHA1(da0006761923ad49b404a08d7a151193ee307a69) ) /* Plane 2,3 */ |
| 5048 | ROM_LOAD16_BYTE( "257-c5.bin", 0x2000000, 0x800000, CRC(89775412) SHA1(b221b30224bc4239f1b3c2d2fd1cd4fa84e3523c) ) /* Plane 0,1 */ |
| 5049 | ROM_LOAD16_BYTE( "257-c6.bin", 0x2000001, 0x800000, CRC(fa7200d5) SHA1(6f2b0d38af34e280d56a58955400e5c679906871) ) /* Plane 2,3 */ |
| 5050 | ROM_LOAD16_BYTE( "257-c7.bin", 0x3000000, 0x800000, CRC(7da11fe4) SHA1(065336cf166807acb6c8569d59d3bf37a19b0a42) ) /* Plane 0,1 */ |
| 5051 | ROM_LOAD16_BYTE( "257-c8.bin", 0x3000001, 0x800000, CRC(b1afa60b) SHA1(b916184f5cfe4121752270f4f65abf35d8eb0519) ) /* Plane 2,3 */ |
| 5109 | 5052 | ROM_END |
| 5110 | 5053 | |
| 5111 | 5054 | ROM_START( bangbead ) /* Original Version - Encrypted GFX */ |
| 5112 | 5055 | ROM_REGION( 0x200000, "main", 0 ) |
| 5113 | 5056 | ROM_LOAD16_WORD_SWAP( "259-p1.bin", 0x100000, 0x100000, CRC(88a37f8b) SHA1(566db84850fad5e8fe822e8bba910a33e083b550) ) |
| 5114 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 5057 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 5115 | 5058 | |
| 5116 | 5059 | ROM_Y_ZOOM |
| 5117 | 5060 | |
| 5118 | 5061 | /* The Encrypted Boards do _not_ have an s1 rom, data for it comes from the Cx ROMs */ |
| 5119 | 5062 | ROM_REGION( 0x20000, "fixed", 0 ) |
| 5120 | | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 5063 | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 5121 | 5064 | ROM_REGION( 0x20000, "fixedbios", 0 ) |
| 5122 | 5065 | ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) ) |
| 5123 | 5066 | |
| r3426 | r3427 | |
| 5141 | 5084 | ROM_START( bangbedp ) |
| 5142 | 5085 | ROM_REGION( 0x200000, "main", 0 ) |
| 5143 | 5086 | ROM_LOAD16_WORD_SWAP( "259-p1.bin", 0x100000, 0x100000, CRC(88a37f8b) SHA1(566db84850fad5e8fe822e8bba910a33e083b550) ) |
| 5144 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 5087 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 5145 | 5088 | |
| 5146 | 5089 | NEO_SFIX_128K( "259-s1p.bin", CRC(bb50fb2d) SHA1(7372939f328fb5e7d09c16985e09ae8c34702b0c) ) |
| 5147 | 5090 | |
| r3426 | r3427 | |
| 5187 | 5130 | ROM_LOAD16_BYTE( "260-c2.bin", 0x0000001, 0x800000, CRC(d2b04b0d) SHA1(ce4322e6cfacb627fe997efe81018861e21d3c27) ) /* Plane 2,3 */ |
| 5188 | 5131 | ROM_END |
| 5189 | 5132 | |
| 5190 | | ROM_START( nitdbl ) /* Bootleg of nitd */ |
| 5191 | | ROM_REGION( 0x100000, "main", 0 ) |
| 5192 | | ROM_LOAD16_WORD_SWAP( "260-p1bl.bin", 0x000000, 0x080000, CRC(1a05bd1b) SHA1(7bbddef842d50b0778711063af695b168a76ff61) ) |
| 5193 | | |
| 5194 | | NEO_SFIX_128K( "260-s1bl.bin", CRC(dd3bf47c) SHA1(881271caee6508b8be51bf1b59c8f1e58e08e551) ) |
| 5195 | | |
| 5196 | | /* Bootleg m1 is 128k, data is identical */ |
| 5197 | | NEO_BIOS_AUDIO_512K( "260-m1.bin", CRC(6407c5e5) SHA1(d273e154cc905b63205a17a1a6d419cac3485a92) ) |
| 5198 | | |
| 5199 | | ROM_REGION( 0x400000, "ym", 0 ) |
| 5200 | | ROM_LOAD( "260-v1bl.bin", 0x000000, 0x200000, CRC(79008868) SHA1(90bd6aaefd37341297ab1f4ae7246e52facd87d0) ) |
| 5201 | | ROM_LOAD( "260-v2bl.bin", 0x200000, 0x200000, CRC(728558F9) SHA1(309aa7c933c199b2e540a601b363e7af8744fe00) ) |
| 5202 | | |
| 5203 | | NO_DELTAT_REGION |
| 5204 | | |
| 5205 | | ROM_REGION( 0x800000, "sprites", ROMREGION_DISPOSE ) |
| 5206 | | ROM_LOAD16_BYTE( "260-c1bl.bin", 0x000000, 0x200000, CRC(b4353190) SHA1(90d5352e243a05f5c2be4fa7475667bb56e78016) ) /* Plane 0,1 */ |
| 5207 | | ROM_LOAD16_BYTE( "260-c2bl.bin", 0x000001, 0x200000, CRC(6e27511f) SHA1(1fc5cf7786ad0f0bc7b1623acabe605ad04af3c1) ) /* Plane 2,3 */ |
| 5208 | | ROM_LOAD16_BYTE( "260-c3bl.bin", 0x400000, 0x200000, CRC(472cf075) SHA1(7cdd25019e37a3d127e68a4179c051881df19afa) ) /* Plane 0,1 */ |
| 5209 | | ROM_LOAD16_BYTE( "260-c4bl.bin", 0x400001, 0x200000, CRC(4c3926e6) SHA1(7fc54a9886dbef911f7b226e3cd20081c535e989) ) /* Plane 2,3 */ |
| 5210 | | ROM_END |
| 5211 | | |
| 5212 | 5133 | ROM_START( sengoku3 ) /* Original Version - Encrypted GFX */ |
| 5213 | 5134 | ROM_REGION( 0x200000, "main", 0 ) |
| 5214 | 5135 | // ROM_LOAD16_WORD_SWAP( "261-p1.bin", 0x100000, 0x100000, CRC(5b557201) SHA1(d01421d1dc80fe7d2a46b9f79c0f344b3c81c1e7) ) this one is almost certainly bad |
| 5215 | 5136 | ROM_LOAD16_WORD_SWAP( "261-p1.bin", 0x100000, 0x100000, CRC(e0d4bc0a) SHA1(8df366097f224771ca6d1aa5c1691cd46776cd12) ) |
| 5216 | | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 5137 | ROM_CONTINUE( 0x000000, 0x100000 ) |
| 5217 | 5138 | |
| 5218 | 5139 | ROM_Y_ZOOM |
| 5219 | 5140 | |
| 5220 | 5141 | /* The Encrypted Boards do _not_ have an s1 rom, data for it comes from the Cx ROMs */ |
| 5221 | 5142 | ROM_REGION( 0x20000, "fixed", 0 ) |
| 5222 | | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 5143 | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 5223 | 5144 | ROM_REGION( 0x20000, "fixedbios", 0 ) |
| 5224 | 5145 | ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) ) |
| 5225 | 5146 | |
| r3426 | r3427 | |
| 5998 | 5919 | |
| 5999 | 5920 | ROM_REGION( 0x4000000, "sprites", ROMREGION_DISPOSE ) |
| 6000 | 5921 | ROM_LOAD16_BYTE( "ssv-c1.bin", 0x0000000, 0x1000000, CRC(9c564a01) SHA1(99dc8900fd8f56ae04fff72b34ddcaa8abe4c1be) ) /* Plane 0,1 */ |
| 6001 | | ROM_LOAD16_BYTE( "ssv-c2.bin", 0x0000001, 0x1000000, CRC(4b73b8da) SHA1(a8b626de74cf57bbd8c222e8e24c953c9e8680f4) ) /* Plane 0,1 */ |
| 6002 | | ROM_LOAD16_BYTE( "ssv-c3.bin", 0x2000000, 0x1000000, CRC(029f9bb5) SHA1(6296c879aa0bbd22383ceeeac0326805cbc8b4ec) ) /* Plane 2,3 */ |
| 5922 | ROM_LOAD16_BYTE( "ssv-c2.bin", 0x0000001, 0x1000000, CRC(4b73b8da) SHA1(a8b626de74cf57bbd8c222e8e24c953c9e8680f4) ) /* Plane 2,3 */ |
| 5923 | ROM_LOAD16_BYTE( "ssv-c3.bin", 0x2000000, 0x1000000, CRC(029f9bb5) SHA1(6296c879aa0bbd22383ceeeac0326805cbc8b4ec) ) /* Plane 0,1 */ |
| 6003 | 5924 | ROM_LOAD16_BYTE( "ssv-c4.bin", 0x2000001, 0x1000000, CRC(75722430) SHA1(30594c30a167e75463670249df7744755e39e75b) ) /* Plane 2,3 */ |
| 6004 | 5925 | ROM_END |
| 6005 | 5926 | |
| r3426 | r3427 | |
| 6325 | 6246 | |
| 6326 | 6247 | ROM_START( vliner ) |
| 6327 | 6248 | ROM_REGION( 0x100000, "main", 0 ) |
| 6328 | | ROM_LOAD16_WORD_SWAP( "vl_p1.rom", 0x000000, 0x080000, CRC(72a2c043) SHA1(b34bcc10ff33e4465126a6865fe8bf6b6a3d6cee) ) |
| 6249 | ROM_LOAD16_WORD_SWAP( "vl-p1.bin", 0x000000, 0x080000, CRC(72a2c043) SHA1(b34bcc10ff33e4465126a6865fe8bf6b6a3d6cee) ) |
| 6329 | 6250 | |
| 6330 | | NEO_SFIX_128K( "vl_s1.rom", CRC(972d8c31) SHA1(41f09ef28a3791668ea304c74b8b06c117a50e9a) ) |
| 6251 | NEO_SFIX_128K( "vl-s1.bin", CRC(972d8c31) SHA1(41f09ef28a3791668ea304c74b8b06c117a50e9a) ) |
| 6331 | 6252 | |
| 6332 | | NEO_BIOS_AUDIO_64K( "vl_m1.rom", CRC(9b92b7d1) SHA1(2c9b777feb9a8e43fa1bd942aba5afe3b5427d94) ) |
| 6253 | NEO_BIOS_AUDIO_64K( "vl-m1.bin", CRC(9b92b7d1) SHA1(2c9b777feb9a8e43fa1bd942aba5afe3b5427d94) ) |
| 6333 | 6254 | |
| 6334 | 6255 | ROM_REGION( 0x200000, "ym", ROMREGION_ERASE00 ) |
| 6335 | 6256 | |
| 6336 | 6257 | NO_DELTAT_REGION |
| 6337 | 6258 | |
| 6338 | 6259 | ROM_REGION( 0x400000, "sprites", ROMREGION_DISPOSE ) |
| 6339 | | ROM_LOAD16_BYTE( "vl_c1.rom", 0x000000, 0x80000, CRC(5118f7c0) SHA1(b6fb6e9cbb660580d98e00780ebf248c0995145a) ) /* Plane 0,1 */ |
| 6340 | | ROM_LOAD16_BYTE( "vl_c2.rom", 0x000001, 0x80000, CRC(efe9b33e) SHA1(910c651aadce9bf59e51c338ceef62287756d2e8) ) /* Plane 2,3 */ |
| 6260 | ROM_LOAD16_BYTE( "vl-c1.bin", 0x000000, 0x80000, CRC(5118f7c0) SHA1(b6fb6e9cbb660580d98e00780ebf248c0995145a) ) /* Plane 0,1 */ |
| 6261 | ROM_LOAD16_BYTE( "vl-c2.bin", 0x000001, 0x80000, CRC(efe9b33e) SHA1(910c651aadce9bf59e51c338ceef62287756d2e8) ) /* Plane 2,3 */ |
| 6341 | 6262 | ROM_END |
| 6342 | 6263 | |
| 6343 | 6264 | ROM_START( vlinero ) |
| 6344 | 6265 | ROM_REGION( 0x100000, "main", 0 ) |
| 6345 | | ROM_LOAD16_WORD_SWAP( "vl_p1_54.rom", 0x000000, 0x080000, CRC(172efc18) SHA1(8ca739f8780a9e6fa19ac2c3e931d75871603f58) ) |
| 6266 | ROM_LOAD16_WORD_SWAP( "vl-p1_54.bin", 0x000000, 0x080000, CRC(172efc18) SHA1(8ca739f8780a9e6fa19ac2c3e931d75871603f58) ) |
| 6346 | 6267 | |
| 6347 | | NEO_SFIX_128K( "vl_s1.rom", CRC(972d8c31) SHA1(41f09ef28a3791668ea304c74b8b06c117a50e9a) ) |
| 6268 | NEO_SFIX_128K( "vl-s1.bin", CRC(972d8c31) SHA1(41f09ef28a3791668ea304c74b8b06c117a50e9a) ) |
| 6348 | 6269 | |
| 6349 | | NEO_BIOS_AUDIO_64K( "vl_m1.rom", CRC(9b92b7d1) SHA1(2c9b777feb9a8e43fa1bd942aba5afe3b5427d94) ) |
| 6270 | NEO_BIOS_AUDIO_64K( "vl-m1.bin", CRC(9b92b7d1) SHA1(2c9b777feb9a8e43fa1bd942aba5afe3b5427d94) ) |
| 6350 | 6271 | |
| 6351 | 6272 | ROM_REGION( 0x200000, "ym", ROMREGION_ERASE00 ) |
| 6352 | 6273 | |
| 6353 | 6274 | NO_DELTAT_REGION |
| 6354 | 6275 | |
| 6355 | 6276 | ROM_REGION( 0x400000, "sprites", ROMREGION_DISPOSE ) |
| 6356 | | ROM_LOAD16_BYTE( "vl_c1.rom", 0x000000, 0x80000, CRC(5118f7c0) SHA1(b6fb6e9cbb660580d98e00780ebf248c0995145a) ) /* Plane 0,1 */ |
| 6357 | | ROM_LOAD16_BYTE( "vl_c2.rom", 0x000001, 0x80000, CRC(efe9b33e) SHA1(910c651aadce9bf59e51c338ceef62287756d2e8) ) /* Plane 2,3 */ |
| 6277 | ROM_LOAD16_BYTE( "vl-c1.bin", 0x000000, 0x80000, CRC(5118f7c0) SHA1(b6fb6e9cbb660580d98e00780ebf248c0995145a) ) /* Plane 0,1 */ |
| 6278 | ROM_LOAD16_BYTE( "vl-c2.bin", 0x000001, 0x80000, CRC(efe9b33e) SHA1(910c651aadce9bf59e51c338ceef62287756d2e8) ) /* Plane 2,3 */ |
| 6358 | 6279 | ROM_END |
| 6359 | 6280 | |
| 6360 | | /* Jamma PCB sets */ |
| 6361 | 6281 | |
| 6282 | /* Jamma PCB sets */ |
| 6283 | |
| 6284 | |
| 6362 | 6285 | /****************************************************************************** |
| 6363 | 6286 | The following Jamma PCB boards are known: |
| 6364 | 6287 | |
| r3426 | r3427 | |
| 6376 | 6299 | ******************************************************************************/ |
| 6377 | 6300 | |
| 6378 | 6301 | |
| 6379 | | /* comlete redump required */ |
| 6302 | /* complete redump required */ |
| 6380 | 6303 | ROM_START( ms5pcb ) /* Encrypted Set */ |
| 6381 | 6304 | ROM_REGION( 0x800000, "main", 0 ) |
| 6382 | 6305 | ROM_LOAD32_WORD_SWAP( "268-p1r.bin", 0x000000, 0x400000, NO_DUMP ) |
| r3426 | r3427 | |
| 6517 | 6440 | ROM_LOAD32_WORD( "271-c6.bin", 0x4000002, 0x1000000, CRC(1c40de87) SHA1(8d6425aed43ff6a96c88194e203df6a783286373) ) /* Plane 2,3 */ |
| 6518 | 6441 | ROM_END |
| 6519 | 6442 | |
| 6520 | | /* Various Bootlegs */ |
| 6521 | 6443 | |
| 6444 | /* Bootleg sets */ |
| 6445 | |
| 6446 | |
| 6447 | /* |
| 6448 | Most bootleg sets are incomplete (missing 'C', 'V' and 'M' roms). |
| 6449 | Verification required. |
| 6450 | |
| 6451 | */ |
| 6452 | |
| 6453 | /* The King of Fighters '97 bootlegs */ |
| 6454 | |
| 6455 | ROM_START( kof97pls ) |
| 6456 | ROM_REGION( 0x500000, "main", 0 ) |
| 6457 | ROM_LOAD16_WORD_SWAP( "kf97-p1p.bin", 0x000000, 0x100000, CRC(c01fda46) SHA1(bc6402f5082efc80a8936364c657165f19b49415) ) |
| 6458 | ROM_LOAD16_WORD_SWAP( "kf97-p2p.bin", 0x100000, 0x400000, CRC(5502b020) SHA1(37c48198d8b3798910a44075782cd1a20b687b4a) ) |
| 6459 | |
| 6460 | NEO_SFIX_128K( "kf97-s1p.bin", CRC(73254270) SHA1(8d06305f9d8890da1327356272b88bdd0dc089f5) ) |
| 6461 | |
| 6462 | NEO_BIOS_AUDIO_128K( "232-m1.bin", CRC(45348747) SHA1(ed77cbae2b208d1177a9f5f6e8cd57070e90b65b) ) |
| 6463 | |
| 6464 | ROM_REGION( 0xc00000, "ym", 0 ) |
| 6465 | ROM_LOAD( "232-v1.bin", 0x000000, 0x400000, CRC(22a2b5b5) SHA1(ebdbc977332e6d93e266755000b43857e0082965) ) |
| 6466 | ROM_LOAD( "232-v2.bin", 0x400000, 0x400000, CRC(2304e744) SHA1(98d283e2bcc9291a53f52afd35ef76dfb0828432) ) |
| 6467 | ROM_LOAD( "232-v3.bin", 0x800000, 0x400000, CRC(759eb954) SHA1(54e77c4e9e6b89458e59824e478ddc33a9c72655) ) |
| 6468 | |
| 6469 | NO_DELTAT_REGION |
| 6470 | |
| 6471 | ROM_REGION( 0x2800000, "sprites", ROMREGION_DISPOSE ) |
| 6472 | ROM_LOAD16_BYTE( "232-c1.bin", 0x0000000, 0x800000, CRC(5f8bf0a1) SHA1(e8b63bbc814de171fd18c5864a7fc639970c1ecf) ) /* Plane 0,1 */ |
| 6473 | ROM_LOAD16_BYTE( "232-c2.bin", 0x0000001, 0x800000, CRC(e4d45c81) SHA1(fdb2b9326362e27b1c7a5beb977e0bc537488186) ) /* Plane 2,3 */ |
| 6474 | ROM_LOAD16_BYTE( "232-c3.bin", 0x1000000, 0x800000, CRC(581d6618) SHA1(14d3124a08ded59f86932c6b28e1a4e48c564ccd) ) /* Plane 0,1 */ |
| 6475 | ROM_LOAD16_BYTE( "232-c4.bin", 0x1000001, 0x800000, CRC(49bb1e68) SHA1(f769c1bd1b019521111ff3f0d22c63cb1f2640ef) ) /* Plane 2,3 */ |
| 6476 | ROM_LOAD16_BYTE( "232-c5.bin", 0x2000000, 0x400000, CRC(34fc4e51) SHA1(b39c65f27873f71a6f5a5d1d04e5435f874472ee) ) /* Plane 0,1 */ |
| 6477 | ROM_LOAD16_BYTE( "232-c6.bin", 0x2000001, 0x400000, CRC(4ff4d47b) SHA1(4d5689ede24a5fe4330bd85d4d3f4eb2795308bb) ) /* Plane 2,3 */ |
| 6478 | ROM_END |
| 6479 | |
| 6522 | 6480 | ROM_START( kog ) |
| 6523 | 6481 | ROM_REGION( 0x600000, "main", 0 ) |
| 6524 | 6482 | ROM_LOAD16_WORD_SWAP( "5232-p1.bin", 0x000000, 0x200000, CRC(d2413ec6) SHA1(c0bf409d1e714cba5fdc6f79e4c2aec805316634) ) |
| r3426 | r3427 | |
| 6542 | 6500 | ROM_LOAD16_BYTE( "5232-c4.bin", 0x2000001, 0x400000, CRC(d2bd967b) SHA1(c494e0a98e127d37ca360a28accc167fa50fb626) ) /* Plane 2,3 */ |
| 6543 | 6501 | ROM_END |
| 6544 | 6502 | |
| 6503 | /* Shock Troopers - 2nd Squad bootleg */ |
| 6504 | |
| 6505 | ROM_START( lans2004 ) |
| 6506 | ROM_REGION( 0x600000, "main", 0 ) |
| 6507 | ROM_LOAD16_WORD_SWAP( "lnsq-p1.bin", 0x000000, 0x200000, CRC(b40a879a) SHA1(379f3d44b0bae430b32157fd5f4018d77b243c58) ) |
| 6508 | ROM_LOAD16_WORD_SWAP( "lnsq-p21.bin", 0x200000, 0x200000, CRC(ecdb2d42) SHA1(0d930cd369dfbcab7778b144355e5f70874aa324) ) |
| 6509 | ROM_LOAD16_WORD_SWAP( "lnsq-p22.bin", 0x400000, 0x200000, CRC(fac5e2e7) SHA1(5cce7226c137da80c969df00e1cda41ef9c5082c) ) |
| 6510 | |
| 6511 | NEO_SFIX_128K( "lnsq-s1.bin", CRC(39e82897) SHA1(24a8c94dd7e70ecde8f90ea17f75b6b5d065704f) ) |
| 6512 | |
| 6513 | NEO_BIOS_AUDIO_128K( "246-m1.bin", CRC(d0604ad1) SHA1(fae3cd52a177eadd5f5775ace957cc0f8301e65d) ) |
| 6514 | |
| 6515 | ROM_REGION( 0xA00000, "ym", 0 ) |
| 6516 | ROM_LOAD( "lnsq-v1.bin", 0x000000, 0x400000, CRC(4408ebc3) SHA1(e3f4d8a7e243a8cf48e97d91bbfec7829c0d9404) ) |
| 6517 | ROM_LOAD( "lnsq-v2.bin", 0x400000, 0x400000, CRC(3d953975) SHA1(6a4ab02ab3d4416a65343cf16815007cb273f19b) ) |
| 6518 | ROM_LOAD( "lnsq-v3.bin", 0x800000, 0x200000, CRC(437d1d8e) SHA1(95e015c21707b53ed7223eaa19f6cdcfb4d94f0c) ) |
| 6519 | |
| 6520 | NO_DELTAT_REGION |
| 6521 | |
| 6522 | ROM_REGION( 0x3000000, "sprites", ROMREGION_DISPOSE ) |
| 6523 | ROM_LOAD16_BYTE( "lnsq-c1.bin", 0x0000000, 0x800000, CRC(b83de59f) SHA1(8cc060f9a57ab7d4238543b0bce5f5cd1d271d4f) ) /* Plane 0,1 */ |
| 6524 | ROM_LOAD16_BYTE( "lnsq-c2.bin", 0x0000001, 0x800000, CRC(e08969fd) SHA1(c192639d023cdad64a8f53dbcda02aa8cfb4168e) ) /* Plane 2,3 */ |
| 6525 | ROM_LOAD16_BYTE( "lnsq-c3.bin", 0x1000000, 0x800000, CRC(013f2cda) SHA1(6261111ce69dc23fbf97241131e5a6a49355d18c) ) /* Plane 0,1 */ |
| 6526 | ROM_LOAD16_BYTE( "lnsq-c4.bin", 0x1000001, 0x800000, CRC(d8c3a758) SHA1(d19ca3be06f9fb0cb1933b1eb3da318524c3145d) ) /* Plane 2,3 */ |
| 6527 | ROM_LOAD16_BYTE( "lnsq-c5.bin", 0x2000000, 0x800000, CRC(75500b82) SHA1(06d2afe94ea3eb3c4e523f593b8e709dd7c284a3) ) /* Plane 0,1 */ |
| 6528 | ROM_LOAD16_BYTE( "lnsq-c6.bin", 0x2000001, 0x800000, CRC(670ac13b) SHA1(f448a144caae51b69ea19e1f43940db135d1164a) ) /* Plane 2,3 */ |
| 6529 | ROM_END |
| 6530 | |
| 6531 | /* Garou - Mark of the Wolves bootleg */ |
| 6532 | |
| 6533 | ROM_START( garoubl ) /* bootleg of garoup */ |
| 6534 | ROM_REGION( 0x500000, "main", 0 ) |
| 6535 | ROM_LOAD16_WORD_SWAP( "garou-p1.bin", 0x000000, 0x100000, CRC(fd446d59) SHA1(e37484673a935b2af76c84cd26977c751c0f8cff) ) |
| 6536 | ROM_LOAD16_WORD_SWAP( "garou-p2.bin", 0x100000, 0x400000, CRC(3fb10a84) SHA1(4e4a4f4cd7f0ad2520c938c64c8910e6f8805eaf) ) |
| 6537 | |
| 6538 | NEO_SFIX_128K( "garou-s1.bin", CRC(df720e33) SHA1(58d05002d4851682bd626241fa7b70f78f6f3bc8) ) |
| 6539 | |
| 6540 | NEO_BIOS_AUDIO_512K( "garou-m1.bin", CRC(7c51d002) SHA1(01ffba6cbc8da07804f7b21d8c71c39d64a1a4e2) ) |
| 6541 | |
| 6542 | ROM_REGION( 0x1000000, "ym", 0 ) |
| 6543 | ROM_LOAD( "garou-v1.bin", 0x000000, 0x400000, CRC(98d736e4) SHA1(3edda9a1d45b0e38a85156d24fc8ff2f0011239b) ) |
| 6544 | ROM_LOAD( "garou-v2.bin", 0x400000, 0x400000, CRC(eb43c03f) SHA1(83c9c168b154e60a64f1033004b2d33e218bbb8b) ) |
| 6545 | ROM_LOAD( "garou-v3.bin", 0x800000, 0x400000, CRC(10a0f814) SHA1(e86def80d6fb2a38ebc9f3338d22f28c15ce85da) ) |
| 6546 | ROM_LOAD( "garou-v4.bin", 0xc00000, 0x400000, CRC(8918fdd3) SHA1(60ea2104a0f993341124728d8fde0e8e937c55ef) ) |
| 6547 | |
| 6548 | NO_DELTAT_REGION |
| 6549 | |
| 6550 | ROM_REGION( 0x4000000, "sprites", ROMREGION_DISPOSE ) |
| 6551 | ROM_LOAD16_BYTE( "garou-c1.bin", 0x0000000, 0x1000000, CRC(e2ac83fa) SHA1(186f88a85d80efbb0371bd42cca152b6b59817fb) ) /* Plane 0,1 */ |
| 6552 | ROM_LOAD16_BYTE( "garou-c2.bin", 0x0000001, 0x1000000, CRC(7c344b24) SHA1(f8af62a917e0ce2bf8ae4f17736fdd84d55d0788) ) /* Plane 2,3 */ |
| 6553 | ROM_LOAD16_BYTE( "garou-c3.bin", 0x2000000, 0x1000000, CRC(d3aec5a6) SHA1(c1a584909a8a1519f676aa49351742b87c18276d) ) /* Plane 0,1 */ |
| 6554 | ROM_LOAD16_BYTE( "garou-c4.bin", 0x2000001, 0x1000000, CRC(e02a242d) SHA1(8a73826d14880303a7bea2a903e842c733178aca) ) /* Plane 2,3 */ |
| 6555 | ROM_END |
| 6556 | |
| 6557 | /* Metal Slug 3 bootleg */ |
| 6558 | |
| 6559 | ROM_START( mslug3b6 ) /* This "Metal Slug 6" is a hack/bootleg of Metal Slug 3, the real Metal Slug 6 is on Atomiswave Hardware */ |
| 6560 | ROM_REGION( 0x500000, "main", 0 ) |
| 6561 | ROM_LOAD16_WORD_SWAP( "299-p1.bin", 0x000000, 0x200000, CRC(5f2fe228) SHA1(747775a2dfc0da87ad2ddd4f57ce5b2522f23fa5) ) |
| 6562 | ROM_LOAD16_WORD_SWAP( "299-p2.bin", 0x100000, 0x400000, CRC(193fa835) SHA1(fb1f26db7998b0bb6b1c8b92500c1596ec5dfc71) ) |
| 6563 | |
| 6564 | NEO_SFIX_128K( "299-s1.bin", CRC(6f8b9635) SHA1(86b0c8c0ccac913c6192ed6a96c35d4e1a5e8061) ) |
| 6565 | |
| 6566 | NEO_BIOS_AUDIO_512K( "256-m1.bin", CRC(eaeec116) SHA1(54419dbb21edc8c4b37eaac2e7ad9496d2de037a) ) |
| 6567 | |
| 6568 | ROM_REGION( 0x1000000, "ym", 0 ) |
| 6569 | ROM_LOAD( "256-v1.bin", 0x000000, 0x400000, CRC(f2690241) SHA1(fd56babc1934d10e0d27c32f032f9edda7ca8ce9) ) |
| 6570 | ROM_LOAD( "256-v2.bin", 0x400000, 0x400000, CRC(7e2a10bd) SHA1(0d587fb9f64cba0315ce2d8a03e2b8fe34936dff) ) |
| 6571 | ROM_LOAD( "256-v3.bin", 0x800000, 0x400000, CRC(0eaec17c) SHA1(c3ed613cc6993edd6fc0d62a90bcd85de8e21915) ) |
| 6572 | ROM_LOAD( "256-v4.bin", 0xc00000, 0x400000, CRC(9b4b22d4) SHA1(9764fbf8453e52f80aa97a46fb9cf5937ef15a31) ) |
| 6573 | |
| 6574 | NO_DELTAT_REGION |
| 6575 | |
| 6576 | ROM_REGION( 0x4000000, "sprites", ROMREGION_DISPOSE ) |
| 6577 | /* Encrypted */ |
| 6578 | ROM_LOAD16_BYTE( "256-c1.bin", 0x0000000, 0x800000, CRC(5a79c34e) SHA1(b8aa51fa50935cae62ab3d125b723ab888691e60) ) /* Plane 0,1 */ |
| 6579 | ROM_LOAD16_BYTE( "256-c2.bin", 0x0000001, 0x800000, CRC(944c362c) SHA1(3843ab300f956280475469caee70135658f67089) ) /* Plane 2,3 */ |
| 6580 | ROM_LOAD16_BYTE( "256-c3.bin", 0x1000000, 0x800000, CRC(6e69d36f) SHA1(94e8cf42e999114b4bd8b30e0aa2f365578c4c9a) ) /* Plane 0,1 */ |
| 6581 | ROM_LOAD16_BYTE( "256-c4.bin", 0x1000001, 0x800000, CRC(b755b4eb) SHA1(804700a0966a48f130c434ede3f970792ea74fa5) ) /* Plane 2,3 */ |
| 6582 | ROM_LOAD16_BYTE( "256-c5.bin", 0x2000000, 0x800000, CRC(7aacab47) SHA1(312c1c9846175fe1a3cad51d5ae230cf674fc93d) ) /* Plane 0,1 */ |
| 6583 | ROM_LOAD16_BYTE( "256-c6.bin", 0x2000001, 0x800000, CRC(c698fd5d) SHA1(16818883b06849ba2f8d61bdd5e21aaf99bd8408) ) /* Plane 2,3 */ |
| 6584 | ROM_LOAD16_BYTE( "256-c7.bin", 0x3000000, 0x800000, CRC(cfceddd2) SHA1(7def666adf8bd1703f40c61f182fc040b6362dc9) ) /* Plane 0,1 */ |
| 6585 | ROM_LOAD16_BYTE( "256-c8.bin", 0x3000001, 0x800000, CRC(4d9be34c) SHA1(a737bdfa2b815aea7067e7af2636e83a9409c414) ) /* Plane 2,3 */ |
| 6586 | ROM_END |
| 6587 | |
| 6588 | /* Nightmare in the Dark bootleg */ |
| 6589 | |
| 6590 | ROM_START( nitdbl ) /* Bootleg of nitd */ |
| 6591 | ROM_REGION( 0x100000, "main", 0 ) |
| 6592 | ROM_LOAD16_WORD_SWAP( "nitd-p1.bin", 0x000000, 0x080000, CRC(1a05bd1b) SHA1(7bbddef842d50b0778711063af695b168a76ff61) ) |
| 6593 | |
| 6594 | NEO_SFIX_128K( "nitd-s1.bin", CRC(dd3bf47c) SHA1(881271caee6508b8be51bf1b59c8f1e58e08e551) ) |
| 6595 | |
| 6596 | /* Bootleg m1 is 128k, data is identical */ |
| 6597 | NEO_BIOS_AUDIO_512K( "260-m1.bin", CRC(6407c5e5) SHA1(d273e154cc905b63205a17a1a6d419cac3485a92) ) |
| 6598 | |
| 6599 | ROM_REGION( 0x400000, "ym", 0 ) |
| 6600 | ROM_LOAD( "nitd-v1.bin", 0x000000, 0x200000, CRC(79008868) SHA1(90bd6aaefd37341297ab1f4ae7246e52facd87d0) ) |
| 6601 | ROM_LOAD( "nitd-v2.bin", 0x200000, 0x200000, CRC(728558F9) SHA1(309aa7c933c199b2e540a601b363e7af8744fe00) ) |
| 6602 | |
| 6603 | NO_DELTAT_REGION |
| 6604 | |
| 6605 | ROM_REGION( 0x800000, "sprites", ROMREGION_DISPOSE ) |
| 6606 | ROM_LOAD16_BYTE( "nitd-c1.bin", 0x000000, 0x200000, CRC(b4353190) SHA1(90d5352e243a05f5c2be4fa7475667bb56e78016) ) /* Plane 0,1 */ |
| 6607 | ROM_LOAD16_BYTE( "nitd-c2.bin", 0x000001, 0x200000, CRC(6e27511f) SHA1(1fc5cf7786ad0f0bc7b1623acabe605ad04af3c1) ) /* Plane 2,3 */ |
| 6608 | ROM_LOAD16_BYTE( "nitd-c3.bin", 0x400000, 0x200000, CRC(472cf075) SHA1(7cdd25019e37a3d127e68a4179c051881df19afa) ) /* Plane 0,1 */ |
| 6609 | ROM_LOAD16_BYTE( "nitd-c4.bin", 0x400001, 0x200000, CRC(4c3926e6) SHA1(7fc54a9886dbef911f7b226e3cd20081c535e989) ) /* Plane 2,3 */ |
| 6610 | ROM_END |
| 6611 | |
| 6612 | |
| 6545 | 6613 | ROM_START( cthd2003 ) /* Protected hack/bootleg of kof2001 Phenixsoft */ |
| 6546 | 6614 | ROM_REGION( 0x500000, "main", 0 ) |
| 6547 | 6615 | ROM_LOAD16_WORD_SWAP( "5003-p1.bin", 0x000000, 0x100000, CRC(bb7602c1) SHA1(abf329a40f34c88f7325b255e3bc090db1edaca4) ) |
| r3426 | r3427 | |
| 6745 | 6813 | ROM_LOAD16_WORD_SWAP( "5008-p2.rom", 0x100000, 0x400000, CRC(a649ec38) SHA1(5c63ed5e5c848940f587c966da4908d04cf1293c) ) |
| 6746 | 6814 | ROM_LOAD16_WORD_SWAP( "5008-p3.rom", 0x500000, 0x200000, CRC(e629e13c) SHA1(6ebe080ce01c51064cb2f4d89315ba98a45ae727) ) |
| 6747 | 6815 | |
| 6748 | | ROM_REGION( 0x200000, "audio", 0 ) |
| 6816 | ROM_REGION( 0x200000, "audiocrypt", 0 ) |
| 6749 | 6817 | ROM_LOAD( "5008-p1.rom", 0x000000, 0x200000, CRC(bf5469ba) SHA1(f05236d8fffab5836c0d27becdeeb80def32ee49) ) |
| 6750 | 6818 | |
| 6751 | 6819 | NEO_SFIX_128K( "5008-s1.rom", CRC(92410064) SHA1(1fb800b46341858207d3b6961a760289fbec7faa) ) |
| 6752 | 6820 | |
| 6753 | | //NEO_BIOS_AUDIO_128K( "5008-m1.rom", CRC(5a47d9ad) SHA1(0197737934653acc6c97221660d789e9914f3578) ) |
| 6821 | NEO_BIOS_AUDIO_128K( "5008-m1.rom", CRC(5a47d9ad) SHA1(0197737934653acc6c97221660d789e9914f3578) ) |
| 6754 | 6822 | //NEO_BIOS_AUDIO_128K( "5004-m1.bin", CRC(f6fab859) SHA1(0184aa1394b9f9946d610278b53b846020dd88dc) ) |
| 6755 | 6823 | |
| 6756 | 6824 | ROM_REGION( 0x1000000, "ym", 0 ) |
| r3426 | r3427 | |
| 6779 | 6847 | ROM_END |
| 6780 | 6848 | |
| 6781 | 6849 | |
| 6782 | | ROM_START( mslug3b6 ) /* This "Metal Slug 6" is a hack/bootleg of Metal Slug 3, the real Metal Slug 6 is on Atomiswave Hardware */ |
| 6783 | | ROM_REGION( 0x500000, "main", 0 ) |
| 6784 | | ROM_LOAD16_WORD_SWAP( "299-p1.bin", 0x000000, 0x200000, CRC(5f2fe228) SHA1(747775a2dfc0da87ad2ddd4f57ce5b2522f23fa5) ) |
| 6785 | | ROM_LOAD16_WORD_SWAP( "299-p2.bin", 0x100000, 0x400000, CRC(193fa835) SHA1(fb1f26db7998b0bb6b1c8b92500c1596ec5dfc71) ) |
| 6786 | | |
| 6787 | | NEO_SFIX_128K( "299-s1.bin", CRC(6f8b9635) SHA1(86b0c8c0ccac913c6192ed6a96c35d4e1a5e8061) ) |
| 6788 | | |
| 6789 | | NEO_BIOS_AUDIO_512K( "256-m1.bin", CRC(eaeec116) SHA1(54419dbb21edc8c4b37eaac2e7ad9496d2de037a) ) |
| 6790 | | |
| 6791 | | ROM_REGION( 0x1000000, "ym", 0 ) |
| 6792 | | ROM_LOAD( "256-v1.bin", 0x000000, 0x400000, CRC(f2690241) SHA1(fd56babc1934d10e0d27c32f032f9edda7ca8ce9) ) |
| 6793 | | ROM_LOAD( "256-v2.bin", 0x400000, 0x400000, CRC(7e2a10bd) SHA1(0d587fb9f64cba0315ce2d8a03e2b8fe34936dff) ) |
| 6794 | | ROM_LOAD( "256-v3.bin", 0x800000, 0x400000, CRC(0eaec17c) SHA1(c3ed613cc6993edd6fc0d62a90bcd85de8e21915) ) |
| 6795 | | ROM_LOAD( "256-v4.bin", 0xc00000, 0x400000, CRC(9b4b22d4) SHA1(9764fbf8453e52f80aa97a46fb9cf5937ef15a31) ) |
| 6796 | | |
| 6797 | | NO_DELTAT_REGION |
| 6798 | | |
| 6799 | | ROM_REGION( 0x4000000, "sprites", ROMREGION_DISPOSE ) |
| 6800 | | /* Encrypted */ |
| 6801 | | ROM_LOAD16_BYTE( "256-c1.bin", 0x0000000, 0x800000, CRC(5a79c34e) SHA1(b8aa51fa50935cae62ab3d125b723ab888691e60) ) /* Plane 0,1 */ |
| 6802 | | ROM_LOAD16_BYTE( "256-c2.bin", 0x0000001, 0x800000, CRC(944c362c) SHA1(3843ab300f956280475469caee70135658f67089) ) /* Plane 2,3 */ |
| 6803 | | ROM_LOAD16_BYTE( "256-c3.bin", 0x1000000, 0x800000, CRC(6e69d36f) SHA1(94e8cf42e999114b4bd8b30e0aa2f365578c4c9a) ) /* Plane 0,1 */ |
| 6804 | | ROM_LOAD16_BYTE( "256-c4.bin", 0x1000001, 0x800000, CRC(b755b4eb) SHA1(804700a0966a48f130c434ede3f970792ea74fa5) ) /* Plane 2,3 */ |
| 6805 | | ROM_LOAD16_BYTE( "256-c5.bin", 0x2000000, 0x800000, CRC(7aacab47) SHA1(312c1c9846175fe1a3cad51d5ae230cf674fc93d) ) /* Plane 0,1 */ |
| 6806 | | ROM_LOAD16_BYTE( "256-c6.bin", 0x2000001, 0x800000, CRC(c698fd5d) SHA1(16818883b06849ba2f8d61bdd5e21aaf99bd8408) ) /* Plane 2,3 */ |
| 6807 | | ROM_LOAD16_BYTE( "256-c7.bin", 0x3000000, 0x800000, CRC(cfceddd2) SHA1(7def666adf8bd1703f40c61f182fc040b6362dc9) ) /* Plane 0,1 */ |
| 6808 | | ROM_LOAD16_BYTE( "256-c8.bin", 0x3000001, 0x800000, CRC(4d9be34c) SHA1(a737bdfa2b815aea7067e7af2636e83a9409c414) ) /* Plane 2,3 */ |
| 6809 | | ROM_END |
| 6810 | | |
| 6811 | 6850 | ROM_START( diggerma ) /* Unlicensed Prototype, no official game ID # */ |
| 6812 | 6851 | ROM_REGION( 0x100000, "main", 0 ) |
| 6813 | | ROM_LOAD16_WORD_SWAP( "dig_p1.rom", 0x000000, 0x080000, CRC(eda433d7) SHA1(abb14c66777ab0fe4ac76a402e253a49df7178d8) ) |
| 6852 | ROM_LOAD16_WORD_SWAP( "dig-p1.bin", 0x000000, 0x080000, CRC(eda433d7) SHA1(abb14c66777ab0fe4ac76a402e253a49df7178d8) ) |
| 6814 | 6853 | |
| 6815 | | NEO_SFIX_64K( "dig_s1.rom", CRC(75a88c1f) SHA1(295dd9225f1e3d2fc64a65b3c287c7f1765417b1) ) |
| 6854 | NEO_SFIX_64K( "dig-s1.bin", CRC(75a88c1f) SHA1(295dd9225f1e3d2fc64a65b3c287c7f1765417b1) ) |
| 6816 | 6855 | |
| 6817 | | NEO_BIOS_AUDIO_64K( "dig_m1.rom", CRC(833cdf1b) SHA1(3a92c79adbe0d37956ea46a4746d6f1cbf7d2c14) ) |
| 6856 | NEO_BIOS_AUDIO_64K( "dig-m1.bin", CRC(833cdf1b) SHA1(3a92c79adbe0d37956ea46a4746d6f1cbf7d2c14) ) |
| 6818 | 6857 | |
| 6819 | 6858 | ROM_REGION( 0x200000, "ym", 0 ) |
| 6820 | | ROM_LOAD( "dig_v1.rom", 0x000000, 0x080000, CRC(ee15bda4) SHA1(fe2206728e6efd02d6302869a98b196eb19a17df) ) |
| 6859 | ROM_LOAD( "dig-v1.bin", 0x000000, 0x080000, CRC(ee15bda4) SHA1(fe2206728e6efd02d6302869a98b196eb19a17df) ) |
| 6821 | 6860 | |
| 6822 | 6861 | NO_DELTAT_REGION |
| 6823 | 6862 | |
| 6824 | 6863 | ROM_REGION( 0x400000, "sprites", ROMREGION_DISPOSE ) |
| 6825 | | ROM_LOAD16_BYTE( "dig_c1.rom", 0x000000, 0x080000, CRC(3db0a4ed) SHA1(6214faa883d97ea05809b6af7e0c85a236a18a28) ) /* Plane 0,1 */ |
| 6826 | | ROM_LOAD16_BYTE( "dig_c2.rom", 0x000001, 0x080000, CRC(3e632161) SHA1(83711c4286fb1d9f3f91414ac6e5fed36618033e) ) /* Plane 2,3 */ |
| 6864 | ROM_LOAD16_BYTE( "dig-c1.bin", 0x000000, 0x080000, CRC(3db0a4ed) SHA1(6214faa883d97ea05809b6af7e0c85a236a18a28) ) /* Plane 0,1 */ |
| 6865 | ROM_LOAD16_BYTE( "dig-c2.bin", 0x000001, 0x080000, CRC(3e632161) SHA1(83711c4286fb1d9f3f91414ac6e5fed36618033e) ) /* Plane 2,3 */ |
| 6827 | 6866 | ROM_END |
| 6828 | 6867 | |
| 6829 | 6868 | |
| r3426 | r3427 | |
| 6856 | 6895 | ROM_END |
| 6857 | 6896 | |
| 6858 | 6897 | |
| 6859 | | |
| 6860 | 6898 | static DRIVER_INIT( fatfury2 ) |
| 6861 | 6899 | { |
| 6862 | 6900 | DRIVER_INIT_CALL(neogeo); |
| r3426 | r3427 | |
| 6864 | 6902 | fatfury2_install_protection(machine); |
| 6865 | 6903 | } |
| 6866 | 6904 | |
| 6905 | static DRIVER_INIT ( kof98 ) |
| 6906 | { |
| 6907 | kof98_decrypt_68k(machine); |
| 6908 | DRIVER_INIT_CALL(neogeo); |
| 6909 | install_kof98_protection(machine); |
| 6910 | } |
| 6911 | |
| 6867 | 6912 | static DRIVER_INIT( mslugx ) |
| 6868 | 6913 | { |
| 6869 | 6914 | DRIVER_INIT_CALL(neogeo); |
| r3426 | r3427 | |
| 6879 | 6924 | kof99_install_protection(machine); |
| 6880 | 6925 | } |
| 6881 | 6926 | |
| 6927 | static DRIVER_INIT( kof99n ) |
| 6928 | { |
| 6929 | neogeo_fixed_layer_bank_type = 1; |
| 6930 | kof99_neogeo_gfx_decrypt(machine, 0x00); |
| 6931 | DRIVER_INIT_CALL(neogeo); |
| 6932 | } |
| 6933 | |
| 6882 | 6934 | static DRIVER_INIT( garou ) |
| 6883 | 6935 | { |
| 6884 | 6936 | garou_decrypt_68k(machine); |
| r3426 | r3427 | |
| 6913 | 6965 | mslug3_install_protection(machine); |
| 6914 | 6966 | } |
| 6915 | 6967 | |
| 6968 | static DRIVER_INIT( mslug3h ) |
| 6969 | { |
| 6970 | neogeo_fixed_layer_bank_type = 1; |
| 6971 | kof99_neogeo_gfx_decrypt(machine, 0xad); |
| 6972 | DRIVER_INIT_CALL(neogeo); |
| 6973 | } |
| 6974 | |
| 6975 | static DRIVER_INIT( mslug3b6 ) |
| 6976 | { |
| 6977 | neogeo_bootleg_sx_decrypt(machine, 2); |
| 6978 | cmc42_neogeo_gfx_decrypt(machine, 0xad); |
| 6979 | DRIVER_INIT_CALL(neogeo); |
| 6980 | } |
| 6981 | |
| 6916 | 6982 | static DRIVER_INIT( kof2000 ) |
| 6917 | 6983 | { |
| 6918 | 6984 | kof2000_decrypt_68k(machine); |
| 6919 | 6985 | neogeo_fixed_layer_bank_type = 2; |
| 6920 | 6986 | neogeo_cmc50_m1_decrypt(machine); |
| 6921 | 6987 | kof2000_neogeo_gfx_decrypt(machine, 0x00); |
| 6922 | | |
| 6923 | 6988 | DRIVER_INIT_CALL(neogeo); |
| 6924 | 6989 | kof2000_install_protection(machine); |
| 6925 | 6990 | } |
| 6926 | 6991 | |
| 6992 | static DRIVER_INIT( kof2000n ) |
| 6993 | { |
| 6994 | neogeo_fixed_layer_bank_type = 2; |
| 6995 | neogeo_cmc50_m1_decrypt(machine); |
| 6996 | kof2000_neogeo_gfx_decrypt(machine, 0x00); |
| 6997 | DRIVER_INIT_CALL(neogeo); |
| 6998 | } |
| 6999 | |
| 6927 | 7000 | static DRIVER_INIT( kof2001 ) |
| 6928 | 7001 | { |
| 7002 | neogeo_fixed_layer_bank_type = 1; |
| 7003 | kof2000_neogeo_gfx_decrypt(machine, 0x1e); |
| 6929 | 7004 | neogeo_cmc50_m1_decrypt(machine); |
| 6930 | | kof2000_neogeo_gfx_decrypt(machine, 0x1e); |
| 7005 | DRIVER_INIT_CALL(neogeo); |
| 7006 | } |
| 6931 | 7007 | |
| 7008 | static DRIVER_INIT( cthd2003 ) |
| 7009 | { |
| 7010 | decrypt_cthd2003(machine); |
| 7011 | DRIVER_INIT_CALL(neogeo); |
| 7012 | patch_cthd2003(machine); |
| 7013 | } |
| 7014 | |
| 7015 | static DRIVER_INIT ( ct2k3sp ) |
| 7016 | { |
| 7017 | decrypt_ct2k3sp(machine); |
| 6932 | 7018 | DRIVER_INIT_CALL(neogeo); |
| 7019 | patch_cthd2003(machine); |
| 6933 | 7020 | } |
| 6934 | 7021 | |
| 7022 | static DRIVER_INIT ( ct2k3sa ) |
| 7023 | { |
| 7024 | decrypt_ct2k3sa(machine); |
| 7025 | DRIVER_INIT_CALL(neogeo); |
| 7026 | patch_ct2k3sa(machine); |
| 7027 | } |
| 7028 | |
| 6935 | 7029 | static DRIVER_INIT( mslug4 ) |
| 6936 | 7030 | { |
| 6937 | 7031 | neogeo_fixed_layer_bank_type = 1; /* USA violent content screen is wrong -- not a bug, confirmed on real hardware! */ |
| r3426 | r3427 | |
| 6941 | 7035 | neo_pcm2_snk_1999(machine, 8); |
| 6942 | 7036 | } |
| 6943 | 7037 | |
| 6944 | | static DRIVER_INIT( kof99n ) |
| 6945 | | { |
| 6946 | | neogeo_fixed_layer_bank_type = 1; |
| 6947 | | kof99_neogeo_gfx_decrypt(machine, 0x00); |
| 6948 | | DRIVER_INIT_CALL(neogeo); |
| 6949 | | } |
| 6950 | | |
| 6951 | 7038 | static DRIVER_INIT( ganryu ) |
| 6952 | 7039 | { |
| 6953 | 7040 | neogeo_fixed_layer_bank_type = 1; |
| r3426 | r3427 | |
| 6969 | 7056 | DRIVER_INIT_CALL(neogeo); |
| 6970 | 7057 | } |
| 6971 | 7058 | |
| 6972 | | static DRIVER_INIT( mslug3h ) |
| 6973 | | { |
| 6974 | | neogeo_fixed_layer_bank_type = 1; |
| 6975 | | kof99_neogeo_gfx_decrypt(machine, 0xad); |
| 6976 | | DRIVER_INIT_CALL(neogeo); |
| 6977 | | } |
| 6978 | | |
| 6979 | | static DRIVER_INIT( kof2000n ) |
| 6980 | | { |
| 6981 | | neogeo_fixed_layer_bank_type = 2; |
| 6982 | | neogeo_cmc50_m1_decrypt(machine); |
| 6983 | | kof2000_neogeo_gfx_decrypt(machine, 0x00); |
| 6984 | | |
| 6985 | | DRIVER_INIT_CALL(neogeo); |
| 6986 | | } |
| 6987 | | |
| 6988 | 7059 | static DRIVER_INIT( bangbead ) |
| 6989 | 7060 | { |
| 6990 | 7061 | neogeo_fixed_layer_bank_type = 1; |
| r3426 | r3427 | |
| 7013 | 7084 | DRIVER_INIT_CALL(neogeo); |
| 7014 | 7085 | } |
| 7015 | 7086 | |
| 7016 | | static DRIVER_INIT ( kof98 ) |
| 7017 | | { |
| 7018 | | kof98_decrypt_68k(machine); |
| 7019 | | DRIVER_INIT_CALL(neogeo); |
| 7020 | | install_kof98_protection(machine); |
| 7021 | | } |
| 7022 | | |
| 7023 | 7087 | static DRIVER_INIT( rotd ) |
| 7024 | 7088 | { |
| 7025 | 7089 | neo_pcm2_snk_1999(machine, 16); |
| r3426 | r3427 | |
| 7029 | 7093 | DRIVER_INIT_CALL(neogeo); |
| 7030 | 7094 | } |
| 7031 | 7095 | |
| 7032 | | |
| 7033 | 7096 | static DRIVER_INIT( kof2002 ) |
| 7034 | 7097 | { |
| 7035 | 7098 | kof2002_decrypt_68k(machine); |
| r3426 | r3427 | |
| 7065 | 7128 | DRIVER_INIT_CALL(neogeo); |
| 7066 | 7129 | } |
| 7067 | 7130 | |
| 7131 | static DRIVER_INIT( kof10th ) |
| 7132 | { |
| 7133 | decrypt_kof10th(machine); |
| 7134 | DRIVER_INIT_CALL(neogeo); |
| 7135 | install_kof10th_protection(machine); |
| 7136 | } |
| 7137 | |
| 7138 | static DRIVER_INIT( kf10thep ) |
| 7139 | { |
| 7140 | decrypt_kf10thep(machine); |
| 7141 | DRIVER_INIT_CALL(neogeo); |
| 7142 | } |
| 7143 | |
| 7144 | static DRIVER_INIT( kf2k5uni ) |
| 7145 | { |
| 7146 | decrypt_kf2k5uni(machine); |
| 7147 | DRIVER_INIT_CALL(neogeo); |
| 7148 | } |
| 7149 | |
| 7150 | static DRIVER_INIT( kof2k4se ) |
| 7151 | { |
| 7152 | decrypt_kof2k4se_68k(machine); |
| 7153 | DRIVER_INIT_CALL(neogeo); |
| 7154 | } |
| 7155 | |
| 7068 | 7156 | static DRIVER_INIT( matrim ) |
| 7069 | 7157 | { |
| 7070 | 7158 | matrim_decrypt_68k(machine); |
| r3426 | r3427 | |
| 7072 | 7160 | neogeo_fixed_layer_bank_type = 2; |
| 7073 | 7161 | neogeo_cmc50_m1_decrypt(machine); |
| 7074 | 7162 | kof2000_neogeo_gfx_decrypt(machine, 0x6a); |
| 7075 | | |
| 7076 | 7163 | DRIVER_INIT_CALL(neogeo); |
| 7077 | 7164 | } |
| 7078 | 7165 | |
| r3426 | r3427 | |
| 7082 | 7169 | neogeo_fixed_layer_bank_type = 1; |
| 7083 | 7170 | neogeo_cmc50_m1_decrypt(machine); |
| 7084 | 7171 | kof2000_neogeo_gfx_decrypt(machine, 0x2e); |
| 7085 | | |
| 7086 | 7172 | DRIVER_INIT_CALL(neogeo); |
| 7087 | 7173 | } |
| 7088 | 7174 | |
| r3426 | r3427 | |
| 7093 | 7179 | neogeo_fixed_layer_bank_type = 1; |
| 7094 | 7180 | neogeo_cmc50_m1_decrypt(machine); |
| 7095 | 7181 | kof2000_neogeo_gfx_decrypt(machine, 0x19); |
| 7096 | | |
| 7097 | | |
| 7098 | 7182 | DRIVER_INIT_CALL(neogeo); |
| 7099 | 7183 | install_pvc_protection(machine); |
| 7100 | 7184 | } |
| r3426 | r3427 | |
| 7115 | 7199 | svcpcb_gfx_decrypt(machine); |
| 7116 | 7200 | neogeo_cmc50_m1_decrypt(machine); |
| 7117 | 7201 | kof2000_neogeo_gfx_decrypt(machine, 0x19); |
| 7118 | | |
| 7119 | 7202 | neogeo_fixed_layer_bank_type = 2; |
| 7120 | 7203 | svcpcb_s1data_decrypt(machine); |
| 7121 | 7204 | neo_pcm2_swap(machine, 2); |
| r3426 | r3427 | |
| 7127 | 7210 | { |
| 7128 | 7211 | cmc50_neogeo_gfx_decrypt(machine, 0x19); |
| 7129 | 7212 | neo_pcm2_swap(machine, 2); |
| 7130 | | //decrypt_ms5plus_s1(); |
| 7131 | 7213 | neogeo_bootleg_sx_decrypt(machine, 1); |
| 7132 | 7214 | neogeo_fixed_layer_bank_type = 1; |
| 7133 | 7215 | DRIVER_INIT_CALL(neogeo); |
| 7134 | 7216 | install_ms5plus_protection(machine); |
| 7135 | 7217 | } |
| 7136 | 7218 | |
| 7137 | | |
| 7138 | 7219 | static TIMER_CALLBACK( svcpcb_bios_timer_callback ) |
| 7139 | 7220 | { |
| 7140 | 7221 | int harddip3 = input_port_read(machine, "HARDDIP") & 1; |
| r3426 | r3427 | |
| 7147 | 7228 | timer_set(attotime_zero, NULL, 0, svcpcb_bios_timer_callback); |
| 7148 | 7229 | timer_pulse(ATTOTIME_IN_MSEC(1000), NULL, 0, svcpcb_bios_timer_callback); |
| 7149 | 7230 | |
| 7150 | | svcchaos_px_decrypt(machine); |
| 7231 | svc_px_decrypt(machine); |
| 7151 | 7232 | svcpcb_gfx_decrypt(machine); |
| 7152 | 7233 | neogeo_cmc50_m1_decrypt(machine); |
| 7153 | 7234 | kof2000_neogeo_gfx_decrypt(machine, 0x57); |
| 7154 | | |
| 7155 | 7235 | svcpcb_s1data_decrypt(machine); |
| 7156 | 7236 | neo_pcm2_swap(machine, 3); |
| 7157 | 7237 | neogeo_fixed_layer_bank_type = 2; |
| r3426 | r3427 | |
| 7161 | 7241 | |
| 7162 | 7242 | static DRIVER_INIT( svc ) |
| 7163 | 7243 | { |
| 7164 | | svcchaos_px_decrypt(machine); |
| 7244 | svc_px_decrypt(machine); |
| 7165 | 7245 | neo_pcm2_swap(machine, 3); |
| 7166 | 7246 | neogeo_fixed_layer_bank_type = 2; |
| 7167 | 7247 | neogeo_cmc50_m1_decrypt(machine); |
| 7168 | 7248 | kof2000_neogeo_gfx_decrypt(machine, 0x57); |
| 7169 | | |
| 7170 | | |
| 7171 | 7249 | DRIVER_INIT_CALL(neogeo); |
| 7172 | 7250 | install_pvc_protection(machine); |
| 7173 | 7251 | } |
| r3426 | r3427 | |
| 7184 | 7262 | { |
| 7185 | 7263 | svcplus_px_decrypt(machine); |
| 7186 | 7264 | svcboot_cx_decrypt(machine); |
| 7187 | | //svcplus_sx_decrypt(machine); |
| 7188 | 7265 | neogeo_bootleg_sx_decrypt(machine, 1); |
| 7189 | 7266 | svcplus_px_hack(machine); |
| 7190 | 7267 | DRIVER_INIT_CALL(neogeo); |
| r3426 | r3427 | |
| 7201 | 7278 | static DRIVER_INIT( svcsplus ) |
| 7202 | 7279 | { |
| 7203 | 7280 | svcsplus_px_decrypt(machine); |
| 7204 | | //svcsplus_sx_decrypt(machine); |
| 7205 | 7281 | neogeo_bootleg_sx_decrypt(machine, 2); |
| 7206 | 7282 | svcboot_cx_decrypt(machine); |
| 7207 | 7283 | svcsplus_px_hack(machine); |
| r3426 | r3427 | |
| 7216 | 7292 | neogeo_fixed_layer_bank_type = 1; |
| 7217 | 7293 | neogeo_cmc50_m1_decrypt(machine); |
| 7218 | 7294 | kof2000_neogeo_gfx_decrypt(machine, 0x0f); |
| 7219 | | |
| 7220 | 7295 | DRIVER_INIT_CALL(neogeo); |
| 7221 | 7296 | } |
| 7222 | 7297 | |
| 7223 | 7298 | static DRIVER_INIT( samsho5b ) |
| 7224 | 7299 | { |
| 7225 | | samsh5bl_px_decrypt(machine); |
| 7226 | | samsh5bl_vx_decrypt(machine); |
| 7300 | samsho5b_px_decrypt(machine); |
| 7301 | samsho5b_vx_decrypt(machine); |
| 7227 | 7302 | neogeo_bootleg_sx_decrypt(machine, 1); |
| 7228 | 7303 | neogeo_bootleg_cx_decrypt(machine); |
| 7229 | 7304 | DRIVER_INIT_CALL(neogeo); |
| r3426 | r3427 | |
| 7234 | 7309 | kf2k3pcb_decrypt_68k(machine); |
| 7235 | 7310 | kf2k3pcb_gfx_decrypt(machine); |
| 7236 | 7311 | kof2003biosdecode(machine); |
| 7237 | | |
| 7238 | 7312 | neogeo_cmc50_m1_decrypt(machine); |
| 7239 | 7313 | |
| 7240 | 7314 | /* extra little swap on the m1 - this must be performed AFTER the m1 decrypt |
| r3426 | r3427 | |
| 7252 | 7326 | |
| 7253 | 7327 | kof2000_neogeo_gfx_decrypt(machine, 0x9d); |
| 7254 | 7328 | kf2k3pcb_decrypt_s1data(machine); |
| 7255 | | |
| 7256 | 7329 | neo_pcm2_swap(machine, 5); |
| 7257 | 7330 | neogeo_fixed_layer_bank_type = 2; |
| 7258 | 7331 | DRIVER_INIT_CALL(neogeo); |
| r3426 | r3427 | |
| 7260 | 7333 | memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0xc00000, 0xc7ffff, 0, 0, SMH_BANK6 ); // 512k bios |
| 7261 | 7334 | } |
| 7262 | 7335 | |
| 7263 | | |
| 7264 | 7336 | static DRIVER_INIT( kof2003 ) |
| 7265 | 7337 | { |
| 7266 | 7338 | kof2003_decrypt_68k(machine); |
| r3426 | r3427 | |
| 7300 | 7372 | kf2k3pl_install_protection(machine); |
| 7301 | 7373 | } |
| 7302 | 7374 | |
| 7303 | | |
| 7304 | 7375 | static DRIVER_INIT( kof2k3up ) |
| 7305 | 7376 | { |
| 7306 | 7377 | kof2k3up_px_decrypt(machine); |
| r3426 | r3427 | |
| 7310 | 7381 | kof2k3up_install_protection(machine); |
| 7311 | 7382 | } |
| 7312 | 7383 | |
| 7313 | | |
| 7314 | | |
| 7315 | 7384 | static DRIVER_INIT( samsh5sp ) |
| 7316 | 7385 | { |
| 7317 | | samsh5p_decrypt_68k(machine); |
| 7386 | samsh5sp_decrypt_68k(machine); |
| 7318 | 7387 | neo_pcm2_swap(machine, 6); |
| 7319 | 7388 | neogeo_fixed_layer_bank_type = 1; |
| 7320 | 7389 | neogeo_cmc50_m1_decrypt(machine); |
| 7321 | 7390 | kof2000_neogeo_gfx_decrypt(machine, 0x0d); |
| 7322 | | |
| 7323 | | |
| 7324 | 7391 | DRIVER_INIT_CALL(neogeo); |
| 7325 | 7392 | } |
| 7326 | 7393 | |
| 7327 | | |
| 7328 | 7394 | static DRIVER_INIT( jockeygp ) |
| 7329 | 7395 | { |
| 7330 | 7396 | UINT16* extra_ram; |
| r3426 | r3427 | |
| 7363 | 7429 | DRIVER_INIT_CALL(neogeo); |
| 7364 | 7430 | } |
| 7365 | 7431 | |
| 7366 | | |
| 7367 | 7432 | static DRIVER_INIT( kog ) |
| 7368 | 7433 | { |
| 7369 | 7434 | /* overlay cartridge ROM */ |
| r3426 | r3427 | |
| 7375 | 7440 | DRIVER_INIT_CALL(neogeo); |
| 7376 | 7441 | } |
| 7377 | 7442 | |
| 7378 | | |
| 7379 | | static DRIVER_INIT( kof10th ) |
| 7380 | | { |
| 7381 | | decrypt_kof10th(machine); |
| 7382 | | DRIVER_INIT_CALL(neogeo); |
| 7383 | | install_kof10th_protection(machine); |
| 7384 | | } |
| 7385 | | |
| 7386 | | static DRIVER_INIT( kf10thep ) |
| 7387 | | { |
| 7388 | | decrypt_kf10thep(machine); |
| 7389 | | DRIVER_INIT_CALL(neogeo); |
| 7390 | | } |
| 7391 | | |
| 7392 | | |
| 7393 | | static DRIVER_INIT( kf2k5uni ) |
| 7394 | | { |
| 7395 | | decrypt_kf2k5uni(machine); |
| 7396 | | DRIVER_INIT_CALL(neogeo); |
| 7397 | | } |
| 7398 | | |
| 7399 | | static DRIVER_INIT( cthd2003 ) |
| 7400 | | { |
| 7401 | | decrypt_cthd2003(machine); |
| 7402 | | DRIVER_INIT_CALL(neogeo); |
| 7403 | | patch_cthd2003(machine); |
| 7404 | | } |
| 7405 | | |
| 7406 | | static DRIVER_INIT ( ct2k3sp ) |
| 7407 | | { |
| 7408 | | decrypt_ct2k3sp(machine); |
| 7409 | | DRIVER_INIT_CALL(neogeo); |
| 7410 | | patch_cthd2003(machine); |
| 7411 | | } |
| 7412 | | |
| 7413 | | static DRIVER_INIT ( ct2k3sa ) |
| 7414 | | { |
| 7415 | | decrypt_ct2k3sa(machine); |
| 7416 | | DRIVER_INIT_CALL(neogeo); |
| 7417 | | patch_ct2k3sa(machine); |
| 7418 | | } |
| 7419 | | |
| 7420 | | static DRIVER_INIT( kof2k4se ) |
| 7421 | | { |
| 7422 | | decrypt_kof2k4se_68k(machine); |
| 7423 | | DRIVER_INIT_CALL(neogeo); |
| 7424 | | } |
| 7425 | | |
| 7426 | 7443 | static DRIVER_INIT( lans2004 ) |
| 7427 | 7444 | { |
| 7428 | 7445 | lans2004_decrypt_68k(machine); |
| r3426 | r3427 | |
| 7432 | 7449 | DRIVER_INIT_CALL(neogeo); |
| 7433 | 7450 | } |
| 7434 | 7451 | |
| 7435 | | static DRIVER_INIT( mslug3b6 ) |
| 7436 | | { |
| 7437 | | neogeo_bootleg_sx_decrypt(machine, 2); |
| 7438 | | cmc42_neogeo_gfx_decrypt(machine, 0xad); |
| 7439 | | DRIVER_INIT_CALL(neogeo); |
| 7440 | | } |
| 7441 | 7452 | |
| 7442 | 7453 | |
| 7443 | | |
| 7444 | 7454 | /* YEAR NAME PARENT MACHINE INPUT INIT MONITOR */ |
| 7445 | 7455 | GAME( 1990, neogeo, 0, neogeo, neogeo, neogeo, ROT0, "SNK", "Neo-Geo", GAME_IS_BIOS_ROOT ) |
| 7446 | 7456 | |
| r3426 | r3427 | |
| 7580 | 7590 | GAME( 2003, samsho5h, samsho5, neogeo, neogeo, samsho5, ROT0, "Yuki Enterprise / SNK Playmore", "Samurai Shodown V / Samurai Spirits Zero (set 2)", 0 ) |
| 7581 | 7591 | GAME( 2003, samsho5b, samsho5, neogeo, neogeo, samsho5b, ROT0, "bootleg", "Samurai Shodown V / Samurai Spirits Zero (bootleg)", 0 ) // different program scrambling |
| 7582 | 7592 | GAME( 2003, kf2k3pcb, 0, neogeo, neogeo, kf2k3pcb, ROT0, "SNK Playmore", "The King of Fighters 2003 (Japan, JAMMA PCB)", 0 ) // not a clone of neogeo because it's NOT a neogeo cart. |
| 7583 | | GAME( 2003, kof2003, neogeo, neogeo, neogeo, kof2003, ROT0, "SNK Playmore", "The King of Fighters 2003", 0 ) |
| 7593 | GAME( 2003, kof2003, neogeo, neogeo, neogeo, kof2003, ROT0, "SNK Playmore", "The King of Fighters 2003 (set 1)", 0 ) |
| 7584 | 7594 | GAME( 2003, kof2003h, kof2003, neogeo, neogeo, kof2003h, ROT0, "SNK Playmore", "The King of Fighters 2003 (set 2)", 0 ) |
| 7585 | 7595 | GAME( 2003, kf2k3bl, kof2003, neogeo, neogeo, kof2003b, ROT0, "bootleg", "The King of Fighters 2003 (bootleg set 1)", 0 ) // zooming is wrong because its a bootleg of the pcb version on a cart (unless it was a bootleg pcb with the new bios?) |
| 7586 | 7596 | GAME( 2003, kf2k3bla, kof2003, neogeo, neogeo, kof2k3pl, ROT0, "bootleg", "The King of Fighters 2003 (bootleg set 2)", 0 ) // zooming is wrong because its a bootleg of the pcb version on a cart |
src/mame/drivers/segas24.c
| r3426 | r3427 | |
| 341 | 341 | #include "sound/dac.h" |
| 342 | 342 | #include "sound/2151intf.h" |
| 343 | 343 | |
| 344 | #define MASTER_CLOCK XTAL_20MHz |
| 345 | #define VIDEO_CLOCK XTAL_32MHz |
| 346 | |
| 347 | |
| 344 | 348 | UINT16* s24_mainram1; |
| 345 | 349 | |
| 346 | 350 | extern void s24_fd1094_machine_init(void); |
| r3426 | r3427 | |
| 429 | 433 | break; |
| 430 | 434 | case 0x9: |
| 431 | 435 | logerror("Read multiple [%02x] %d..%d side %d track %d\n", data, fdc_sector, fdc_sector+fdc_data-1, data & 8 ? 1 : 0, fdc_phys_track); |
| 432 | | fdc_pt = memory_region(machine, "user2") + track_size*(2*fdc_phys_track+(data & 8 ? 1 : 0)); |
| 436 | fdc_pt = memory_region(machine, "floppy") + track_size*(2*fdc_phys_track+(data & 8 ? 1 : 0)); |
| 433 | 437 | fdc_span = track_size; |
| 434 | 438 | fdc_status = 3; |
| 435 | 439 | fdc_drq = 1; |
| r3426 | r3427 | |
| 437 | 441 | break; |
| 438 | 442 | case 0xb: |
| 439 | 443 | logerror("Write multiple [%02x] %d..%d side %d track %d\n", data, fdc_sector, fdc_sector+fdc_data-1, data & 8 ? 1 : 0, fdc_phys_track); |
| 440 | | fdc_pt = memory_region(machine, "user2") + track_size*(2*fdc_phys_track+(data & 8 ? 1 : 0)); |
| 444 | fdc_pt = memory_region(machine, "floppy") + track_size*(2*fdc_phys_track+(data & 8 ? 1 : 0)); |
| 441 | 445 | fdc_span = track_size; |
| 442 | 446 | fdc_status = 3; |
| 443 | 447 | fdc_drq = 1; |
| r3426 | r3427 | |
| 713 | 717 | |
| 714 | 718 | static void reset_bank(running_machine *machine) |
| 715 | 719 | { |
| 716 | | if (memory_region(machine, "user1")) |
| 720 | if (memory_region(machine, "romboard")) |
| 717 | 721 | { |
| 718 | 722 | memory_set_bank(1, curbank & 15); |
| 719 | 723 | memory_set_bank(2, curbank & 15); |
| r3426 | r3427 | |
| 758 | 762 | |
| 759 | 763 | static const UINT8 mahmajn_mlt[8] = { 5, 1, 6, 2, 3, 7, 4, 0 }; |
| 760 | 764 | static const UINT8 mahmajn2_mlt[8] = { 6, 0, 5, 3, 1, 4, 2, 7 }; |
| 761 | | static const UINT8 gqh_mlt[8] = { 3, 7, 4, 0, 2, 6, 5, 1 }; |
| 765 | static const UINT8 qgh_mlt[8] = { 3, 7, 4, 0, 2, 6, 5, 1 }; |
| 762 | 766 | static const UINT8 bnzabros_mlt[8] = { 2, 4, 0, 5, 7, 3, 1, 6 }; |
| 763 | 767 | static const UINT8 qrouka_mlt[8] = { 1, 6, 4, 7, 0, 5, 3, 2 }; |
| 764 | 768 | static const UINT8 quizmeku_mlt[8] = { 0, 3, 2, 4, 6, 1, 7, 5 }; |
| 765 | | static const UINT8 dcclub_mlt[8] = { 4, 3, 7, 0, 2, 6, 1, 5 }; |
| 769 | static const UINT8 dcclub_mlt[8] = { 4, 7, 3, 0, 2, 6, 5, 1 }; |
| 766 | 770 | |
| 767 | 771 | static UINT8 mlatch; |
| 768 | 772 | static const UINT8 *mlatch_table; |
| r3426 | r3427 | |
| 810 | 814 | static UINT16 irq_timera; |
| 811 | 815 | static UINT8 irq_timerb; |
| 812 | 816 | static UINT8 irq_allow0, irq_allow1; |
| 813 | | static int irq_timer_pend0, irq_timer_pend1, irq_yms; |
| 814 | | static emu_timer *irq_timer; |
| 817 | static int irq_timer_pend0, irq_timer_pend1, irq_yms, irq_vblank, irq_sprite; |
| 818 | static emu_timer *irq_timer, *irq_timer_clear; |
| 815 | 819 | |
| 816 | 820 | static TIMER_CALLBACK( irq_timer_cb ) |
| 817 | 821 | { |
| r3426 | r3427 | |
| 822 | 826 | cpunum_set_input_line(machine, 1, IRQ_TIMER+1, ASSERT_LINE); |
| 823 | 827 | } |
| 824 | 828 | |
| 829 | static TIMER_CALLBACK( irq_timer_clear_cb ) |
| 830 | { |
| 831 | irq_sprite = irq_vblank = 0; |
| 832 | cpunum_set_input_line(machine, 0, IRQ_VBLANK+1, CLEAR_LINE); |
| 833 | cpunum_set_input_line(machine, 0, IRQ_SPRITE+1, CLEAR_LINE); |
| 834 | cpunum_set_input_line(machine, 1, IRQ_VBLANK+1, CLEAR_LINE); |
| 835 | cpunum_set_input_line(machine, 1, IRQ_SPRITE+1, CLEAR_LINE); |
| 836 | } |
| 837 | |
| 825 | 838 | static void irq_init(void) |
| 826 | 839 | { |
| 827 | 840 | irq_timera = 0; |
| r3426 | r3427 | |
| 830 | 843 | irq_allow1 = 0; |
| 831 | 844 | irq_timer_pend0 = 0; |
| 832 | 845 | irq_timer_pend1 = 0; |
| 846 | irq_vblank = 0; |
| 847 | irq_sprite = 0; |
| 833 | 848 | irq_timer = timer_alloc(irq_timer_cb, NULL); |
| 849 | irq_timer_clear = timer_alloc(irq_timer_clear_cb, NULL); |
| 834 | 850 | } |
| 835 | 851 | |
| 836 | 852 | static void irq_timer_reset(void) |
| r3426 | r3427 | |
| 862 | 878 | break; |
| 863 | 879 | case 2: |
| 864 | 880 | irq_allow0 = data; |
| 865 | | cpunum_set_input_line(machine, 0, IRQ_TIMER+1, irq_timer_pend0 && (irq_allow0 & (1 << IRQ_TIMER)) ? ASSERT_LINE : CLEAR_LINE); |
| 881 | irq_timer_pend0 = 0; |
| 882 | cpunum_set_input_line(machine, 0, IRQ_TIMER+1, CLEAR_LINE); |
| 866 | 883 | cpunum_set_input_line(machine, 0, IRQ_YM2151+1, irq_yms && (irq_allow0 & (1 << IRQ_YM2151)) ? ASSERT_LINE : CLEAR_LINE); |
| 884 | cpunum_set_input_line(machine, 0, IRQ_VBLANK+1, irq_vblank && (irq_allow0 & (1 << IRQ_VBLANK)) ? ASSERT_LINE : CLEAR_LINE); |
| 885 | cpunum_set_input_line(machine, 0, IRQ_SPRITE+1, irq_sprite && (irq_allow0 & (1 << IRQ_SPRITE)) ? ASSERT_LINE : CLEAR_LINE); |
| 867 | 886 | break; |
| 868 | 887 | case 3: |
| 869 | 888 | irq_allow1 = data; |
| 870 | | cpunum_set_input_line(machine, 1, IRQ_TIMER+1, irq_timer_pend1 && (irq_allow1 & (1 << IRQ_TIMER)) ? ASSERT_LINE : CLEAR_LINE); |
| 889 | irq_timer_pend1 = 0; |
| 890 | cpunum_set_input_line(machine, 1, IRQ_TIMER+1, CLEAR_LINE); |
| 871 | 891 | cpunum_set_input_line(machine, 1, IRQ_YM2151+1, irq_yms && (irq_allow1 & (1 << IRQ_YM2151)) ? ASSERT_LINE : CLEAR_LINE); |
| 892 | cpunum_set_input_line(machine, 1, IRQ_VBLANK+1, irq_vblank && (irq_allow1 & (1 << IRQ_VBLANK)) ? ASSERT_LINE : CLEAR_LINE); |
| 893 | cpunum_set_input_line(machine, 1, IRQ_SPRITE+1, irq_sprite && (irq_allow1 & (1 << IRQ_SPRITE)) ? ASSERT_LINE : CLEAR_LINE); |
| 872 | 894 | break; |
| 873 | 895 | } |
| 874 | 896 | } |
| 875 | 897 | |
| 876 | | |
| 877 | | static int ggground_kludge; |
| 878 | | /* This IRQ needs to be generated before the others or the GFX |
| 879 | | don't get uploaded correctly and you see nothing */ |
| 880 | | static TIMER_CALLBACK( gground_generate_kludge_irq ) |
| 881 | | { |
| 882 | | cpunum_set_input_line(machine, 1, 5, HOLD_LINE); |
| 883 | | } |
| 884 | | |
| 885 | | |
| 886 | 898 | static READ16_HANDLER(irq_r) |
| 887 | 899 | { |
| 888 | | /* These hacks are for Gain Ground */ |
| 889 | | /* otherwise the interrupt occurs before the correct state has been |
| 890 | | set and the game crashes before booting */ |
| 891 | | if (!strcmp(machine->gamedrv->name,"gground")) |
| 892 | | { |
| 893 | | |
| 894 | | if (activecpu_get_pc()==0x0084aa) |
| 895 | | { |
| 896 | | ggground_kludge = 1; |
| 897 | | return mame_rand(machine); |
| 898 | | |
| 899 | | } |
| 900 | | if (activecpu_get_pc()==0x084ba) |
| 901 | | { |
| 902 | | /* Clear IRQ line so IRQ doesn't happen too early */ |
| 903 | | cpunum_set_input_line(machine, 1, 5, CLEAR_LINE); |
| 904 | | |
| 905 | | /* set a timer to generate an irq at the needed point */ |
| 906 | | if (ggground_kludge == 1) |
| 907 | | { |
| 908 | | timer_set(ATTOTIME_IN_USEC(180000), NULL, 0, gground_generate_kludge_irq); |
| 909 | | ggground_kludge = 0; |
| 910 | | } |
| 900 | extern int activecpu; |
| 901 | switch(offset) { |
| 902 | case 0: { |
| 903 | int pc = activecpu_get_pc(); |
| 904 | static int turns; |
| 905 | if(pc == 0x84a4 || pc == 0x84a6) |
| 906 | return 0; |
| 907 | if(pc == 0x84aa || pc == 0x84ac) { |
| 908 | // limit = 0x1b5f |
| 909 | turns = 0x0100; |
| 911 | 910 | return 1; |
| 912 | 911 | } |
| 913 | | } |
| 914 | | |
| 915 | | if (!strcmp(machine->gamedrv->name,"ggroundj")) |
| 916 | | { |
| 917 | | |
| 918 | | if (activecpu_get_pc()==0x0084ac) |
| 919 | | { |
| 920 | | ggground_kludge = 1; |
| 921 | | return mame_rand(machine); |
| 922 | | |
| 912 | if(pc == 0x84ba || pc == 0x84bc) { |
| 913 | // 26 cycles/read |
| 914 | turns--; |
| 915 | return turns ? 1 : 0x200; |
| 923 | 916 | } |
| 924 | | if (activecpu_get_pc()==0x084bc) |
| 925 | | { |
| 926 | | /* Clear IRQ line so IRQ doesn't happen too early */ |
| 927 | | cpunum_set_input_line(machine, 1, 5, CLEAR_LINE); |
| 928 | | |
| 929 | | /* set a timer to generate an irq at the needed point */ |
| 930 | | if (ggground_kludge == 1) |
| 931 | | { |
| 932 | | timer_set(ATTOTIME_IN_USEC(180000), NULL, 0, gground_generate_kludge_irq); |
| 933 | | ggground_kludge = 0; |
| 934 | | } |
| 935 | | return 1; |
| 936 | | } |
| 917 | // 84c8 |
| 918 | // -> 85ac / 85bc? |
| 919 | break; |
| 937 | 920 | } |
| 938 | | |
| 939 | | switch(offset) { |
| 940 | 921 | case 2: |
| 941 | 922 | irq_timer_pend0 = 0; |
| 942 | 923 | cpunum_set_input_line(machine, 0, IRQ_TIMER+1, CLEAR_LINE); |
| r3426 | r3427 | |
| 951 | 932 | |
| 952 | 933 | static INTERRUPT_GEN(irq_vbl) |
| 953 | 934 | { |
| 954 | | int irq = cpu_getiloops() ? IRQ_SPRITE : IRQ_VBLANK; |
| 955 | | int mask = 1 << irq; |
| 935 | int irq, mask; |
| 956 | 936 | |
| 937 | if(cpu_getiloops()) { |
| 938 | irq = IRQ_SPRITE; |
| 939 | irq_sprite = 1; |
| 940 | } else { |
| 941 | irq = IRQ_VBLANK; |
| 942 | irq_vblank = 1; |
| 943 | } |
| 944 | |
| 945 | timer_adjust_oneshot(irq_timer_clear, ATTOTIME_IN_HZ(VIDEO_CLOCK/2/656.0), 0); |
| 946 | |
| 947 | mask = 1 << irq; |
| 948 | |
| 957 | 949 | if(irq_allow0 & mask) |
| 958 | | cpunum_set_input_line(machine, 0, 1+irq, HOLD_LINE); |
| 950 | cpunum_set_input_line(machine, 0, 1+irq, ASSERT_LINE); |
| 959 | 951 | |
| 960 | 952 | if(irq_allow1 & mask) |
| 961 | | cpunum_set_input_line(machine, 1, 1+irq, HOLD_LINE); |
| 953 | cpunum_set_input_line(machine, 1, 1+irq, ASSERT_LINE); |
| 962 | 954 | |
| 963 | 955 | if(!cpu_getiloops()) { |
| 964 | 956 | // Ensure one index pulse every 20 frames |
| r3426 | r3427 | |
| 1004 | 996 | * |
| 1005 | 997 | *************************************/ |
| 1006 | 998 | |
| 999 | /* |
| 1000 | Both CPUs have the same memory map, except for the first 512K where |
| 1001 | CPU A has ROM and CPU B has work RAM mapped there. |
| 1002 | |
| 1003 | The memory map can be broken down into the following regions: |
| 1004 | |
| 1005 | 000000-07FFFF : BIOS ROM (for CPU A only) |
| 1006 | CPU B work RAM (for CPU B only) |
| 1007 | 080000-0FFFFF : CPU A work RAM |
| 1008 | 100000-1FFFFF : BIOS ROM |
| 1009 | 200000-3FFFFF : Tilemap generator |
| 1010 | 400000-5FFFFF : Mixer chip |
| 1011 | 600000-7FFFFF : Sprite generator |
| 1012 | 800000-9FFFFF : I/O chip |
| 1013 | A00000-AFFFFF : Timer and interrupt controller chip |
| 1014 | B00000-EFFFFF : Extra chip selects for expansion |
| 1015 | F00000-F7FFFF : CPU B work RAM |
| 1016 | F80000-FFFFFF : CPU A work RAM |
| 1017 | |
| 1018 | The BIOS ROM mirror at $100000 is common to both CPUs. |
| 1019 | */ |
| 1020 | |
| 1021 | |
| 1007 | 1022 | static ADDRESS_MAP_START( system24_cpu1_map, ADDRESS_SPACE_PROGRAM, 16 ) |
| 1008 | | AM_RANGE(0x000000, 0x03ffff) AM_MIRROR(0x140000) AM_ROM AM_SHARE(1) |
| 1009 | | AM_RANGE(0x080000, 0x0fffff) AM_RAM AM_SHARE(2) |
| 1010 | | AM_RANGE(0x200000, 0x20ffff) AM_READWRITE(sys24_tile_r, sys24_tile_w) |
| 1011 | | AM_RANGE(0x220000, 0x220001) AM_WRITENOP // Unknown, always 0 |
| 1012 | | AM_RANGE(0x240000, 0x240001) AM_WRITENOP // Horizontal synchronization register |
| 1013 | | AM_RANGE(0x260000, 0x260001) AM_WRITENOP // Vertical synchronization register |
| 1014 | | AM_RANGE(0x270000, 0x270001) AM_WRITENOP // Video synchronization switch |
| 1015 | | AM_RANGE(0x280000, 0x29ffff) AM_READWRITE(sys24_char_r, sys24_char_w) |
| 1016 | | AM_RANGE(0x400000, 0x403fff) AM_RAM_WRITE(system24temp_sys16_paletteram1_w) AM_BASE(&paletteram16) |
| 1017 | | AM_RANGE(0x404000, 0x40401f) AM_READWRITE(sys24_mixer_r, sys24_mixer_w) |
| 1018 | | AM_RANGE(0x600000, 0x63ffff) AM_READWRITE(sys24_sprite_r, sys24_sprite_w) |
| 1019 | | AM_RANGE(0x800000, 0x80007f) AM_READWRITE(system24temp_sys16_io_r, system24temp_sys16_io_w) |
| 1020 | | AM_RANGE(0x800100, 0x800101) AM_WRITE(ym_register_w) |
| 1021 | | AM_RANGE(0x800102, 0x800103) AM_READWRITE(ym_status_r, ym_data_w) |
| 1022 | | AM_RANGE(0xa00000, 0xa00007) AM_READWRITE(irq_r, irq_w) |
| 1023 | | AM_RANGE(0xb00000, 0xb00007) AM_READWRITE(fdc_r, fdc_w) |
| 1024 | | AM_RANGE(0xb00008, 0xb0000f) AM_READWRITE(fdc_status_r, fdc_ctrl_w) |
| 1023 | AM_RANGE(0x000000, 0x03ffff) AM_MIRROR(0x040000) AM_ROM AM_REGION("main", 0) |
| 1024 | AM_RANGE(0x080000, 0x0bffff) AM_MIRROR(0x040000) AM_RAM AM_SHARE(1) |
| 1025 | AM_RANGE(0x100000, 0x13ffff) AM_MIRROR(0x0c0000) AM_ROM AM_REGION("main", 0) |
| 1026 | AM_RANGE(0x200000, 0x20ffff) AM_MIRROR(0x110000) AM_READWRITE(sys24_tile_r, sys24_tile_w) |
| 1027 | AM_RANGE(0x220000, 0x220001) AM_MIRROR(0x11fffe) AM_WRITENOP /* Horizontal split position (ABSEL) */ |
| 1028 | AM_RANGE(0x240000, 0x240001) AM_MIRROR(0x11fffe) AM_WRITENOP /* Scanline trigger position (XHOUT) */ |
| 1029 | AM_RANGE(0x260000, 0x260001) AM_MIRROR(0x10fffe) AM_WRITENOP /* Frame trigger position (XVOUT) */ |
| 1030 | AM_RANGE(0x270000, 0x270001) AM_MIRROR(0x10fffe) AM_WRITENOP /* Synchronization mode */ |
| 1031 | AM_RANGE(0x280000, 0x29ffff) AM_MIRROR(0x160000) AM_READWRITE(sys24_char_r, sys24_char_w) |
| 1032 | AM_RANGE(0x400000, 0x403fff) AM_MIRROR(0x1f8000) AM_READWRITE(system24temp_sys16_paletteram1_r, system24temp_sys16_paletteram1_w) AM_BASE(&paletteram16) |
| 1033 | AM_RANGE(0x404000, 0x40401f) AM_MIRROR(0x1fbfe0) AM_READWRITE(sys24_mixer_r, sys24_mixer_w) |
| 1034 | AM_RANGE(0x600000, 0x63ffff) AM_MIRROR(0x180000) AM_READWRITE(sys24_sprite_r, sys24_sprite_w) |
| 1035 | AM_RANGE(0x800000, 0x80007f) AM_MIRROR(0x1ffe00) AM_READWRITE(system24temp_sys16_io_r, system24temp_sys16_io_w) |
| 1036 | AM_RANGE(0x800100, 0x800101) AM_MIRROR(0x1ffe00) AM_WRITE(ym_register_w) |
| 1037 | AM_RANGE(0x800102, 0x800103) AM_MIRROR(0x1ffe00) AM_READWRITE(ym_status_r, ym_data_w) |
| 1038 | AM_RANGE(0xa00000, 0xa00007) AM_MIRROR(0x0ffff8) AM_READWRITE(irq_r, irq_w) |
| 1039 | AM_RANGE(0xb00000, 0xb00007) AM_MIRROR(0x07fff0) AM_READWRITE(fdc_r, fdc_w) |
| 1040 | AM_RANGE(0xb00008, 0xb0000f) AM_MIRROR(0x07fff0) AM_READWRITE(fdc_status_r, fdc_ctrl_w) |
| 1025 | 1041 | AM_RANGE(0xb80000, 0xbbffff) AM_ROMBANK(1) |
| 1026 | | AM_RANGE(0xbc0000, 0xbc0001) AM_READWRITE(curbank_r, curbank_w) |
| 1027 | | AM_RANGE(0xbc0006, 0xbc0007) AM_READWRITE(mlatch_r, mlatch_w) |
| 1028 | | AM_RANGE(0xc00000, 0xc00011) AM_READWRITE(hotrod3_ctrl_r, hotrod3_ctrl_w) |
| 1042 | AM_RANGE(0xbc0000, 0xbc0001) AM_MIRROR(0x03fff8) AM_READWRITE(curbank_r, curbank_w) |
| 1043 | AM_RANGE(0xbc0006, 0xbc0007) AM_MIRROR(0x03fff8) AM_READWRITE(mlatch_r, mlatch_w) |
| 1044 | AM_RANGE(0xc00000, 0xc00011) AM_MIRROR(0x07ffe0) AM_READWRITE(hotrod3_ctrl_r, hotrod3_ctrl_w) |
| 1029 | 1045 | AM_RANGE(0xc80000, 0xcbffff) AM_ROMBANK(2) |
| 1030 | | AM_RANGE(0xcc0000, 0xcc0001) AM_READWRITE(curbank_r, curbank_w) |
| 1031 | | AM_RANGE(0xcc0006, 0xcc0007) AM_READWRITE(mlatch_r, mlatch_w) |
| 1032 | | AM_RANGE(0xd00300, 0xd00301) AM_WRITE(SMH_NOP) |
| 1033 | | AM_RANGE(0xf00000, 0xf3ffff) AM_RAM AM_SHARE(3) |
| 1034 | | AM_RANGE(0xf40000, 0xf7ffff) AM_ROM AM_SHARE(1) |
| 1035 | | AM_RANGE(0xf80000, 0xffffff) AM_RAM AM_SHARE(2) |
| 1046 | AM_RANGE(0xcc0000, 0xcc0001) AM_MIRROR(0x03fff8) AM_READWRITE(curbank_r, curbank_w) |
| 1047 | AM_RANGE(0xcc0006, 0xcc0007) AM_MIRROR(0x03fff8) AM_READWRITE(mlatch_r, mlatch_w) |
| 1048 | AM_RANGE(0xf00000, 0xf3ffff) AM_MIRROR(0x040000) AM_RAM AM_SHARE(2) |
| 1049 | AM_RANGE(0xf80000, 0xfbffff) AM_MIRROR(0x040000) AM_RAM AM_SHARE(1) |
| 1036 | 1050 | ADDRESS_MAP_END |
| 1037 | 1051 | |
| 1052 | |
| 1053 | |
| 1038 | 1054 | /************************************* |
| 1039 | 1055 | * |
| 1040 | 1056 | * CPU 2 memory handlers |
| r3426 | r3427 | |
| 1042 | 1058 | *************************************/ |
| 1043 | 1059 | |
| 1044 | 1060 | static ADDRESS_MAP_START( system24_cpu2_map, ADDRESS_SPACE_PROGRAM, 16 ) |
| 1045 | | AM_RANGE(0x000000, 0x03ffff) AM_RAM AM_SHARE(3) AM_BASE(&s24_mainram1) // RAM here overrides the ROM mirror |
| 1046 | | AM_RANGE(0x040000, 0x07ffff) AM_ROM AM_SHARE(1) |
| 1047 | | AM_RANGE(0x080000, 0x0fffff) AM_RAM AM_SHARE(2) |
| 1048 | | AM_RANGE(0x100000, 0x13ffff) AM_MIRROR(0x040000) AM_ROM AM_SHARE(1) |
| 1049 | | AM_RANGE(0x200000, 0x20ffff) AM_READWRITE(sys24_tile_r, sys24_tile_w) |
| 1050 | | AM_RANGE(0x220000, 0x220001) AM_WRITENOP // Unknown, always 0 |
| 1051 | | AM_RANGE(0x240000, 0x240001) AM_WRITENOP // Horizontal synchronization register |
| 1052 | | AM_RANGE(0x260000, 0x260001) AM_WRITENOP // Vertical synchronization register |
| 1053 | | AM_RANGE(0x270000, 0x270001) AM_WRITENOP // Video synchronization switch |
| 1054 | | AM_RANGE(0x280000, 0x29ffff) AM_READWRITE(sys24_char_r, sys24_char_w) |
| 1055 | | AM_RANGE(0x400000, 0x403fff) AM_RAM_WRITE(system24temp_sys16_paletteram1_w) |
| 1056 | | AM_RANGE(0x404000, 0x40401f) AM_READWRITE(sys24_mixer_r, sys24_mixer_w) |
| 1057 | | AM_RANGE(0x600000, 0x63ffff) AM_READWRITE(sys24_sprite_r, sys24_sprite_w) |
| 1058 | | AM_RANGE(0x800000, 0x80007f) AM_READWRITE(system24temp_sys16_io_r, system24temp_sys16_io_w) |
| 1059 | | AM_RANGE(0x800100, 0x800101) AM_WRITE(ym_register_w) |
| 1060 | | AM_RANGE(0x800102, 0x800103) AM_READWRITE(ym_status_r, ym_data_w) |
| 1061 | | AM_RANGE(0xa00000, 0xa00007) AM_READWRITE(irq_r, irq_w) |
| 1062 | | AM_RANGE(0xb00000, 0xb00007) AM_READWRITE(fdc_r, fdc_w) |
| 1063 | | AM_RANGE(0xb00008, 0xb0000f) AM_READWRITE(fdc_status_r, fdc_ctrl_w) |
| 1061 | AM_RANGE(0x000000, 0x03ffff) AM_MIRROR(0x040000) AM_RAM AM_SHARE(2) AM_BASE(&s24_mainram1) |
| 1062 | AM_RANGE(0x080000, 0x0bffff) AM_MIRROR(0x040000) AM_RAM AM_SHARE(1) |
| 1063 | AM_RANGE(0x100000, 0x13ffff) AM_MIRROR(0x0c0000) AM_ROM AM_REGION("main", 0) |
| 1064 | AM_RANGE(0x200000, 0x20ffff) AM_MIRROR(0x110000) AM_READWRITE(sys24_tile_r, sys24_tile_w) |
| 1065 | AM_RANGE(0x220000, 0x220001) AM_MIRROR(0x11fffe) AM_WRITENOP /* Horizontal split position (ABSEL) */ |
| 1066 | AM_RANGE(0x240000, 0x240001) AM_MIRROR(0x11fffe) AM_WRITENOP /* Scanline trigger position (XHOUT) */ |
| 1067 | AM_RANGE(0x260000, 0x260001) AM_MIRROR(0x10fffe) AM_WRITENOP /* Frame trigger position (XVOUT) */ |
| 1068 | AM_RANGE(0x270000, 0x270001) AM_MIRROR(0x10fffe) AM_WRITENOP /* Synchronization mode */ |
| 1069 | AM_RANGE(0x280000, 0x29ffff) AM_MIRROR(0x160000) AM_READWRITE(sys24_char_r, sys24_char_w) |
| 1070 | AM_RANGE(0x400000, 0x403fff) AM_MIRROR(0x1f8000) AM_READWRITE(system24temp_sys16_paletteram1_r, system24temp_sys16_paletteram1_w) |
| 1071 | AM_RANGE(0x404000, 0x40401f) AM_MIRROR(0x1fbfe0) AM_READWRITE(sys24_mixer_r, sys24_mixer_w) |
| 1072 | AM_RANGE(0x600000, 0x63ffff) AM_MIRROR(0x180000) AM_READWRITE(sys24_sprite_r, sys24_sprite_w) |
| 1073 | AM_RANGE(0x800000, 0x80007f) AM_MIRROR(0x1ffe00) AM_READWRITE(system24temp_sys16_io_r, system24temp_sys16_io_w) |
| 1074 | AM_RANGE(0x800100, 0x800101) AM_MIRROR(0x1ffe00) AM_WRITE(ym_register_w) |
| 1075 | AM_RANGE(0x800102, 0x800103) AM_MIRROR(0x1ffe00) AM_READWRITE(ym_status_r, ym_data_w) |
| 1076 | AM_RANGE(0xa00000, 0xa00007) AM_MIRROR(0x0ffff8) AM_READWRITE(irq_r, irq_w) |
| 1077 | AM_RANGE(0xb00000, 0xb00007) AM_MIRROR(0x07fff0) AM_READWRITE(fdc_r, fdc_w) |
| 1078 | AM_RANGE(0xb00008, 0xb0000f) AM_MIRROR(0x07fff0) AM_READWRITE(fdc_status_r, fdc_ctrl_w) |
| 1064 | 1079 | AM_RANGE(0xb80000, 0xbbffff) AM_ROMBANK(1) |
| 1065 | | AM_RANGE(0xbc0000, 0xbc0001) AM_READWRITE(curbank_r, curbank_w) |
| 1066 | | AM_RANGE(0xbc0006, 0xbc0007) AM_READWRITE(mlatch_r, mlatch_w) |
| 1067 | | AM_RANGE(0xc00000, 0xc00011) AM_READWRITE(hotrod3_ctrl_r, hotrod3_ctrl_w) |
| 1080 | AM_RANGE(0xbc0000, 0xbc0001) AM_MIRROR(0x03fff8) AM_READWRITE(curbank_r, curbank_w) |
| 1081 | AM_RANGE(0xbc0006, 0xbc0007) AM_MIRROR(0x03fff8) AM_READWRITE(mlatch_r, mlatch_w) |
| 1082 | AM_RANGE(0xc00000, 0xc00011) AM_MIRROR(0x07ffe0) AM_READWRITE(hotrod3_ctrl_r, hotrod3_ctrl_w) |
| 1068 | 1083 | AM_RANGE(0xc80000, 0xcbffff) AM_ROMBANK(2) |
| 1069 | | AM_RANGE(0xcc0000, 0xcc0001) AM_READWRITE(curbank_r, curbank_w) |
| 1070 | | AM_RANGE(0xcc0006, 0xcc0007) AM_READWRITE(mlatch_r, mlatch_w) |
| 1071 | | AM_RANGE(0xd00300, 0xd00301) AM_WRITE(SMH_NOP) |
| 1072 | | AM_RANGE(0xf00000, 0xf3ffff) AM_RAM AM_SHARE(3) |
| 1073 | | AM_RANGE(0xf40000, 0xf7ffff) AM_ROM AM_SHARE(1) |
| 1074 | | AM_RANGE(0xf80000, 0xffffff) AM_RAM AM_SHARE(2) |
| 1084 | AM_RANGE(0xcc0000, 0xcc0001) AM_MIRROR(0x03fff8) AM_READWRITE(curbank_r, curbank_w) |
| 1085 | AM_RANGE(0xcc0006, 0xcc0007) AM_MIRROR(0x03fff8) AM_READWRITE(mlatch_r, mlatch_w) |
| 1086 | AM_RANGE(0xf00000, 0xf3ffff) AM_MIRROR(0x040000) AM_RAM AM_SHARE(2) |
| 1087 | AM_RANGE(0xf80000, 0xfbffff) AM_MIRROR(0x040000) AM_RAM AM_SHARE(1) |
| 1075 | 1088 | ADDRESS_MAP_END |
| 1076 | 1089 | |
| 1077 | 1090 | |
| 1078 | | /************************************* |
| 1079 | | * |
| 1080 | | * Game-specific driver inits |
| 1081 | | * |
| 1082 | | *************************************/ |
| 1083 | 1091 | |
| 1084 | | static DRIVER_INIT(qgh) |
| 1085 | | { |
| 1086 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1087 | | mlatch_table = gqh_mlt; |
| 1088 | | track_size = 0; |
| 1089 | | } |
| 1090 | | |
| 1091 | | static DRIVER_INIT(dcclub) |
| 1092 | | { |
| 1093 | | system24temp_sys16_io_set_callbacks(dcclub_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1094 | | mlatch_table = dcclub_mlt; |
| 1095 | | track_size = 0; |
| 1096 | | } |
| 1097 | | |
| 1098 | | static DRIVER_INIT(qrouka) |
| 1099 | | { |
| 1100 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1101 | | mlatch_table = qrouka_mlt; |
| 1102 | | track_size = 0; |
| 1103 | | } |
| 1104 | | |
| 1105 | | static DRIVER_INIT(quizmeku) |
| 1106 | | { |
| 1107 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1108 | | mlatch_table = quizmeku_mlt; |
| 1109 | | track_size = 0; |
| 1110 | | } |
| 1111 | | |
| 1112 | | static DRIVER_INIT(mahmajn) |
| 1113 | | { |
| 1114 | | |
| 1115 | | system24temp_sys16_io_set_callbacks(mahmajn_io_r, mahmajn_io_w, resetcontrol_w, iod_r, iod_w); |
| 1116 | | mlatch_table = mahmajn_mlt; |
| 1117 | | track_size = 0; |
| 1118 | | cur_input_line = 0; |
| 1119 | | } |
| 1120 | | |
| 1121 | | static DRIVER_INIT(mahmajn2) |
| 1122 | | { |
| 1123 | | |
| 1124 | | system24temp_sys16_io_set_callbacks(mahmajn_io_r, mahmajn_io_w, resetcontrol_w, iod_r, iod_w); |
| 1125 | | mlatch_table = mahmajn2_mlt; |
| 1126 | | track_size = 0; |
| 1127 | | cur_input_line = 0; |
| 1128 | | } |
| 1129 | | |
| 1130 | | static DRIVER_INIT(hotrod) |
| 1131 | | { |
| 1132 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1133 | | mlatch_table = 0; |
| 1134 | | |
| 1135 | | // Sector Size |
| 1136 | | // 1 8192 |
| 1137 | | // 2 1024 |
| 1138 | | // 3 1024 |
| 1139 | | // 4 1024 |
| 1140 | | // 5 512 |
| 1141 | | // 6 256 |
| 1142 | | |
| 1143 | | track_size = 0x2f00; |
| 1144 | | } |
| 1145 | | |
| 1146 | | static DRIVER_INIT(bnzabros) |
| 1147 | | { |
| 1148 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1149 | | mlatch_table = bnzabros_mlt; |
| 1150 | | |
| 1151 | | // Sector Size |
| 1152 | | // 1 2048 |
| 1153 | | // 2 2048 |
| 1154 | | // 3 2048 |
| 1155 | | // 4 2048 |
| 1156 | | // 5 2048 |
| 1157 | | // 6 1024 |
| 1158 | | // 7 256 |
| 1159 | | |
| 1160 | | track_size = 0x2d00; |
| 1161 | | } |
| 1162 | | |
| 1163 | | static DRIVER_INIT(sspirits) |
| 1164 | | { |
| 1165 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1166 | | mlatch_table = 0; |
| 1167 | | track_size = 0x2d00; |
| 1168 | | s24_fd1094_driver_init(machine); |
| 1169 | | |
| 1170 | | } |
| 1171 | | |
| 1172 | | static DRIVER_INIT(sspiritj) |
| 1173 | | { |
| 1174 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1175 | | mlatch_table = 0; |
| 1176 | | track_size = 0x2f00; |
| 1177 | | s24_fd1094_driver_init(machine); |
| 1178 | | |
| 1179 | | } |
| 1180 | | |
| 1181 | | static DRIVER_INIT(dcclubfd) |
| 1182 | | { |
| 1183 | | system24temp_sys16_io_set_callbacks(dcclub_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1184 | | mlatch_table = dcclub_mlt; |
| 1185 | | track_size = 0x2d00; |
| 1186 | | s24_fd1094_driver_init(machine); |
| 1187 | | |
| 1188 | | } |
| 1189 | | |
| 1190 | | |
| 1191 | | static DRIVER_INIT(sgmast) |
| 1192 | | { |
| 1193 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1194 | | mlatch_table = 0; |
| 1195 | | track_size = 0x2d00; |
| 1196 | | s24_fd1094_driver_init(machine); |
| 1197 | | |
| 1198 | | } |
| 1199 | | |
| 1200 | | static DRIVER_INIT(qsww) |
| 1201 | | { |
| 1202 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1203 | | mlatch_table = 0; |
| 1204 | | track_size = 0x2d00; |
| 1205 | | s24_fd1094_driver_init(machine); |
| 1206 | | } |
| 1207 | | |
| 1208 | | static DRIVER_INIT(gground) |
| 1209 | | { |
| 1210 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1211 | | mlatch_table = 0; |
| 1212 | | track_size = 0x2d00; |
| 1213 | | s24_fd1094_driver_init(machine); |
| 1214 | | } |
| 1215 | | |
| 1216 | | static DRIVER_INIT(crkdown) |
| 1217 | | { |
| 1218 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1219 | | mlatch_table = 0; |
| 1220 | | track_size = 0x2d00; |
| 1221 | | s24_fd1094_driver_init(machine); |
| 1222 | | } |
| 1223 | | |
| 1224 | | static DRIVER_INIT(roughrac) |
| 1225 | | { |
| 1226 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1227 | | mlatch_table = 0; |
| 1228 | | track_size = 0x2d00; |
| 1229 | | s24_fd1094_driver_init(machine); |
| 1230 | | } |
| 1231 | | |
| 1232 | 1092 | /************************************* |
| 1233 | 1093 | * |
| 1234 | 1094 | * Generic driver initialization |
| r3426 | r3427 | |
| 1240 | 1100 | if(!track_size || !file) |
| 1241 | 1101 | return; |
| 1242 | 1102 | if(read_or_write) |
| 1243 | | mame_fwrite(file, memory_region(machine, "user2"), 2*track_size); |
| 1103 | mame_fwrite(file, memory_region(machine, "floppy"), 2*track_size); |
| 1244 | 1104 | else |
| 1245 | | mame_fread(file, memory_region(machine, "user2"), 2*track_size); |
| 1105 | mame_fread(file, memory_region(machine, "floppy"), 2*track_size); |
| 1246 | 1106 | } |
| 1247 | 1107 | |
| 1248 | 1108 | static MACHINE_START( system24 ) |
| 1249 | 1109 | { |
| 1250 | | UINT8 *usr1 = memory_region(machine, "user1"); |
| 1110 | UINT8 *usr1 = memory_region(machine, "romboard"); |
| 1251 | 1111 | if (usr1) |
| 1252 | 1112 | { |
| 1253 | 1113 | memory_configure_bank(1, 0, 16, usr1, 0x40000); |
| r3426 | r3427 | |
| 1255 | 1115 | } |
| 1256 | 1116 | } |
| 1257 | 1117 | |
| 1258 | | static MACHINE_RESET(system24) |
| 1118 | static MACHINE_RESET( system24 ) |
| 1259 | 1119 | { |
| 1260 | 1120 | cpunum_set_input_line(machine, 1, INPUT_LINE_HALT, ASSERT_LINE); |
| 1261 | 1121 | prev_resetcontrol = resetcontrol = 0x06; |
| r3426 | r3427 | |
| 1748 | 1608 | INPUT_PORTS_END |
| 1749 | 1609 | |
| 1750 | 1610 | static INPUT_PORTS_START( qrouka ) |
| 1751 | | PORT_INCLUDE( quizmeku ) |
| 1611 | PORT_INCLUDE( system24_P1_P2 ) |
| 1752 | 1612 | |
| 1753 | | PORT_MODIFY("SERVICE") |
| 1754 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN4 ) |
| 1755 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN3 ) |
| 1756 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 1757 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 1613 | PORT_MODIFY("P1") |
| 1614 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START3 ) |
| 1615 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1616 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(3) |
| 1758 | 1617 | |
| 1618 | PORT_MODIFY("P2") |
| 1619 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START4 ) |
| 1620 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1621 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(4) |
| 1622 | |
| 1623 | PORT_START("P3") |
| 1624 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(4) |
| 1625 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(4) |
| 1626 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(4) |
| 1627 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(4) |
| 1628 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(3) |
| 1629 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(3) |
| 1630 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(3) |
| 1631 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(3) |
| 1632 | |
| 1633 | PORT_START("SERVICE") |
| 1634 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_CONDITION("DSW",0x08,PORTCOND_EQUALS,0x00) |
| 1635 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_CONDITION("DSW",0x08,PORTCOND_EQUALS,0x00) |
| 1636 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) |
| 1637 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 1638 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 ) |
| 1639 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) |
| 1640 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_CONDITION("DSW",0x08,PORTCOND_EQUALS,0x00) |
| 1641 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_CONDITION("DSW",0x08,PORTCOND_EQUALS,0x00) |
| 1642 | /* alt coin mode */ |
| 1643 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_CONDITION("DSW",0x08,PORTCOND_EQUALS,0x08) |
| 1644 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_CONDITION("DSW",0x08,PORTCOND_EQUALS,0x08) |
| 1645 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DSW",0x08,PORTCOND_EQUALS,0x08) |
| 1646 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DSW",0x08,PORTCOND_EQUALS,0x08) |
| 1647 | |
| 1648 | |
| 1649 | PORT_INCLUDE( system24_DSW ) |
| 1650 | |
| 1759 | 1651 | PORT_MODIFY("DSW") |
| 1652 | PORT_DIPNAME( 0x01, 0x00, "Play Mode" ) PORT_DIPLOCATION("SWB:1") |
| 1653 | PORT_DIPSETTING( 0x01, "2 Player" ) |
| 1654 | PORT_DIPSETTING( 0x00, "4 Player" ) |
| 1655 | PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SWB:2") |
| 1656 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 1657 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1760 | 1658 | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SWB:3") |
| 1761 | 1659 | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
| 1762 | 1660 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r3426 | r3427 | |
| 1768 | 1666 | PORT_DIPSETTING( 0x00, "3" ) |
| 1769 | 1667 | PORT_DIPSETTING( 0x30, "4" ) |
| 1770 | 1668 | PORT_DIPSETTING( 0x20, "5" ) |
| 1669 | PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SWB:7,8") |
| 1670 | PORT_DIPSETTING( 0x80, DEF_STR( Easy ) ) |
| 1671 | PORT_DIPSETTING( 0xc0, DEF_STR( Normal ) ) |
| 1672 | PORT_DIPSETTING( 0x40, DEF_STR( Hard ) ) |
| 1673 | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 1771 | 1674 | INPUT_PORTS_END |
| 1772 | 1675 | |
| 1773 | 1676 | static INPUT_PORTS_START( mahmajn ) |
| r3426 | r3427 | |
| 1890 | 1793 | irq_ym |
| 1891 | 1794 | }; |
| 1892 | 1795 | |
| 1796 | |
| 1797 | |
| 1893 | 1798 | /************************************* |
| 1894 | 1799 | * |
| 1895 | 1800 | * Generic machine drivers |
| r3426 | r3427 | |
| 1897 | 1802 | *************************************/ |
| 1898 | 1803 | |
| 1899 | 1804 | static MACHINE_DRIVER_START( system24 ) |
| 1900 | | MDRV_CPU_ADD("main", M68000, 10000000) |
| 1805 | MDRV_CPU_ADD("main", M68000, MASTER_CLOCK/2) |
| 1901 | 1806 | MDRV_CPU_PROGRAM_MAP(system24_cpu1_map, 0) |
| 1902 | 1807 | MDRV_CPU_VBLANK_INT_HACK(irq_vbl, 2) |
| 1903 | 1808 | |
| 1904 | | MDRV_CPU_ADD("sub", M68000, 10000000) |
| 1809 | MDRV_CPU_ADD("sub", M68000, MASTER_CLOCK/2) |
| 1905 | 1810 | MDRV_CPU_PROGRAM_MAP(system24_cpu2_map, 0) |
| 1906 | 1811 | |
| 1907 | | MDRV_INTERLEAVE(4) |
| 1812 | MDRV_INTERLEAVE(100) |
| 1908 | 1813 | |
| 1909 | 1814 | MDRV_MACHINE_START(system24) |
| 1910 | 1815 | MDRV_MACHINE_RESET(system24) |
| r3426 | r3427 | |
| 1913 | 1818 | MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK) |
| 1914 | 1819 | |
| 1915 | 1820 | MDRV_SCREEN_ADD("main", RASTER) |
| 1916 | | MDRV_SCREEN_REFRESH_RATE(58) |
| 1917 | | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(100)) |
| 1821 | MDRV_SCREEN_RAW_PARAMS(VIDEO_CLOCK/2, 656, 0/*+69*/, 496/*+69*/, 424, 0/*+25*/, 384/*+25*/) |
| 1918 | 1822 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 1919 | | MDRV_SCREEN_SIZE(62*8, 48*8) |
| 1920 | | MDRV_SCREEN_VISIBLE_AREA(0*8, 62*8-1, 0*8, 48*8-1) |
| 1921 | 1823 | |
| 1922 | 1824 | MDRV_PALETTE_LENGTH(8192*2) |
| 1923 | 1825 | |
| r3426 | r3427 | |
| 1936 | 1838 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "right", 0.50) |
| 1937 | 1839 | MACHINE_DRIVER_END |
| 1938 | 1840 | |
| 1841 | |
| 1842 | |
| 1939 | 1843 | /************************************* |
| 1940 | 1844 | * |
| 1941 | 1845 | * ROM definition(s) |
| r3426 | r3427 | |
| 1947 | 1851 | ROM_LOAD16_BYTE( "epr-11339.ic2", 0x000000, 0x20000, CRC(75130e73) SHA1(e079739f4a3da3807aac570442c5afef1a7d7b0e) ) |
| 1948 | 1852 | ROM_LOAD16_BYTE( "epr-11338.ic1", 0x000001, 0x20000, CRC(7d4a7ff3) SHA1(3d3af04d990d232ba0a8fe155de59bc632a0a461) ) |
| 1949 | 1853 | |
| 1950 | | ROM_REGION( 0x1d6000, "user2", 0) |
| 1854 | ROM_REGION( 0x1d6000, "floppy", 0) |
| 1951 | 1855 | ROM_LOAD( "ds3-5000-01d_3p_turbo.img", 0x000000, 0x1d6000, CRC(627e8053) SHA1(d1a95f99078f5a29cccacfb1b30c3c9ead7b605c) ) |
| 1952 | 1856 | ROM_END |
| 1953 | 1857 | |
| r3426 | r3427 | |
| 1956 | 1860 | ROM_LOAD16_BYTE( "epr-11339.ic2", 0x000000, 0x20000, CRC(75130e73) SHA1(e079739f4a3da3807aac570442c5afef1a7d7b0e) ) |
| 1957 | 1861 | ROM_LOAD16_BYTE( "epr-11338.ic1", 0x000001, 0x20000, CRC(7d4a7ff3) SHA1(3d3af04d990d232ba0a8fe155de59bc632a0a461) ) |
| 1958 | 1862 | |
| 1959 | | ROM_REGION( 0x1d6000, "user2", 0) |
| 1863 | ROM_REGION( 0x1d6000, "floppy", 0) |
| 1960 | 1864 | ROM_LOAD( "ds3-5000-01d.img", 0x000000, 0x1d6000, CRC(abf67b02) SHA1(f397435eaad691ff5a38d6d1d27840ed95a62df3) ) // World? 3 Player TURBO |
| 1961 | 1865 | ROM_END |
| 1962 | 1866 | |
| r3426 | r3427 | |
| 1965 | 1869 | ROM_LOAD16_BYTE( "epr-11339.ic2", 0x000000, 0x20000, CRC(75130e73) SHA1(e079739f4a3da3807aac570442c5afef1a7d7b0e) ) |
| 1966 | 1870 | ROM_LOAD16_BYTE( "epr-11338.ic1", 0x000001, 0x20000, CRC(7d4a7ff3) SHA1(3d3af04d990d232ba0a8fe155de59bc632a0a461) ) |
| 1967 | 1871 | |
| 1968 | | ROM_REGION( 0x1d6000, "user2", 0) |
| 1872 | ROM_REGION( 0x1d6000, "floppy", 0) |
| 1969 | 1873 | ROM_LOAD( "ds3-5000-01a-rev-b.img", 0x000000, 0x1d6000, CRC(a39a0c2d) SHA1(ea8104c2266c48f480837aa7679c0a6f0c5e5452) ) // Japanese 4 Player |
| 1970 | 1874 | ROM_END |
| 1971 | 1875 | |
| r3426 | r3427 | |
| 1974 | 1878 | ROM_LOAD16_BYTE( "16900b", 0x000000, 0x20000, CRC(20d7b7d1) SHA1(345b228c27e5f2fef9a2b8b5f619c59450a070f8) ) |
| 1975 | 1879 | ROM_LOAD16_BYTE( "16899b", 0x000001, 0x20000, CRC(397b3ba9) SHA1(1773212cd87dcff840f3953ec368be7e2394faf0) ) |
| 1976 | 1880 | |
| 1977 | | ROM_REGION16_BE( 0x400000, "user1", 0) |
| 1881 | ROM_REGION16_BE( 0x400000, "romboard", 0) |
| 1978 | 1882 | ROM_LOAD16_BYTE( "16902a", 0x000000, 0x80000, CRC(d35b7706) SHA1(341bca0af6b6d3f326328a88cdc69c7897b83a0d) ) |
| 1979 | 1883 | ROM_LOAD16_BYTE( "16901a", 0x000001, 0x80000, CRC(ab4bcb33) SHA1(8acd73096eb485c6dc83da6adfcc47d5d0f5b7f3) ) |
| 1980 | 1884 | ROM_LOAD16_BYTE( "16904", 0x100000, 0x80000, CRC(10987c88) SHA1(66f893690565aed613427421958ebe225a20ad0f) ) |
| r3426 | r3427 | |
| 1990 | 1894 | ROM_LOAD16_BYTE( "14485", 0x000000, 0x20000, CRC(fc0085f9) SHA1(0250d1e17e19b541b85198ec4207e55bfbd5c32e) ) |
| 1991 | 1895 | ROM_LOAD16_BYTE( "14484", 0x000001, 0x20000, CRC(f51c641c) SHA1(3f2fd0be7d58c75e88565393da5e810655413b53) ) |
| 1992 | 1896 | |
| 1993 | | ROM_REGION16_BE( 0x400000, "user1", 0) |
| 1897 | ROM_REGION16_BE( 0x400000, "romboard", 0) |
| 1994 | 1898 | ROM_LOAD16_BYTE( "14482", 0x000000, 0x80000, CRC(7a13dd97) SHA1(bfe9950d2cd41f3f866520923c1ed7b8da1990ec) ) |
| 1995 | 1899 | ROM_LOAD16_BYTE( "14483", 0x100000, 0x80000, CRC(f3eb51a0) SHA1(6904830ff5e7aa5f016e115572fb6da678896ede) ) |
| 1996 | 1900 | ROM_END |
| r3426 | r3427 | |
| 2000 | 1904 | ROM_LOAD16_BYTE( "epr14813.bin", 0x000000, 0x20000, CRC(ea38cf4b) SHA1(118ab2e0ae20a4db5e619945dfbb3f200de3979c) ) |
| 2001 | 1905 | ROM_LOAD16_BYTE( "epr14812.bin", 0x000001, 0x20000, CRC(5a3cb4a7) SHA1(c0f21282140e8e6e927664f5f2b90525ae0207e9) ) |
| 2002 | 1906 | |
| 2003 | | ROM_REGION16_BE( 0x400000, "user1", 0) |
| 1907 | ROM_REGION16_BE( 0x400000, "romboard", 0) |
| 2004 | 1908 | ROM_LOAD16_BYTE( "mpr14820.bin", 0x000000, 0x80000, CRC(8d2a03d3) SHA1(b3339bcd101bcfe042e2a1cfdc8baef0a86624df) ) |
| 2005 | 1909 | ROM_LOAD16_BYTE( "mpr14819.bin", 0x000001, 0x80000, CRC(e84c4827) SHA1(54741295e1bdca7d0c78eb795a68b92212d43b2e) ) |
| 2006 | 1910 | ROM_LOAD16_BYTE( "mpr14822.bin", 0x100000, 0x80000, CRC(7c3dcc51) SHA1(a199c2c71cda44a2c8755074c1007d83c8d45d2d) ) |
| r3426 | r3427 | |
| 2016 | 1920 | ROM_LOAD16_BYTE( "epr16799.bin", 0x000000, 0x20000, CRC(3a34cf75) SHA1(d22bf6334668af29167cf4244d18f9cd2e7ff7d6) ) |
| 2017 | 1921 | ROM_LOAD16_BYTE( "epr16798.bin", 0x000001, 0x20000, CRC(662923fa) SHA1(dcd3964d899d3f34dab22ffcd1a5af895804fae1) ) |
| 2018 | 1922 | |
| 2019 | | ROM_REGION16_BE( 0x400000, "user1", 0) |
| 1923 | ROM_REGION16_BE( 0x400000, "romboard", 0) |
| 2020 | 1924 | ROM_LOAD16_BYTE( "mpr16801.bin", 0x000000, 0x80000, CRC(74855a17) SHA1(d2d8e7da7b261e7cb64605284d2c78fbd1465b69) ) |
| 2021 | 1925 | ROM_LOAD16_BYTE( "mpr16800.bin", 0x000001, 0x80000, CRC(6dbc1e02) SHA1(cce5734243ff171759cecb5c05c12dc743a25c1d) ) |
| 2022 | 1926 | ROM_LOAD16_BYTE( "mpr16803.bin", 0x100000, 0x80000, CRC(9b658dd6) SHA1(eaaae289a3555aa6a92f57eea964dbbf48c5c2a4) ) |
| r3426 | r3427 | |
| 2032 | 1936 | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2033 | 1937 | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2034 | 1938 | |
| 2035 | | ROM_REGION16_BE( 0x400000, "user1", 0) |
| 1939 | ROM_REGION16_BE( 0x400000, "romboard", 0) |
| 2036 | 1940 | ROM_LOAD16_BYTE( "mpr-13188-h.2", 0x000000, 0x80000, CRC(d3802294) SHA1(7608e71e8ef398ac24dbf851994253bca5ace625) ) |
| 2037 | 1941 | ROM_LOAD16_BYTE( "mpr-13187-h.1", 0x000001, 0x80000, CRC(e3d8c5f7) SHA1(5b1e8646debee2f2ef272ddd3320b0a17192fbbe) ) |
| 2038 | 1942 | ROM_LOAD16_BYTE( "mpr-13190.4", 0x100000, 0x40000, CRC(0b4df388) SHA1(340478bba82069ab745d6d8703e6801411fd2fc4) ) |
| r3426 | r3427 | |
| 2040 | 1944 | ROM_LOAD16_BYTE( "mpr-13189.3", 0x100001, 0x40000, CRC(5ea5a2f3) SHA1(514b5446303c50aeb1d6d10d0a3f210da2577e16) ) |
| 2041 | 1945 | ROM_RELOAD ( 0x180001, 0x40000) |
| 2042 | 1946 | |
| 2043 | | ROM_REGION( 0x1c2000, "user2", 0) |
| 1947 | ROM_REGION( 0x1c2000, "floppy", 0) |
| 2044 | 1948 | ROM_LOAD( "ds3-5000-07d.img", 0x000000, 0x1c2000, CRC(ea7a3302) SHA1(5f92efb2e1135c1f3eeca38ba5789739a22dbd11) ) /* Region letter needs to be verfied */ |
| 2045 | 1949 | ROM_END |
| 2046 | 1950 | |
| r3426 | r3427 | |
| 2049 | 1953 | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2050 | 1954 | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2051 | 1955 | |
| 2052 | | ROM_REGION16_BE( 0x400000, "user1", 0) |
| 1956 | ROM_REGION16_BE( 0x400000, "romboard", 0) |
| 2053 | 1957 | ROM_LOAD16_BYTE( "mpr-13188-h.2", 0x000000, 0x80000, CRC(d3802294) SHA1(7608e71e8ef398ac24dbf851994253bca5ace625) ) |
| 2054 | 1958 | ROM_LOAD16_BYTE( "mpr-13187-h.1", 0x000001, 0x80000, CRC(e3d8c5f7) SHA1(5b1e8646debee2f2ef272ddd3320b0a17192fbbe) ) |
| 2055 | 1959 | ROM_LOAD16_BYTE( "mpr-13190.4", 0x100000, 0x40000, CRC(0b4df388) SHA1(340478bba82069ab745d6d8703e6801411fd2fc4) ) |
| r3426 | r3427 | |
| 2057 | 1961 | ROM_LOAD16_BYTE( "mpr-13189.3", 0x100001, 0x40000, CRC(5ea5a2f3) SHA1(514b5446303c50aeb1d6d10d0a3f210da2577e16) ) |
| 2058 | 1962 | ROM_RELOAD ( 0x180001, 0x40000) |
| 2059 | 1963 | |
| 2060 | | ROM_REGION( 0x1c2000, "user2", 0) |
| 1964 | ROM_REGION( 0x1c2000, "floppy", 0) |
| 2061 | 1965 | ROM_LOAD( "ds3-5000-07b.img", 0x000000, 0x1c2000, CRC(efa7f2a7) SHA1(eb905bff88fa40324fb92b91ac8a5878648c26e5) ) |
| 2062 | 1966 | ROM_END |
| 2063 | 1967 | |
| r3426 | r3427 | |
| 2066 | 1970 | ROM_LOAD16_BYTE( "epr15343.ic2", 0x000000, 0x20000, CRC(c72399a7) SHA1(bfbf0079ea63f89bca4ce9081aed5d5c1d9d169a) ) |
| 2067 | 1971 | ROM_LOAD16_BYTE( "epr15342.ic1", 0x000001, 0x20000, CRC(0968ac84) SHA1(4e1170ac123adaec32819754b5075531ff1925fe) ) |
| 2068 | 1972 | |
| 2069 | | ROM_REGION16_BE( 0x400000, "user1", 0) |
| 1973 | ROM_REGION16_BE( 0x400000, "romboard", 0) |
| 2070 | 1974 | ROM_LOAD16_BYTE( "epr15345.ic5", 0x000000, 0x80000, CRC(88030b5d) SHA1(d2feeedb9a64c3dc8dd25716209f945d12fa9b53) ) |
| 2071 | 1975 | ROM_LOAD16_BYTE( "epr15344.ic4", 0x000001, 0x80000, CRC(dd11b382) SHA1(2b0f49fb307a9aba0f295de64782ee095c557170) ) |
| 2072 | 1976 | ROM_LOAD16_BYTE( "mpr15347.ic7", 0x100000, 0x80000, CRC(0472677b) SHA1(93ae57a2817b6b54c99814fca28ef51f7ff5e559) ) |
| r3426 | r3427 | |
| 2080 | 1984 | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2081 | 1985 | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2082 | 1986 | |
| 2083 | | ROM_REGION( 0x1c2000, "user2", 0) |
| 1987 | ROM_REGION( 0x1c2000, "floppy", 0) |
| 2084 | 1988 | ROM_LOAD( "ds3-5000-02-.img", 0x000000, 0x1c2000, CRC(cefbda69) SHA1(5b47ae0f1584ce1eb697246273ba761bd9e981c1) ) |
| 2085 | 1989 | ROM_END |
| 2086 | 1990 | |
| r3426 | r3427 | |
| 2089 | 1993 | ROM_LOAD16_BYTE( "epr-11339.ic2", 0x000000, 0x20000, CRC(75130e73) SHA1(e079739f4a3da3807aac570442c5afef1a7d7b0e) ) |
| 2090 | 1994 | ROM_LOAD16_BYTE( "epr-11338.ic1", 0x000001, 0x20000, CRC(7d4a7ff3) SHA1(3d3af04d990d232ba0a8fe155de59bc632a0a461) ) |
| 2091 | 1995 | |
| 2092 | | ROM_REGION( 0x1d6000, "user2", 0) |
| 1996 | ROM_REGION( 0x1d6000, "floppy", 0) |
| 2093 | 1997 | ROM_LOAD( "ds3-5000-02-rev-a.img", 0x000000, 0x1d6000, CRC(0385470f) SHA1(62c1bfe3a88b2dee44629809e08b4b8a5770eaab) ) |
| 2094 | 1998 | ROM_END |
| 2095 | 1999 | |
| r3426 | r3427 | |
| 2098 | 2002 | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2099 | 2003 | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2100 | 2004 | |
| 2101 | | ROM_REGION( 0x2000, "user3", 0 ) /* decryption key */ |
| 2005 | ROM_REGION( 0x2000, "fd1094key", 0 ) /* decryption key */ |
| 2102 | 2006 | ROM_LOAD( "317-0058-02c.key", 0x0000, 0x2000, CRC(ebae170e) SHA1(b6d1e1b6943a35b96e98e426ecb39bb5a42fb643) ) |
| 2103 | 2007 | |
| 2104 | | ROM_REGION( 0x1c2000, "user2", 0) |
| 2008 | ROM_REGION( 0x1c2000, "floppy", 0) |
| 2105 | 2009 | ROM_LOAD( "ds3-5000-02c.img", 0x000000, 0x1c2000, NO_DUMP ) |
| 2106 | 2010 | ROM_END |
| 2107 | 2011 | |
| r3426 | r3427 | |
| 2110 | 2014 | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2111 | 2015 | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2112 | 2016 | |
| 2113 | | ROM_REGION( 0x2000, "user3", 0 ) /* decryption key */ |
| 2017 | ROM_REGION( 0x2000, "fd1094key", 0 ) /* decryption key */ |
| 2114 | 2018 | ROM_LOAD( "317-0058-05d.key", 0x0000, 0x2000, NO_DUMP ) |
| 2115 | 2019 | |
| 2116 | | ROM_REGION( 0x1c2000, "user2", 0) |
| 2020 | ROM_REGION( 0x1c2000, "floppy", 0) |
| 2117 | 2021 | /* not sure which of these images is best */ |
| 2118 | 2022 | ROM_LOAD( "ds3-5000-05d.img", 0x000000, 0x1c2000, CRC(e9a69f93) SHA1(dc15e47ed78373688c1fab72a9605528068ad702) ) |
| 2119 | 2023 | ROM_LOAD( "ds3-5000-05d_alt.img", 0x000000, 0x1c2000, CRC(e71a8ebf) SHA1(60feb0af1cfc0508c8d68c8572495eec1763dc93) ) |
| r3426 | r3427 | |
| 2126 | 2030 | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2127 | 2031 | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2128 | 2032 | |
| 2129 | | ROM_REGION( 0x2000, "user3", 0 ) /* decryption key */ |
| 2033 | ROM_REGION( 0x2000, "fd1094key", 0 ) /* decryption key */ |
| 2130 | 2034 | ROM_LOAD( "317-0058-05c.key", 0x0000, 0x2000, CRC(ae0eabe5) SHA1(692d7565bf9c5b32cc80bb4bd88c9193aa04cbb0) ) |
| 2131 | 2035 | |
| 2132 | | ROM_REGION( 0x1c2000, "user2", 0) |
| 2036 | ROM_REGION( 0x1c2000, "floppy", 0) |
| 2133 | 2037 | ROM_LOAD( "ds3-5000-05c.img", 0x000000, 0x1c2000, CRC(06c4f834) SHA1(5e178ed0edff7721c93f76da2e03ae188dc5efa4) ) |
| 2134 | 2038 | ROM_END |
| 2135 | 2039 | |
| r3426 | r3427 | |
| 2138 | 2042 | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2139 | 2043 | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2140 | 2044 | |
| 2141 | | ROM_REGION( 0x2000, "user3", 0 ) /* decryption key */ |
| 2045 | ROM_REGION( 0x2000, "fd1094key", 0 ) /* decryption key */ |
| 2142 | 2046 | ROM_LOAD( "317-0058-05b.key", 0x0000, 0x2000, CRC(adc0c83b) SHA1(2328d82d5057062eeb0072fd57f0422218cf24fc) ) |
| 2143 | 2047 | |
| 2144 | | ROM_REGION( 0x1c2000, "user2", 0) |
| 2048 | ROM_REGION( 0x1c2000, "floppy", 0) |
| 2145 | 2049 | ROM_LOAD( "ds3-5000-05b.img", 0x000000, 0x1c2000, CRC(a136668c) SHA1(7203f9d11023605a0a4b52a4be330785c8f7b623) ) |
| 2146 | 2050 | ROM_END |
| 2147 | 2051 | |
| r3426 | r3427 | |
| 2150 | 2054 | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2151 | 2055 | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2152 | 2056 | |
| 2153 | | ROM_REGION( 0x2000, "user3", 0 ) /* decryption key */ |
| 2057 | ROM_REGION( 0x2000, "fd1094key", 0 ) /* decryption key */ |
| 2154 | 2058 | ROM_LOAD( "317-0058-08b.key", 0x0000, 0x2000, CRC(fe0a336a) SHA1(f7a5b2c1a057d0bb8c1ae0453c58aa8f5fb731b9) ) |
| 2155 | 2059 | |
| 2156 | | ROM_REGION( 0x1c2000, "user2", 0) |
| 2060 | ROM_REGION( 0x1c2000, "floppy", 0) |
| 2157 | 2061 | ROM_LOAD( "ds3-5000-08b.img", 0x000000, 0x1c2000, CRC(5a886d38) SHA1(2e974a9ffe3534da4fb117c579b8b0e61a63542c) ) |
| 2158 | 2062 | ROM_END |
| 2159 | 2063 | |
| r3426 | r3427 | |
| 2162 | 2066 | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2163 | 2067 | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2164 | 2068 | |
| 2165 | | ROM_REGION( 0x2000, "user3", 0 ) /* decryption key */ |
| 2069 | ROM_REGION( 0x2000, "fd1094key", 0 ) /* decryption key */ |
| 2166 | 2070 | ROM_LOAD( "317-0058-03d.key", 0x0000, 0x2000, CRC(e1785bbd) SHA1(b4bebb2829299f1c0815d6a5f317a2526b322f63) ) /* Also labeled "rev-A" but is it different? */ |
| 2167 | 2071 | |
| 2168 | | ROM_REGION( 0x1c2000, "user2", 0) |
| 2072 | ROM_REGION( 0x1c2000, "floppy", 0) |
| 2169 | 2073 | ROM_LOAD( "ds3-5000-03d-rev-a.img", 0x000000, 0x1c2000, CRC(5c5910f2) SHA1(9ed564a03c0d4ca4a207f3ecfb7336c6cbcaa70f) ) |
| 2170 | 2074 | ROM_END |
| 2171 | 2075 | |
| r3426 | r3427 | |
| 2174 | 2078 | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2175 | 2079 | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2176 | 2080 | |
| 2177 | | ROM_REGION( 0x2000, "user3", 0 ) /* decryption key */ |
| 2081 | ROM_REGION( 0x2000, "fd1094key", 0 ) /* decryption key */ |
| 2178 | 2082 | ROM_LOAD( "317-0058-03b.key", 0x0000, 0x2000, CRC(84aecdba) SHA1(ceddf967359a6e76543fe1ab00be53d0a11fe1ab) ) |
| 2179 | 2083 | |
| 2180 | | ROM_REGION( 0x1c2000, "user2", 0) |
| 2084 | ROM_REGION( 0x1c2000, "floppy", 0) |
| 2181 | 2085 | ROM_LOAD( "ds3-5000-03b.img", 0x000000, 0x1c2000, CRC(7200dac9) SHA1(07cf33bf2a0da36e3852de409959f30128cdbf77) ) |
| 2182 | 2086 | ROM_END |
| 2183 | 2087 | |
| r3426 | r3427 | |
| 2186 | 2090 | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2187 | 2091 | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2188 | 2092 | |
| 2189 | | ROM_REGION( 0x2000, "user3", 0 ) /* decryption key */ |
| 2093 | ROM_REGION( 0x2000, "fd1094key", 0 ) /* decryption key */ |
| 2190 | 2094 | ROM_LOAD( "317-0058-04c.key", 0x0000, 0x2000, CRC(16e978cc) SHA1(0e1482b5efa93b732d4cf0990919cb3fc903dca7) ) |
| 2191 | 2095 | |
| 2192 | | ROM_REGION( 0x1c2000, "user2", 0) |
| 2096 | ROM_REGION( 0x1c2000, "floppy", 0) |
| 2193 | 2097 | ROM_LOAD( "ds3-5000-04c.img", 0x000000, 0x1c2000, CRC(5edc01a5) SHA1(8eb1bf41f533d16c12930f5831f8bccd4d8de4f7) ) |
| 2194 | 2098 | ROM_END |
| 2195 | 2099 | |
| r3426 | r3427 | |
| 2198 | 2102 | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2199 | 2103 | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2200 | 2104 | |
| 2201 | | ROM_REGION( 0x2000, "user3", 0 ) /* decryption key */ |
| 2105 | ROM_REGION( 0x2000, "fd1094key", 0 ) /* decryption key */ |
| 2202 | 2106 | ROM_LOAD( "317-0058-04d.key", 0x0000, 0x2000, CRC(934ac358) SHA1(73418e22c9d201bc3fec5c63284858958c010e05) ) |
| 2203 | 2107 | |
| 2204 | | ROM_REGION( 0x1c2000, "user2", 0) |
| 2108 | ROM_REGION( 0x1c2000, "floppy", 0) |
| 2205 | 2109 | ROM_LOAD( "ds3-5000-04d.img", 0x000000, 0x1c2000, CRC(8679032c) SHA1(887b245a70652897fbda736b60e81a123866ec12) ) |
| 2206 | 2110 | ROM_END |
| 2207 | 2111 | |
| r3426 | r3427 | |
| 2210 | 2114 | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2211 | 2115 | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2212 | 2116 | |
| 2213 | | ROM_REGION( 0x2000, "user3", 0 ) /* decryption key */ |
| 2117 | ROM_REGION( 0x2000, "fd1094key", 0 ) /* decryption key */ |
| 2214 | 2118 | ROM_LOAD( "317-0058-04b.key", 0x0000, 0x2000, CRC(4a99a202) SHA1(d7375f09e7246ecd60ba0e48f049e9e252af92a8) ) /* Also labeled "rev-A" but is it different? */ |
| 2215 | 2119 | |
| 2216 | | ROM_REGION( 0x1c2000, "user2", 0) |
| 2120 | ROM_REGION( 0x1c2000, "floppy", 0) |
| 2217 | 2121 | ROM_LOAD( "ds3-5000-04b-rev-a.img", 0x000000, 0x1c2000, CRC(5daa1a9a) SHA1(ce2f07b83b607bbbdb70f1ae344c1d897d601809) ) |
| 2218 | 2122 | ROM_END |
| 2219 | 2123 | |
| r3426 | r3427 | |
| 2222 | 2126 | ROM_LOAD16_BYTE( "epr13948.bin", 0x000000, 0x20000, CRC(d6a031c8) SHA1(45b7e3cd2c7412e24f547cd4185166199d3938d5) ) |
| 2223 | 2127 | ROM_LOAD16_BYTE( "epr13947.bin", 0x000001, 0x20000, CRC(7e3cff5e) SHA1(ff8cb776d2491796feeb8892c7e644e590438945) ) |
| 2224 | 2128 | |
| 2225 | | ROM_REGION16_BE( 0x400000, "user1", 0) |
| 2129 | ROM_REGION16_BE( 0x400000, "romboard", 0) |
| 2226 | 2130 | ROM_LOAD16_BYTE( "epr-15345.2", 0x000000, 0x80000, CRC(d9e120c2) SHA1(b18b76733078d8534c6f0d8950632ab51e6a10ab) ) |
| 2227 | 2131 | ROM_LOAD16_BYTE( "epr-15344.1", 0x000001, 0x80000, CRC(8f8b9f74) SHA1(de6b923118bea60197547ad016cb5d5e1a8f372b) ) |
| 2228 | 2132 | ROM_LOAD16_BYTE( "mpr-14097-t.4",0x100000, 0x80000, CRC(4bd74cae) SHA1(5aa90bd5d2b8e2338ef0fe41d1f794e8d51321e1) ) |
| r3426 | r3427 | |
| 2234 | 2138 | ROM_LOAD16_BYTE( "epr13948.bin", 0x000000, 0x20000, CRC(d6a031c8) SHA1(45b7e3cd2c7412e24f547cd4185166199d3938d5) ) |
| 2235 | 2139 | ROM_LOAD16_BYTE( "epr13947.bin", 0x000001, 0x20000, CRC(7e3cff5e) SHA1(ff8cb776d2491796feeb8892c7e644e590438945) ) |
| 2236 | 2140 | |
| 2237 | | ROM_REGION16_BE( 0x400000, "user1", 0) |
| 2141 | ROM_REGION16_BE( 0x400000, "romboard", 0) |
| 2238 | 2142 | ROM_LOAD16_BYTE( "epr-14095a.2", 0x000000, 0x80000, CRC(88d184e9) SHA1(519F3A22E1619DE9D5F13A45B85EBD249EBFA979) ) |
| 2239 | 2143 | ROM_LOAD16_BYTE( "epr-14094a.1", 0x000001, 0x80000, CRC(7dd2b7d4) SHA1(C7EAF9E2700E0C55F7E867F5CD3FFAA5AAE97956) ) |
| 2240 | 2144 | ROM_LOAD16_BYTE( "mpr-14097-t.4",0x100000, 0x80000, CRC(4bd74cae) SHA1(5aa90bd5d2b8e2338ef0fe41d1f794e8d51321e1) ) |
| r3426 | r3427 | |
| 2246 | 2150 | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2247 | 2151 | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2248 | 2152 | |
| 2249 | | ROM_REGION( 0x2000, "user3", 0 ) /* decryption key */ |
| 2153 | ROM_REGION( 0x2000, "fd1094key", 0 ) /* decryption key */ |
| 2250 | 2154 | ROM_LOAD( "317-0058-09d.key", 0x0000, 0x2000, CRC(a91ebffb) SHA1(70b8b4272ca456491f254d115b434bb4ce73f049) ) |
| 2251 | 2155 | |
| 2252 | | ROM_REGION( 0x1c2000, "user2", 0) |
| 2156 | ROM_REGION( 0x1c2000, "floppy", 0) |
| 2253 | 2157 | ROM_LOAD( "ds3-5000-09d.img", 0x000000, 0x1c2000, CRC(69870887) SHA1(e47a997c2c783bf6670ab213ebe2ee35492eba34) ) |
| 2254 | 2158 | ROM_END |
| 2255 | 2159 | |
| r3426 | r3427 | |
| 2258 | 2162 | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2259 | 2163 | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2260 | 2164 | |
| 2261 | | ROM_REGION( 0x2000, "user3", 0 ) /* decryption key */ |
| 2165 | ROM_REGION( 0x2000, "fd1094key", 0 ) /* decryption key */ |
| 2262 | 2166 | ROM_LOAD( "317-0058-06b.key", 0x000000, 0x2000, CRC(6a5bf536) SHA1(3fc3e93ce8a47d7ee86da889efad2e7eca6e2ee9) ) |
| 2263 | 2167 | |
| 2264 | | ROM_REGION( 0x1c2000, "user2", 0) |
| 2168 | ROM_REGION( 0x1c2000, "floppy", 0) |
| 2265 | 2169 | ROM_LOAD( "ds3-5000-06b.img", 0x000000, 0x1c2000, CRC(a7fb2149) SHA1(c04266ae31700b085ab45606aed83019a563de70) ) |
| 2266 | 2170 | ROM_END |
| 2267 | 2171 | |
| r3426 | r3427 | |
| 2271 | 2175 | 'd' = US |
| 2272 | 2176 | */ |
| 2273 | 2177 | |
| 2178 | |
| 2274 | 2179 | /************************************* |
| 2275 | 2180 | * |
| 2181 | * Game-specific driver inits |
| 2182 | * |
| 2183 | *************************************/ |
| 2184 | |
| 2185 | static DRIVER_INIT( qgh ) |
| 2186 | { |
| 2187 | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 2188 | mlatch_table = qgh_mlt; |
| 2189 | track_size = 0; |
| 2190 | } |
| 2191 | |
| 2192 | static DRIVER_INIT( dcclub ) |
| 2193 | { |
| 2194 | system24temp_sys16_io_set_callbacks(dcclub_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 2195 | mlatch_table = dcclub_mlt; |
| 2196 | track_size = 0; |
| 2197 | } |
| 2198 | |
| 2199 | static DRIVER_INIT( qrouka ) |
| 2200 | { |
| 2201 | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 2202 | mlatch_table = qrouka_mlt; |
| 2203 | track_size = 0; |
| 2204 | } |
| 2205 | |
| 2206 | static DRIVER_INIT( quizmeku ) |
| 2207 | { |
| 2208 | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 2209 | mlatch_table = quizmeku_mlt; |
| 2210 | track_size = 0; |
| 2211 | } |
| 2212 | |
| 2213 | static DRIVER_INIT( mahmajn ) |
| 2214 | { |
| 2215 | system24temp_sys16_io_set_callbacks(mahmajn_io_r, mahmajn_io_w, resetcontrol_w, iod_r, iod_w); |
| 2216 | mlatch_table = mahmajn_mlt; |
| 2217 | track_size = 0; |
| 2218 | cur_input_line = 0; |
| 2219 | } |
| 2220 | |
| 2221 | static DRIVER_INIT( mahmajn2 ) |
| 2222 | { |
| 2223 | system24temp_sys16_io_set_callbacks(mahmajn_io_r, mahmajn_io_w, resetcontrol_w, iod_r, iod_w); |
| 2224 | mlatch_table = mahmajn2_mlt; |
| 2225 | track_size = 0; |
| 2226 | cur_input_line = 0; |
| 2227 | } |
| 2228 | |
| 2229 | static DRIVER_INIT( hotrod ) |
| 2230 | { |
| 2231 | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 2232 | mlatch_table = 0; |
| 2233 | |
| 2234 | // Sector Size |
| 2235 | // 1 8192 |
| 2236 | // 2 1024 |
| 2237 | // 3 1024 |
| 2238 | // 4 1024 |
| 2239 | // 5 512 |
| 2240 | // 6 256 |
| 2241 | |
| 2242 | track_size = 0x2f00; |
| 2243 | } |
| 2244 | |
| 2245 | static DRIVER_INIT( bnzabros ) |
| 2246 | { |
| 2247 | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 2248 | mlatch_table = bnzabros_mlt; |
| 2249 | |
| 2250 | // Sector Size |
| 2251 | // 1 2048 |
| 2252 | // 2 2048 |
| 2253 | // 3 2048 |
| 2254 | // 4 2048 |
| 2255 | // 5 2048 |
| 2256 | // 6 1024 |
| 2257 | // 7 256 |
| 2258 | |
| 2259 | track_size = 0x2d00; |
| 2260 | } |
| 2261 | |
| 2262 | static DRIVER_INIT( sspirits ) |
| 2263 | { |
| 2264 | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 2265 | mlatch_table = 0; |
| 2266 | track_size = 0x2d00; |
| 2267 | s24_fd1094_driver_init(machine); |
| 2268 | } |
| 2269 | |
| 2270 | static DRIVER_INIT( sspiritj ) |
| 2271 | { |
| 2272 | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 2273 | mlatch_table = 0; |
| 2274 | track_size = 0x2f00; |
| 2275 | s24_fd1094_driver_init(machine); |
| 2276 | } |
| 2277 | |
| 2278 | static DRIVER_INIT( dcclubfd ) |
| 2279 | { |
| 2280 | system24temp_sys16_io_set_callbacks(dcclub_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 2281 | mlatch_table = dcclub_mlt; |
| 2282 | track_size = 0x2d00; |
| 2283 | s24_fd1094_driver_init(machine); |
| 2284 | } |
| 2285 | |
| 2286 | |
| 2287 | static DRIVER_INIT( sgmast ) |
| 2288 | { |
| 2289 | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 2290 | mlatch_table = 0; |
| 2291 | track_size = 0x2d00; |
| 2292 | s24_fd1094_driver_init(machine); |
| 2293 | } |
| 2294 | |
| 2295 | static DRIVER_INIT( qsww ) |
| 2296 | { |
| 2297 | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 2298 | mlatch_table = 0; |
| 2299 | track_size = 0x2d00; |
| 2300 | s24_fd1094_driver_init(machine); |
| 2301 | } |
| 2302 | |
| 2303 | static DRIVER_INIT( gground ) |
| 2304 | { |
| 2305 | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 2306 | mlatch_table = 0; |
| 2307 | track_size = 0x2d00; |
| 2308 | s24_fd1094_driver_init(machine); |
| 2309 | } |
| 2310 | |
| 2311 | static DRIVER_INIT( crkdown ) |
| 2312 | { |
| 2313 | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 2314 | mlatch_table = 0; |
| 2315 | track_size = 0x2d00; |
| 2316 | s24_fd1094_driver_init(machine); |
| 2317 | } |
| 2318 | |
| 2319 | static DRIVER_INIT( roughrac ) |
| 2320 | { |
| 2321 | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 2322 | mlatch_table = 0; |
| 2323 | track_size = 0x2d00; |
| 2324 | s24_fd1094_driver_init(machine); |
| 2325 | } |
| 2326 | |
| 2327 | |
| 2328 | /************************************* |
| 2329 | * |
| 2276 | 2330 | * Game driver(s) |
| 2277 | 2331 | * |
| 2278 | 2332 | *************************************/ |
src/emu/machine/ldv1000.c
| r3426 | r3427 | |
| 7 | 7 | Copyright Nicola Salmoria and the MAME Team. |
| 8 | 8 | Visit http://mamedev.org for licensing and usage restrictions. |
| 9 | 9 | |
| 10 | ************************************************************************** |
| 11 | |
| 12 | Still to do: |
| 13 | |
| 14 | * fix issues |
| 15 | * add OSD |
| 16 | |
| 10 | 17 | *************************************************************************/ |
| 11 | 18 | |
| 12 | 19 | #include "ldcore.h" |
| 20 | #include "machine/8255ppi.h" |
| 21 | #include "machine/z80ctc.h" |
| 22 | #include "cpu/z80/z80daisy.h" |
| 13 | 23 | |
| 14 | 24 | |
| 15 | 25 | |
| r3426 | r3427 | |
| 17 | 27 | DEBUGGING |
| 18 | 28 | ***************************************************************************/ |
| 19 | 29 | |
| 20 | | #define PRINTF_COMMANDS 1 |
| 21 | | #define CMDPRINTF(x) do { if (PRINTF_COMMANDS) mame_printf_debug x; } while (0) |
| 30 | #define LOG_PORT_IO 0 |
| 31 | #define LOG_STATUS_CHANGES 0 |
| 32 | #define LOG_FRAMES_SEEN 0 |
| 33 | #define LOG_COMMANDS 0 |
| 22 | 34 | |
| 23 | | #define EMULATE_ROM 0 |
| 24 | 35 | |
| 25 | 36 | |
| 26 | | |
| 27 | 37 | /*************************************************************************** |
| 28 | 38 | CONSTANTS |
| 29 | 39 | ***************************************************************************/ |
| 30 | 40 | |
| 31 | | /* Player-specific states */ |
| 32 | | enum |
| 33 | | { |
| 34 | | LDSTATE_SKIPPING = LDSTATE_OTHER, |
| 35 | | LDSTATE_WAITING |
| 36 | | }; |
| 41 | #define SCAN_SPEED (2000 / 30) /* 2000 frames/second */ |
| 42 | #define SEEK_FAST_SPEED (4000 / 30) /* 4000 frames/second */ |
| 37 | 43 | |
| 38 | | /* Pioneer LD-V1000 specific information */ |
| 39 | | enum |
| 40 | | { |
| 41 | | LDV1000_MODE_STATUS, |
| 42 | | LDV1000_MODE_GET_FRAME, |
| 43 | | LDV1000_MODE_GET_1ST, |
| 44 | | LDV1000_MODE_GET_2ND, |
| 45 | | LDV1000_MODE_GET_RAM |
| 46 | | }; |
| 44 | #define MULTIJUMP_TRACK_TIME ATTOTIME_IN_USEC(50) |
| 47 | 45 | |
| 48 | | #define LDV1000_SCAN_SPEED (2000 / 30) /* 2000 frames/second */ |
| 49 | | #define LDV1000_SCAN_DURATION (4) /* scan for 4 vsyncs each time */ |
| 50 | 46 | |
| 51 | 47 | |
| 52 | | |
| 53 | 48 | /*************************************************************************** |
| 54 | 49 | TYPE DEFINITIONS |
| 55 | 50 | ***************************************************************************/ |
| r3426 | r3427 | |
| 57 | 52 | /* player-specific data */ |
| 58 | 53 | struct _ldplayer_data |
| 59 | 54 | { |
| 60 | | /* general modes and states */ |
| 61 | | UINT8 audio1disable; /* explicit disable for audio 1 */ |
| 62 | | UINT8 audio2disable; /* explicit disable for audio 2 */ |
| 63 | | UINT8 framedisplay; /* frame display */ |
| 64 | | INT32 parameter; /* parameter for numbers */ |
| 55 | /* low-level emulation data */ |
| 56 | int cpunum; /* CPU index of the Z80 */ |
| 57 | const device_config *ctc; /* CTC device */ |
| 58 | const device_config *multitimer; /* multi-jump timer device */ |
| 65 | 59 | |
| 66 | | UINT8 mode; /* current mode */ |
| 67 | | UINT8 lastchapter; /* last chapter seen */ |
| 68 | | UINT16 lastframe; /* last frame seen */ |
| 69 | | UINT32 activereg; /* active register index */ |
| 70 | | UINT8 ram[1024]; /* RAM */ |
| 71 | | UINT32 readpos; /* current read position */ |
| 72 | | UINT32 readtotal; /* current read position */ |
| 73 | | UINT8 readbuf[256]; /* temporary read buffer */ |
| 74 | | attotime lastvsynctime; /* time of last update/vsync */ |
| 60 | /* communication status */ |
| 61 | UINT8 command; /* command byte to the player */ |
| 62 | UINT8 status; /* status byte from the player */ |
| 63 | UINT8 vsync; /* VSYNC state */ |
| 64 | |
| 65 | /* I/O port states */ |
| 66 | UINT8 counter_start; /* starting value for counter */ |
| 67 | UINT8 counter; /* current counter value */ |
| 68 | UINT8 portc0; /* port C on PPI 0 */ |
| 69 | UINT8 portb1; /* port B on PPI 1 */ |
| 70 | UINT8 portc1; /* port C on PPI 1 */ |
| 71 | |
| 72 | /* display/decode circuit emulation */ |
| 73 | UINT8 portselect; /* selection of which port to access */ |
| 74 | UINT8 display[2][20]; /* display lines */ |
| 75 | UINT8 dispindex; /* index within the display line */ |
| 76 | UINT8 vbi[7*3]; /* VBI data */ |
| 77 | UINT8 vbiready; /* VBI ready flag */ |
| 78 | UINT8 vbiindex; /* index within the VBI data */ |
| 75 | 79 | }; |
| 76 | 80 | |
| 77 | 81 | |
| r3426 | r3427 | |
| 81 | 85 | ***************************************************************************/ |
| 82 | 86 | |
| 83 | 87 | static void ldv1000_init(laserdisc_state *ld); |
| 84 | | static void ldv1000_soft_reset(laserdisc_state *ld); |
| 85 | | static void ldv1000_update_squelch(laserdisc_state *ld); |
| 86 | | static int ldv1000_switch_state(laserdisc_state *ld, UINT8 newstate, INT32 stateparam); |
| 88 | static void ldv1000_vsync(laserdisc_state *ld, const vbi_metadata *vbi, int fieldnum, attotime curtime); |
| 87 | 89 | static INT32 ldv1000_update(laserdisc_state *ld, const vbi_metadata *vbi, int fieldnum, attotime curtime); |
| 88 | 90 | static void ldv1000_data_w(laserdisc_state *ld, UINT8 prev, UINT8 data); |
| 89 | 91 | static UINT8 ldv1000_status_strobe_r(laserdisc_state *ld); |
| 90 | 92 | static UINT8 ldv1000_command_strobe_r(laserdisc_state *ld); |
| 91 | 93 | static UINT8 ldv1000_status_r(laserdisc_state *ld); |
| 92 | 94 | |
| 95 | static TIMER_CALLBACK( vsync_off ); |
| 96 | static TIMER_CALLBACK( vbi_data_fetch ); |
| 97 | static TIMER_DEVICE_CALLBACK( multijump_timer ); |
| 93 | 98 | |
| 99 | static void ctc_interrupt(const device_config *device, int state); |
| 94 | 100 | |
| 101 | static WRITE8_HANDLER( decoder_display_port_w ); |
| 102 | static READ8_HANDLER( decoder_display_port_r ); |
| 103 | static READ8_HANDLER( controller_r ); |
| 104 | static WRITE8_HANDLER( controller_w ); |
| 105 | static WRITE8_DEVICE_HANDLER( ppi0_porta_w ); |
| 106 | static READ8_DEVICE_HANDLER( ppi0_portb_r ); |
| 107 | static READ8_DEVICE_HANDLER( ppi0_portc_r ); |
| 108 | static WRITE8_DEVICE_HANDLER( ppi0_portc_w ); |
| 109 | static READ8_DEVICE_HANDLER( ppi1_porta_r ); |
| 110 | static WRITE8_DEVICE_HANDLER( ppi1_portb_w ); |
| 111 | static WRITE8_DEVICE_HANDLER( ppi1_portc_w ); |
| 112 | |
| 113 | |
| 114 | |
| 95 | 115 | /*************************************************************************** |
| 96 | | 22VP931 ROM AND MACHINE INTERFACES |
| 116 | INLINE FUNCTIONS |
| 97 | 117 | ***************************************************************************/ |
| 98 | 118 | |
| 99 | | #if EMULATE_ROM |
| 100 | | static WRITE8_HANDLER( ld_controls ) |
| 119 | /*------------------------------------------------- |
| 120 | find_ldv1000 - find our device; assumes there |
| 121 | is only one |
| 122 | -------------------------------------------------*/ |
| 123 | |
| 124 | INLINE laserdisc_state *find_ldv1000(running_machine *machine) |
| 101 | 125 | { |
| 102 | | switch (offset) |
| 103 | | { |
| 104 | | case 0: |
| 105 | | // write $00 at startup/reject |
| 106 | | break; |
| 126 | return ldcore_get_safe_token(device_list_first(machine->config->devicelist, LASERDISC)); |
| 127 | } |
| 107 | 128 | |
| 108 | | case 2: |
| 109 | | // write $06 at startup/reject |
| 110 | | break; |
| 111 | 129 | |
| 112 | | case 3: |
| 113 | | // write $8A at startup |
| 114 | | break; |
| 115 | 130 | |
| 116 | | case 5: |
| 117 | | // write $9F at startup/reject |
| 118 | | break; |
| 131 | /*************************************************************************** |
| 132 | LD-V1000 ROM AND MACHINE INTERFACES |
| 133 | ***************************************************************************/ |
| 119 | 134 | |
| 120 | | case 6: |
| 121 | | // write $C3 at startup/reject |
| 122 | | break; |
| 135 | static ADDRESS_MAP_START( ldv1000_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 136 | AM_RANGE(0x0000, 0x1fff) AM_MIRROR(0x6000) AM_ROM |
| 137 | AM_RANGE(0x8000, 0x87ff) AM_MIRROR(0x3800) AM_RAM |
| 138 | AM_RANGE(0xc000, 0xc003) AM_MIRROR(0x9ff0) AM_DEVREADWRITE(PPI8255, "ldvppi0", ppi8255_r, ppi8255_w) |
| 139 | AM_RANGE(0xc004, 0xc007) AM_MIRROR(0x9ff0) AM_DEVREADWRITE(PPI8255, "ldvppi1", ppi8255_r, ppi8255_w) |
| 140 | ADDRESS_MAP_END |
| 123 | 141 | |
| 124 | | case 7: |
| 125 | | // write $90 at startup |
| 126 | | break; |
| 127 | | } |
| 128 | | } |
| 129 | 142 | |
| 143 | static ADDRESS_MAP_START( ldv1000_portmap, ADDRESS_SPACE_IO, 8 ) |
| 144 | ADDRESS_MAP_GLOBAL_MASK(0xff) |
| 145 | AM_RANGE(0x00, 0x07) AM_MIRROR(0x38) AM_READWRITE(decoder_display_port_r, decoder_display_port_w) |
| 146 | AM_RANGE(0x40, 0x40) AM_MIRROR(0x3f) AM_READ(controller_r) |
| 147 | AM_RANGE(0x80, 0x80) AM_MIRROR(0x3f) AM_WRITE(controller_w) |
| 148 | AM_RANGE(0xc0, 0xc3) AM_MIRROR(0x3c) AM_DEVREADWRITE(Z80CTC, "ldvctc", z80ctc_r, z80ctc_w) |
| 149 | ADDRESS_MAP_END |
| 130 | 150 | |
| 131 | | static READ8_HANDLER( ld_controls ) |
| 151 | |
| 152 | static const ppi8255_interface ppi0intf = |
| 132 | 153 | { |
| 133 | | switch (offset) |
| 134 | | { |
| 135 | | case 4: |
| 154 | NULL, ppi0_portb_r, ppi0_portc_r, |
| 155 | ppi0_porta_w, NULL, ppi0_portc_w |
| 156 | }; |
| 136 | 157 | |
| 137 | | } |
| 138 | | } |
| 139 | 158 | |
| 140 | | |
| 141 | | static WRITE8_HANDLER( unknown_port_w ) |
| 159 | static const ppi8255_interface ppi1intf = |
| 142 | 160 | { |
| 143 | | // Writes to $00/$02/$00 |
| 144 | | // Values: |
| 145 | | // $04/$09/$0F |
| 146 | | // $04/$0E/$0F |
| 147 | | // $04/ /$0F |
| 148 | | } |
| 161 | ppi1_porta_r, NULL, NULL, |
| 162 | NULL, ppi1_portb_w, ppi1_portc_w |
| 163 | }; |
| 149 | 164 | |
| 150 | 165 | |
| 151 | | static ADDRESS_MAP_START( ldv1000_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 152 | | AM_RANGE(0x0000, 0x1fff) AM_ROM |
| 153 | | AM_RANGE(0x8000, 0x83ff) AM_MIRROR(0x400) AM_RAM |
| 154 | | AM_RANGE(0xc000, 0xc007) AM_READWRITE(ld_controls) |
| 155 | | ADDRESS_MAP_END |
| 166 | static const z80ctc_interface ctcintf = |
| 167 | { |
| 168 | "ldv1000", |
| 169 | 0, |
| 170 | 0, |
| 171 | ctc_interrupt |
| 172 | }; |
| 156 | 173 | |
| 157 | 174 | |
| 158 | | static ADDRESS_MAP_START( ldv1000_portmap, ADDRESS_SPACE_PROGRAM, 8 ) |
| 159 | | ADDRESS_MAP_GLOBAL_MASK(0xff) |
| 160 | | AM_RANGE(0x00, 0x03) AM_WRITE(unknown_port_w) |
| 161 | | AM_RANGE(0xc0, 0xc3) AM_DEVREADWRITE(Z80CTC, "ctc", z80ctc_r, z80ctc_w) |
| 162 | | ADDRESS_MAP_END |
| 175 | static const z80_daisy_chain daisy_chain[] = |
| 176 | { |
| 177 | { Z80CTC, "ldvctc" }, |
| 178 | { NULL } |
| 179 | }; |
| 163 | 180 | |
| 164 | 181 | |
| 165 | 182 | static MACHINE_DRIVER_START( ldv1000 ) |
| 166 | | MDRV_CPU_ADD("ldv1000", Z80, 4000000) |
| 183 | MDRV_CPU_ADD("ldv1000", Z80, XTAL_5MHz/2) |
| 184 | MDRV_CPU_CONFIG(daisy_chain) |
| 167 | 185 | MDRV_CPU_PROGRAM_MAP(ldv1000_map,0) |
| 186 | MDRV_CPU_IO_MAP(ldv1000_portmap,0) |
| 187 | |
| 188 | MDRV_Z80CTC_ADD("ldvctc", ctcintf) |
| 189 | MDRV_PPI8255_ADD("ldvppi0", ppi0intf) |
| 190 | MDRV_PPI8255_ADD("ldvppi1", ppi1intf) |
| 191 | MDRV_TIMER_ADD("multitimer", multijump_timer) |
| 168 | 192 | MACHINE_DRIVER_END |
| 169 | 193 | |
| 170 | 194 | |
| r3426 | r3427 | |
| 172 | 196 | ROM_REGION( 0x2000, "ldv1000", ROMREGION_LOADBYNAME ) |
| 173 | 197 | ROM_LOAD( "z03_1001_vyw-053_v1-0.bin", 0x0000, 0x2000, CRC(31ec4687) SHA1(52f91c304a878ba02b2fa1cda1a9489d6dd5a34f) ) |
| 174 | 198 | ROM_END |
| 175 | | #endif |
| 176 | 199 | |
| 177 | 200 | |
| 178 | 201 | |
| r3426 | r3427 | |
| 185 | 208 | LASERDISC_TYPE_PIONEER_LDV1000, /* type of the player */ |
| 186 | 209 | sizeof(ldplayer_data), /* size of the state */ |
| 187 | 210 | "Pioneer LD-V1000", /* name of the player */ |
| 188 | | #if EMULATE_ROM |
| 189 | 211 | rom_ldv1000, /* pointer to ROM region information */ |
| 190 | 212 | machine_config_ldv1000, /* pointer to machine configuration */ |
| 191 | | #else |
| 192 | | NULL, |
| 193 | | NULL, |
| 194 | | #endif |
| 195 | 213 | ldv1000_init, /* initialization callback */ |
| 196 | | NULL, /* vsync callback */ |
| 214 | ldv1000_vsync, /* vsync callback */ |
| 197 | 215 | ldv1000_update, /* update callback */ |
| 198 | 216 | NULL, /* overlay callback */ |
| 199 | 217 | ldv1000_data_w, /* parallel data write */ |
| r3426 | r3427 | |
| 213 | 231 | |
| 214 | 232 | |
| 215 | 233 | /*************************************************************************** |
| 216 | | INLINE FUNCTIONS |
| 234 | PIONEER LD-V1000 IMPLEMENTATION |
| 217 | 235 | ***************************************************************************/ |
| 218 | 236 | |
| 219 | 237 | /*------------------------------------------------- |
| 220 | | requires_state_save - returns TRUE if the |
| 221 | | given state will return to the previous |
| 222 | | state when done |
| 238 | ldv1000_init - player-specific initialization |
| 223 | 239 | -------------------------------------------------*/ |
| 224 | 240 | |
| 225 | | INLINE int requires_state_save(UINT8 state) |
| 241 | static void ldv1000_init(laserdisc_state *ld) |
| 226 | 242 | { |
| 227 | | return (state == LDSTATE_SCANNING || |
| 228 | | state == LDSTATE_SKIPPING || |
| 229 | | state == LDSTATE_WAITING); |
| 243 | astring *tempstring = astring_alloc(); |
| 244 | ldplayer_data *player = ld->player; |
| 245 | |
| 246 | /* reset our state */ |
| 247 | memset(player, 0, sizeof(*player)); |
| 248 | |
| 249 | /* find our devices */ |
| 250 | player->cpunum = mame_find_cpu_index(ld->device->machine, device_build_tag(tempstring, ld->device->tag, "ldv1000")); |
| 251 | player->ctc = devtag_get_device(ld->device->machine, Z80CTC, device_build_tag(tempstring, ld->device->tag, "ldvctc")); |
| 252 | player->multitimer = devtag_get_device(ld->device->machine, TIMER, device_build_tag(tempstring, ld->device->tag, "multitimer")); |
| 253 | timer_device_set_ptr(player->multitimer, ld); |
| 254 | astring_free(tempstring); |
| 230 | 255 | } |
| 231 | 256 | |
| 232 | 257 | |
| 233 | 258 | /*------------------------------------------------- |
| 234 | | read_16bits_from_ram_be - read 16 bits from |
| 235 | | player RAM in big-endian format |
| 259 | ldv1000_vsync - VSYNC callback, called at the |
| 260 | start of the blanking period |
| 236 | 261 | -------------------------------------------------*/ |
| 237 | 262 | |
| 238 | | INLINE UINT16 read_16bits_from_ram_be(UINT8 *ram, UINT32 offset) |
| 263 | static void ldv1000_vsync(laserdisc_state *ld, const vbi_metadata *vbi, int fieldnum, attotime curtime) |
| 239 | 264 | { |
| 240 | | return (ram[offset + 0] << 8) | ram[offset + 1]; |
| 265 | slider_position sliderpos = ldcore_get_slider_position(ld); |
| 266 | ldplayer_data *player = ld->player; |
| 267 | |
| 268 | /* generate interrupts if we hit the edges */ |
| 269 | z80ctc_trg1_w(player->ctc, 0, sliderpos == SLIDER_MINIMUM); |
| 270 | z80ctc_trg2_w(player->ctc, 0, sliderpos == SLIDER_MAXIMUM); |
| 271 | |
| 272 | /* signal VSYNC and set a timer to turn it off */ |
| 273 | player->vsync = TRUE; |
| 274 | timer_set(attotime_mul(video_screen_get_scan_period(ld->screen), 4), ld, 0, vsync_off); |
| 275 | |
| 276 | /* also set a timer to fetch the VBI data when it is ready */ |
| 277 | timer_set(video_screen_get_time_until_pos(ld->screen, 19*2, 0), ld, 0, vbi_data_fetch); |
| 278 | |
| 279 | /* boost interleave for the first 1ms to improve communications */ |
| 280 | cpu_boost_interleave(attotime_zero, ATTOTIME_IN_MSEC(1)); |
| 241 | 281 | } |
| 242 | 282 | |
| 243 | 283 | |
| 244 | 284 | /*------------------------------------------------- |
| 245 | | write_16bits_to_ram_be - write 16 bits to |
| 246 | | player RAM in big endian format |
| 285 | ldv1000_update - update callback, called on |
| 286 | the first visible line of the frame |
| 247 | 287 | -------------------------------------------------*/ |
| 248 | 288 | |
| 249 | | INLINE void write_16bits_to_ram_be(UINT8 *ram, UINT32 offset, UINT16 data) |
| 289 | static INT32 ldv1000_update(laserdisc_state *ld, const vbi_metadata *vbi, int fieldnum, attotime curtime) |
| 250 | 290 | { |
| 251 | | ram[offset + 0] = data >> 8; |
| 252 | | ram[offset + 1] = data >> 0; |
| 291 | if (LOG_FRAMES_SEEN) |
| 292 | { |
| 293 | int frame = frame_from_metadata(vbi); |
| 294 | if (frame != FRAME_NOT_PRESENT) printf("== %d\n", frame); |
| 295 | } |
| 296 | return fieldnum; |
| 253 | 297 | } |
| 254 | 298 | |
| 255 | 299 | |
| 256 | | |
| 257 | | /*************************************************************************** |
| 258 | | PIONEER LD-V1000 IMPLEMENTATION |
| 259 | | ***************************************************************************/ |
| 260 | | |
| 261 | 300 | /*------------------------------------------------- |
| 262 | | ldv1000_init - Pioneer PR-8210-specific |
| 263 | | initialization |
| 301 | ldv1000_data_w - handle a parallel data write |
| 302 | to the LD-V1000 |
| 264 | 303 | -------------------------------------------------*/ |
| 265 | 304 | |
| 266 | | static void ldv1000_init(laserdisc_state *ld) |
| 305 | static void ldv1000_data_w(laserdisc_state *ld, UINT8 prev, UINT8 data) |
| 267 | 306 | { |
| 268 | | /* do a soft reset */ |
| 269 | | ldv1000_soft_reset(ld); |
| 307 | ld->player->command = data; |
| 308 | if (LOG_COMMANDS) |
| 309 | printf("-> COMMAND = %02X (%s)\n", data, (ld->player->portc1 & 0x10) ? "valid" : "invalid"); |
| 270 | 310 | } |
| 271 | 311 | |
| 272 | 312 | |
| 273 | 313 | /*------------------------------------------------- |
| 274 | | ldv1000_soft_reset - Pioneer LDV-1000-specific |
| 275 | | soft reset |
| 314 | ldv1000_status_strobe_r - return state of the |
| 315 | status strobe |
| 276 | 316 | -------------------------------------------------*/ |
| 277 | 317 | |
| 278 | | static void ldv1000_soft_reset(laserdisc_state *ld) |
| 318 | static UINT8 ldv1000_status_strobe_r(laserdisc_state *ld) |
| 279 | 319 | { |
| 280 | | ldplayer_data *player = ld->player; |
| 281 | | attotime curtime = timer_get_time(); |
| 320 | return (ld->player->portc1 & 0x20) ? ASSERT_LINE : CLEAR_LINE; |
| 321 | } |
| 282 | 322 | |
| 283 | | ld->state.state = LDSTATE_NONE; |
| 284 | | ld->state.substate = 0; |
| 285 | | ld->state.param = 0; |
| 286 | | ld->state.endtime = curtime; |
| 287 | 323 | |
| 288 | | player->audio1disable = 0; |
| 289 | | player->audio2disable = 0; |
| 290 | | player->parameter = 0; |
| 324 | /*------------------------------------------------- |
| 325 | ldv1000_command_strobe_r - return state of the |
| 326 | command strobe |
| 327 | -------------------------------------------------*/ |
| 291 | 328 | |
| 292 | | player->mode = 0; |
| 293 | | player->activereg = 0; |
| 294 | | memset(player->ram, 0, sizeof(player->ram)); |
| 295 | | player->readpos = 0; |
| 296 | | player->readtotal = 0; |
| 297 | | memset(player->readbuf, 0, sizeof(player->readbuf)); |
| 298 | | player->lastvsynctime = curtime; |
| 299 | | |
| 300 | | ldv1000_switch_state(ld, LDSTATE_PARKED, 0); |
| 329 | static UINT8 ldv1000_command_strobe_r(laserdisc_state *ld) |
| 330 | { |
| 331 | return (ld->player->portc1 & 0x10) ? ASSERT_LINE : CLEAR_LINE; |
| 301 | 332 | } |
| 302 | 333 | |
| 303 | 334 | |
| 304 | 335 | /*------------------------------------------------- |
| 305 | | ldv1000_update_squelch - update the squelch |
| 306 | | settings based on the current state |
| 336 | ldv1000_status_r - handle a parallel data read |
| 337 | from the LD-V1000 |
| 307 | 338 | -------------------------------------------------*/ |
| 308 | 339 | |
| 309 | | static void ldv1000_update_squelch(laserdisc_state *ld) |
| 340 | static UINT8 ldv1000_status_r(laserdisc_state *ld) |
| 310 | 341 | { |
| 311 | | ldplayer_data *player = ld->player; |
| 342 | return ld->player->status; |
| 343 | } |
| 312 | 344 | |
| 313 | | switch (ld->state.state) |
| 314 | | { |
| 315 | | /* video on, audio on */ |
| 316 | | case LDSTATE_PLAYING: |
| 317 | | ldcore_set_audio_squelch(ld, player->audio1disable, player->audio2disable); |
| 318 | | ldcore_set_video_squelch(ld, FALSE); |
| 319 | | break; |
| 320 | 345 | |
| 321 | | /* video on, audio off */ |
| 322 | | case LDSTATE_PAUSING: |
| 323 | | case LDSTATE_PAUSED: |
| 324 | | case LDSTATE_PLAYING_SLOW_REVERSE: |
| 325 | | case LDSTATE_PLAYING_SLOW_FORWARD: |
| 326 | | case LDSTATE_PLAYING_FAST_REVERSE: |
| 327 | | case LDSTATE_PLAYING_FAST_FORWARD: |
| 328 | | case LDSTATE_STEPPING_REVERSE: |
| 329 | | case LDSTATE_STEPPING_FORWARD: |
| 330 | | case LDSTATE_SCANNING: |
| 331 | | case LDSTATE_SKIPPING: |
| 332 | | case LDSTATE_WAITING: |
| 333 | | ldcore_set_audio_squelch(ld, TRUE, TRUE); |
| 334 | | ldcore_set_video_squelch(ld, FALSE); |
| 335 | | break; |
| 346 | /*------------------------------------------------- |
| 347 | vsync_off - timer callback to clear the VSYNC |
| 348 | flag |
| 349 | -------------------------------------------------*/ |
| 336 | 350 | |
| 337 | | /* video off, audio off */ |
| 338 | | case LDSTATE_NONE: |
| 339 | | case LDSTATE_EJECTING: |
| 340 | | case LDSTATE_EJECTED: |
| 341 | | case LDSTATE_PARKED: |
| 342 | | case LDSTATE_LOADING: |
| 343 | | case LDSTATE_SPINUP: |
| 344 | | case LDSTATE_SEEKING: |
| 345 | | ldcore_set_audio_squelch(ld, TRUE, TRUE); |
| 346 | | ldcore_set_video_squelch(ld, TRUE); |
| 347 | | break; |
| 348 | | } |
| 351 | static TIMER_CALLBACK( vsync_off ) |
| 352 | { |
| 353 | laserdisc_state *ld = ptr; |
| 354 | ld->player->vsync = FALSE; |
| 349 | 355 | } |
| 350 | 356 | |
| 351 | 357 | |
| 352 | 358 | /*------------------------------------------------- |
| 353 | | ldv1000_switch_state - attempt to switch states |
| 354 | | if appropriate, and ensure the squelch values |
| 355 | | are correct |
| 359 | vbi_data_fetch - timer callback to update the |
| 360 | VBI data in the PIA as soon as it is ready; |
| 361 | this must happy early in the frame because |
| 362 | the player logic relies on fetching it here |
| 356 | 363 | -------------------------------------------------*/ |
| 357 | 364 | |
| 358 | | static int ldv1000_switch_state(laserdisc_state *ld, UINT8 newstate, INT32 parameter) |
| 365 | static TIMER_CALLBACK( vbi_data_fetch ) |
| 359 | 366 | { |
| 360 | | attotime curtime = timer_get_time(); |
| 367 | laserdisc_state *ld = ptr; |
| 368 | ldplayer_data *player = ld->player; |
| 369 | UINT8 focus_on = !(player->portb1 & 0x01); |
| 370 | UINT8 laser_on = (player->portb1 & 0x40); |
| 371 | UINT32 lines[3]; |
| 361 | 372 | |
| 362 | | /* if this is the same state, ignore */ |
| 363 | | if (ld->state.state == newstate) |
| 364 | | return TRUE; |
| 373 | /* appears to return data in reverse order */ |
| 374 | lines[0] = laserdisc_get_field_code(ld->device, LASERDISC_CODE_LINE1718); |
| 375 | lines[1] = laserdisc_get_field_code(ld->device, LASERDISC_CODE_LINE17); |
| 376 | lines[2] = laserdisc_get_field_code(ld->device, LASERDISC_CODE_LINE16); |
| 365 | 377 | |
| 366 | | /* if we're in a timed state, we ignore changes until the time elapses */ |
| 367 | | if (attotime_compare(curtime, ld->state.endtime) < 0) |
| 368 | | return FALSE; |
| 369 | | |
| 370 | | /* if moving to a state that requires it, save the old state */ |
| 371 | | if (requires_state_save(newstate) && !requires_state_save(ld->state.state)) |
| 372 | | ld->savestate = ld->state; |
| 373 | | |
| 374 | | /* set up appropriate squelch and timing */ |
| 375 | | ld->state.state = newstate; |
| 376 | | ld->state.substate = 0; |
| 377 | | ld->state.param = parameter; |
| 378 | | ld->state.endtime = curtime; |
| 379 | | ldv1000_update_squelch(ld); |
| 380 | | |
| 381 | | /* if we're switching to a timed state, set the appropriate timer */ |
| 382 | | switch (ld->state.state) |
| 378 | /* fill in the details */ |
| 379 | memset(player->vbi, 0, sizeof(player->vbi)); |
| 380 | if (focus_on && laser_on) |
| 383 | 381 | { |
| 384 | | case LDSTATE_EJECTING: |
| 385 | | ld->state.endtime = attotime_add(curtime, GENERIC_EJECT_TIME); |
| 386 | | break; |
| 382 | int line; |
| 387 | 383 | |
| 388 | | case LDSTATE_LOADING: |
| 389 | | ld->state.endtime = attotime_add(curtime, GENERIC_LOAD_TIME); |
| 390 | | break; |
| 384 | /* loop over lines */ |
| 385 | for (line = 0; line < 3; line++) |
| 386 | { |
| 387 | UINT8 *dest = &player->vbi[line * 7]; |
| 388 | UINT32 data = lines[line]; |
| 391 | 389 | |
| 392 | | case LDSTATE_SPINUP: |
| 393 | | ld->state.endtime = attotime_add(curtime, GENERIC_SPINUP_TIME); |
| 394 | | break; |
| 395 | | |
| 396 | | case LDSTATE_WAITING: |
| 397 | | ld->state.endtime = attotime_add(curtime, attotime_mul(ATTOTIME_IN_MSEC(100), ld->state.param)); |
| 398 | | break; |
| 390 | /* the logic only processes leadin/leadout/frame number codes */ |
| 391 | if (data == VBI_CODE_LEADIN || data == VBI_CODE_LEADOUT || (data & VBI_MASK_CAV_PICTURE) == VBI_CODE_CAV_PICTURE) |
| 392 | { |
| 393 | *dest++ = 0x09 | (((data & VBI_MASK_CAV_PICTURE) == VBI_CODE_CAV_PICTURE) ? 0x02 : 0x00); |
| 394 | *dest++ = 0x08; |
| 395 | *dest++ = (data >> 16) & 0x0f; |
| 396 | *dest++ = (data >> 12) & 0x0f; |
| 397 | *dest++ = (data >> 8) & 0x0f; |
| 398 | *dest++ = (data >> 4) & 0x0f; |
| 399 | *dest++ = (data >> 0) & 0x0f; |
| 400 | } |
| 401 | } |
| 399 | 402 | } |
| 400 | | return TRUE; |
| 403 | |
| 404 | /* signal that data is ready and reset the readback index */ |
| 405 | player->vbiready = TRUE; |
| 406 | player->vbiindex = 0; |
| 401 | 407 | } |
| 402 | 408 | |
| 403 | 409 | |
| 404 | 410 | /*------------------------------------------------- |
| 405 | | ldv1000_update - Pioneer PR-8210-specific |
| 406 | | update callback |
| 411 | multijump_timer - called once for each track |
| 412 | in a multijump sequence; we decrement the |
| 413 | down counter and autostop when we hit 0 |
| 407 | 414 | -------------------------------------------------*/ |
| 408 | 415 | |
| 409 | | static INT32 ldv1000_update(laserdisc_state *ld, const vbi_metadata *vbi, int fieldnum, attotime curtime) |
| 416 | static TIMER_DEVICE_CALLBACK( multijump_timer ) |
| 410 | 417 | { |
| 418 | laserdisc_state *ld = ptr; |
| 411 | 419 | ldplayer_data *player = ld->player; |
| 412 | | ldplayer_state newstate; |
| 413 | | INT32 advanceby = 0; |
| 414 | | int frame, chapter; |
| 420 | int direction; |
| 415 | 421 | |
| 416 | | /* remember the last frame and chapter */ |
| 417 | | player->lastvsynctime = curtime; |
| 418 | | frame = frame_from_metadata(vbi); |
| 419 | | if (frame != FRAME_NOT_PRESENT) |
| 420 | | player->lastframe = frame; |
| 421 | | chapter = chapter_from_metadata(vbi); |
| 422 | | if (chapter != CHAPTER_NOT_PRESENT) |
| 423 | | player->lastchapter = chapter; |
| 422 | /* bit 5 of port B on PPI 1 selects the direction of slider movement */ |
| 423 | direction = (player->portb1 & 0x20) ? 1 : -1; |
| 424 | ldcore_advance_slider(ld, direction); |
| 424 | 425 | |
| 425 | | /* handle things based on the state */ |
| 426 | | switch (ld->state.state) |
| 427 | | { |
| 428 | | case LDSTATE_EJECTING: |
| 429 | | case LDSTATE_EJECTED: |
| 430 | | case LDSTATE_PARKED: |
| 431 | | case LDSTATE_LOADING: |
| 432 | | case LDSTATE_SPINUP: |
| 433 | | case LDSTATE_PAUSING: |
| 434 | | case LDSTATE_PAUSED: |
| 435 | | case LDSTATE_PLAYING: |
| 436 | | case LDSTATE_PLAYING_SLOW_REVERSE: |
| 437 | | case LDSTATE_PLAYING_SLOW_FORWARD: |
| 438 | | case LDSTATE_PLAYING_FAST_REVERSE: |
| 439 | | case LDSTATE_PLAYING_FAST_FORWARD: |
| 440 | | case LDSTATE_STEPPING_REVERSE: |
| 441 | | case LDSTATE_STEPPING_FORWARD: |
| 442 | | case LDSTATE_SCANNING: |
| 443 | | case LDSTATE_SEEKING: |
| 444 | | /* generic behaviors are appropriate for all of these commands */ |
| 445 | | advanceby = ldcore_generic_update(ld, vbi, fieldnum, curtime, &newstate); |
| 446 | | ldv1000_switch_state(ld, newstate.state, newstate.param); |
| 447 | | break; |
| 426 | /* update down counter and reschedule */ |
| 427 | if (--player->counter != 0) |
| 428 | timer_device_adjust_oneshot(timer, MULTIJUMP_TRACK_TIME, 0); |
| 429 | } |
| 448 | 430 | |
| 449 | | case LDSTATE_SKIPPING: |
| 450 | | /* just advance and return to previous state */ |
| 451 | | advanceby = ld->state.param; |
| 452 | | ldv1000_switch_state(ld, ld->savestate.state, ld->savestate.param); |
| 453 | | break; |
| 454 | 431 | |
| 455 | | case LDSTATE_WAITING: |
| 456 | | /* keep trying to switch to the previous state until we succeed */ |
| 457 | | ldv1000_switch_state(ld, ld->savestate.state, ld->savestate.param); |
| 458 | | break; |
| 459 | | } |
| 432 | /*------------------------------------------------- |
| 433 | ctc_interrupt - called when the CTC triggers |
| 434 | an interrupt in the daisy chain |
| 435 | -------------------------------------------------*/ |
| 460 | 436 | |
| 461 | | return advanceby; |
| 437 | static void ctc_interrupt(const device_config *device, int state) |
| 438 | { |
| 439 | laserdisc_state *ld = find_ldv1000(device->machine); |
| 440 | cpunum_set_input_line(device->machine, ld->player->cpunum, 0, state ? ASSERT_LINE : CLEAR_LINE); |
| 462 | 441 | } |
| 463 | 442 | |
| 464 | 443 | |
| 465 | 444 | /*------------------------------------------------- |
| 466 | | ldv1000_data_w - write callback when the |
| 467 | | ENTER state is written |
| 445 | decoder_display_port_w - handle writes to the |
| 446 | decoder/display chips |
| 468 | 447 | -------------------------------------------------*/ |
| 469 | 448 | |
| 470 | | static void ldv1000_data_w(laserdisc_state *ld, UINT8 prev, UINT8 data) |
| 449 | static WRITE8_HANDLER( decoder_display_port_w ) |
| 471 | 450 | { |
| 451 | /* |
| 452 | TX/RX = /A0 (A0=0 -> TX, A0=1 -> RX) |
| 453 | |
| 454 | Display is 6-bit |
| 455 | Decoder is 4-bit |
| 456 | */ |
| 457 | laserdisc_state *ld = find_ldv1000(machine); |
| 472 | 458 | ldplayer_data *player = ld->player; |
| 473 | | int target; |
| 474 | 459 | |
| 475 | | /* 0xff bytes are used for synchronization */ |
| 476 | | if (data == 0xff) |
| 477 | | return; |
| 460 | /* writes to offset 0 select the target for reads/writes of actual data */ |
| 461 | if (offset == 0) |
| 462 | { |
| 463 | player->portselect = data; |
| 464 | player->dispindex = 0; |
| 465 | } |
| 478 | 466 | |
| 479 | | /* handle commands */ |
| 480 | | switch (data) |
| 467 | /* writes to offset 2 constitute actual writes targeted toward the display and decoder chips */ |
| 468 | else if (offset == 2) |
| 481 | 469 | { |
| 482 | | case 0x3f: CMDPRINTF(("ldv1000: 0\n")); |
| 483 | | player->parameter = (player->parameter == -1) ? 0 : (player->parameter * 10 + 0); |
| 484 | | return; |
| 470 | /* selections 0 and 1 represent the two display lines; only 6 bits are transferred */ |
| 471 | if (player->portselect < 2) |
| 472 | player->display[player->portselect][player->dispindex++ % 20] = data & 0x3f; |
| 473 | } |
| 474 | } |
| 485 | 475 | |
| 486 | | case 0x0f: CMDPRINTF(("ldv1000: 1\n")); |
| 487 | | player->parameter = (player->parameter == -1) ? 1 : (player->parameter * 10 + 1); |
| 488 | | return; |
| 489 | 476 | |
| 490 | | case 0x8f: CMDPRINTF(("ldv1000: 2\n")); |
| 491 | | player->parameter = (player->parameter == -1) ? 2 : (player->parameter * 10 + 2); |
| 492 | | return; |
| 477 | /*------------------------------------------------- |
| 478 | decoder_display_port_r - handle reads from the |
| 479 | decoder/display chips |
| 480 | -------------------------------------------------*/ |
| 493 | 481 | |
| 494 | | case 0x4f: CMDPRINTF(("ldv1000: 3\n")); |
| 495 | | player->parameter = (player->parameter == -1) ? 3 : (player->parameter * 10 + 3); |
| 496 | | return; |
| 482 | static READ8_HANDLER( decoder_display_port_r ) |
| 483 | { |
| 484 | laserdisc_state *ld = find_ldv1000(machine); |
| 485 | ldplayer_data *player = ld->player; |
| 486 | UINT8 result = 0; |
| 497 | 487 | |
| 498 | | case 0x2f: CMDPRINTF(("ldv1000: 4\n")); |
| 499 | | player->parameter = (player->parameter == -1) ? 4 : (player->parameter * 10 + 4); |
| 500 | | return; |
| 488 | /* reads from offset 3 constitute actual reads from the display and decoder chips */ |
| 489 | if (offset == 3) |
| 490 | { |
| 491 | /* selection 4 represents the VBI data reading */ |
| 492 | if (player->portselect == 4) |
| 493 | { |
| 494 | player->vbiready = FALSE; |
| 495 | result = player->vbi[player->vbiindex++ % ARRAY_LENGTH(player->vbi)]; |
| 496 | } |
| 497 | } |
| 498 | return result; |
| 499 | } |
| 501 | 500 | |
| 502 | | case 0xaf: CMDPRINTF(("ldv1000: 5\n")); |
| 503 | | player->parameter = (player->parameter == -1) ? 5 : (player->parameter * 10 + 5); |
| 504 | | return; |
| 505 | 501 | |
| 506 | | case 0x6f: CMDPRINTF(("ldv1000: 6\n")); |
| 507 | | player->parameter = (player->parameter == -1) ? 6 : (player->parameter * 10 + 6); |
| 508 | | return; |
| 502 | /*------------------------------------------------- |
| 503 | controller_r - handle read of the data from |
| 504 | the controlling system |
| 505 | -------------------------------------------------*/ |
| 509 | 506 | |
| 510 | | case 0x1f: CMDPRINTF(("ldv1000: 7\n")); |
| 511 | | player->parameter = (player->parameter == -1) ? 7 : (player->parameter * 10 + 7); |
| 512 | | return; |
| 507 | static READ8_HANDLER( controller_r ) |
| 508 | { |
| 509 | laserdisc_state *ld = find_ldv1000(machine); |
| 513 | 510 | |
| 514 | | case 0x9f: CMDPRINTF(("ldv1000: 8\n")); |
| 515 | | player->parameter = (player->parameter == -1) ? 8 : (player->parameter * 10 + 8); |
| 516 | | return; |
| 511 | /* note that this is a cheesy implementation; the real thing relies on exquisite timing */ |
| 512 | UINT8 result = ld->player->command ^ 0xff; |
| 513 | ld->player->command = 0xff; |
| 514 | return result; |
| 515 | } |
| 517 | 516 | |
| 518 | | case 0x5f: CMDPRINTF(("ldv1000: 9\n")); |
| 519 | | player->parameter = (player->parameter == -1) ? 9 : (player->parameter * 10 + 9); |
| 520 | | return; |
| 521 | 517 | |
| 522 | | case 0x7f: CMDPRINTF(("ldv1000: %d Recall\n", player->parameter)); |
| 523 | | /* set the active register */ |
| 524 | | player->activereg = player->parameter; |
| 525 | | /* should also display the register value */ |
| 526 | | break; |
| 518 | /*------------------------------------------------- |
| 519 | controller_w - handle status latch writes |
| 520 | -------------------------------------------------*/ |
| 527 | 521 | |
| 528 | | case 0x20: CMDPRINTF(("ldv1000: x0 reverse (stop) - Badlands special\n")); |
| 529 | | ldv1000_switch_state(ld, LDSTATE_PLAYING_FAST_REVERSE, 0); |
| 530 | | break; |
| 522 | static WRITE8_HANDLER( controller_w ) |
| 523 | { |
| 524 | laserdisc_state *ld = find_ldv1000(machine); |
| 525 | if (LOG_STATUS_CHANGES && data != ld->player->status) |
| 526 | printf("%04X:CONTROLLER.W=%02X\n", activecpu_get_pc(), data); |
| 527 | ld->player->status = data; |
| 528 | } |
| 531 | 529 | |
| 532 | | case 0x21: CMDPRINTF(("ldv1000: x1/4 reverse - Badlands special\n")); |
| 533 | | ldv1000_switch_state(ld, LDSTATE_PLAYING_SLOW_REVERSE, 4); |
| 534 | | break; |
| 535 | 530 | |
| 536 | | case 0x22: CMDPRINTF(("ldv1000: x1/2 reverse - Badlands special\n")); |
| 537 | | ldv1000_switch_state(ld, LDSTATE_PLAYING_SLOW_REVERSE, 2); |
| 538 | | break; |
| 531 | /*------------------------------------------------- |
| 532 | ppi0_porta_w - handle writes to port A of |
| 533 | PPI #0 |
| 534 | -------------------------------------------------*/ |
| 539 | 535 | |
| 540 | | case 0x23: |
| 541 | | case 0x24: |
| 542 | | case 0x25: |
| 543 | | case 0x26: |
| 544 | | case 0x27: CMDPRINTF(("ldv1000: x%d reverse - Badlands special\n", (data & 0x07) - 2)); |
| 545 | | ldv1000_switch_state(ld, LDSTATE_PLAYING_FAST_REVERSE, (data & 0x07) - 2); |
| 546 | | break; |
| 536 | static WRITE8_DEVICE_HANDLER( ppi0_porta_w ) |
| 537 | { |
| 538 | laserdisc_state *ld = find_ldv1000(device->machine); |
| 539 | ld->player->counter_start = data; |
| 540 | if (LOG_PORT_IO) |
| 541 | printf("%04X:PORTA.0=%02X\n", activecpu_get_pc(), data); |
| 542 | } |
| 547 | 543 | |
| 548 | | case 0xa0: CMDPRINTF(("ldv1000: x0 forward (stop)\n")); |
| 549 | | ldv1000_switch_state(ld, LDSTATE_PLAYING_FAST_FORWARD, 0); |
| 550 | | break; |
| 551 | 544 | |
| 552 | | case 0xa1: CMDPRINTF(("ldv1000: x1/4 forward\n")); |
| 553 | | ldv1000_switch_state(ld, LDSTATE_PLAYING_SLOW_FORWARD, 4); |
| 554 | | break; |
| 545 | /*------------------------------------------------- |
| 546 | ppi0_portb_r - handle reads from port B of |
| 547 | PPI #0 |
| 548 | -------------------------------------------------*/ |
| 555 | 549 | |
| 556 | | case 0xa2: CMDPRINTF(("ldv1000: x1/2 forward\n")); |
| 557 | | ldv1000_switch_state(ld, LDSTATE_PLAYING_SLOW_FORWARD, 2); |
| 558 | | break; |
| 550 | static READ8_DEVICE_HANDLER( ppi0_portb_r ) |
| 551 | { |
| 552 | laserdisc_state *ld = find_ldv1000(device->machine); |
| 553 | return ld->player->counter; |
| 554 | } |
| 559 | 555 | |
| 560 | | case 0xa3: |
| 561 | | case 0xa4: |
| 562 | | case 0xa5: |
| 563 | | case 0xa6: |
| 564 | | case 0xa7: CMDPRINTF(("ldv1000: x%d forward\n", (data & 0x07) - 2)); |
| 565 | | ldv1000_switch_state(ld, LDSTATE_PLAYING_FAST_FORWARD, (data & 0x07) - 2); |
| 566 | | break; |
| 567 | 556 | |
| 568 | | case 0xb1: |
| 569 | | case 0xb2: |
| 570 | | case 0xb3: |
| 571 | | case 0xb4: |
| 572 | | case 0xb5: |
| 573 | | case 0xb6: |
| 574 | | case 0xb7: |
| 575 | | case 0xb8: |
| 576 | | case 0xb9: |
| 577 | | case 0xba: CMDPRINTF(("ldv1000: Skip forward %d0\n", data & 0x0f)); |
| 578 | | /* note that this skips tracks, not frames */ |
| 579 | | ldv1000_switch_state(ld, LDSTATE_SKIPPING, 10 * (data & 0x0f)); |
| 580 | | break; |
| 557 | /*------------------------------------------------- |
| 558 | ppi0_portc_r - handle reads from port C of |
| 559 | PPI #0 |
| 560 | -------------------------------------------------*/ |
| 581 | 561 | |
| 582 | | case 0x31: |
| 583 | | case 0x32: |
| 584 | | case 0x33: |
| 585 | | case 0x34: |
| 586 | | case 0x35: |
| 587 | | case 0x36: |
| 588 | | case 0x37: |
| 589 | | case 0x38: |
| 590 | | case 0x39: |
| 591 | | case 0x3a: CMDPRINTF(("ldv1000: Skip backwards %d0 - Badlands special\n", data & 0x0f)); |
| 592 | | /* note that this skips tracks, not frames */ |
| 593 | | ldv1000_switch_state(ld, LDSTATE_SKIPPING, -10 * (data & 0x0f)); |
| 594 | | break; |
| 562 | static READ8_DEVICE_HANDLER( ppi0_portc_r ) |
| 563 | { |
| 564 | /* |
| 565 | $10 = /VSYNC |
| 566 | $20 = IRQ from decoder chip |
| 567 | $40 = TRKG LOOP (N24-1) |
| 568 | $80 = DUMP (N20-1) -- code reads the state and waits for it to change |
| 569 | */ |
| 570 | laserdisc_state *ld = find_ldv1000(device->machine); |
| 571 | ldplayer_data *player = ld->player; |
| 572 | UINT8 result = 0x00; |
| 595 | 573 | |
| 596 | | case 0xbf: CMDPRINTF(("ldv1000: %d Clear\n", player->parameter)); |
| 597 | | /* clears register display and removes pending arguments */ |
| 598 | | player->parameter = -1; |
| 599 | | break; |
| 574 | if (!player->vsync) |
| 575 | result |= 0x10; |
| 576 | if (!player->vbiready) |
| 577 | result |= 0x20; |
| 600 | 578 | |
| 601 | | case 0xc2: CMDPRINTF(("ldv1000: Get frame no.\n")); |
| 602 | | /* returns the current frame number */ |
| 603 | | player->mode = LDV1000_MODE_GET_FRAME; |
| 604 | | player->readpos = 0; |
| 605 | | player->readtotal = 5; |
| 606 | | sprintf((char *)player->readbuf, "%05d", player->lastframe); |
| 607 | | break; |
| 579 | return result; |
| 580 | } |
| 608 | 581 | |
| 609 | | case 0xc3: CMDPRINTF(("ldv1000: Get 2nd display\n")); |
| 610 | | /* returns the data from the 2nd display line */ |
| 611 | | player->mode = LDV1000_MODE_GET_2ND; |
| 612 | | player->readpos = 0; |
| 613 | | player->readtotal = 8; |
| 614 | | sprintf((char *)player->readbuf, " \x1c\x1c\x1c"); |
| 615 | | break; |
| 616 | 582 | |
| 617 | | case 0xc4: CMDPRINTF(("ldv1000: Get 1st display\n")); |
| 618 | | /* returns the data from the 1st display line */ |
| 619 | | player->mode = LDV1000_MODE_GET_1ST; |
| 620 | | player->readpos = 0; |
| 621 | | player->readtotal = 8; |
| 622 | | sprintf((char *)player->readbuf, " \x1c\x1c\x1c"); |
| 623 | | break; |
| 583 | /*------------------------------------------------- |
| 584 | ppi0_portc_w - handle writes to port C of |
| 585 | PPI #0 |
| 586 | -------------------------------------------------*/ |
| 624 | 587 | |
| 625 | | case 0xc8: CMDPRINTF(("ldv1000: Transfer memory\n")); |
| 626 | | /* returns the data from RAM */ |
| 627 | | player->mode = LDV1000_MODE_GET_RAM; |
| 628 | | player->readpos = 0; |
| 629 | | player->readtotal = 1024; |
| 630 | | break; |
| 588 | static WRITE8_DEVICE_HANDLER( ppi0_portc_w ) |
| 589 | { |
| 590 | /* |
| 591 | $01 = preload on up/down counters |
| 592 | $02 = /MULTI JUMP TRIG |
| 593 | $04 = SCAN MODE |
| 594 | $08 = n/c |
| 595 | */ |
| 596 | laserdisc_state *ld = find_ldv1000(device->machine); |
| 597 | ldplayer_data *player = ld->player; |
| 598 | UINT8 prev = player->portc0; |
| 631 | 599 | |
| 632 | | case 0xcc: CMDPRINTF(("ldv1000: Load\n")); |
| 633 | | /* load program from disc -- not implemented */ |
| 634 | | break; |
| 600 | /* set the new value */ |
| 601 | player->portc0 = data; |
| 602 | if (LOG_PORT_IO && ((data ^ prev) & 0x0f) != 0) |
| 603 | { |
| 604 | printf("%04X:PORTC.0=%02X", activecpu_get_pc(), data); |
| 605 | if (data & 0x01) printf(" PRELOAD"); |
| 606 | if (!(data & 0x02)) printf(" /MULTIJUMP"); |
| 607 | if (data & 0x04) printf(" SCANMODE"); |
| 608 | printf("\n"); |
| 609 | } |
| 635 | 610 | |
| 636 | | case 0xcd: CMDPRINTF(("ldv1000: Display disable\n")); |
| 637 | | /* disables the display of current command -- not implemented */ |
| 638 | | break; |
| 611 | /* on the rising edge of bit 0, clock the down counter load */ |
| 612 | if ((data & 0x01) && !(prev & 0x01)) |
| 613 | player->counter = player->counter_start; |
| 639 | 614 | |
| 640 | | case 0xce: CMDPRINTF(("ldv1000: Display enable\n")); |
| 641 | | /* enables the display of current command -- not implemented */ |
| 642 | | break; |
| 615 | /* on the falling edge of bit 1, start the multi-jump timer */ |
| 616 | if (!(data & 0x02) && (prev & 0x02)) |
| 617 | timer_device_adjust_oneshot(player->multitimer, MULTIJUMP_TRACK_TIME, 0); |
| 618 | } |
| 643 | 619 | |
| 644 | | case 0xf0: CMDPRINTF(("ldv1000: Scan forward\n")); |
| 645 | | if (ld->state.state != LDSTATE_SCANNING) |
| 646 | | ldv1000_switch_state(ld, LDSTATE_SCANNING, SCANNING_PARAM(LDV1000_SCAN_SPEED, LDV1000_SCAN_DURATION)); |
| 647 | | else |
| 648 | | ld->state.substate = 0; |
| 649 | | break; |
| 650 | 620 | |
| 651 | | case 0xf1: CMDPRINTF(("ldv1000: %d Display\n", player->parameter)); |
| 652 | | player->framedisplay = (player->parameter == -1) ? !player->framedisplay : (player->parameter & 1); |
| 653 | | break; |
| 621 | /*------------------------------------------------- |
| 622 | ppi1_porta_r - handle reads from port A of |
| 623 | PPI #1 |
| 624 | -------------------------------------------------*/ |
| 654 | 625 | |
| 655 | | case 0xf3: CMDPRINTF(("ldv1000: %d Autostop\n", player->parameter)); |
| 656 | | target = (player->parameter != -1) ? player->parameter : read_16bits_from_ram_be(player->ram, (player->activereg++ * 2) % 1024); |
| 657 | | if (target > player->lastframe) |
| 658 | | ldv1000_switch_state(ld, LDSTATE_PLAYING, target); |
| 659 | | else |
| 660 | | ldv1000_switch_state(ld, LDSTATE_SEEKING, target); |
| 661 | | break; |
| 626 | static READ8_DEVICE_HANDLER( ppi1_porta_r ) |
| 627 | { |
| 628 | /* |
| 629 | $01 = /FOCS LOCK |
| 630 | $02 = /SPDL LOCK |
| 631 | $04 = INSIDE |
| 632 | $08 = OUTSIDE |
| 633 | $10 = MOTOR STOP |
| 634 | $20 = +5V/test point |
| 635 | $40 = /INT LOCK |
| 636 | $80 = 8 INCH CHK |
| 637 | */ |
| 638 | laserdisc_state *ld = find_ldv1000(device->machine); |
| 639 | ldplayer_data *player = ld->player; |
| 640 | slider_position sliderpos = ldcore_get_slider_position(ld); |
| 641 | UINT8 focus_on = !(player->portb1 & 0x01); |
| 642 | UINT8 spdl_on = !(player->portb1 & 0x02); |
| 643 | UINT8 result = 0x00; |
| 662 | 644 | |
| 663 | | case 0xf4: CMDPRINTF(("ldv1000: %d Audio track 1\n", player->parameter)); |
| 664 | | if (player->parameter == -1) |
| 665 | | player->audio1disable ^= 1; |
| 666 | | else |
| 667 | | player->audio1disable = ~player->parameter & 1; |
| 668 | | break; |
| 645 | /* bit 0: /FOCUS LOCK */ |
| 646 | if (!focus_on) |
| 647 | result |= 0x01; |
| 669 | 648 | |
| 670 | | case 0xf5: CMDPRINTF(("ldv1000: %d Store\n", player->parameter)); |
| 671 | | /* store either the current frame number or an explicit value into the active register */ |
| 672 | | if (player->parameter == -1) |
| 673 | | write_16bits_to_ram_be(player->ram, (player->activereg * 2) % 1024, player->lastframe); |
| 674 | | else |
| 675 | | write_16bits_to_ram_be(player->ram, (player->activereg * 2) % 1024, player->parameter); |
| 676 | | player->activereg++; |
| 677 | | break; |
| 649 | /* bit 1: /SPDL LOCK */ |
| 650 | if (!spdl_on) |
| 651 | result |= 0x02; |
| 678 | 652 | |
| 679 | | case 0xf6: CMDPRINTF(("ldv1000: Step forward\n")); |
| 680 | | ldv1000_switch_state(ld, LDSTATE_STEPPING_FORWARD, 0); |
| 681 | | break; |
| 653 | /* bit 2: INSIDE signal */ |
| 654 | if (sliderpos == SLIDER_MINIMUM) |
| 655 | result |= 0x04; |
| 682 | 656 | |
| 683 | | case 0xf7: CMDPRINTF(("ldv1000: %d Search\n", player->parameter)); |
| 684 | | target = (player->parameter != -1) ? player->parameter : read_16bits_from_ram_be(player->ram, (player->activereg * 2) % 1024); |
| 685 | | player->activereg++; |
| 686 | | ldv1000_switch_state(ld, LDSTATE_SEEKING, target); |
| 687 | | break; |
| 657 | /* bit 3: OUTSIDE signal */ |
| 658 | if (sliderpos == SLIDER_MAXIMUM) |
| 659 | result |= 0x08; |
| 688 | 660 | |
| 689 | | case 0xf8: CMDPRINTF(("ldv1000: Scan reverse\n")); |
| 690 | | if (ld->state.state != LDSTATE_SCANNING) |
| 691 | | ldv1000_switch_state(ld, LDSTATE_SCANNING, SCANNING_PARAM(-LDV1000_SCAN_SPEED, LDV1000_SCAN_DURATION)); |
| 692 | | else |
| 693 | | ld->state.substate = 0; |
| 694 | | break; |
| 661 | /* bit 4: MOTOR STOP */ |
| 695 | 662 | |
| 696 | | case 0xf9: CMDPRINTF(("ldv1000: Reject\n")); |
| 697 | | ldv1000_switch_state(ld, LDSTATE_EJECTING, 0); |
| 698 | | break; |
| 663 | /* bit 5: +5V/test point */ |
| 664 | result |= 0x20; |
| 699 | 665 | |
| 700 | | case 0xfb: CMDPRINTF(("ldv1000: %d Stop/Wait\n", player->parameter)); |
| 701 | | ldv1000_switch_state(ld, LDSTATE_WAITING, player->parameter); |
| 702 | | break; |
| 666 | /* bit 6: /INT LOCK */ |
| 703 | 667 | |
| 704 | | case 0xfc: CMDPRINTF(("ldv1000: %d Audio track 2\n", player->parameter)); |
| 705 | | if (player->parameter == -1) |
| 706 | | player->audio2disable ^= 1; |
| 707 | | else |
| 708 | | player->audio2disable = ~player->parameter & 1; |
| 709 | | break; |
| 668 | /* bit 7: 8 INCH CHK */ |
| 710 | 669 | |
| 711 | | case 0xfd: CMDPRINTF(("ldv1000: Play\n")); |
| 712 | | if (ld->state.state == LDSTATE_EJECTED) |
| 713 | | ldv1000_switch_state(ld, LDSTATE_LOADING, 0); |
| 714 | | else if (ld->state.state == LDSTATE_PARKED) |
| 715 | | ldv1000_switch_state(ld, LDSTATE_SPINUP, 0); |
| 716 | | else |
| 717 | | ldv1000_switch_state(ld, LDSTATE_PLAYING, -1); |
| 718 | | break; |
| 719 | | |
| 720 | | case 0xfe: CMDPRINTF(("ldv1000: Step reverse\n")); |
| 721 | | ldv1000_switch_state(ld, LDSTATE_STEPPING_REVERSE, 0); |
| 722 | | break; |
| 723 | | |
| 724 | | default: CMDPRINTF(("ldv1000: %d Unknown command %02X\n", player->parameter, data)); |
| 725 | | /* unknown command */ |
| 726 | | break; |
| 727 | | } |
| 728 | | |
| 729 | | /* reset the parameter after executing a command */ |
| 730 | | player->parameter = -1; |
| 670 | return result; |
| 731 | 671 | } |
| 732 | 672 | |
| 733 | 673 | |
| 734 | 674 | /*------------------------------------------------- |
| 735 | | ldv1000_status_strobe_r - return state of the |
| 736 | | status strobe |
| 675 | ppi1_portb_w - handle writes to port B of |
| 676 | PPI #1 |
| 737 | 677 | -------------------------------------------------*/ |
| 738 | 678 | |
| 739 | | static UINT8 ldv1000_status_strobe_r(laserdisc_state *ld) |
| 679 | static WRITE8_DEVICE_HANDLER( ppi1_portb_w ) |
| 740 | 680 | { |
| 681 | /* |
| 682 | $01 = /FOCS ON |
| 683 | $02 = /SPDL RUN |
| 684 | $04 = /JUMP TRIG |
| 685 | $08 = /SCAN A |
| 686 | $10 = SCAN B |
| 687 | $20 = SCAN C |
| 688 | $40 = /LASER ON |
| 689 | $80 = /SYNC ST0 |
| 690 | */ |
| 691 | laserdisc_state *ld = find_ldv1000(device->machine); |
| 741 | 692 | ldplayer_data *player = ld->player; |
| 693 | UINT8 prev = player->portb1; |
| 694 | int direction; |
| 742 | 695 | |
| 743 | | /* the status strobe is asserted (active low) 500-650usec after VSYNC */ |
| 744 | | /* for a duration of 26usec; we pick 600-626usec */ |
| 745 | | attotime delta = attotime_sub(timer_get_time(), player->lastvsynctime); |
| 746 | | if (delta.attoseconds >= ATTOTIME_IN_USEC(600).attoseconds && delta.attoseconds < ATTOTIME_IN_USEC(626).attoseconds) |
| 747 | | return ASSERT_LINE; |
| 696 | /* set the new value */ |
| 697 | player->portb1 = data; |
| 698 | if (LOG_PORT_IO && ((data ^ prev) & 0xff) != 0) |
| 699 | { |
| 700 | printf("%04X:PORTB.1=%02X:", activecpu_get_pc(), data); |
| 701 | if (!(data & 0x01)) printf(" FOCSON"); |
| 702 | if (!(data & 0x02)) printf(" SPDLRUN"); |
| 703 | if (!(data & 0x04)) printf(" JUMPTRIG"); |
| 704 | if (!(data & 0x08)) printf(" SCANA (%c %c)", (data & 0x10) ? 'L' : 'H', (data & 0x20) ? 'F' : 'R'); |
| 705 | if ( (data & 0x40)) printf(" LASERON"); |
| 706 | if (!(data & 0x80)) printf(" SYNCST0"); |
| 707 | printf("\n"); |
| 708 | } |
| 748 | 709 | |
| 749 | | return CLEAR_LINE; |
| 750 | | } |
| 710 | /* bit 5 selects the direction of slider movement for JUMP TRG and scanning */ |
| 711 | direction = (data & 0x20) ? 1 : -1; |
| 751 | 712 | |
| 713 | /* on the falling edge of bit 2, jump one track in either direction */ |
| 714 | if (!(data & 0x04) && (prev & 0x04)) |
| 715 | ldcore_advance_slider(ld, direction); |
| 752 | 716 | |
| 753 | | /*------------------------------------------------- |
| 754 | | ldv1000_command_strobe_r - return state of the |
| 755 | | command strobe |
| 756 | | -------------------------------------------------*/ |
| 717 | /* bit 3 low enables scanning */ |
| 718 | if (!(data & 0x08)) |
| 719 | { |
| 720 | /* bit 4 selects the speed */ |
| 721 | int delta = (data & 0x10) ? SCAN_SPEED : SEEK_FAST_SPEED; |
| 722 | ldcore_set_slider_speed(ld, delta * direction); |
| 723 | } |
| 757 | 724 | |
| 758 | | static UINT8 ldv1000_command_strobe_r(laserdisc_state *ld) |
| 759 | | { |
| 760 | | ldplayer_data *player = ld->player; |
| 761 | | |
| 762 | | /* the command strobe is asserted (active low) 54 or 84usec after the status */ |
| 763 | | /* strobe for a duration of 25usec; we pick 600+84 = 684-709usec */ |
| 764 | | /* for a duration of 26usec; we pick 600-626usec */ |
| 765 | | attotime delta = attotime_sub(timer_get_time(), player->lastvsynctime); |
| 766 | | if (delta.attoseconds >= ATTOTIME_IN_USEC(684).attoseconds && delta.attoseconds < ATTOTIME_IN_USEC(709).attoseconds) |
| 767 | | return ASSERT_LINE; |
| 768 | | |
| 769 | | return CLEAR_LINE; |
| 725 | /* bit 3 high stops scanning */ |
| 726 | else |
| 727 | ldcore_set_slider_speed(ld, 0); |
| 770 | 728 | } |
| 771 | 729 | |
| 772 | 730 | |
| 773 | 731 | /*------------------------------------------------- |
| 774 | | ldv1000_status_r - return state of the ready |
| 775 | | line |
| 732 | ppi1_portc_w - handle writes to port C of |
| 733 | PPI #1 |
| 776 | 734 | -------------------------------------------------*/ |
| 777 | 735 | |
| 778 | | static UINT8 ldv1000_status_r(laserdisc_state *ld) |
| 736 | static WRITE8_DEVICE_HANDLER( ppi1_portc_w ) |
| 779 | 737 | { |
| 738 | /* |
| 739 | $01 = AUD 1 |
| 740 | $02 = AUD 2 |
| 741 | $04 = AUDIO ENABLE |
| 742 | $08 = /VIDEO SQ |
| 743 | $10 = COMMAND |
| 744 | $20 = STATUS |
| 745 | $40 = SIZE 8/12 |
| 746 | $80 = /LED CAV |
| 747 | */ |
| 748 | laserdisc_state *ld = find_ldv1000(device->machine); |
| 780 | 749 | ldplayer_data *player = ld->player; |
| 781 | | UINT8 status = 0xff; |
| 750 | UINT8 prev = player->portc1; |
| 782 | 751 | |
| 783 | | /* switch off the current mode */ |
| 784 | | switch (player->mode) |
| 752 | /* set the new value */ |
| 753 | player->portc1 = data; |
| 754 | if (LOG_PORT_IO && ((data ^ prev) & 0xcf) != 0) |
| 785 | 755 | { |
| 786 | | /* reading frame number returns 5 characters */ |
| 787 | | /* reading display lines returns 8 characters */ |
| 788 | | case LDV1000_MODE_GET_FRAME: |
| 789 | | case LDV1000_MODE_GET_1ST: |
| 790 | | case LDV1000_MODE_GET_2ND: |
| 791 | | assert(player->readpos < player->readtotal); |
| 792 | | status = player->readbuf[player->readpos++]; |
| 793 | | if (player->readpos == player->readtotal) |
| 794 | | player->mode = LDV1000_MODE_STATUS; |
| 795 | | break; |
| 796 | | |
| 797 | | /* reading RAM returns 1024 bytes */ |
| 798 | | case LDV1000_MODE_GET_RAM: |
| 799 | | assert(player->readpos < player->readtotal); |
| 800 | | status = player->ram[1023 - player->readpos++]; |
| 801 | | if (player->readpos == player->readtotal) |
| 802 | | player->mode = LDV1000_MODE_STATUS; |
| 803 | | break; |
| 804 | | |
| 805 | | /* otherwise, we just compute a status code */ |
| 806 | | default: |
| 807 | | case LDV1000_MODE_STATUS: |
| 808 | | switch (ld->state.state) |
| 809 | | { |
| 810 | | case LDSTATE_EJECTING: status = 0x60; break; |
| 811 | | case LDSTATE_EJECTED: status = 0xe0; break; |
| 812 | | case LDSTATE_PARKED: status = 0xfc; break; |
| 813 | | case LDSTATE_LOADING: status = 0x48; break; |
| 814 | | case LDSTATE_SPINUP: status = 0x48; break; |
| 815 | | case LDSTATE_PAUSING: status = 0xe5; break; |
| 816 | | case LDSTATE_PAUSED: status = 0xe5; break; |
| 817 | | case LDSTATE_PLAYING: status = 0xe4; break; |
| 818 | | case LDSTATE_PLAYING_SLOW_REVERSE: status = 0xae; break; |
| 819 | | case LDSTATE_PLAYING_SLOW_FORWARD: status = 0xae; break; |
| 820 | | case LDSTATE_PLAYING_FAST_REVERSE: status = 0xae; break; |
| 821 | | case LDSTATE_PLAYING_FAST_FORWARD: status = 0xae; break; |
| 822 | | case LDSTATE_STEPPING_FORWARD: status = 0xe5; break; |
| 823 | | case LDSTATE_STEPPING_REVERSE: status = 0xe5; break; |
| 824 | | case LDSTATE_SCANNING: status = 0x4c; break; |
| 825 | | case LDSTATE_SEEKING: status = 0x50; break; |
| 826 | | // case LASERDISC_SEARCH_FINISHED: status = 0xd0; break; |
| 827 | | // case LASERDISC_AUTOSTOPPED: status = 0x54; break; |
| 828 | | default: |
| 829 | | fatalerror("Unexpected disc state in ldv1000_status_r\n"); |
| 830 | | break; |
| 831 | | } |
| 832 | | break; |
| 756 | printf("%04X:PORTC.1=%02X", activecpu_get_pc(), data); |
| 757 | if (data & 0x01) printf(" AUD1"); |
| 758 | if (data & 0x02) printf(" AUD2"); |
| 759 | if (data & 0x04) printf(" AUDEN"); |
| 760 | if (!(data & 0x08)) printf(" VIDEOSQ"); |
| 761 | if (data & 0x10) printf(" COMMAND"); |
| 762 | if (data & 0x20) printf(" STATUS"); |
| 763 | if (data & 0x40) printf(" SIZE8"); |
| 764 | if (!(data & 0x80)) printf(" CAV"); |
| 765 | printf("\n"); |
| 833 | 766 | } |
| 834 | 767 | |
| 835 | | /* bit 7 indicates our busy status */ |
| 836 | | return status; |
| 768 | /* video squelch is controlled by bit 3 */ |
| 769 | ldcore_set_video_squelch(ld, (data & 0x08) == 0); |
| 770 | |
| 771 | /* audio squelch is controlled by bits 0-2 */ |
| 772 | ldcore_set_audio_squelch(ld, !(data & 0x04) || !(data & 0x01), !(data & 0x04) || !(data & 0x02)); |
| 837 | 773 | } |