Removed short name as parameter from device_config this way it is not mandatory any more.
Most of files is rolled back to previous state. (no whatsnew)
This commit is contained in:
parent
391c093c96
commit
fd5b5140a5
@ -148,9 +148,9 @@ const device_type ADSP2181 = adsp2181_device_config::static_alloc_device_config;
|
||||
// TRIVIAL IMPLEMENTATIONS
|
||||
//**************************************************************************
|
||||
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2104_device_config, adsp2101_device_config, adsp2104_device, adsp2101_device, "ADSP-2104", "adsp2104", CHIP_TYPE_ADSP2104)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2105_device_config, adsp2101_device_config, adsp2105_device, adsp2101_device, "ADSP-2105", "adsp2105", CHIP_TYPE_ADSP2105)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2115_device_config, adsp2101_device_config, adsp2115_device, adsp2101_device, "ADSP-2115", "adsp2115", CHIP_TYPE_ADSP2115)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2104_device_config, adsp2101_device_config, adsp2104_device, adsp2101_device, "ADSP-2104", CHIP_TYPE_ADSP2104)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2105_device_config, adsp2101_device_config, adsp2105_device, adsp2101_device, "ADSP-2105", CHIP_TYPE_ADSP2105)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2115_device_config, adsp2101_device_config, adsp2115_device, adsp2101_device, "ADSP-2115", CHIP_TYPE_ADSP2115)
|
||||
|
||||
|
||||
|
||||
@ -162,8 +162,8 @@ DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2115_device_config, adsp2101_device_config, ad
|
||||
// adsp21xx_device_config - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
adsp21xx_device_config::adsp21xx_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype)
|
||||
: cpu_device_config(mconfig, type, name, shortname, tag, owner, clock),
|
||||
adsp21xx_device_config::adsp21xx_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype)
|
||||
: cpu_device_config(mconfig, type, name, tag, owner, clock),
|
||||
m_program_config("program", ENDIANNESS_LITTLE, 32, 14, -2),
|
||||
m_data_config("data", ENDIANNESS_LITTLE, 16, 14, -1),
|
||||
m_chip_type(chiptype)
|
||||
@ -174,13 +174,13 @@ adsp21xx_device_config::adsp21xx_device_config(const machine_config &mconfig, de
|
||||
}
|
||||
|
||||
adsp2100_device_config::adsp2100_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: adsp21xx_device_config(mconfig, static_alloc_device_config, "ADSP-2100", "adsp2100", tag, owner, clock, CHIP_TYPE_ADSP2100) { }
|
||||
: adsp21xx_device_config(mconfig, static_alloc_device_config, "ADSP-2100", tag, owner, clock, CHIP_TYPE_ADSP2100) { }
|
||||
|
||||
adsp2101_device_config::adsp2101_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype)
|
||||
: adsp21xx_device_config(mconfig, type, name, shortname, tag, owner, clock, chiptype) { }
|
||||
adsp2101_device_config::adsp2101_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype)
|
||||
: adsp21xx_device_config(mconfig, type, name, tag, owner, clock, chiptype) { }
|
||||
|
||||
adsp2181_device_config::adsp2181_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: adsp21xx_device_config(mconfig, static_alloc_device_config, "ADSP-2181", "adsp2181", tag, owner, clock, CHIP_TYPE_ADSP2181),
|
||||
: adsp21xx_device_config(mconfig, static_alloc_device_config, "ADSP-2181", tag, owner, clock, CHIP_TYPE_ADSP2181),
|
||||
m_io_config("I/O", ENDIANNESS_LITTLE, 16, 11, -1) { }
|
||||
|
||||
|
||||
@ -196,7 +196,7 @@ device_config *adsp2100_device_config::static_alloc_device_config(const machine_
|
||||
|
||||
device_config *adsp2101_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
{
|
||||
return global_alloc(adsp2101_device_config(mconfig, static_alloc_device_config, "ADSP-2101", "adsp2101", tag, owner, clock, CHIP_TYPE_ADSP2101));
|
||||
return global_alloc(adsp2101_device_config(mconfig, static_alloc_device_config, "ADSP-2101", tag, owner, clock, CHIP_TYPE_ADSP2101));
|
||||
}
|
||||
|
||||
device_config *adsp2181_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
|
@ -276,7 +276,7 @@ protected:
|
||||
};
|
||||
|
||||
// construction/destruction
|
||||
adsp21xx_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype);
|
||||
adsp21xx_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype);
|
||||
|
||||
public:
|
||||
// inline configuration helpers
|
||||
@ -605,7 +605,7 @@ class adsp2101_device_config : public adsp21xx_device_config
|
||||
|
||||
protected:
|
||||
// construction/destruction
|
||||
adsp2101_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype);
|
||||
adsp2101_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype);
|
||||
|
||||
public:
|
||||
// allocators
|
||||
|
@ -171,7 +171,7 @@ const asap_device::ophandler asap_device::s_conditiontable[16] =
|
||||
//-------------------------------------------------
|
||||
|
||||
asap_device_config::asap_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: cpu_device_config(mconfig, static_alloc_device_config, "ASAP", "asap", tag, owner, clock),
|
||||
: cpu_device_config(mconfig, static_alloc_device_config, "ASAP", tag, owner, clock),
|
||||
m_program_config("program", ENDIANNESS_LITTLE, 32, 32)
|
||||
{
|
||||
}
|
||||
|
@ -190,7 +190,7 @@ const cosmac_device::ophandler cosmac_device::s_opcodetable[256] =
|
||||
//-------------------------------------------------
|
||||
|
||||
cosmac_device_config::cosmac_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: cpu_device_config(mconfig, static_alloc_device_config, "COSMAC", "cosmac", tag, owner, clock),
|
||||
: cpu_device_config(mconfig, static_alloc_device_config, "COSMAC", tag, owner, clock),
|
||||
m_program_config("program", ENDIANNESS_LITTLE, 8, 16),
|
||||
m_io_config("io", ENDIANNESS_LITTLE, 8, 3)
|
||||
{
|
||||
|
@ -23,7 +23,7 @@ const device_type DSP16 = dsp16_device_config::static_alloc_device_config;
|
||||
//**************************************************************************
|
||||
|
||||
dsp16_device_config::dsp16_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: cpu_device_config(mconfig, static_alloc_device_config, "DSP16", "dsp16", tag, owner, clock),
|
||||
: cpu_device_config(mconfig, static_alloc_device_config, "DSP16", tag, owner, clock),
|
||||
m_program_config("program", ENDIANNESS_LITTLE, 16, 16, -1)
|
||||
{ }
|
||||
|
||||
|
@ -178,7 +178,7 @@ const device_type DSP32C = dsp32c_device_config::static_alloc_device_config;
|
||||
//-------------------------------------------------
|
||||
|
||||
dsp32c_device_config::dsp32c_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: cpu_device_config(mconfig, static_alloc_device_config, "DSP32C", "dsp32", tag, owner, clock),
|
||||
: cpu_device_config(mconfig, static_alloc_device_config, "DSP32C", tag, owner, clock),
|
||||
m_program_config("program", ENDIANNESS_LITTLE, 32, 24)
|
||||
{
|
||||
m_output_pins_changed = NULL;
|
||||
|
@ -105,7 +105,7 @@ const device_type HD61700 = hd61700_cpu_device_config::static_alloc_device_confi
|
||||
//-------------------------------------------------
|
||||
|
||||
hd61700_cpu_device_config::hd61700_cpu_device_config(const machine_config &mconfig, device_type type, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: cpu_device_config(mconfig, type, "HD61700", "hd61700", tag, owner, clock),
|
||||
: cpu_device_config(mconfig, type, "HD61700", tag, owner, clock),
|
||||
m_program_config("program", ENDIANNESS_BIG, 16, 18, -1)
|
||||
{
|
||||
}
|
||||
|
@ -139,7 +139,7 @@ ADDRESS_MAP_END
|
||||
//-------------------------------------------------
|
||||
|
||||
tms3203x_device_config::tms3203x_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype, address_map_constructor internal_map)
|
||||
: cpu_device_config(mconfig, type, name, "tms32031", tag, owner, clock),
|
||||
: cpu_device_config(mconfig, type, name, tag, owner, clock),
|
||||
m_program_config("program", ENDIANNESS_LITTLE, 32, 24, -2, internal_map),
|
||||
m_chip_type(chiptype)
|
||||
{
|
||||
|
@ -29,7 +29,7 @@ const device_type UPD96050 = upd96050_device_config::static_alloc_device_config;
|
||||
//-------------------------------------------------
|
||||
|
||||
necdsp_device_config::necdsp_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock, UINT32 abits, UINT32 dbits, const char *name)
|
||||
: cpu_device_config(mconfig, static_alloc_device_config, name, "necdsp", tag, owner, clock),
|
||||
: cpu_device_config(mconfig, static_alloc_device_config, name, tag, owner, clock),
|
||||
m_program_config("program", ENDIANNESS_BIG, 32, abits, -2), // data bus width, address bus width, -2 means DWORD-addressable
|
||||
m_data_config("data", ENDIANNESS_BIG, 16, dbits, -1) // -1 for WORD-addressable
|
||||
{
|
||||
|
@ -50,8 +50,8 @@
|
||||
// cpu_device_config - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
cpu_device_config::cpu_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, type, name, shortname, tag, owner, clock),
|
||||
cpu_device_config::cpu_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, type, name, tag, owner, clock),
|
||||
device_config_execute_interface(mconfig, *this),
|
||||
device_config_memory_interface(mconfig, *this),
|
||||
device_config_state_interface(mconfig, *this),
|
||||
@ -65,7 +65,7 @@ cpu_device_config::cpu_device_config(const machine_config &mconfig, device_type
|
||||
//-------------------------------------------------
|
||||
|
||||
legacy_cpu_device_config::legacy_cpu_device_config(const machine_config &mconfig, device_type type, const char *tag, const device_config *owner, UINT32 clock, cpu_get_info_func get_info)
|
||||
: cpu_device_config(mconfig, type, "CPU", "cpu", tag, owner, clock),
|
||||
: cpu_device_config(mconfig, type, "CPU", tag, owner, clock),
|
||||
m_get_info(get_info)
|
||||
{
|
||||
// build up our address spaces; legacy devices don't have logical spaces
|
||||
|
@ -404,7 +404,7 @@ class cpu_device_config : public device_config,
|
||||
|
||||
protected:
|
||||
// construction/destruction
|
||||
cpu_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock);
|
||||
cpu_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock);
|
||||
};
|
||||
|
||||
|
||||
|
@ -285,7 +285,7 @@ bool device_config_interface::interface_validity_check(const game_driver &driver
|
||||
// device configuration
|
||||
//-------------------------------------------------
|
||||
|
||||
device_config::device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 param)
|
||||
device_config::device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 param)
|
||||
: m_next(NULL),
|
||||
m_owner(const_cast<device_config *>(owner)),
|
||||
m_interface_list(NULL),
|
||||
@ -294,7 +294,6 @@ device_config::device_config(const machine_config &mconfig, device_type type, co
|
||||
m_machine_config(mconfig),
|
||||
m_static_config(NULL),
|
||||
m_name(name),
|
||||
m_shortname(shortname),
|
||||
m_tag(tag),
|
||||
m_config_complete(false)
|
||||
{
|
||||
|
@ -76,9 +76,9 @@ public: \
|
||||
}; \
|
||||
|
||||
// use this macro to define the actual implementation in the source file
|
||||
#define DEFINE_TRIVIAL_DERIVED_DEVICE(_ConfigClass, _ConfigBase, _DeviceClass, _DeviceBase, _Name, _ShortName, _Param) \
|
||||
#define DEFINE_TRIVIAL_DERIVED_DEVICE(_ConfigClass, _ConfigBase, _DeviceClass, _DeviceBase, _Name, _Param) \
|
||||
_ConfigClass::_ConfigClass(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock, UINT32 param) \
|
||||
: _ConfigBase(mconfig, static_alloc_device_config, _Name, _ShortName, tag, owner, clock, param) \
|
||||
: _ConfigBase(mconfig, static_alloc_device_config, _Name, tag, owner, clock, param) \
|
||||
{ \
|
||||
} \
|
||||
\
|
||||
@ -257,7 +257,7 @@ class device_config
|
||||
|
||||
protected:
|
||||
// construction/destruction
|
||||
device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 param = 0);
|
||||
device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 param = 0);
|
||||
virtual ~device_config();
|
||||
|
||||
public:
|
||||
|
@ -50,7 +50,7 @@
|
||||
//-------------------------------------------------
|
||||
|
||||
legacy_device_config_base::legacy_device_config_base(const machine_config &mconfig, device_type type, const char *tag, const device_config *owner, UINT32 clock, device_get_config_func get_config)
|
||||
: device_config(mconfig, type, "Legacy Device", "legacy", tag, owner, clock),
|
||||
: device_config(mconfig, type, "Legacy Device", tag, owner, clock),
|
||||
m_get_config_func(get_config),
|
||||
m_inline_config(NULL)
|
||||
{
|
||||
|
@ -942,7 +942,7 @@ running_machine::logerror_callback_item::logerror_callback_item(logerror_callbac
|
||||
//-------------------------------------------------
|
||||
|
||||
driver_device_config_base::driver_device_config_base(const machine_config &mconfig, device_type type, const char *tag, const device_config *owner)
|
||||
: device_config(mconfig, type, "Driver Device", "driver", tag, owner, 0),
|
||||
: device_config(mconfig, type, "Driver Device", tag, owner, 0),
|
||||
m_game(NULL),
|
||||
m_palette_init(NULL),
|
||||
m_video_update(NULL)
|
||||
|
@ -109,7 +109,7 @@
|
||||
// DEVICE CONFIGURATION
|
||||
//**************************************************************************
|
||||
|
||||
GENERIC_DEVICE_CONFIG_SETUP(via6522, "6522 VIA", "6522via")
|
||||
GENERIC_DEVICE_CONFIG_SETUP(via6522, "6522 VIA")
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_config_complete - perform any
|
||||
|
@ -50,7 +50,7 @@
|
||||
//-------------------------------------------------
|
||||
|
||||
mos6526_device_config::mos6526_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "MOS6526", "6526cia", tag, owner, clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "MOS6526", tag, owner, clock)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,7 @@ enum
|
||||
//-------------------------------------------------
|
||||
|
||||
riot6532_device_config::riot6532_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "6532 (RIOT)", "6532riot", tag, owner, clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "6532 (RIOT)", tag, owner, clock)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
||||
//-------------------------------------------------
|
||||
|
||||
pia6821_device_config::pia6821_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "6822 PIA", "6821pia", tag, owner, clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "6822 PIA", tag, owner, clock)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -61,7 +61,7 @@ const char *const ptm6840_device::opmode[] =
|
||||
IMPLEMENTATION
|
||||
***************************************************************************/
|
||||
|
||||
GENERIC_DEVICE_CONFIG_SETUP(ptm6840, "6840 PTM", "6840ptm")
|
||||
GENERIC_DEVICE_CONFIG_SETUP(ptm6840, "6840 PTM")
|
||||
|
||||
const device_type PTM6840 = ptm6840_device_config::static_alloc_device_config;
|
||||
|
||||
|
@ -54,7 +54,7 @@ const int acia6850_device::ACIA6850_WORD[8][3] =
|
||||
|
||||
const device_type ACIA6850 = acia6850_device_config::static_alloc_device_config;
|
||||
|
||||
GENERIC_DEVICE_CONFIG_SETUP(acia6850, "6850 ACIA", "6850acia")
|
||||
GENERIC_DEVICE_CONFIG_SETUP(acia6850, "6850 ACIA")
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_config_complete - perform any
|
||||
|
@ -30,7 +30,7 @@ const device_type TTL74123 = ttl74123_device_config::static_alloc_device_config;
|
||||
//-------------------------------------------------
|
||||
|
||||
ttl74123_device_config::ttl74123_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "TTL74123", "74123", tag, owner, clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "TTL74123", tag, owner, clock)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -58,7 +58,7 @@ const device_type MACHINE_TTL7474 = ttl7474_device_config::static_alloc_device_c
|
||||
//-------------------------------------------------
|
||||
|
||||
ttl7474_device_config::ttl7474_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "7474", "7474", tag, owner, clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "7474", tag, owner, clock)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
||||
// DEVICE CONFIGURATION
|
||||
//**************************************************************************
|
||||
|
||||
GENERIC_DEVICE_CONFIG_SETUP(i8237, "Intel 8237", "8237dma")
|
||||
GENERIC_DEVICE_CONFIG_SETUP(i8237, "Intel 8237")
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_config_complete - perform any
|
||||
|
@ -98,7 +98,7 @@
|
||||
// DEVICE CONFIGURATION
|
||||
//**************************************************************************
|
||||
|
||||
GENERIC_DEVICE_CONFIG_SETUP(ppi8255, "Intel PPI8255", "8255ppi")
|
||||
GENERIC_DEVICE_CONFIG_SETUP(ppi8255, "Intel PPI8255")
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_config_complete - perform any
|
||||
|
@ -51,7 +51,7 @@
|
||||
// DEVICE CONFIGURATION
|
||||
//**************************************************************************
|
||||
|
||||
GENERIC_DEVICE_CONFIG_SETUP(i8257, "DMA8257", "8257dma")
|
||||
GENERIC_DEVICE_CONFIG_SETUP(i8257, "DMA8257")
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_config_complete - perform any
|
||||
|
@ -37,7 +37,7 @@ ADDRESS_MAP_END
|
||||
//-------------------------------------------------
|
||||
|
||||
at28c16_device_config::at28c16_device_config( const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock )
|
||||
: device_config(mconfig, static_alloc_device_config, "AT28C16", "at28c16", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "AT28C16", tag, owner, clock),
|
||||
device_config_memory_interface(mconfig, *this),
|
||||
device_config_nvram_interface(mconfig, *this)
|
||||
{
|
||||
|
@ -38,9 +38,9 @@
|
||||
{ return downcast<devname##_device *>(device)->funcname(state); } \
|
||||
void devname##_device::funcname(UINT8 state)
|
||||
|
||||
#define GENERIC_DEVICE_CONFIG_SETUP(devname, devtag, shortname) \
|
||||
#define GENERIC_DEVICE_CONFIG_SETUP(devname, devtag) \
|
||||
devname##_device_config::devname##_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) \
|
||||
: device_config(mconfig, static_alloc_device_config, devtag, shortname, tag, owner, clock) \
|
||||
: device_config(mconfig, static_alloc_device_config, devtag, tag, owner, clock) \
|
||||
{ } \
|
||||
\
|
||||
device_config *devname##_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) \
|
||||
|
@ -48,7 +48,7 @@ INLINE UINT8 convert_to_bcd(int val)
|
||||
//-------------------------------------------------
|
||||
|
||||
ds1302_device_config::ds1302_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "Dallas DS1302 RTC", "ds1302", tag, owner, clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "Dallas DS1302 RTC", tag, owner, clock)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
//-------------------------------------------------
|
||||
|
||||
ds2404_device_config::ds2404_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "DS2404", "ds2404", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "DS2404", tag, owner, clock),
|
||||
device_config_nvram_interface(mconfig, *this)
|
||||
{
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ ADDRESS_MAP_END
|
||||
//-------------------------------------------------
|
||||
|
||||
eeprom_device_config::eeprom_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "EEPROM", "eeprom", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "EEPROM", tag, owner, clock),
|
||||
device_config_memory_interface(mconfig, *this),
|
||||
device_config_nvram_interface(mconfig, *this),
|
||||
m_default_data_size(0),
|
||||
|
@ -62,7 +62,7 @@ ADDRESS_MAP_END
|
||||
//-------------------------------------------------
|
||||
|
||||
er2055_device_config::er2055_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "ER2055", "er2055", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "ER2055", tag, owner, clock),
|
||||
device_config_memory_interface(mconfig, *this),
|
||||
device_config_nvram_interface(mconfig, *this),
|
||||
m_space_config("EAROM", ENDIANNESS_BIG, 8, 6, 0, *ADDRESS_MAP_NAME(er2055_map))
|
||||
|
@ -46,7 +46,7 @@
|
||||
//-------------------------------------------------
|
||||
|
||||
f3853_device_config::f3853_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "F3853", "f3853", tag, owner, clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "F3853", tag, owner, clock)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -72,7 +72,7 @@ ADDRESS_MAP_END
|
||||
//-------------------------------------------------
|
||||
|
||||
i2cmem_device_config::i2cmem_device_config( const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock )
|
||||
: device_config(mconfig, static_alloc_device_config, "I2CMEM", "i2cmem", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "I2CMEM", tag, owner, clock),
|
||||
device_config_memory_interface(mconfig, *this),
|
||||
device_config_nvram_interface(mconfig, *this)
|
||||
{
|
||||
|
@ -16,7 +16,7 @@
|
||||
// DEVICE CONFIGURATION
|
||||
//**************************************************************************
|
||||
|
||||
GENERIC_DEVICE_CONFIG_SETUP(i8243, "I8243", "i8243")
|
||||
GENERIC_DEVICE_CONFIG_SETUP(i8243, "I8243")
|
||||
|
||||
//-------------------------------------------------
|
||||
// static_set_read_handler - configuration helper
|
||||
|
@ -38,7 +38,7 @@ enum
|
||||
// DEVICE CONFIGURATION
|
||||
//**************************************************************************
|
||||
|
||||
GENERIC_DEVICE_CONFIG_SETUP(ins8154, "INS8154", "ins8154")
|
||||
GENERIC_DEVICE_CONFIG_SETUP(ins8154, "INS8154")
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_config_complete - perform any
|
||||
|
@ -45,13 +45,13 @@ enum
|
||||
//**************************************************************************
|
||||
|
||||
// 8-bit variants
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(intel_28f016s5_device_config, intelfsh8_device_config, intel_28f016s5_device, intelfsh8_device, "Sharp LH28F400 Flash", "lh28f400", intelfsh_device_config::FLASH_SHARP_LH28F400)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(fujitsu_29f016a_device_config, intelfsh8_device_config, fujitsu_29f016a_device, intelfsh8_device, "Fujitsu 29F016A Flash", "29f016a", intelfsh_device_config::FLASH_FUJITSU_29F016A)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(sharp_lh28f016s_device_config, intelfsh8_device_config, sharp_lh28f016s_device, intelfsh8_device, "Sharp LH28F016S Flash", "lh28f016s", intelfsh_device_config::FLASH_SHARP_LH28F016S)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(intel_e28f008sa_device_config, intelfsh8_device_config, intel_e28f008sa_device, intelfsh8_device, "Intel E28F008SA Flash", "e28f008sa", intelfsh_device_config::FLASH_INTEL_E28F008SA)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(macronix_29l001mc_device_config, intelfsh8_device_config, macronix_29l001mc_device, intelfsh8_device, "Macronix 29L001MC Flash", "29l001mc", intelfsh_device_config::FLASH_MACRONIX_29L001MC)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(panasonic_mn63f805mnp_device_config, intelfsh8_device_config, panasonic_mn63f805mnp_device, intelfsh8_device, "Panasonic MN63F805MNP Flash", "mn63f805mnp", intelfsh_device_config::FLASH_PANASONIC_MN63F805MNP)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(sanyo_le26fv10n1ts_device_config, intelfsh8_device_config, sanyo_le26fv10n1ts_device, intelfsh8_device, "Sanyo LE26FV10N1TS Flash", "le26fv10n1ts", intelfsh_device_config::FLASH_SANYO_LE26FV10N1TS)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(intel_28f016s5_device_config, intelfsh8_device_config, intel_28f016s5_device, intelfsh8_device, "Sharp LH28F400 Flash", intelfsh_device_config::FLASH_SHARP_LH28F400)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(fujitsu_29f016a_device_config, intelfsh8_device_config, fujitsu_29f016a_device, intelfsh8_device, "Fujitsu 29F016A Flash", intelfsh_device_config::FLASH_FUJITSU_29F016A)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(sharp_lh28f016s_device_config, intelfsh8_device_config, sharp_lh28f016s_device, intelfsh8_device, "Sharp LH28F016S Flash", intelfsh_device_config::FLASH_SHARP_LH28F016S)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(intel_e28f008sa_device_config, intelfsh8_device_config, intel_e28f008sa_device, intelfsh8_device, "Intel E28F008SA Flash", intelfsh_device_config::FLASH_INTEL_E28F008SA)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(macronix_29l001mc_device_config, intelfsh8_device_config, macronix_29l001mc_device, intelfsh8_device, "Macronix 29L001MC Flash", intelfsh_device_config::FLASH_MACRONIX_29L001MC)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(panasonic_mn63f805mnp_device_config, intelfsh8_device_config, panasonic_mn63f805mnp_device, intelfsh8_device, "Panasonic MN63F805MNP Flash", intelfsh_device_config::FLASH_PANASONIC_MN63F805MNP)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(sanyo_le26fv10n1ts_device_config, intelfsh8_device_config, sanyo_le26fv10n1ts_device, intelfsh8_device, "Sanyo LE26FV10N1TS Flash", intelfsh_device_config::FLASH_SANYO_LE26FV10N1TS)
|
||||
|
||||
const device_type INTEL_28F016S5 = intel_28f016s5_device_config::static_alloc_device_config;
|
||||
const device_type SHARP_LH28F016S = sharp_lh28f016s_device_config::static_alloc_device_config;
|
||||
@ -63,10 +63,10 @@ const device_type SANYO_LE26FV10N1TS = sanyo_le26fv10n1ts_device_config::static_
|
||||
|
||||
|
||||
// 16-bit variants
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(sharp_lh28f400_device_config, intelfsh16_device_config, sharp_lh28f400_device, intelfsh16_device, "Sharp LH28F400 Flash", "lh28f400", intelfsh_device_config::FLASH_SHARP_LH28F400)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(intel_te28f160_device_config, intelfsh16_device_config, intel_te28f160_device, intelfsh16_device, "Intel TE28F160 Flash", "te28f160", intelfsh_device_config::FLASH_INTEL_TE28F160)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(intel_e28f400_device_config, intelfsh16_device_config, intel_e28f400_device, intelfsh16_device, "Intel E28F400 Flash", "e28f400", intelfsh_device_config::FLASH_INTEL_E28F400)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(sharp_unk128mbit_device_config, intelfsh16_device_config, sharp_unk128mbit_device, intelfsh16_device, "Sharp Unknown 128Mb Flash", "unk128mb", intelfsh_device_config::FLASH_SHARP_UNK128MBIT)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(sharp_lh28f400_device_config, intelfsh16_device_config, sharp_lh28f400_device, intelfsh16_device, "Sharp LH28F400 Flash", intelfsh_device_config::FLASH_SHARP_LH28F400)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(intel_te28f160_device_config, intelfsh16_device_config, intel_te28f160_device, intelfsh16_device, "Intel TE28F160 Flash", intelfsh_device_config::FLASH_INTEL_TE28F160)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(intel_e28f400_device_config, intelfsh16_device_config, intel_e28f400_device, intelfsh16_device, "Intel E28F400 Flash", intelfsh_device_config::FLASH_INTEL_E28F400)
|
||||
DEFINE_TRIVIAL_DERIVED_DEVICE(sharp_unk128mbit_device_config, intelfsh16_device_config, sharp_unk128mbit_device, intelfsh16_device, "Sharp Unknown 128Mb Flash", intelfsh_device_config::FLASH_SHARP_UNK128MBIT)
|
||||
|
||||
const device_type SHARP_LH28F400 = sharp_lh28f400_device_config::static_alloc_device_config;
|
||||
const device_type INTEL_TE28F160 = intel_te28f160_device_config::static_alloc_device_config;
|
||||
@ -118,8 +118,8 @@ ADDRESS_MAP_END
|
||||
// intelfsh_device_config - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
intelfsh_device_config::intelfsh_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant)
|
||||
: device_config(mconfig, type, name, shortname, tag, owner, clock),
|
||||
intelfsh_device_config::intelfsh_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant)
|
||||
: device_config(mconfig, type, name, tag, owner, clock),
|
||||
device_config_memory_interface(mconfig, *this),
|
||||
device_config_nvram_interface(mconfig, *this),
|
||||
m_type(variant),
|
||||
@ -210,13 +210,13 @@ intelfsh_device_config::intelfsh_device_config(const machine_config &mconfig, de
|
||||
m_space_config = address_space_config("flash", ENDIANNESS_BIG, m_bits, addrbits, (m_bits == 8) ? 0 : -1, map);
|
||||
}
|
||||
|
||||
intelfsh8_device_config::intelfsh8_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant)
|
||||
: intelfsh_device_config(mconfig, type, name, shortname, tag, owner, clock, variant)
|
||||
intelfsh8_device_config::intelfsh8_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant)
|
||||
: intelfsh_device_config(mconfig, type, name, tag, owner, clock, variant)
|
||||
{
|
||||
}
|
||||
|
||||
intelfsh16_device_config::intelfsh16_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant)
|
||||
: intelfsh_device_config(mconfig, type, name, shortname, tag, owner, clock, variant)
|
||||
intelfsh16_device_config::intelfsh16_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant)
|
||||
: intelfsh_device_config(mconfig, type, name, tag, owner, clock, variant)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -81,7 +81,7 @@ protected:
|
||||
};
|
||||
|
||||
// construction/destruction
|
||||
intelfsh_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant);
|
||||
intelfsh_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant);
|
||||
|
||||
// device_config_memory_interface overrides
|
||||
virtual const address_space_config *memory_space_config(int spacenum = 0) const;
|
||||
@ -143,7 +143,7 @@ class intelfsh8_device_config : public intelfsh_device_config
|
||||
|
||||
protected:
|
||||
// construction/destruction
|
||||
intelfsh8_device_config(const machine_config &mconfig, device_type type, const char *name, const char *sharename, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant);
|
||||
intelfsh8_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant);
|
||||
};
|
||||
|
||||
|
||||
@ -182,7 +182,7 @@ class intelfsh16_device_config : public intelfsh_device_config
|
||||
|
||||
protected:
|
||||
// construction/destruction
|
||||
intelfsh16_device_config(const machine_config &mconfig, device_type type, const char *name, const char *sharename, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant);
|
||||
intelfsh16_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant);
|
||||
};
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
// DEVICE CONFIGURATION
|
||||
//**************************************************************************
|
||||
|
||||
GENERIC_DEVICE_CONFIG_SETUP(k033906, "Konami 033906", "k033906")
|
||||
GENERIC_DEVICE_CONFIG_SETUP(k033906, "Konami 033906")
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_config_complete - perform any
|
||||
|
@ -13,7 +13,7 @@
|
||||
// DEVICE CONFIGURATION
|
||||
//**************************************************************************
|
||||
|
||||
GENERIC_DEVICE_CONFIG_SETUP(k056230, "Konami 056230", "k056230")
|
||||
GENERIC_DEVICE_CONFIG_SETUP(k056230, "Konami 056230")
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_config_complete - perform any
|
||||
|
@ -31,7 +31,7 @@ const device_type MB3773 = mb3773_device_config::static_alloc_device_config;
|
||||
//-------------------------------------------------
|
||||
|
||||
mb3773_device_config::mb3773_device_config( const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock )
|
||||
: device_config(mconfig, static_alloc_device_config, "MB3773", "mb3773", tag, owner, clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "MB3773", tag, owner, clock)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -117,7 +117,7 @@ const device_type MC146818 = mc146818_device_config::static_alloc_device_config;
|
||||
//-------------------------------------------------
|
||||
|
||||
mc146818_device_config::mc146818_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "NVRAM", "mc146818", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "NVRAM", tag, owner, clock),
|
||||
device_config_nvram_interface(mconfig, *this),
|
||||
m_type(MC146818_STANDARD)
|
||||
{
|
||||
|
@ -273,7 +273,7 @@ const device_type MC68901 = mc68901_device_config::static_alloc_device_config;
|
||||
// DEVICE CONFIGURATION
|
||||
//**************************************************************************
|
||||
|
||||
GENERIC_DEVICE_CONFIG_SETUP(mc68901, "Motorola MC68901", "mc68901")
|
||||
GENERIC_DEVICE_CONFIG_SETUP(mc68901, "Motorola MC68901")
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
|
@ -59,7 +59,7 @@ const device_type NVRAM = nvram_device_config::static_alloc_device_config;
|
||||
//-------------------------------------------------
|
||||
|
||||
nvram_device_config::nvram_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "NVRAM", "nvram", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "NVRAM", tag, owner, clock),
|
||||
device_config_nvram_interface(mconfig, *this),
|
||||
m_default_value(DEFAULT_ALL_1)
|
||||
{
|
||||
|
@ -50,7 +50,7 @@
|
||||
|
||||
#define TIMEKPR_DEVCFG_DERIVED_CTOR(devtype, name, shortname) \
|
||||
devtype##_device_config::devtype##_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) \
|
||||
: timekeeper_device_config(mconfig, name, shortname, tag, owner, clock) \
|
||||
: timekeeper_device_config(mconfig, name, tag, owner, clock) \
|
||||
{ }
|
||||
|
||||
#define TIMEKPR_DEVCFG_DERIVED_STATIC_ALLOC(devtype) \
|
||||
@ -76,8 +76,8 @@
|
||||
// timekeeper_device_config - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
timekeeper_device_config::timekeeper_device_config(const machine_config &mconfig, const char *type, const char *shortname, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, type, shortname, tag, owner, clock),
|
||||
timekeeper_device_config::timekeeper_device_config(const machine_config &mconfig, const char *type, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, type, tag, owner, clock),
|
||||
device_config_nvram_interface(mconfig, *this)
|
||||
{
|
||||
|
||||
@ -91,7 +91,7 @@ timekeeper_device_config::timekeeper_device_config(const machine_config &mconfig
|
||||
|
||||
device_config *timekeeper_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
{
|
||||
return global_alloc(timekeeper_device_config(mconfig, "TIMEKEEPER", "timekpr", tag, owner, clock));
|
||||
return global_alloc(timekeeper_device_config(mconfig, "TIMEKEEPER", tag, owner, clock));
|
||||
}
|
||||
|
||||
|
||||
|
@ -64,7 +64,7 @@ class timekeeper_device_config : public device_config,
|
||||
|
||||
protected:
|
||||
// construction/destruction
|
||||
timekeeper_device_config(const machine_config &mconfig, const char *type, const char *shortname, const char *tag, const device_config *owner, UINT32 clock);
|
||||
timekeeper_device_config(const machine_config &mconfig, const char *type, const char *tag, const device_config *owner, UINT32 clock);
|
||||
|
||||
public:
|
||||
// allocators
|
||||
|
@ -35,7 +35,7 @@ ADDRESS_MAP_END
|
||||
//-------------------------------------------------
|
||||
|
||||
x2212_device_config::x2212_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "X2212", "x2212", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "X2212", tag, owner, clock),
|
||||
device_config_memory_interface(mconfig, *this),
|
||||
device_config_nvram_interface(mconfig, *this),
|
||||
m_sram_space_config("SRAM", ENDIANNESS_BIG, 8, 8, 0, *ADDRESS_MAP_NAME(x2212_sram_map)),
|
||||
|
@ -85,7 +85,7 @@ const int WAITING_FOR_TRIG = 0x100;
|
||||
//-------------------------------------------------
|
||||
|
||||
z80ctc_device_config::z80ctc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "Zilog Z80 CTC", "z80ctc", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "Zilog Z80 CTC", tag, owner, clock),
|
||||
device_config_z80daisy_interface(mconfig, *this)
|
||||
{
|
||||
}
|
||||
|
@ -198,7 +198,7 @@ const int WR5_DTR = 0x80;
|
||||
//-------------------------------------------------
|
||||
|
||||
z80dart_device_config::z80dart_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "Zilog Z80 DART", "z80dart", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "Zilog Z80 DART", tag, owner, clock),
|
||||
device_config_z80daisy_interface(mconfig, *this)
|
||||
{
|
||||
}
|
||||
|
@ -151,7 +151,7 @@ const int TM_SEARCH_TRANSFER = 0x03;
|
||||
//-------------------------------------------------
|
||||
|
||||
z80dma_device_config::z80dma_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "Z8410", "z80dma", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "Z8410", tag, owner, clock),
|
||||
device_config_z80daisy_interface(mconfig, *this)
|
||||
{
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ const int ICW_MASK_FOLLOWS = 0x10;
|
||||
//-------------------------------------------------
|
||||
|
||||
z80pio_device_config::z80pio_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "Z8420", "z80pio", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "Z8420", tag, owner, clock),
|
||||
device_config_z80daisy_interface(mconfig, *this)
|
||||
{
|
||||
}
|
||||
|
@ -303,7 +303,7 @@ inline attotime z80sio_device::sio_channel::compute_time_per_character()
|
||||
//-------------------------------------------------
|
||||
|
||||
z80sio_device_config::z80sio_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "Zilog Z80 SIO", "z80sio", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "Zilog Z80 SIO", tag, owner, clock),
|
||||
device_config_z80daisy_interface(mconfig, *this)
|
||||
{
|
||||
}
|
||||
|
@ -152,7 +152,7 @@ static const int PRESCALER[] = { 0, 4, 10, 16, 50, 64, 100, 200 };
|
||||
//-------------------------------------------------
|
||||
|
||||
z80sti_device_config::z80sti_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "Mostek MK3801", "z80sti", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "Mostek MK3801", tag, owner, clock),
|
||||
device_config_z80daisy_interface(mconfig, *this)
|
||||
{
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ const attotime screen_device::DEFAULT_FRAME_PERIOD(attotime::from_hz(DEFAULT_FRA
|
||||
//-------------------------------------------------
|
||||
|
||||
screen_device_config::screen_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "Video Screen", "video", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "Video Screen", tag, owner, clock),
|
||||
m_type(SCREEN_TYPE_RASTER),
|
||||
m_width(0),
|
||||
m_height(0),
|
||||
|
@ -70,7 +70,7 @@ void asc_device_config::static_set_irqf(device_config *device, void (*irqf)(devi
|
||||
//-------------------------------------------------
|
||||
|
||||
asc_device_config::asc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "ASC", "asc", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "ASC", tag, owner, clock),
|
||||
device_config_sound_interface(mconfig, *this)
|
||||
{
|
||||
}
|
||||
|
@ -107,12 +107,13 @@ ROM_END
|
||||
//-------------------------------------------------
|
||||
|
||||
bsmt2000_device_config::bsmt2000_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "BSMT2000", "bsmt2000", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "BSMT2000", tag, owner, clock),
|
||||
device_config_sound_interface(mconfig, *this),
|
||||
device_config_memory_interface(mconfig, *this),
|
||||
m_space_config("samples", ENDIANNESS_LITTLE, 8, 32, 0, NULL, *ADDRESS_MAP_NAME(bsmt2000)),
|
||||
m_ready_callback(NULL)
|
||||
m_ready_callback(NULL)
|
||||
{
|
||||
m_shortname = "bsmt2000";
|
||||
}
|
||||
|
||||
|
||||
|
@ -76,7 +76,7 @@ ADDRESS_MAP_END
|
||||
//-------------------------------------------------
|
||||
|
||||
cdp1869_device_config::cdp1869_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "RCA CDP1869", "cdp1869", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "RCA CDP1869", tag, owner, clock),
|
||||
device_config_sound_interface(mconfig, *this),
|
||||
device_config_memory_interface(mconfig, *this),
|
||||
m_space_config("pageram", ENDIANNESS_LITTLE, 8, 11, 0, NULL, *ADDRESS_MAP_NAME(cdp1869))
|
||||
|
@ -828,13 +828,13 @@ void discrete_device_config::static_set_intf(device_config *device, const discre
|
||||
//-------------------------------------------------
|
||||
// discrete_device_config - constructor
|
||||
//-------------------------------------------------
|
||||
discrete_device_config::discrete_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, type, name, shortname, tag, owner, clock), m_intf(NULL)
|
||||
discrete_device_config::discrete_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, type, name, tag, owner, clock), m_intf(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
discrete_sound_device_config::discrete_sound_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: discrete_device_config(mconfig, static_alloc_device_config, "DISCRETE", "discrete", tag, owner, clock),
|
||||
: discrete_device_config(mconfig, static_alloc_device_config, "DISCRETE", tag, owner, clock),
|
||||
device_config_sound_interface(mconfig, *this)
|
||||
{
|
||||
}
|
||||
@ -846,7 +846,7 @@ discrete_sound_device_config::discrete_sound_device_config(const machine_config
|
||||
|
||||
device_config *discrete_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
{
|
||||
return global_alloc(discrete_device_config(mconfig, static_alloc_device_config, "PUREDISC", "puredisc", tag, owner, clock));
|
||||
return global_alloc(discrete_device_config(mconfig, static_alloc_device_config, "PUREDISC", tag, owner, clock));
|
||||
}
|
||||
|
||||
device_config *discrete_sound_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
|
@ -4303,7 +4303,7 @@ class discrete_device_config : public device_config
|
||||
|
||||
protected:
|
||||
// construction/destruction
|
||||
discrete_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock);
|
||||
discrete_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock);
|
||||
|
||||
public:
|
||||
// allocators
|
||||
|
@ -21,7 +21,7 @@ void ics2115_device_config::static_set_irqf(device_config *device, void (*irqf)(
|
||||
}
|
||||
|
||||
ics2115_device_config::ics2115_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "ICS2115", "ics2115", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "ICS2115", tag, owner, clock),
|
||||
device_config_sound_interface(mconfig, *this)
|
||||
{
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ const device_type MAS3507D = mas3507d_device_config::static_alloc_device_config;
|
||||
|
||||
|
||||
mas3507d_device_config::mas3507d_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "MAS3507D", "mas3507d", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "MAS3507D", tag, owner, clock),
|
||||
device_config_sound_interface(mconfig, *this)
|
||||
{
|
||||
}
|
||||
|
@ -90,7 +90,7 @@ ADDRESS_MAP_END
|
||||
//-------------------------------------------------
|
||||
|
||||
okim6295_device_config::okim6295_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "OKI6295", "oki6295", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "OKI6295", tag, owner, clock),
|
||||
device_config_sound_interface(mconfig, *this),
|
||||
device_config_memory_interface(mconfig, *this),
|
||||
m_space_config("samples", ENDIANNESS_LITTLE, 8, 18, 0, NULL, *ADDRESS_MAP_NAME(okim6295))
|
||||
|
@ -33,7 +33,7 @@ ADDRESS_MAP_END
|
||||
//-------------------------------------------------
|
||||
|
||||
okim9810_device_config::okim9810_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "OKI9810", "oki9810", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "OKI9810", tag, owner, clock),
|
||||
device_config_sound_interface(mconfig, *this),
|
||||
device_config_memory_interface(mconfig, *this),
|
||||
m_space_config("samples", ENDIANNESS_BIG, 8, 24, 0, NULL, *ADDRESS_MAP_NAME(okim9810))
|
||||
|
@ -73,7 +73,7 @@ const device_type SPEAKER = speaker_device_config::static_alloc_device_config;
|
||||
//-------------------------------------------------
|
||||
|
||||
speaker_device_config::speaker_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "Speaker", "speaker", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "Speaker", tag, owner, clock),
|
||||
device_config_sound_interface(mconfig, *this),
|
||||
m_x(0.0),
|
||||
m_y(0.0),
|
||||
|
@ -69,7 +69,7 @@ const device_type TIMER = timer_device_config::static_alloc_device_config;
|
||||
//-------------------------------------------------
|
||||
|
||||
timer_device_config::timer_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "Timer", "timer", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "Timer", tag, owner, clock),
|
||||
m_type(TIMER_TYPE_GENERIC),
|
||||
m_callback(NULL),
|
||||
m_ptr(NULL),
|
||||
|
@ -189,7 +189,7 @@ littlerb_vdp_device::littlerb_vdp_device(running_machine &_machine, const little
|
||||
}
|
||||
|
||||
littlerb_vdp_device_config::littlerb_vdp_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "LITTLERBVDP", "littlerb", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "LITTLERBVDP", tag, owner, clock),
|
||||
device_config_memory_interface(mconfig, *this),
|
||||
m_space_config("littlerb_vdp", ENDIANNESS_LITTLE, 16,32, 0, NULL, *ADDRESS_MAP_NAME(littlerb_vdp_map8))
|
||||
{
|
||||
|
@ -94,7 +94,7 @@ protected:
|
||||
const device_type JANSHIVDP = janshi_vdp_device_config::static_alloc_device_config;
|
||||
|
||||
janshi_vdp_device_config::janshi_vdp_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "JANSHIVDP", "janshvdp", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "JANSHIVDP", tag, owner, clock),
|
||||
device_config_memory_interface(mconfig, *this),
|
||||
m_space_config("janshi_vdp", ENDIANNESS_LITTLE, 8,24, 0, NULL, *ADDRESS_MAP_NAME(janshi_vdp_map8))
|
||||
{
|
||||
|
@ -99,7 +99,7 @@ const INT32 cdicdic_device::s_cdic_adpcm_filter_coef[5][2] =
|
||||
//-------------------------------------------------
|
||||
|
||||
cdicdic_device_config::cdicdic_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "CDICDIC", "cdicdic", tag, owner, clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "CDICDIC", tag, owner, clock)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ INLINE void verboselog(running_machine *machine, int n_level, const char *s_fmt,
|
||||
//-------------------------------------------------
|
||||
|
||||
cdislave_device_config::cdislave_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "CDISLAVE", "cdislave", tag, owner, clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "CDISLAVE", tag, owner, clock)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -212,7 +212,7 @@ ADDRESS_MAP_END
|
||||
|
||||
|
||||
gp9001vdp_device_config::gp9001vdp_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
|
||||
: device_config(mconfig, static_alloc_device_config, "gp9001vdp_", "gp9001", tag, owner, clock),
|
||||
: device_config(mconfig, static_alloc_device_config, "gp9001vdp_", tag, owner, clock),
|
||||
device_config_memory_interface(mconfig, *this),
|
||||
m_space_config("gp9001vdp", ENDIANNESS_BIG, 16,14, 0, NULL, *ADDRESS_MAP_NAME(gp9001vdp_map))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user