mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
some additional (nw)
This commit is contained in:
parent
caba131d84
commit
e8512cb57b
@ -192,7 +192,7 @@ const rom_entry *dmac_hdc_device::device_rom_region() const
|
||||
//-------------------------------------------------
|
||||
|
||||
dmac_hdc_device::dmac_hdc_device(const machine_config &mconfig, device_type type, std::string tag,
|
||||
device_t *owner, UINT32 clock, const char *name, const char *shortname) :
|
||||
device_t *owner, UINT32 clock, std::string name, std::string shortname) :
|
||||
device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__),
|
||||
m_int6(false),
|
||||
m_dmac(*this, "dmac"),
|
||||
|
@ -30,7 +30,7 @@ class dmac_hdc_device : public device_t
|
||||
public:
|
||||
// construction/destruction
|
||||
dmac_hdc_device(const machine_config &mconfig, device_type type, std::string tag,
|
||||
device_t *owner, UINT32 clock, const char *name, const char *shortname);
|
||||
device_t *owner, UINT32 clock, std::string name, std::string shortname);
|
||||
|
||||
// optional information overrides
|
||||
virtual machine_config_constructor device_mconfig_additions() const override;
|
||||
|
@ -98,7 +98,7 @@ const rom_entry *action_replay_mk3_device::device_rom_region() const
|
||||
//-------------------------------------------------
|
||||
|
||||
action_replay_device::action_replay_device(const machine_config &mconfig, device_type type, std::string tag,
|
||||
device_t *owner, UINT32 clock, const char *name, const char *shortname) :
|
||||
device_t *owner, UINT32 clock, std::string name, std::string shortname) :
|
||||
device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__),
|
||||
device_exp_card_interface(mconfig, *this),
|
||||
m_button(*this, "freeze")
|
||||
|
@ -28,7 +28,7 @@ class action_replay_device : public device_t, public device_exp_card_interface
|
||||
public:
|
||||
// construction/destruction
|
||||
action_replay_device(const machine_config &mconfig, device_type type, std::string tag,
|
||||
device_t *owner, UINT32 clock, const char *name, const char *shortname);
|
||||
device_t *owner, UINT32 clock, std::string name, std::string shortname);
|
||||
|
||||
// optional information overrides
|
||||
virtual ioport_constructor device_input_ports() const override;
|
||||
|
@ -32,7 +32,7 @@ const device_type DMV_K208 = &device_creator<dmv_k208_device>;
|
||||
// dmv_ram_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
dmv_ram_device::dmv_ram_device(const machine_config &mconfig, device_type type, UINT32 size, const char *name, std::string tag, device_t *owner, UINT32 clock, std::string shortname, std::string source)
|
||||
dmv_ram_device::dmv_ram_device(const machine_config &mconfig, device_type type, UINT32 size, std::string name, std::string tag, device_t *owner, UINT32 clock, std::string shortname, std::string source)
|
||||
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
device_dmvslot_interface( mconfig, *this ), m_ram(nullptr),
|
||||
m_size(size)
|
||||
|
@ -20,7 +20,7 @@ class dmv_ram_device :
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
dmv_ram_device(const machine_config &mconfig, device_type type, UINT32 size, const char *name, std::string tag, device_t *owner, UINT32 clock, std::string shortname, std::string source);
|
||||
dmv_ram_device(const machine_config &mconfig, device_type type, UINT32 size, std::string name, std::string tag, device_t *owner, UINT32 clock, std::string shortname, std::string source);
|
||||
|
||||
protected:
|
||||
// device-level overrides
|
||||
|
@ -129,7 +129,7 @@ const rom_entry *fdcmag_device::device_rom_region() const
|
||||
// mufdc_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
mufdc_device::mufdc_device(const machine_config &mconfig, device_type type, std::string tag, device_t *owner, UINT32 clock, const char *name, const char *shortname) :
|
||||
mufdc_device::mufdc_device(const machine_config &mconfig, device_type type, std::string tag, device_t *owner, UINT32 clock, std::string name, std::string shortname) :
|
||||
device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__),
|
||||
device_isa8_card_interface( mconfig, *this ),
|
||||
m_fdc(*this, "fdc"),
|
||||
|
@ -36,7 +36,7 @@ class mufdc_device : public device_t,
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
mufdc_device(const machine_config &mconfig, device_type type, std::string tag, device_t *owner, UINT32 clock, const char *name, const char *shortname);
|
||||
mufdc_device(const machine_config &mconfig, device_type type, std::string tag, device_t *owner, UINT32 clock, std::string name, std::string shortname);
|
||||
|
||||
// optional information overrides
|
||||
virtual machine_config_constructor device_mconfig_additions() const override;
|
||||
|
@ -1101,7 +1101,7 @@ machine_config_constructor isa16_sblaster16_device::device_mconfig_additions() c
|
||||
// LIVE DEVICE
|
||||
//**************************************************************************
|
||||
|
||||
sb_device::sb_device(const machine_config &mconfig, device_type type, std::string tag, device_t *owner, UINT32 clock, const char *name, std::string shortname, std::string source) :
|
||||
sb_device::sb_device(const machine_config &mconfig, device_type type, std::string tag, device_t *owner, UINT32 clock, std::string name, std::string shortname, std::string source) :
|
||||
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
device_serial_interface(mconfig, *this),
|
||||
m_dacl(*this, "sbdacl"),
|
||||
@ -1111,14 +1111,14 @@ sb_device::sb_device(const machine_config &mconfig, device_type type, std::strin
|
||||
{
|
||||
}
|
||||
|
||||
sb8_device::sb8_device(const machine_config &mconfig, device_type type, std::string tag, device_t *owner, UINT32 clock, const char *name, std::string shortname, std::string source) :
|
||||
sb8_device::sb8_device(const machine_config &mconfig, device_type type, std::string tag, device_t *owner, UINT32 clock, std::string name, std::string shortname, std::string source) :
|
||||
sb_device(mconfig, type, tag, owner, clock, name, shortname, source),
|
||||
device_isa8_card_interface(mconfig, *this),
|
||||
m_ym3812(*this, "ym3812")
|
||||
{
|
||||
}
|
||||
|
||||
sb16_device::sb16_device(const machine_config &mconfig, device_type type, std::string tag, device_t *owner, UINT32 clock, const char *name, std::string shortname, std::string source) :
|
||||
sb16_device::sb16_device(const machine_config &mconfig, device_type type, std::string tag, device_t *owner, UINT32 clock, std::string name, std::string shortname, std::string source) :
|
||||
sb_device(mconfig, type, tag, owner, clock, name, shortname, source),
|
||||
device_isa16_card_interface(mconfig, *this)
|
||||
{
|
||||
|
@ -97,7 +97,7 @@ class sb_device :
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
sb_device(const machine_config &mconfig, device_type type, std::string tag, device_t *owner, UINT32 clock, const char *name, std::string shortname, std::string source);
|
||||
sb_device(const machine_config &mconfig, device_type type, std::string tag, device_t *owner, UINT32 clock, std::string name, std::string shortname, std::string source);
|
||||
|
||||
required_device<dac_device> m_dacl;
|
||||
required_device<dac_device> m_dacr;
|
||||
@ -158,7 +158,7 @@ class sb8_device : public sb_device,
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
sb8_device(const machine_config &mconfig, device_type type, std::string tag, device_t *owner, UINT32 clock, const char *name, std::string shortname, std::string source);
|
||||
sb8_device(const machine_config &mconfig, device_type type, std::string tag, device_t *owner, UINT32 clock, std::string name, std::string shortname, std::string source);
|
||||
|
||||
DECLARE_READ8_MEMBER(ym3812_16_r);
|
||||
DECLARE_WRITE8_MEMBER(ym3812_16_w);
|
||||
@ -212,7 +212,7 @@ class sb16_device : public sb_device,
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
sb16_device(const machine_config &mconfig, device_type type, std::string tag, device_t *owner, UINT32 clock, const char *name, std::string shortname, std::string source);
|
||||
sb16_device(const machine_config &mconfig, device_type type, std::string tag, device_t *owner, UINT32 clock, std::string name, std::string shortname, std::string source);
|
||||
DECLARE_READ8_MEMBER(mpu401_r);
|
||||
DECLARE_WRITE8_MEMBER(mpu401_w);
|
||||
DECLARE_READ8_MEMBER(mixer_r);
|
||||
|
@ -18,7 +18,7 @@ const device_type MSX_CART_SFG01 = &device_creator<msx_cart_sfg01>;
|
||||
const device_type MSX_CART_SFG05 = &device_creator<msx_cart_sfg05>;
|
||||
|
||||
|
||||
msx_cart_sfg::msx_cart_sfg(const machine_config &mconfig, const device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname)
|
||||
msx_cart_sfg::msx_cart_sfg(const machine_config &mconfig, const device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, std::string shortname)
|
||||
: device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__)
|
||||
, msx_cart_interface(mconfig, *this)
|
||||
, m_region_sfg(*this, "sfg")
|
||||
|
@ -17,7 +17,7 @@ class msx_cart_sfg : public device_t
|
||||
, public msx_cart_interface
|
||||
{
|
||||
public:
|
||||
msx_cart_sfg(const machine_config &mconfig, const device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname);
|
||||
msx_cart_sfg(const machine_config &mconfig, const device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, std::string shortname);
|
||||
|
||||
// device-level overrides
|
||||
virtual machine_config_constructor device_mconfig_additions() const override;
|
||||
|
@ -632,7 +632,7 @@ atmega2560_device::atmega2560_device(const machine_config &mconfig, std::string
|
||||
// avr8_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
avr8_device::avr8_device(const machine_config &mconfig, const char *name, std::string tag, device_t *owner, UINT32 clock, const device_type type, UINT32 addr_mask, address_map_constructor internal_map, UINT8 cpu_type, std::string shortname, std::string source)
|
||||
avr8_device::avr8_device(const machine_config &mconfig, std::string name, std::string tag, device_t *owner, UINT32 clock, const device_type type, UINT32 addr_mask, address_map_constructor internal_map, UINT8 cpu_type, std::string shortname, std::string source)
|
||||
: cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
m_shifted_pc(0),
|
||||
m_program_config("program", ENDIANNESS_LITTLE, 8, 22),
|
||||
|
@ -109,7 +109,7 @@ protected:
|
||||
CPU_TYPE_ATMEGA2560
|
||||
};
|
||||
|
||||
avr8_device(const machine_config &mconfig, const char *name, std::string tag, device_t *owner, UINT32 clock, const device_type type, UINT32 address_mask, address_map_constructor internal_map, UINT8 cpu_type, std::string shortname, std::string source);
|
||||
avr8_device(const machine_config &mconfig, std::string name, std::string tag, device_t *owner, UINT32 clock, const device_type type, UINT32 address_mask, address_map_constructor internal_map, UINT8 cpu_type, std::string shortname, std::string source);
|
||||
|
||||
// device-level overrides
|
||||
virtual void device_start() override;
|
||||
|
@ -292,7 +292,7 @@ ADDRESS_MAP_END
|
||||
// hyperstone_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
hyperstone_device::hyperstone_device(const machine_config &mconfig, const char *name, std::string tag, device_t *owner, UINT32 clock,
|
||||
hyperstone_device::hyperstone_device(const machine_config &mconfig, std::string name, std::string tag, device_t *owner, UINT32 clock,
|
||||
const device_type type, UINT32 prg_data_width, UINT32 io_data_width, address_map_constructor internal_map, std::string shortname, std::string source)
|
||||
: cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
m_program_config("program", ENDIANNESS_BIG, prg_data_width, 32, 0, internal_map),
|
||||
|
@ -212,7 +212,7 @@ class hyperstone_device : public cpu_device
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
hyperstone_device(const machine_config &mconfig, const char *name, std::string tag, device_t *owner, UINT32 clock,
|
||||
hyperstone_device(const machine_config &mconfig, std::string name, std::string tag, device_t *owner, UINT32 clock,
|
||||
const device_type type, UINT32 prg_data_width, UINT32 io_data_width, address_map_constructor internal_map, std::string shortname, std::string source);
|
||||
|
||||
// public interfaces
|
||||
|
@ -78,7 +78,7 @@ ADDRESS_MAP_END
|
||||
|
||||
|
||||
// device definitions
|
||||
hmcs43_cpu_device::hmcs43_cpu_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, UINT16 polarity, const char *shortname)
|
||||
hmcs43_cpu_device::hmcs43_cpu_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, UINT16 polarity, std::string shortname)
|
||||
: hmcs40_cpu_device(mconfig, type, name, tag, owner, clock, HMCS40_FAMILY_HMCS43, polarity, 3 /* stack levels */, 10 /* pc width */, 11 /* prg width */, ADDRESS_MAP_NAME(program_1k), 7 /* data width */, ADDRESS_MAP_NAME(data_80x4), shortname, __FILE__)
|
||||
{ }
|
||||
|
||||
@ -96,7 +96,7 @@ hd44758_device::hd44758_device(const machine_config &mconfig, std::string tag, d
|
||||
{ }
|
||||
|
||||
|
||||
hmcs44_cpu_device::hmcs44_cpu_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, UINT16 polarity, const char *shortname)
|
||||
hmcs44_cpu_device::hmcs44_cpu_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, UINT16 polarity, std::string shortname)
|
||||
: hmcs40_cpu_device(mconfig, type, name, tag, owner, clock, HMCS40_FAMILY_HMCS44, polarity, 4, 11, 12, ADDRESS_MAP_NAME(program_2k), 8, ADDRESS_MAP_NAME(data_160x4), shortname, __FILE__)
|
||||
{ }
|
||||
|
||||
@ -114,7 +114,7 @@ hd44808_device::hd44808_device(const machine_config &mconfig, std::string tag, d
|
||||
{ }
|
||||
|
||||
|
||||
hmcs45_cpu_device::hmcs45_cpu_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, UINT16 polarity, const char *shortname)
|
||||
hmcs45_cpu_device::hmcs45_cpu_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, UINT16 polarity, std::string shortname)
|
||||
: hmcs40_cpu_device(mconfig, type, name, tag, owner, clock, HMCS40_FAMILY_HMCS45, polarity, 4, 11, 12, ADDRESS_MAP_NAME(program_2k), 8, ADDRESS_MAP_NAME(data_160x4), shortname, __FILE__)
|
||||
{ }
|
||||
|
||||
|
@ -349,7 +349,7 @@ protected:
|
||||
class hmcs43_cpu_device : public hmcs40_cpu_device
|
||||
{
|
||||
public:
|
||||
hmcs43_cpu_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, UINT16 polarity, const char *shortname);
|
||||
hmcs43_cpu_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, UINT16 polarity, std::string shortname);
|
||||
|
||||
protected:
|
||||
// overrides
|
||||
@ -386,7 +386,7 @@ public:
|
||||
class hmcs44_cpu_device : public hmcs40_cpu_device
|
||||
{
|
||||
public:
|
||||
hmcs44_cpu_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, UINT16 polarity, const char *shortname);
|
||||
hmcs44_cpu_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, UINT16 polarity, std::string shortname);
|
||||
|
||||
protected:
|
||||
// overrides
|
||||
@ -422,7 +422,7 @@ public:
|
||||
class hmcs45_cpu_device : public hmcs40_cpu_device
|
||||
{
|
||||
public:
|
||||
hmcs45_cpu_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, UINT16 polarity, const char *shortname);
|
||||
hmcs45_cpu_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, UINT16 polarity, std::string shortname);
|
||||
|
||||
protected:
|
||||
// overrides
|
||||
|
@ -125,10 +125,10 @@ class m68000_base_device : public cpu_device
|
||||
public:
|
||||
|
||||
// construction/destruction
|
||||
m68000_base_device(const machine_config &mconfig, const char *name, std::string tag, device_t *owner, UINT32 clock,
|
||||
m68000_base_device(const machine_config &mconfig, std::string name, std::string tag, device_t *owner, UINT32 clock,
|
||||
const device_type type, UINT32 prg_data_width, UINT32 prg_address_bits, std::string shortname, std::string source);
|
||||
|
||||
m68000_base_device(const machine_config &mconfig, const char *name, std::string tag, device_t *owner, UINT32 clock,
|
||||
m68000_base_device(const machine_config &mconfig, std::string name, std::string tag, device_t *owner, UINT32 clock,
|
||||
const device_type type, UINT32 prg_data_width, UINT32 prg_address_bits, address_map_constructor internal_map, std::string shortname, std::string source);
|
||||
|
||||
m68000_base_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
|
||||
@ -411,7 +411,7 @@ public:
|
||||
m68000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
|
||||
m68000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, std::string shortname, std::string source);
|
||||
|
||||
m68000_device(const machine_config &mconfig, const char *name, std::string tag, device_t *owner, UINT32 clock,
|
||||
m68000_device(const machine_config &mconfig, std::string name, std::string tag, device_t *owner, UINT32 clock,
|
||||
const device_type type, UINT32 prg_data_width, UINT32 prg_address_bits, address_map_constructor internal_map, std::string shortname, std::string source);
|
||||
|
||||
|
||||
@ -728,7 +728,7 @@ public:
|
||||
// construction/destruction
|
||||
fscpu32_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
|
||||
|
||||
fscpu32_device(const machine_config &mconfig, const char *name, std::string tag, device_t *owner, UINT32 clock,
|
||||
fscpu32_device(const machine_config &mconfig, std::string name, std::string tag, device_t *owner, UINT32 clock,
|
||||
const device_type type, UINT32 prg_data_width, UINT32 prg_address_bits, address_map_constructor internal_map, std::string shortname, std::string source);
|
||||
|
||||
virtual UINT32 disasm_min_opcode_bytes() const override { return 2; };
|
||||
|
@ -2307,7 +2307,7 @@ m68000_base_device::m68000_base_device(const machine_config &mconfig, std::strin
|
||||
|
||||
|
||||
|
||||
m68000_base_device::m68000_base_device(const machine_config &mconfig, const char *name, std::string tag, device_t *owner, UINT32 clock,
|
||||
m68000_base_device::m68000_base_device(const machine_config &mconfig, std::string name, std::string tag, device_t *owner, UINT32 clock,
|
||||
const device_type type, UINT32 prg_data_width, UINT32 prg_address_bits, address_map_constructor internal_map, std::string shortname, std::string source)
|
||||
: cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
m_program_config("program", ENDIANNESS_BIG, prg_data_width, prg_address_bits, 0, internal_map),
|
||||
@ -2317,7 +2317,7 @@ m68000_base_device::m68000_base_device(const machine_config &mconfig, const char
|
||||
}
|
||||
|
||||
|
||||
m68000_base_device::m68000_base_device(const machine_config &mconfig, const char *name, std::string tag, device_t *owner, UINT32 clock,
|
||||
m68000_base_device::m68000_base_device(const machine_config &mconfig, std::string name, std::string tag, device_t *owner, UINT32 clock,
|
||||
const device_type type, UINT32 prg_data_width, UINT32 prg_address_bits, std::string shortname, std::string source)
|
||||
: cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
m_program_config("program", ENDIANNESS_BIG, prg_data_width, prg_address_bits),
|
||||
@ -2548,7 +2548,7 @@ void m68000_device::device_start()
|
||||
init_cpu_m68000();
|
||||
}
|
||||
|
||||
m68000_device::m68000_device(const machine_config &mconfig, const char *name, std::string tag, device_t *owner, UINT32 clock,
|
||||
m68000_device::m68000_device(const machine_config &mconfig, std::string name, std::string tag, device_t *owner, UINT32 clock,
|
||||
const device_type type, UINT32 prg_data_width, UINT32 prg_address_bits, address_map_constructor internal_map, std::string shortname, std::string source)
|
||||
: m68000_base_device(mconfig, name, tag, owner, clock, type, prg_data_width, prg_address_bits, internal_map, shortname, source)
|
||||
{
|
||||
@ -2752,7 +2752,7 @@ fscpu32_device::fscpu32_device(const machine_config &mconfig, std::string tag, d
|
||||
{
|
||||
}
|
||||
|
||||
fscpu32_device::fscpu32_device(const machine_config &mconfig, const char *name, std::string tag, device_t *owner, UINT32 clock,
|
||||
fscpu32_device::fscpu32_device(const machine_config &mconfig, std::string name, std::string tag, device_t *owner, UINT32 clock,
|
||||
const device_type type, UINT32 prg_data_width, UINT32 prg_address_bits, address_map_constructor internal_map, std::string shortname, std::string source)
|
||||
: m68000_base_device(mconfig, name, tag, owner, clock, type, prg_data_width, prg_address_bits, internal_map, shortname, source)
|
||||
{
|
||||
|
@ -108,7 +108,7 @@ const device_type M6809E = &device_creator<m6809e_device>;
|
||||
// m6809_base_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
m6809_base_device::m6809_base_device(const machine_config &mconfig, const char *name, std::string tag, device_t *owner, UINT32 clock, const device_type type, int divider, std::string shortname, std::string source)
|
||||
m6809_base_device::m6809_base_device(const machine_config &mconfig, std::string name, std::string tag, device_t *owner, UINT32 clock, const device_type type, int divider, std::string shortname, std::string source)
|
||||
: cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
m_lic_func(*this),
|
||||
m_program_config("program", ENDIANNESS_BIG, 8, 16),
|
||||
|
@ -32,7 +32,7 @@ class m6809_base_device : public cpu_device
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
m6809_base_device(const machine_config &mconfig, const char *name, std::string tag, device_t *owner, UINT32 clock, const device_type type, int divider, std::string shortname, std::string source);
|
||||
m6809_base_device(const machine_config &mconfig, std::string name, std::string tag, device_t *owner, UINT32 clock, const device_type type, int divider, std::string shortname, std::string source);
|
||||
|
||||
DECLARE_WRITE_LINE_MEMBER( irq_line );
|
||||
DECLARE_WRITE_LINE_MEMBER( firq_line );
|
||||
|
@ -168,7 +168,7 @@ enum
|
||||
twice their number. Accordingly, the TMS9900 has a CRU bitmask 0x0fff.
|
||||
****************************************************************************/
|
||||
|
||||
tms99xx_device::tms99xx_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, int databus_width, int prg_addr_bits, int cru_addr_bits, device_t *owner, UINT32 clock, std::string shortname, std::string source)
|
||||
tms99xx_device::tms99xx_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, int databus_width, int prg_addr_bits, int cru_addr_bits, device_t *owner, UINT32 clock, std::string shortname, std::string source)
|
||||
: cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
m_program_config("program", ENDIANNESS_BIG, databus_width, prg_addr_bits),
|
||||
m_io_config("cru", ENDIANNESS_BIG, 8, cru_addr_bits),
|
||||
|
@ -42,7 +42,7 @@ static const char opname[][5] =
|
||||
class tms99xx_device : public cpu_device
|
||||
{
|
||||
public:
|
||||
tms99xx_device(const machine_config &mconfig, device_type type, const char *name,
|
||||
tms99xx_device(const machine_config &mconfig, device_type type, std::string name,
|
||||
std::string tag, int databus_width, int prg_addr_bits, int cru_addr_bits,
|
||||
device_t *owner, UINT32 clock, std::string shortname, std::string source);
|
||||
|
||||
|
@ -44,8 +44,8 @@ ADDRESS_MAP_END
|
||||
// eeprom_base_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
eeprom_base_device::eeprom_base_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file)
|
||||
: device_t(mconfig, devtype, name, tag, owner, 0, shortname, file),
|
||||
eeprom_base_device::eeprom_base_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source)
|
||||
: device_t(mconfig, devtype, name, tag, owner, 0, shortname, source),
|
||||
device_memory_interface(mconfig, *this),
|
||||
device_nvram_interface(mconfig, *this),
|
||||
m_cells(0),
|
||||
|
@ -49,7 +49,7 @@ class eeprom_base_device : public device_t,
|
||||
{
|
||||
protected:
|
||||
// construction/destruction
|
||||
eeprom_base_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file);
|
||||
eeprom_base_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source);
|
||||
|
||||
public:
|
||||
// timing constants
|
||||
|
@ -51,8 +51,8 @@
|
||||
// eeprom_parallel_base_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
eeprom_parallel_base_device::eeprom_parallel_base_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file)
|
||||
: eeprom_base_device(mconfig, devtype, name, tag, owner, shortname, file)
|
||||
eeprom_parallel_base_device::eeprom_parallel_base_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source)
|
||||
: eeprom_base_device(mconfig, devtype, name, tag, owner, shortname, source)
|
||||
{
|
||||
}
|
||||
|
||||
@ -88,8 +88,8 @@ void eeprom_parallel_base_device::device_reset()
|
||||
// eeprom_parallel_28xx_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
eeprom_parallel_28xx_device::eeprom_parallel_28xx_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file)
|
||||
: eeprom_parallel_base_device(mconfig, devtype, name, tag, owner, shortname, file)
|
||||
eeprom_parallel_28xx_device::eeprom_parallel_28xx_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source)
|
||||
: eeprom_parallel_base_device(mconfig, devtype, name, tag, owner, shortname, source)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -51,7 +51,7 @@ class eeprom_parallel_base_device : public eeprom_base_device
|
||||
{
|
||||
protected:
|
||||
// construction/destruction
|
||||
eeprom_parallel_base_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file);
|
||||
eeprom_parallel_base_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source);
|
||||
|
||||
protected:
|
||||
// device-level overrides
|
||||
@ -67,7 +67,7 @@ class eeprom_parallel_28xx_device : public eeprom_parallel_base_device
|
||||
{
|
||||
protected:
|
||||
// construction/destruction
|
||||
eeprom_parallel_28xx_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file);
|
||||
eeprom_parallel_28xx_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source);
|
||||
|
||||
public:
|
||||
// read/write data lines - for now we cheat and ignore the control lines, assuming
|
||||
|
@ -143,8 +143,8 @@ ALLOW_SAVE_TYPE(eeprom_serial_base_device::eeprom_state);
|
||||
// eeprom_serial_base_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
eeprom_serial_base_device::eeprom_serial_base_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file)
|
||||
: eeprom_base_device(mconfig, devtype, name, tag, owner, shortname, file),
|
||||
eeprom_serial_base_device::eeprom_serial_base_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source)
|
||||
: eeprom_base_device(mconfig, devtype, name, tag, owner, shortname, source),
|
||||
m_command_address_bits(0),
|
||||
m_streaming_enabled(false),
|
||||
m_state(STATE_IN_RESET),
|
||||
@ -625,8 +625,8 @@ void eeprom_serial_base_device::execute_write_command()
|
||||
// eeprom_serial_93cxx_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
eeprom_serial_93cxx_device::eeprom_serial_93cxx_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file)
|
||||
: eeprom_serial_base_device(mconfig, devtype, name, tag, owner, shortname, file)
|
||||
eeprom_serial_93cxx_device::eeprom_serial_93cxx_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source)
|
||||
: eeprom_serial_base_device(mconfig, devtype, name, tag, owner, shortname, source)
|
||||
{
|
||||
}
|
||||
|
||||
@ -692,8 +692,8 @@ WRITE_LINE_MEMBER(eeprom_serial_93cxx_device::di_write) { base_di_write(state);
|
||||
// eeprom_serial_er5911_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
eeprom_serial_er5911_device::eeprom_serial_er5911_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file)
|
||||
: eeprom_serial_base_device(mconfig, devtype, name, tag, owner, shortname, file)
|
||||
eeprom_serial_er5911_device::eeprom_serial_er5911_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source)
|
||||
: eeprom_serial_base_device(mconfig, devtype, name, tag, owner, shortname, source)
|
||||
{
|
||||
}
|
||||
|
||||
@ -760,8 +760,8 @@ WRITE_LINE_MEMBER(eeprom_serial_er5911_device::di_write) { base_di_write(state);
|
||||
// eeprom_serial_x24c44_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
eeprom_serial_x24c44_device::eeprom_serial_x24c44_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file)
|
||||
: eeprom_serial_base_device(mconfig, devtype, name, tag, owner, shortname, file)
|
||||
eeprom_serial_x24c44_device::eeprom_serial_x24c44_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source)
|
||||
: eeprom_serial_base_device(mconfig, devtype, name, tag, owner, shortname, source)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -85,7 +85,7 @@ class eeprom_serial_base_device : public eeprom_base_device
|
||||
{
|
||||
protected:
|
||||
// construction/destruction
|
||||
eeprom_serial_base_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file);
|
||||
eeprom_serial_base_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source);
|
||||
|
||||
public:
|
||||
// inline configuration helpers
|
||||
@ -178,7 +178,7 @@ class eeprom_serial_93cxx_device : public eeprom_serial_base_device
|
||||
{
|
||||
protected:
|
||||
// construction/destruction
|
||||
eeprom_serial_93cxx_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file);
|
||||
eeprom_serial_93cxx_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source);
|
||||
|
||||
public:
|
||||
// read handlers
|
||||
@ -201,7 +201,7 @@ class eeprom_serial_er5911_device : public eeprom_serial_base_device
|
||||
{
|
||||
protected:
|
||||
// construction/destruction
|
||||
eeprom_serial_er5911_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file);
|
||||
eeprom_serial_er5911_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source);
|
||||
|
||||
public:
|
||||
// read handlers
|
||||
@ -227,7 +227,7 @@ class eeprom_serial_x24c44_device : public eeprom_serial_base_device
|
||||
//async store not implemented
|
||||
protected:
|
||||
// construction/destruction
|
||||
eeprom_serial_x24c44_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file);
|
||||
eeprom_serial_x24c44_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source);
|
||||
|
||||
public:
|
||||
// read handlers
|
||||
|
@ -91,7 +91,7 @@ const device_type NS16450 = &device_creator<ns16450_device>;
|
||||
const device_type NS16550 = &device_creator<ns16550_device>;
|
||||
const device_type PC16552D = &device_creator<pc16552_device>;
|
||||
|
||||
ins8250_uart_device::ins8250_uart_device(const machine_config &mconfig, device_type type, const char* name, std::string tag, device_t *owner, UINT32 clock, const char *shortname)
|
||||
ins8250_uart_device::ins8250_uart_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, std::string shortname)
|
||||
: device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__),
|
||||
device_serial_interface(mconfig, *this),
|
||||
m_out_tx_cb(*this),
|
||||
|
@ -19,7 +19,7 @@ class ins8250_uart_device : public device_t,
|
||||
public device_serial_interface
|
||||
{
|
||||
public:
|
||||
ins8250_uart_device(const machine_config &mconfig, device_type type, const char* name, std::string tag, device_t *owner, UINT32 clock, const char *shortname);
|
||||
ins8250_uart_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, std::string shortname);
|
||||
|
||||
template<class _Object> static devcb_base &set_out_tx_callback(device_t &device, _Object object) { return downcast<ins8250_uart_device &>(device).m_out_tx_cb.set_callback(object); }
|
||||
template<class _Object> static devcb_base &set_out_dtr_callback(device_t &device, _Object object) { return downcast<ins8250_uart_device &>(device).m_out_dtr_cb.set_callback(object); }
|
||||
|
@ -130,7 +130,7 @@
|
||||
#define MAX_OUTPUT 0x7fff
|
||||
|
||||
|
||||
sn76496_base_device::sn76496_base_device(const machine_config &mconfig, device_type type, const char *name,
|
||||
sn76496_base_device::sn76496_base_device(const machine_config &mconfig, device_type type, std::string name,
|
||||
std::string tag, int feedbackmask, int noisetap1, int noisetap2, bool negate, bool stereo, int clockdivider, int sega,
|
||||
device_t *owner, UINT32 clock, std::string shortname, std::string source)
|
||||
|
||||
|
@ -23,7 +23,7 @@ extern const device_type SEGAPSG;
|
||||
class sn76496_base_device : public device_t, public device_sound_interface
|
||||
{
|
||||
public:
|
||||
sn76496_base_device(const machine_config &mconfig, device_type type, const char *name, std::string tag,
|
||||
sn76496_base_device(const machine_config &mconfig, device_type type, std::string name, std::string tag,
|
||||
int feedbackmask, int noisetap1, int noisetap2, bool negate, bool stereo, int clockdivider, int sega,
|
||||
device_t *owner, UINT32 clock, std::string shortname, std::string source);
|
||||
|
||||
|
@ -88,7 +88,7 @@ const device_type V9938 = &device_creator<v9938_device>;
|
||||
const device_type V9958 = &device_creator<v9958_device>;
|
||||
|
||||
|
||||
v99x8_device::v99x8_device(const machine_config &mconfig, device_type type, std::string name, const char *shortname, std::string tag, device_t *owner, UINT32 clock)
|
||||
v99x8_device::v99x8_device(const machine_config &mconfig, device_type type, std::string name, std::string shortname, std::string tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__),
|
||||
device_memory_interface(mconfig, *this),
|
||||
device_video_interface(mconfig, *this),
|
||||
|
@ -76,7 +76,7 @@ class v99x8_device : public device_t,
|
||||
{
|
||||
protected:
|
||||
// construction/destruction
|
||||
v99x8_device(const machine_config &mconfig, device_type type, std::string name, const char *shortname, std::string tag, device_t *owner, UINT32 clock);
|
||||
v99x8_device(const machine_config &mconfig, device_type type, std::string name, std::string shortname, std::string tag, device_t *owner, UINT32 clock);
|
||||
|
||||
public:
|
||||
template<class _irq> void set_interrupt_callback(_irq irq) {
|
||||
|
@ -830,8 +830,8 @@ const device_type ATARI_EEPROM_2816 = &device_creator<atari_eeprom_2816_device>;
|
||||
// atari_eeprom_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
atari_eeprom_device::atari_eeprom_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file)
|
||||
: device_t(mconfig, devtype, name, tag, owner, 0, shortname, file),
|
||||
atari_eeprom_device::atari_eeprom_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source)
|
||||
: device_t(mconfig, devtype, name, tag, owner, 0, shortname, source),
|
||||
m_eeprom(*this, "eeprom"),
|
||||
m_unlocked(false)
|
||||
{
|
||||
|
@ -265,7 +265,7 @@ class atari_eeprom_device : public device_t
|
||||
{
|
||||
protected:
|
||||
// construction/destruction
|
||||
atari_eeprom_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file);
|
||||
atari_eeprom_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source);
|
||||
|
||||
public:
|
||||
// unlock controls
|
||||
|
@ -122,7 +122,7 @@ const device_type NAMCO56XX = &device_creator<namco56xx_device>;
|
||||
const device_type NAMCO58XX = &device_creator<namco58xx_device>;
|
||||
const device_type NAMCO59XX = &device_creator<namco59xx_device>;
|
||||
|
||||
namcoio_device::namcoio_device(const machine_config &mconfig, device_type type, const char* name, std::string tag, device_t *owner, UINT32 clock, const char *shortname)
|
||||
namcoio_device::namcoio_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, std::string shortname)
|
||||
: device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__),
|
||||
m_in_0_cb(*this),
|
||||
m_in_1_cb(*this),
|
||||
|
@ -11,7 +11,7 @@
|
||||
class namcoio_device : public device_t
|
||||
{
|
||||
public:
|
||||
namcoio_device(const machine_config &mconfig, device_type type, const char* name, std::string tag, device_t *owner, UINT32 clock, const char *shortname);
|
||||
namcoio_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, std::string shortname);
|
||||
|
||||
template<class _Object> static devcb_base &set_in_0_callback(device_t &device, _Object object) { return downcast<namcoio_device &>(device).m_in_0_cb.set_callback(object); }
|
||||
template<class _Object> static devcb_base &set_in_1_callback(device_t &device, _Object object) { return downcast<namcoio_device &>(device).m_in_1_cb.set_callback(object); }
|
||||
|
@ -351,7 +351,7 @@ PALETTE_INIT_MEMBER(tia_pal_video_device, tia_pal)
|
||||
extend_palette( palette );
|
||||
}
|
||||
|
||||
tia_video_device::tia_video_device(const machine_config &mconfig, device_type type, std::string name, const char *shortname, std::string tag, device_t *owner, UINT32 clock)
|
||||
tia_video_device::tia_video_device(const machine_config &mconfig, device_type type, std::string name, std::string shortname, std::string tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__),
|
||||
device_video_interface(mconfig, *this),
|
||||
m_read_input_port_cb(*this),
|
||||
|
@ -61,7 +61,7 @@ public:
|
||||
|
||||
protected:
|
||||
// construction/destruction
|
||||
tia_video_device(const machine_config &mconfig, device_type type, std::string name, const char *shortname, std::string tag, device_t *owner, UINT32 clock);
|
||||
tia_video_device(const machine_config &mconfig, device_type type, std::string name, std::string shortname, std::string tag, device_t *owner, UINT32 clock);
|
||||
|
||||
// device-level overrides
|
||||
virtual void device_start() override;
|
||||
|
Loading…
Reference in New Issue
Block a user