public asteroid_state(machine_config mconfig, device_type type, string tag) : base(mconfig, type, tag) { m_maincpu = new required_device <m6502_device>(this, "maincpu"); m_dvg = new required_device <dvg_device>(this, "dvg"); m_earom = new optional_device <er2055_device>(this, "earom"); m_discrete = new required_device <discrete_sound_device>(this, "discrete"); m_dsw1 = new required_ioport(this, "DSW1"); m_dsw_sel = new required_device <ttl153_device>(this, "dsw_sel"); m_cocktail = new optional_ioport(this, "COCKTAIL"); m_ram1 = new optional_memory_bank(this, "ram1"); m_ram2 = new optional_memory_bank(this, "ram2"); m_sram1 = new memory_share_creator <u8>(this, "ram1", 0x100, ENDIANNESS_LITTLE); m_sram2 = new memory_share_creator <u8>(this, "ram2", 0x100, ENDIANNESS_LITTLE); }
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_ay8910 = new optional_device_array <ay8910_device, u32_const_3>(this, "8910.{0}", 0, (base_, tag_) => { return(new device_finder <ay8910_device, bool_const_false>(base_, tag_)); }); // "8910.%u" m_ay8910_cclimber = new optional_device <ay8910_device>(this, "cclimber_audio:aysnd"); m_ppi8255 = new optional_device_array <i8255_device, u32_const_3>(this, "ppi8255_{0}", 0, (base_, tag_) => { return(new device_finder <i8255_device, bool_const_false>(base_, tag_)); }); // 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_netlist = new optional_device <netlist_mame_sound_device>(this, "konami"); m_filter_ctl = new optional_device_array <netlist_mame_logic_input_device, u32_const_12>(this, "konami:ctl{0}", 0, (base_, tag_) => { return(new device_finder <netlist_mame_logic_input_device, bool_const_false>(base_, tag_)); }); m_ckong_coinage = new optional_ioport(this, "COINAGE"); 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_finder <u32_const_2>(this, "lamp{0}", 0U); //"lamp%u" }
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" }