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 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");
 }
Ejemplo n.º 3
0
 protected avgdvg_device_base(machine_config mconfig, device_type type, string tag, device_t owner, u32 clock)
     : base(mconfig, type, tag, owner, clock)
 {
     m_vector        = new required_device <vector_device>(this, finder_base.DUMMY_TAG);
     m_memspace      = new required_address_space(this, finder_base.DUMMY_TAG, -1);
     m_membase       = 0;
     m_nvect         = 0;
     m_pc            = 0;
     m_sp            = 0;
     m_dvx           = 0;
     m_dvy           = 0;
     m_stack         = new u16 [] { 0, 0, 0, 0 };
     m_data          = 0;
     m_state_latch   = 0;
     m_scale         = 0;
     m_intensity     = 0;
     m_op            = 0;
     m_halt          = 0;
     m_sync_halt     = 0;
     m_xpos          = 0;
     m_ypos          = 0;
     m_prom          = new required_region_ptr <u8>(this, "prom");
     m_vg_run_timer  = null;
     m_vg_halt_timer = null;
 }
Ejemplo n.º 4
0
        protected m68705_device(machine_config mconfig, string tag, device_t owner, u32 clock, device_type type, u32 addr_width, unsigned ram_size)
            : base(mconfig, tag, owner, clock, type, addr_width, ram_size)
        {
            m_class_interfaces.Add(new device_execute_interface_m68705(mconfig, this));
            m_class_interfaces.Add(new device_nvram_interface_m68705(mconfig, this));  //device_nvram_interface(mconfig, *this)

            m_diexecute       = GetClassInterface <device_execute_interface_m68705>();
            m_nvram_interface = GetClassInterface <device_nvram_interface_m68705>();


            m_user_rom = new required_region_ptr <u8>(this, DEVICE_SELF);
            m_vihtp    = CLEAR_LINE;
            m_pcr      = 0xff;
            m_pl_data  = 0xff;
            m_pl_addr  = 0xffff;
        }