//palette_device(const machine_config &mconfig, const char *tag, device_t *owner, black_t, u32 entries = 0U); //palette_device(const machine_config &mconfig, const char *tag, device_t *owner, mono_t); //palette_device(const machine_config &mconfig, const char *tag, device_t *owner, mono_inv_t); //palette_device(const machine_config &mconfig, const char *tag, device_t *owner, mono_hi_t); //palette_device(const machine_config &mconfig, const char *tag, device_t *owner, rgb_3b_t); //palette_device(const machine_config &mconfig, const char *tag, device_t *owner, rbg_3b_t); //palette_device(const machine_config &mconfig, const char *tag, device_t *owner, grb_3b_t); //palette_device(const machine_config &mconfig, const char *tag, device_t *owner, gbr_3b_t); //palette_device(const machine_config &mconfig, const char *tag, device_t *owner, brg_3b_t); //palette_device(const machine_config &mconfig, const char *tag, device_t *owner, bgr_3b_t); //palette_device(const machine_config &mconfig, const char *tag, device_t *owner, rgb_555_t); //palette_device(const machine_config &mconfig, const char *tag, device_t *owner, grb_555_t); //palette_device(const machine_config &mconfig, const char *tag, device_t *owner, bgr_555_t); //palette_device(const machine_config &mconfig, const char *tag, device_t *owner, rgb_565_t); //palette_device(const machine_config &mconfig, const char *tag, device_t *owner, bgr_565_t); public palette_device(machine_config mconfig, string tag, device_t owner, u32 clock = 0) : base(mconfig, PALETTE, tag, owner, 0) { m_class_interfaces.Add(new device_palette_interface_palette_device(mconfig, this)); //device_palette_interface(mconfig, *this), m_device_palette_interface = GetClassInterface <device_palette_interface_palette_device>(); m_entries = 0; m_indirect_entries = 0; m_enable_shadows = false; m_enable_hilights = false; m_membits = 0; m_membits_supplied = false; m_endianness = endianness_t.ENDIANNESS_BIG; m_endianness_supplied = false; m_prom_region = new optional_memory_region(this, finder_base.DUMMY_TAG); m_init = null; m_raw_to_rgb = null; }
public void set_endianness(endianness_t endianness) { set(m_base, m_bytes, m_membits, endianness, m_bytes_per_entry); }
//memory_array(void *base, UINT32 bytes, int membits, endianness_t endianness, int bpe) { set(base, bytes, membits, endianness, bpe); } //memory_array(const address_space &space, void *base, UINT32 bytes, int bpe) { set(space, base, bytes, bpe); } //memory_array(const memory_share &share, int bpe) { set(share, bpe); } //memory_array(const memory_array &array) { set(array); } // configuration //------------------------------------------------- // set - configure the parameters //------------------------------------------------- public void set(object baseptr, UInt32 bytes, int membits, endianness_t endianness, int bpe) //void memory_array::set(void *base, UINT32 bytes, int membits, endianness_t endianness, int bpe) { throw new emu_unimplemented(); }