trunk/src/mame/drivers/m52.c
| r18294 | r18295 | |
| 382 | 382 | |
| 383 | 383 | void m52_state::machine_reset() |
| 384 | 384 | { |
| 385 | | |
| 386 | 385 | m_bg1xpos = 0; |
| 387 | 386 | m_bg1ypos = 0; |
| 388 | 387 | m_bg2xpos = 0; |
| r18294 | r18295 | |
| 398 | 397 | MCFG_CPU_IO_MAP(main_portmap) |
| 399 | 398 | MCFG_CPU_VBLANK_INT_DRIVER("screen", m52_state, irq0_line_hold) |
| 400 | 399 | |
| 401 | | |
| 402 | 400 | /* video hardware */ |
| 403 | 401 | MCFG_GFXDECODE(m52) |
| 404 | 402 | MCFG_PALETTE_LENGTH(128*4+16*4+3*4) |
| r18294 | r18295 | |
| 407 | 405 | MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/3, 384, 136, 376, 282, 22, 274) |
| 408 | 406 | MCFG_SCREEN_UPDATE_DRIVER(m52_state, screen_update_m52) |
| 409 | 407 | |
| 410 | | |
| 411 | 408 | /* sound hardware */ |
| 412 | 409 | MCFG_FRAGMENT_ADD(m52_sound_c_audio) |
| 413 | 410 | MACHINE_CONFIG_END |
| r18294 | r18295 | |
| 547 | 544 | |
| 548 | 545 | GAME( 1982, mpatrol, 0, m52, mpatrol, driver_device, 0, ROT0, "Irem", "Moon Patrol", GAME_SUPPORTS_SAVE ) |
| 549 | 546 | GAME( 1982, mpatrolw, mpatrol, m52, mpatrolw, driver_device, 0, ROT0, "Irem (Williams license)", "Moon Patrol (Williams)", GAME_SUPPORTS_SAVE ) |
| 550 | | GAME( 1988, alpha1v, 0, alpha1v, alpha1v, driver_device, 0, ROT0, "Vision Electronics / Kyle Hodgetts", "Alpha One (Vision Electronics / Kyle Hodgetts)", GAME_NOT_WORKING|GAME_NO_SOUND|GAME_SUPPORTS_SAVE ) |
| 547 | GAME( 1988, alpha1v, 0, alpha1v, alpha1v, driver_device, 0, ROT0, "Vision Electronics", "Alpha One (Vision Electronics)", GAME_NOT_WORKING| GAME_NO_SOUND| GAME_SUPPORTS_SAVE ) |
trunk/src/mame/drivers/timeplt.c
| r18294 | r18295 | |
| 61 | 61 | |
| 62 | 62 | INTERRUPT_GEN_MEMBER(timeplt_state::timeplt_interrupt) |
| 63 | 63 | { |
| 64 | | |
| 65 | 64 | if (m_nmi_enable) |
| 66 | 65 | device.execute().set_input_line(INPUT_LINE_NMI, ASSERT_LINE); |
| 67 | 66 | } |
| r18294 | r18295 | |
| 95 | 94 | // chkun has access to an extra soundchip via ay2 port a |
| 96 | 95 | WRITE8_MEMBER(timeplt_state::chkun_sound_w) |
| 97 | 96 | { |
| 98 | | |
| 99 | 97 | // d0-d3: P0-P3 |
| 100 | 98 | // d5: /R (unused?) |
| 101 | 99 | // d6: /W |
| r18294 | r18295 | |
| 454 | 452 | |
| 455 | 453 | void timeplt_state::machine_start() |
| 456 | 454 | { |
| 457 | | |
| 458 | 455 | save_item(NAME(m_nmi_enable)); |
| 459 | 456 | } |
| 460 | 457 | |
| 461 | 458 | void timeplt_state::machine_reset() |
| 462 | 459 | { |
| 463 | | |
| 464 | 460 | m_nmi_enable = 0; |
| 465 | 461 | } |
| 466 | 462 | |
| r18294 | r18295 | |
| 471 | 467 | MCFG_CPU_PROGRAM_MAP(timeplt_main_map) |
| 472 | 468 | MCFG_CPU_VBLANK_INT_DRIVER("screen", timeplt_state, timeplt_interrupt) |
| 473 | 469 | |
| 474 | | |
| 475 | 470 | /* video hardware */ |
| 476 | 471 | MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_SCANLINE) |
| 477 | 472 | |
| r18294 | r18295 | |
| 484 | 479 | MCFG_GFXDECODE(timeplt) |
| 485 | 480 | MCFG_PALETTE_LENGTH(32*4+64*4) |
| 486 | 481 | |
| 487 | | |
| 488 | 482 | /* sound hardware */ |
| 489 | 483 | MCFG_FRAGMENT_ADD(timeplt_sound) |
| 490 | 484 | MACHINE_CONFIG_END |
| r18294 | r18295 | |
| 712 | 706 | GAME( 1982, timepltc, timeplt, timeplt, timeplt, driver_device, 0, ROT90, "Konami (Centuri license)", "Time Pilot (Centuri)", GAME_SUPPORTS_SAVE ) |
| 713 | 707 | GAME( 1982, timeplta, timeplt, timeplt, timeplt, driver_device, 0, ROT90, "Konami (Atari license)", "Time Pilot (Atari)", GAME_SUPPORTS_SAVE ) |
| 714 | 708 | GAME( 1982, spaceplt, timeplt, timeplt, timeplt, driver_device, 0, ROT90, "bootleg", "Space Pilot", GAME_SUPPORTS_SAVE ) |
| 715 | | GAME( 1988, psurge, 0, psurge, psurge, driver_device, 0, ROT270, "Vision Electronics / Kyle Hodgetts", "Power Surge", GAME_SUPPORTS_SAVE ) |
| 709 | GAME( 1988, psurge, 0, psurge, psurge, driver_device, 0, ROT270, "Vision Electronics", "Power Surge", GAME_SUPPORTS_SAVE ) |
| 716 | 710 | // ROM says manufactured by Peni Soft for these two ... no, I'm not going to add THAT -.-" |
| 717 | 711 | GAME( 1988, chkun, 0, chkun, chkun, driver_device, 0, ROT90, "<unknown>", "Chance Kun (Japan)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) |
| 718 | 712 | GAME( 1987, bikkuric, 0, bikkuric,bikkuric, driver_device,0, ROT90, "<unknown>", "Bikkuri Card (Japan)", GAME_SUPPORTS_SAVE ) |