trunk/src/mame/drivers/raiden.c
| r243321 | r243322 | |
| 631 | 631 | /***************************************************************************/ |
| 632 | 632 | |
| 633 | 633 | /* Same PCB, differ by region byte(s) */ |
| 634 | | GAME( 1990, raiden, 0, raiden, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu", "Raiden (set 1)", 0 ) |
| 635 | | GAME( 1990, raidena, raiden, raiden, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu", "Raiden (set 2)", 0 ) |
| 636 | | GAME( 1990, raidenu, raiden, raiden, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu (Fabtek license)", "Raiden (US set 1)", 0 ) |
| 637 | | GAME( 1990, raident, raiden, raiden, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu (Liang HWA Electronics license)", "Raiden (Taiwan)", 0 ) |
| 634 | GAME( 1990, raiden, 0, raiden, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu", "Raiden (set 1)", GAME_SUPPORTS_SAVE ) |
| 635 | GAME( 1990, raidena, raiden, raiden, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu", "Raiden (set 2)", GAME_SUPPORTS_SAVE ) |
| 636 | GAME( 1990, raidenu, raiden, raiden, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu (Fabtek license)", "Raiden (US set 1)", GAME_SUPPORTS_SAVE ) |
| 637 | GAME( 1990, raident, raiden, raiden, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu (Liang HWA Electronics license)", "Raiden (Taiwan)", GAME_SUPPORTS_SAVE ) |
| 638 | 638 | |
| 639 | 639 | /* Same as above, but the sound CPU code is not encrypted */ |
| 640 | | GAME( 1990, raidenk, raiden, raiden, raiden, raiden_state, raidenk, ROT270, "Seibu Kaihatsu (IBL Corporation license)", "Raiden (Korea)", 0 ) |
| 640 | GAME( 1990, raidenk, raiden, raiden, raiden, raiden_state, raidenk, ROT270, "Seibu Kaihatsu (IBL Corporation license)", "Raiden (Korea)", GAME_SUPPORTS_SAVE ) |
| 641 | 641 | |
| 642 | 642 | /* Alternate hardware; SEI8904 + SEI9008 PCBs. Main & Sub CPU code not encrypted */ |
| 643 | | GAME( 1990, raidenua, raiden, raidenu, raiden, raiden_state, raidenu, ROT270, "Seibu Kaihatsu (Fabtek license)", "Raiden (US set 2)", 0 ) |
| 643 | GAME( 1990, raidenua, raiden, raidenu, raiden, raiden_state, raidenu, ROT270, "Seibu Kaihatsu (Fabtek license)", "Raiden (US set 2)", GAME_SUPPORTS_SAVE ) |
| 644 | 644 | |
| 645 | 645 | /* Alternate hardware. Main, Sub & Sound CPU code not encrypted - could possibly be a bootleg?? It also sports Seibu custom CRTC. */ |
| 646 | | GAME( 1990, raidenb, raiden, raidenb, raiden, driver_device, 0, ROT270, "Seibu Kaihatsu", "Raiden (set 3)", 0 ) |
| 646 | GAME( 1990, raidenb, raiden, raidenb, raiden, driver_device, 0, ROT270, "Seibu Kaihatsu", "Raiden (set 3)", GAME_SUPPORTS_SAVE ) |
trunk/src/mame/includes/raiden.h
| r243321 | r243322 | |
| 14 | 14 | : driver_device(mconfig, type, tag), |
| 15 | 15 | m_maincpu(*this, "maincpu"), |
| 16 | 16 | m_seibu_sound(*this, "seibu_sound"), |
| 17 | m_gfxdecode(*this, "gfxdecode"), |
| 18 | m_palette(*this, "palette"), |
| 17 | 19 | m_spriteram(*this, "spriteram"), |
| 18 | 20 | m_shared_ram(*this, "shared_ram"), |
| 19 | 21 | m_videoram(*this, "videoram"), |
| 20 | 22 | m_scroll_ram(*this, "scroll_ram"), |
| 21 | 23 | m_back_data(*this, "back_data"), |
| 22 | | m_fore_data(*this, "fore_data"), |
| 23 | | m_gfxdecode(*this, "gfxdecode"), |
| 24 | | m_palette(*this, "palette") |
| 24 | m_fore_data(*this, "fore_data") |
| 25 | 25 | { } |
| 26 | 26 | |
| 27 | 27 | required_device<cpu_device> m_maincpu; |
| 28 | 28 | required_device<seibu_sound_device> m_seibu_sound; |
| 29 | required_device<gfxdecode_device> m_gfxdecode; |
| 30 | required_device<palette_device> m_palette; |
| 29 | 31 | required_device<buffered_spriteram16_device> m_spriteram; |
| 32 | |
| 30 | 33 | required_shared_ptr<UINT16> m_shared_ram; |
| 31 | 34 | required_shared_ptr<UINT16> m_videoram; |
| 32 | 35 | optional_shared_ptr<UINT16> m_scroll_ram; |
| 33 | 36 | required_shared_ptr<UINT16> m_back_data; |
| 34 | 37 | required_shared_ptr<UINT16> m_fore_data; |
| 35 | | required_device<gfxdecode_device> m_gfxdecode; |
| 36 | | required_device<palette_device> m_palette; |
| 37 | 38 | |
| 38 | 39 | tilemap_t *m_bg_layer; |
| 39 | 40 | tilemap_t *m_fg_layer; |
| r243321 | r243322 | |
| 55 | 56 | DECLARE_DRIVER_INIT(raidenu); |
| 56 | 57 | DECLARE_DRIVER_INIT(raidenk); |
| 57 | 58 | DECLARE_DRIVER_INIT(raiden); |
| 59 | |
| 58 | 60 | TILE_GET_INFO_MEMBER(get_back_tile_info); |
| 59 | 61 | TILE_GET_INFO_MEMBER(get_fore_tile_info); |
| 60 | 62 | TILE_GET_INFO_MEMBER(get_text_tile_info); |
| 63 | |
| 61 | 64 | virtual void video_start(); |
| 62 | 65 | DECLARE_VIDEO_START(raidenb); |
| 66 | |
| 63 | 67 | UINT32 screen_update_common(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, UINT16 *scrollregs); |
| 64 | 68 | UINT32 screen_update_raiden(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 65 | 69 | UINT32 screen_update_raidenb(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 70 | |
| 66 | 71 | INTERRUPT_GEN_MEMBER(raiden_interrupt); |
| 72 | |
| 67 | 73 | void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, int pri_mask); |
| 68 | 74 | void common_decrypt(); |
| 69 | 75 | }; |