atari_motion_objects_device(machine_config mconfig, string tag, device_t owner, uint32_t clock) : base(mconfig, ATARI_MOTION_OBJECTS, tag, owner) { m_divideo = new device_video_interface(mconfig, this); //, device_video_interface(mconfig, *this) m_tilewidth = 0; m_tileheight = 0; m_tilexshift = 0; m_tileyshift = 0; m_bitmapwidth = 0; m_bitmapheight = 0; m_bitmapxmask = 0; m_bitmapymask = 0; m_entrycount = 0; m_entrybits = 0; m_spriterammask = 0; m_spriteramsize = 0; m_slipshift = 0; m_sliprammask = 0; m_slipramsize = 0; m_bank = 0; m_xscroll = 0; m_yscroll = 0; m_slipram = null; m_slipramshare = new optional_shared_ptr <u16>(this, "slip"); m_activelast = null; m_last_xpos = 0; m_next_xpos = 0; m_xoffset = 0; m_gfxdecode = new required_device <gfxdecode_device>(this, finder_base.DUMMY_TAG); }
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"); }
optional_device_array <pia6821_device, u32_const_4> m_pia; //optional_device_array<pia6821_device, 4> m_pia; protected williams_state(machine_config mconfig, device_type type, string tag) : base(mconfig, type, tag) { m_nvram = new required_shared_ptr <uint8_t>(this, "nvram"); m_videoram = new required_shared_ptr <uint8_t>(this, "videoram"); m_mainbank = new optional_memory_bank(this, "mainbank"); m_maincpu = new required_device <mc6809e_device>(this, "maincpu"); m_soundcpu = new required_device <m6808_cpu_device>(this, "soundcpu"); m_watchdog = new required_device <watchdog_timer_device>(this, "watchdog"); m_screen = new required_device <screen_device>(this, "screen"); m_palette = new optional_device <palette_device>(this, "palette"); m_paletteram = new optional_shared_ptr <uint8_t>(this, "paletteram"); m_pia = new optional_device_array <pia6821_device, u32_const_4>(this, "pia_{0}", 0U, (base_, tag_) => { return(new device_finder <pia6821_device, bool_const_false>(base_, tag_)); }); }
public m52_state(machine_config mconfig, device_type type, string tag) : base(mconfig, type, tag) { m_maincpu = new required_device <cpu_device>(this, "maincpu"); m_screen = new required_device <screen_device>(this, "screen"); m_videoram = new required_shared_ptr <uint8_t>(this, "videoram"); m_colorram = new required_shared_ptr <uint8_t>(this, "colorram"); m_spriteram = new optional_shared_ptr <uint8_t>(this, "spriteram"); m_sp_gfxdecode = new required_device <gfxdecode_device>(this, "sp_gfxdecode"); m_tx_gfxdecode = new required_device <gfxdecode_device>(this, "tx_gfxdecode"); m_bg_gfxdecode = new required_device <gfxdecode_device>(this, "bg_gfxdecode"); m_sp_palette = new required_device <palette_device>(this, "sp_palette"); m_tx_palette = new required_device <palette_device>(this, "tx_palette"); m_bg_palette = new required_device <palette_device>(this, "bg_palette"); }
public centiped_state(machine_config mconfig, device_type type, string tag) : base(mconfig, type, tag) { m_maincpu = new required_device <m6502_device>(this, "maincpu"); m_rambase = new optional_shared_ptr <uint8_t>(this, "rambase"); m_videoram = new required_shared_ptr <uint8_t>(this, "videoram"); m_spriteram = new required_shared_ptr <uint8_t>(this, "spriteram"); m_paletteram = new optional_shared_ptr <uint8_t>(this, "paletteram"); m_bullsdrt_tiles_bankram = new optional_shared_ptr <uint8_t>(this, "bullsdrt_bank"); m_outlatch = new required_device <ls259_device>(this, "outlatch"); m_earom = new optional_device <er2055_device>(this, "earom"); 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_aysnd = new optional_device <ay8910_device>(this, "aysnd"); }
public pacman_state(machine_config mconfig, device_type type, string tag) : base(mconfig, type, tag) { m_maincpu = new required_device <cpu_device>(this, "maincpu"); m_mainlatch = new optional_device <ls259_device>(this, "mainlatch"); m_namco_sound = new optional_device <namco_device>(this, "namco"); m_watchdog = new required_device <watchdog_timer_device>(this, "watchdog"); m_spriteram = new optional_shared_ptr <uint8_t>(this, "spriteram"); m_spriteram2 = new optional_shared_ptr <uint8_t>(this, "spriteram2"); m_s2650_spriteram = new optional_shared_ptr <uint8_t>(this, "s2650_spriteram"); m_videoram = new required_shared_ptr <uint8_t>(this, "videoram"); m_colorram = new optional_shared_ptr <uint8_t>(this, "colorram"); m_s2650games_tileram = new optional_shared_ptr <uint8_t>(this, "s2650_tileram"); m_rocktrv2_prot_data = new optional_shared_ptr <uint8_t>(this, "rocktrv2_prot"); m_gfxdecode = new required_device <gfxdecode_device>(this, "gfxdecode"); m_palette = new required_device <palette_device>(this, "palette"); }
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 galaga_state(machine_config mconfig, device_type type, string tag) : base(mconfig, type, tag) { m_videoram = new optional_shared_ptr <uint8_t>(this, "videoram"); m_galaga_ram1 = new optional_shared_ptr <uint8_t>(this, "galaga_ram1"); m_galaga_ram2 = new optional_shared_ptr <uint8_t>(this, "galaga_ram2"); m_galaga_ram3 = new optional_shared_ptr <uint8_t>(this, "galaga_ram3"); m_videolatch = new optional_device <ls259_device>(this, "videolatch"); m_maincpu = new required_device <cpu_device>(this, "maincpu"); m_subcpu = new required_device <cpu_device>(this, "sub"); m_subcpu2 = new required_device <cpu_device>(this, "sub2"); m_namco_sound = new required_device <namco_device>(this, "namco"); 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_leds = new output_finder <u32_const_2>(this, "led{0}", 0U); m_starfield = new optional_device <starfield_05xx_device>(this, "starfield"); m_galaga_gfxbank = 0; m_main_irq_mask = 0; m_sub_irq_mask = 0; m_sub2_nmi_mask = 0; }