Ejemplo n.º 1
0
        //static const atari_motion_objects_config s_mob_config;


        public atarisy2_state(machine_config mconfig, device_type type, string tag)
            : base(mconfig, type, tag)
        {
            m_maincpu           = new required_device <t11_device>(this, "maincpu");
            m_audiocpu          = new required_device <m6502_device>(this, "audiocpu");
            m_gfxdecode         = new required_device <gfxdecode_device>(this, "gfxdecode");
            m_screen            = new required_device <screen_device>(this, "screen");
            m_mob               = new required_device <atari_motion_objects_device>(this, "mob");
            m_slapstic_region   = new required_region_ptr <uint16_t>(this, "maincpu");
            m_playfield_tilemap = new required_device <tilemap_device>(this, "playfield");
            m_alpha_tilemap     = new required_device <tilemap_device>(this, "alpha");
            m_xscroll           = new required_shared_ptr <uint16_t>(this, "xscroll");
            m_yscroll           = new required_shared_ptr <uint16_t>(this, "yscroll");
            m_soundlatch        = new required_device <generic_latch_8_device>(this, "soundlatch");
            m_mainlatch         = new required_device <generic_latch_8_device>(this, "mainlatch");
            m_ym2151            = new required_device <ym2151_device>(this, "ymsnd");
            m_pokey             = new required_device_array <pokey_device, u32_const_2>(this, "pokey{0}", 1, (base_, tag_) => { return(new device_finder <pokey_device, bool_const_true>(base_, tag_)); });
            m_tms5220           = new optional_device <tms5220c_device>(this, "tms");
            m_rombank           = new required_memory_bank_array <u32_const_2>(this, "rombank{0}", 1);
            m_slapstic          = new required_device <atari_slapstic_device>(this, "slapstic");
            m_vmmu              = new memory_view(this, "vmmu");
            m_playfieldt        = new required_shared_ptr <uint16_t>(this, "playfieldt");
            m_playfieldb        = new required_shared_ptr <uint16_t>(this, "playfieldb");
            m_leds              = new output_finder <u32_const_2>(this, "led{0}", 0);
        }
Ejemplo n.º 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_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"
 }
Ejemplo n.º 3
0
 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;
 }