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); }
} //template <typename T> static constexpr rgb_t color111(T c) { return rgb_t(pal1bit(c >> 2), pal1bit(c >> 1), pal1bit(c >> 0)); } //template <typename T> static constexpr rgb_t color222(T c) { return rgb_t(pal2bit(c >> 4), pal2bit(c >> 2), pal2bit(c >> 0)); } //template <typename T> static constexpr rgb_t color444(T c) { return rgb_t(pal4bit(c >> 8), pal4bit(c >> 4), pal4bit(c >> 0)); } // construction/destruction vector_device(machine_config mconfig, string tag, device_t owner, uint32_t clock = 0) : base(mconfig, VECTOR, tag, owner, clock) { m_divideo = new device_video_interface(mconfig, this); //, device_video_interface(mconfig, *this) m_vector_list = null; m_min_intensity = 255; m_max_intensity = 0; }
fixedfreq_device(machine_config mconfig, device_type type, string tag, device_t owner, uint32_t clock) : base(mconfig, type, tag, owner, clock) { m_divideo = new device_video_interface(mconfig, this, false); //device_video_interface(mconfig, *this, false), m_enable = new required_ioport(this, "ENABLE"); m_vector = new required_ioport(this, "VECTOR"); m_scanline_height = 1.0f; m_monitor = new fixedfreq_monitor_desc(); m_state = new fixedfreq_monitor_state(m_monitor, this); }