Beispiel #1
0
 public taitosj_state(machine_config mconfig, device_type type, string tag)
     : base(mconfig, type, tag)
 {
     m_videoram           = new required_shared_ptr_array <uint8_t, u32_const_3>(this, "videoram_{0}", 1U);
     m_spriteram          = new required_shared_ptr <uint8_t>(this, "spriteram");
     m_paletteram         = new required_shared_ptr <uint8_t>(this, "paletteram");
     m_characterram       = new required_shared_ptr <uint8_t>(this, "characterram");
     m_scroll             = new required_shared_ptr <uint8_t>(this, "scroll");
     m_colscrolly         = new required_shared_ptr <uint8_t>(this, "colscrolly");
     m_gfxpointer         = new required_shared_ptr <uint8_t>(this, "gfxpointer");
     m_colorbank          = new required_shared_ptr <uint8_t>(this, "colorbank");
     m_video_mode         = new required_shared_ptr <uint8_t>(this, "video_mode");
     m_video_priority     = new required_shared_ptr <uint8_t>(this, "video_priority");
     m_collision_reg      = new required_shared_ptr <uint8_t>(this, "collision_reg");
     m_kikstart_scrollram = new optional_shared_ptr <uint8_t>(this, "kikstart_scroll");  //m_kikstart_scrollram = new required_shared_ptr_uint8_t(this, "kikstart_scroll");
     m_gfx       = new required_region_ptr <uint8_t>(this, "gfx");
     m_mainbank  = new required_memory_bank(this, "mainbank");
     m_in2       = new required_ioport(this, "IN2");
     m_gear      = new optional_ioport_array <u32_const_2>(this, "GEARP{0}", 1U);
     m_maincpu   = new required_device <cpu_device>(this, "maincpu");
     m_audiocpu  = new required_device <cpu_device>(this, "audiocpu");
     m_mcu       = new optional_device <taito_sj_security_mcu_device>(this, "bmcu");
     m_soundnmi  = new required_device_array <input_merger_device, u32_const_2>(this, "soundnmi{0}", 1U, (base_, tag_) => { return(new device_finder <input_merger_device, bool_const_true>(base_, tag_)); });
     m_dac       = new required_device <dac_8bit_r2r_device>(this, "dac");
     m_dacvol    = new required_device <discrete_sound_device>(this, "dacvol");
     m_ay        = new required_device_array <ay8910_device, u32_const_4>(this, "ay{0}", 1U, (base_, tag_) => { return(new device_finder <ay8910_device, bool_const_true>(base_, tag_)); });
     m_gfxdecode = new required_device <gfxdecode_device>(this, "gfxdecode");
     m_screen    = new required_device <screen_device>(this, "screen");
     m_palette   = new required_device <palette_device>(this, "palette");
 }
Beispiel #2
0
 public galaxian_state(machine_config mconfig, device_type type, string tag)
     : base(mconfig, type, tag)
 {
     m_maincpu           = new required_device <cpu_device>(this, "maincpu");
     m_audiocpu          = new optional_device <cpu_device>(this, "audiocpu");
     m_audio2            = new optional_device <cpu_device>(this, "audio2");
     m_dac               = new optional_device <dac_byte_interface>(this, "dac");
     m_ay8910            = new optional_device_array_ay8910_device(3, this, "8910.{0}", 0); // "8910.%u"
     m_ay8910_cclimber   = new optional_device <ay8910_device>(this, "cclimber_audio:aysnd");
     m_digitalker        = new optional_device <digitalker_device>(this, "digitalker");
     m_ppi8255           = new optional_device_array_i8255_device(3, this, "ppi8255_{0}", 0); // ppi8255_%u
     m_gfxdecode         = new required_device <gfxdecode_device>(this, "gfxdecode");
     m_screen            = new required_device <screen_device>(this, "screen");
     m_palette           = new required_device <palette_device>(this, "palette");
     m_soundlatch        = new optional_device <generic_latch_8_device>(this, "soundlatch");
     m_discrete          = new optional_device <discrete_device>(this, "konami");
     m_fake_select       = new optional_ioport(this, "FAKE_SELECT");
     m_tenspot_game_dsw  = new optional_ioport_array(10, this, "IN2_GAME{0}", 0); //{"IN2_GAME0", "IN2_GAME1", "IN2_GAME2", "IN2_GAME3", "IN2_GAME4", "IN2_GAME5", "IN2_GAME6", "IN2_GAME7", "IN2_GAME8", "IN2_GAME9"});
     m_spriteram         = new required_shared_ptr_uint8_t(this, "spriteram");
     m_videoram          = new required_shared_ptr_uint8_t(this, "videoram");
     m_decrypted_opcodes = new optional_shared_ptr_uint8_t(this, "decrypted_opcodes");
     m_lamps             = new output_manager.output_finder(2, this, "lamp{0}", 0U); //"lamp%u"
 }