extended large amount of devices with shortname and source file data (nw)

This commit is contained in:
Miodrag Milanovic 2013-06-21 10:26:41 +00:00
parent 6b059c8117
commit 53ba0f61db
210 changed files with 364 additions and 364 deletions

View File

@ -26,7 +26,7 @@ INLINE void ATTR_PRINTF(3,4) verboselog( running_machine& machine, int n_level,
const device_type PSX_DMA = &device_creator<psxdma_device>;
psxdma_device::psxdma_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, PSX_DMA, "PSX DMA", tag, owner, clock),
device_t(mconfig, PSX_DMA, "PSX DMA", tag, owner, clock, "psxdma", __FILE__),
m_irq_handler(*this)
{
}

View File

@ -28,7 +28,7 @@ INLINE void ATTR_PRINTF(3,4) verboselog( running_machine& machine, int n_level,
const device_type PSX_IRQ = &device_creator<psxirq_device>;
psxirq_device::psxirq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, PSX_IRQ, "PSX IRQ", tag, owner, clock),
device_t(mconfig, PSX_IRQ, "PSX IRQ", tag, owner, clock, "psxirq", __FILE__),
m_irq_handler(*this)
{
}

View File

@ -29,7 +29,7 @@ INLINE void ATTR_PRINTF(3,4) verboselog( running_machine& machine, int n_level,
const device_type PSX_MDEC = &device_creator<psxmdec_device>;
psxmdec_device::psxmdec_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PSX_MDEC, "PSX MDEC", tag, owner, clock)
: device_t(mconfig, PSX_MDEC, "PSX MDEC", tag, owner, clock, "psxmdec", __FILE__)
{
}

View File

@ -25,7 +25,7 @@ INLINE void ATTR_PRINTF(3,4) verboselog( running_machine& machine, int n_level,
const device_type PSX_RCNT = &device_creator<psxrcnt_device>;
psxrcnt_device::psxrcnt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, PSX_RCNT, "PSX RCNT", tag, owner, clock),
device_t(mconfig, PSX_RCNT, "PSX RCNT", tag, owner, clock, "psxrcnt", __FILE__),
m_irq0_handler(*this),
m_irq1_handler(*this),
m_irq2_handler(*this)

View File

@ -26,17 +26,17 @@ const device_type PSX_SIO0 = &device_creator<psxsio0_device>;
const device_type PSX_SIO1 = &device_creator<psxsio1_device>;
psxsio0_device::psxsio0_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
psxsio_device(mconfig, PSX_SIO0, tag, owner, clock)
psxsio_device(mconfig, PSX_SIO0, tag, owner, clock, "psxsio0", __FILE__)
{
}
psxsio1_device::psxsio1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
psxsio_device(mconfig, PSX_SIO1, tag, owner, clock)
psxsio_device(mconfig, PSX_SIO1, tag, owner, clock, "psxsio1", __FILE__)
{
}
psxsio_device::psxsio_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, type, "PSX SIO", tag, owner, clock),
psxsio_device::psxsio_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, "PSX SIO", tag, owner, clock, shortname, source),
m_irq_handler(*this)
{
}

View File

@ -38,7 +38,7 @@ extern const device_type PSX_SIO1;
class psxsio_device : public device_t
{
public:
psxsio_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock);
psxsio_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
// static configuration helpers
template<class _Object> static devcb2_base &set_irq_handler(device_t &device, _Object object) { return downcast<psxsio_device &>(device).m_irq_handler.set_callback(object); }

View File

@ -21,7 +21,7 @@ const device_type YM2151 = &device_creator<ym2151_device>;
//-------------------------------------------------
ym2151_device::ym2151_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, YM2151, "YM2151", tag, owner, clock),
: device_t(mconfig, YM2151, "YM2151", tag, owner, clock, "ym2151", __FILE__),
device_sound_interface(mconfig, *this),
m_irqhandler(*this),
m_portwritehandler(*this)

View File

@ -203,7 +203,7 @@ WRITE8_MEMBER( ym2203_device::write_port_w )
const device_type YM2203 = &device_creator<ym2203_device>;
ym2203_device::ym2203_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, YM2203, "YM2203", tag, owner, clock),
: device_t(mconfig, YM2203, "YM2203", tag, owner, clock, "ym2203", __FILE__),
device_sound_interface(mconfig, *this),
m_irq_handler(*this),
m_ay8910_config(NULL)

View File

@ -77,7 +77,7 @@ WRITE8_MEMBER( ym2413_device::data_port_w ) { write(space, 1, data); }
const device_type YM2413 = &device_creator<ym2413_device>;
ym2413_device::ym2413_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, YM2413, "YM2413", tag, owner, clock),
: device_t(mconfig, YM2413, "YM2413", tag, owner, clock, "ym2413", __FILE__),
device_sound_interface(mconfig, *this)
{
}

View File

@ -202,7 +202,7 @@ WRITE8_MEMBER( ym2608_device::write )
const device_type YM2608 = &device_creator<ym2608_device>;
ym2608_device::ym2608_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, YM2608, "YM2608", tag, owner, clock),
: device_t(mconfig, YM2608, "YM2608", tag, owner, clock, "ym2608", __FILE__),
device_sound_interface(mconfig, *this),
m_irq_handler(*this),
m_ay8910_config(NULL)

View File

@ -219,14 +219,14 @@ WRITE8_MEMBER( ym2610_device::write )
const device_type YM2610 = &device_creator<ym2610_device>;
ym2610_device::ym2610_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, YM2610, "YM2610", tag, owner, clock),
: device_t(mconfig, YM2610, "YM2610", tag, owner, clock, "ym2610", __FILE__),
device_sound_interface(mconfig, *this),
m_irq_handler(*this)
{
}
ym2610_device::ym2610_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, type, name, tag, owner, clock),
ym2610_device::ym2610_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this),
m_irq_handler(*this)
{
@ -245,6 +245,6 @@ void ym2610_device::device_config_complete()
const device_type YM2610B = &device_creator<ym2610b_device>;
ym2610b_device::ym2610b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: ym2610_device(mconfig, YM2610B, "YM2610B", tag, owner, clock)
: ym2610_device(mconfig, YM2610B, "YM2610B", tag, owner, clock, "ym2610b", __FILE__)
{
}

View File

@ -16,7 +16,7 @@ class ym2610_device : public device_t,
{
public:
ym2610_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
ym2610_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
ym2610_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
// static configuration helpers
template<class _Object> static devcb2_base &set_irq_handler(device_t &device, _Object object) { return downcast<ym2610_device &>(device).m_irq_handler.set_callback(object); }

View File

@ -149,14 +149,14 @@ WRITE8_MEMBER( ym2612_device::write )
const device_type YM2612 = &device_creator<ym2612_device>;
ym2612_device::ym2612_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, YM2612, "YM2612", tag, owner, clock),
: device_t(mconfig, YM2612, "YM2612", tag, owner, clock, "ym2612", __FILE__),
device_sound_interface(mconfig, *this),
m_irq_handler(*this)
{
}
ym2612_device::ym2612_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, type, name, tag, owner, clock),
ym2612_device::ym2612_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this),
m_irq_handler(*this)
{
@ -176,6 +176,6 @@ void ym2612_device::device_config_complete()
const device_type YM3438 = &device_creator<ym3438_device>;
ym3438_device::ym3438_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: ym2612_device(mconfig, YM3438, "YM3438", tag, owner, clock)
: ym2612_device(mconfig, YM3438, "YM3438", tag, owner, clock, "ym3438", __FILE__)
{
}

View File

@ -15,7 +15,7 @@ class ym2612_device : public device_t,
{
public:
ym2612_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
ym2612_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
ym2612_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
// static configuration helpers
template<class _Object> static devcb2_base &set_irq_handler(device_t &device, _Object object) { return downcast<ym2612_device &>(device).m_irq_handler.set_callback(object); }

View File

@ -136,7 +136,7 @@ WRITE8_MEMBER( ymf262_device::write )
const device_type YMF262 = &device_creator<ymf262_device>;
ymf262_device::ymf262_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, YMF262, "YMF262", tag, owner, clock),
: device_t(mconfig, YMF262, "YMF262", tag, owner, clock, "ymf262", __FILE__),
device_sound_interface(mconfig, *this),
m_irq_handler(*this)
{

View File

@ -154,7 +154,7 @@ WRITE8_MEMBER( ym3526_device::write_port_w ) { write(space, 1, data); }
const device_type YM3526 = &device_creator<ym3526_device>;
ym3526_device::ym3526_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, YM3526, "YM3526", tag, owner, clock),
: device_t(mconfig, YM3526, "YM3526", tag, owner, clock, "ym3526", __FILE__),
device_sound_interface(mconfig, *this),
m_irq_handler(*this)
{

View File

@ -152,7 +152,7 @@ WRITE8_MEMBER( ym3812_device::write_port_w ) { write( space, 1, data); }
const device_type YM3812 = &device_creator<ym3812_device>;
ym3812_device::ym3812_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, YM3812, "YM3812", tag, owner, clock),
: device_t(mconfig, YM3812, "YM3812", tag, owner, clock, "ym3812", __FILE__),
device_sound_interface(mconfig, *this),
m_irq_handler(*this)
{

View File

@ -203,7 +203,7 @@ WRITE8_MEMBER( y8950_device::write_port_w ) { write(space, 1, data); }
const device_type Y8950 = &device_creator<y8950_device>;
y8950_device::y8950_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, Y8950, "Y8950", tag, owner, clock),
: device_t(mconfig, Y8950, "Y8950", tag, owner, clock, "y8950", __FILE__),
device_sound_interface(mconfig, *this),
m_irq_handler(*this),
m_keyboard_read_handler(*this),

View File

@ -1355,7 +1355,7 @@ READ16_DEVICE_HANDLER( aica_midi_out_r )
const device_type AICA = &device_creator<aica_device>;
aica_device::aica_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, AICA, "AICA", tag, owner, clock),
: device_t(mconfig, AICA, "AICA", tag, owner, clock, "aica", __FILE__),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(aica_state);

View File

@ -44,7 +44,7 @@ const device_type ASC = &device_creator<asc_device>;
//-------------------------------------------------
asc_device::asc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ASC, "ASC", tag, owner, clock),
: device_t(mconfig, ASC, "ASC", tag, owner, clock, "asc", __FILE__),
device_sound_interface(mconfig, *this),
m_chip_type(0),
m_irq_cb(NULL)

View File

@ -56,7 +56,7 @@ const device_type ASTROCADE = &device_creator<astrocade_device>;
//-------------------------------------------------
astrocade_device::astrocade_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ASTROCADE, "Astrocade", tag, owner, clock),
: device_t(mconfig, ASTROCADE, "Astrocade", tag, owner, clock, "astrocade", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_master_count(0),

View File

@ -23,7 +23,7 @@ const device_type AWACS = &device_creator<awacs_device>;
//-------------------------------------------------
awacs_device::awacs_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, AWACS, "AWACS", tag, owner, clock),
: device_t(mconfig, AWACS, "AWACS", tag, owner, clock, "awacs", __FILE__),
device_sound_interface(mconfig, *this)
{
}

View File

@ -1052,12 +1052,12 @@ WRITE8_MEMBER( ay8914_device::write )
const device_type AY8910 = &device_creator<ay8910_device>;
ay8910_device::ay8910_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, AY8910, "AY-3-8910A", tag, owner, clock),
: device_t(mconfig, AY8910, "AY-3-8910A", tag, owner, clock, "ay8910", __FILE__),
device_sound_interface(mconfig, *this)
{
}
ay8910_device::ay8910_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, type, name, tag, owner, clock),
ay8910_device::ay8910_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this)
{
}
@ -1087,7 +1087,7 @@ void ay8910_device::sound_stream_update(sound_stream &stream, stream_sample_t **
const device_type AY8912 = &device_creator<ay8912_device>;
ay8912_device::ay8912_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: ay8910_device(mconfig, AY8912, "AY-3-8912A", tag, owner, clock)
: ay8910_device(mconfig, AY8912, "AY-3-8912A", tag, owner, clock, "ay8913", __FILE__)
{
}
@ -1095,7 +1095,7 @@ ay8912_device::ay8912_device(const machine_config &mconfig, const char *tag, dev
const device_type AY8913 = &device_creator<ay8913_device>;
ay8913_device::ay8913_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: ay8910_device(mconfig, AY8913, "AY-3-8913A", tag, owner, clock)
: ay8910_device(mconfig, AY8913, "AY-3-8913A", tag, owner, clock, "ay8913", __FILE__)
{
}
@ -1103,7 +1103,7 @@ ay8913_device::ay8913_device(const machine_config &mconfig, const char *tag, dev
const device_type AY8914 = &device_creator<ay8914_device>;
ay8914_device::ay8914_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: ay8910_device(mconfig, AY8914, "AY-3-8914", tag, owner, clock)
: ay8910_device(mconfig, AY8914, "AY-3-8914", tag, owner, clock, "ay8914", __FILE__)
{
}
@ -1111,7 +1111,7 @@ ay8914_device::ay8914_device(const machine_config &mconfig, const char *tag, dev
const device_type AY8930 = &device_creator<ay8930_device>;
ay8930_device::ay8930_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: ay8910_device(mconfig, AY8930, "AY8930", tag, owner, clock)
: ay8910_device(mconfig, AY8930, "AY8930", tag, owner, clock, "ay8930", __FILE__)
{
}
@ -1119,11 +1119,11 @@ ay8930_device::ay8930_device(const machine_config &mconfig, const char *tag, dev
const device_type YM2149 = &device_creator<ym2149_device>;
ym2149_device::ym2149_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: ay8910_device(mconfig, YM2149, "YM2149", tag, owner, clock)
: ay8910_device(mconfig, YM2149, "YM2149", tag, owner, clock, "ym2149", __FILE__)
{
}
ym2149_device::ym2149_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
: ay8910_device(mconfig, type, name, tag, owner, clock)
ym2149_device::ym2149_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: ay8910_device(mconfig, type, name, tag, owner, clock, shortname, source)
{
}
@ -1131,7 +1131,7 @@ ym2149_device::ym2149_device(const machine_config &mconfig, device_type type, co
const device_type YM3439 = &device_creator<ym3439_device>;
ym3439_device::ym3439_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: ym2149_device(mconfig, YM3439, "YM3439", tag, owner, clock)
: ym2149_device(mconfig, YM3439, "YM3439", tag, owner, clock, "ym3429", __FILE__)
{
}
@ -1139,7 +1139,7 @@ ym3439_device::ym3439_device(const machine_config &mconfig, const char *tag, dev
const device_type YMZ284 = &device_creator<ymz284_device>;
ymz284_device::ymz284_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: ym2149_device(mconfig, YMZ284, "YMZ284", tag, owner, clock)
: ym2149_device(mconfig, YMZ284, "YMZ284", tag, owner, clock, "ymz284", __FILE__)
{
}
@ -1147,6 +1147,6 @@ ymz284_device::ymz284_device(const machine_config &mconfig, const char *tag, dev
const device_type YMZ294 = &device_creator<ymz294_device>;
ymz294_device::ymz294_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: ym2149_device(mconfig, YMZ294, "YMZ294", tag, owner, clock)
: ym2149_device(mconfig, YMZ294, "YMZ294", tag, owner, clock, "ymz294", __FILE__)
{
}

View File

@ -100,7 +100,7 @@ class ay8910_device : public device_t,
{
public:
ay8910_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
ay8910_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
ay8910_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
DECLARE_READ8_MEMBER( data_r );
DECLARE_WRITE8_MEMBER( address_w );
@ -174,7 +174,7 @@ class ym2149_device : public ay8910_device
{
public:
ym2149_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
ym2149_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
ym2149_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
protected:
// device-level overrides
virtual void device_start();

View File

@ -30,7 +30,7 @@ const device_type BEEP = &device_creator<beep_device>;
//-------------------------------------------------
beep_device::beep_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, BEEP, "Beep", tag, owner, clock),
: device_t(mconfig, BEEP, "Beep", tag, owner, clock, "beep", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_enable(0),

View File

@ -85,7 +85,7 @@ INLINE int limit(INT32 in)
//-------------------------------------------------
c140_device::c140_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, C140, "C140", tag, owner, clock),
: device_t(mconfig, C140, "C140", tag, owner, clock, "c140", __FILE__),
device_sound_interface(mconfig, *this),
m_sample_rate(0),
m_stream(NULL),

View File

@ -36,7 +36,7 @@ ADDRESS_MAP_END
//-------------------------------------------------
c352_device::c352_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, C352, "C352", tag, owner, clock),
: device_t(mconfig, C352, "C352", tag, owner, clock, "c352", __FILE__),
device_sound_interface(mconfig, *this),
device_memory_interface(mconfig, *this),
m_space_config("samples", ENDIANNESS_LITTLE, 8, 24, 0, NULL, *ADDRESS_MAP_NAME(c352))

View File

@ -247,7 +247,7 @@ WRITE8_MEMBER( c6280_device::c6280_w )
const device_type C6280 = &device_creator<c6280_device>;
c6280_device::c6280_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, C6280, "HuC6280", tag, owner, clock),
: device_t(mconfig, C6280, "HuC6280", tag, owner, clock, "c6280", __FILE__),
device_sound_interface(mconfig, *this)
{
}

View File

@ -252,7 +252,7 @@ INT16 cdda_device::get_channel_volume(int channel)
const device_type CDDA = &device_creator<cdda_device>;
cdda_device::cdda_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CDDA, "CD/DA", tag, owner, clock),
: device_t(mconfig, CDDA, "CD/DA", tag, owner, clock, "cdda", __FILE__),
device_sound_interface(mconfig, *this)
{
}

View File

@ -48,7 +48,7 @@ const device_type CDP1863 = &device_creator<cdp1863_device>;
//-------------------------------------------------
cdp1863_device::cdp1863_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CDP1863, "CDP1863", tag, owner, clock),
: device_t(mconfig, CDP1863, "CDP1863", tag, owner, clock, "cdp1863", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_clock1(clock),

View File

@ -98,7 +98,7 @@ inline void cdp1864_device::initialize_palette()
//-------------------------------------------------
cdp1864_device::cdp1864_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CDP1864, "CDP1864", tag, owner, clock),
: device_t(mconfig, CDP1864, "CDP1864", tag, owner, clock, "cdp1864", __FILE__),
device_sound_interface(mconfig, *this),
m_read_inlace(*this),
m_read_rdata(*this),

View File

@ -342,7 +342,7 @@ inline int cdp1869_device::get_pen(int ccb0, int ccb1, int pcb)
//-------------------------------------------------
cdp1869_device::cdp1869_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CDP1869, "RCA CDP1869", tag, owner, clock),
: device_t(mconfig, CDP1869, "RCA CDP1869", tag, owner, clock, "cdp1869", __FILE__),
device_sound_interface(mconfig, *this),
device_memory_interface(mconfig, *this),
m_stream(NULL),

View File

@ -114,7 +114,7 @@ const device_type CEM3394 = &device_creator<cem3394_device>;
//-------------------------------------------------
cem3394_device::cem3394_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CEM3394, "CEM3394", tag, owner, clock),
: device_t(mconfig, CEM3394, "CEM3394", tag, owner, clock, "cem3394", __FILE__),
device_sound_interface(mconfig, *this),
m_external(NULL),
m_stream(NULL),

View File

@ -262,7 +262,7 @@ static const int pitch_vals[32] = {
const device_type DIGITALKER = &device_creator<digitalker_device>;
digitalker_device::digitalker_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DIGITALKER, "Digitalker", tag, owner, clock),
: device_t(mconfig, DIGITALKER, "Digitalker", tag, owner, clock, "digitalker", __FILE__),
device_sound_interface(mconfig, *this),
m_rom(NULL),
m_stream(NULL),

View File

@ -825,7 +825,7 @@ void discrete_device::static_set_intf(device_t &device, const discrete_block *in
//-------------------------------------------------
discrete_device::discrete_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, type, name, tag, owner, clock),
: device_t(mconfig, type, name, tag, owner, clock, "discrete", __FILE__),
m_intf(NULL),
m_sample_rate(0),
m_sample_time(0),

View File

@ -236,7 +236,7 @@ void dmadac_set_volume(dmadac_sound_device **devlist, UINT8 num_channels, UINT16
const device_type DMADAC = &device_creator<dmadac_sound_device>;
dmadac_sound_device::dmadac_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DMADAC, "DMA-driven DAC", tag, owner, clock),
: device_t(mconfig, DMADAC, "DMA-driven DAC", tag, owner, clock, "dmadac", __FILE__),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(dmadac_state);

View File

@ -62,7 +62,7 @@ ADDRESS_MAP_END
//-------------------------------------------------
es5503_device::es5503_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ES5503, "Ensoniq ES5503", tag, owner, clock),
: device_t(mconfig, ES5503, "Ensoniq ES5503", tag, owner, clock, "es5503", __FILE__),
device_sound_interface(mconfig, *this),
device_memory_interface(mconfig, *this),
m_space_config("es5503_samples", ENDIANNESS_LITTLE, 8, 17, 0, NULL, *ADDRESS_MAP_NAME(es5503)),

View File

@ -2160,14 +2160,14 @@ void es5505_voice_bank_w(device_t *device, int voice, int bank)
const device_type ES5506 = &device_creator<es5506_device>;
es5506_device::es5506_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ES5506, "ES5506", tag, owner, clock),
: device_t(mconfig, ES5506, "ES5506", tag, owner, clock, "es5506", __FILE__),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(es5506_state);
}
es5506_device::es5506_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, type, name, tag, owner, clock),
es5506_device::es5506_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(es5506_state);
@ -2223,7 +2223,7 @@ void es5506_device::sound_stream_update(sound_stream &stream, stream_sample_t **
const device_type ES5505 = &device_creator<es5505_device>;
es5505_device::es5505_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: es5506_device(mconfig, ES5505, "ES5505", tag, owner, clock)
: es5506_device(mconfig, ES5505, "ES5505", tag, owner, clock, "es5505", __FILE__)
{
}

View File

@ -30,7 +30,7 @@ class es5506_device : public device_t,
{
public:
es5506_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
es5506_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
es5506_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
~es5506_device() { global_free(m_token); }
// access to legacy token

View File

@ -38,7 +38,7 @@ const device_type ES8712 = &device_creator<es8712_device>;
//-------------------------------------------------
es8712_device::es8712_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ES8712, "ES8712", tag, owner, clock),
: device_t(mconfig, ES8712, "ES8712", tag, owner, clock, "es8712", __FILE__),
device_sound_interface(mconfig, *this),
m_playing(0),
m_base_offset(0),

View File

@ -18,7 +18,7 @@ const device_type FILTER_RC = &device_creator<filter_rc_device>;
//-------------------------------------------------
filter_rc_device::filter_rc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, FILTER_RC, "RC Filter", tag, owner, clock),
: device_t(mconfig, FILTER_RC, "RC Filter", tag, owner, clock, "filter_rc", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_k(0),

View File

@ -10,7 +10,7 @@ const device_type FILTER_VOLUME = &device_creator<filter_volume_device>;
//-------------------------------------------------
filter_volume_device::filter_volume_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, FILTER_VOLUME, "Volume Filter", tag, owner, clock),
: device_t(mconfig, FILTER_VOLUME, "Volume Filter", tag, owner, clock, "filter_volume", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_gain(0)

View File

@ -55,15 +55,15 @@ static wav_file* wavraw; // Raw waveform
const device_type GAELCO_GAE1 = &device_creator<gaelco_gae1_device>;
gaelco_gae1_device::gaelco_gae1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GAELCO_GAE1, "Gaelco GAE1", tag, owner, clock),
: device_t(mconfig, GAELCO_GAE1, "Gaelco GAE1", tag, owner, clock, "gaelco_gae1", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_snd_data(NULL)
{
}
gaelco_gae1_device::gaelco_gae1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, type, name, tag, owner, clock),
gaelco_gae1_device::gaelco_gae1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_snd_data(NULL)
@ -277,6 +277,6 @@ void gaelco_gae1_device::device_stop()
const device_type GAELCO_CG1V = &device_creator<gaelco_cg1v_device>;
gaelco_cg1v_device::gaelco_cg1v_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: gaelco_gae1_device(mconfig, GAELCO_CG1V, "Gaelco CG1V", tag, owner, clock)
: gaelco_gae1_device(mconfig, GAELCO_CG1V, "Gaelco CG1V", tag, owner, clock, "gaelco_cg1v", __FILE__)
{
}

View File

@ -50,7 +50,7 @@ class gaelco_gae1_device : public device_t,
{
public:
gaelco_gae1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
gaelco_gae1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
gaelco_gae1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
~gaelco_gae1_device() { }
protected:

View File

@ -296,13 +296,13 @@ int hc55516_clock_state_r(device_t *device)
const device_type HC55516 = &device_creator<hc55516_device>;
hc55516_device::hc55516_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, HC55516, "HC-55516", tag, owner, clock),
: device_t(mconfig, HC55516, "HC-55516", tag, owner, clock, "hc55516", __FILE__),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(hc55516_state);
}
hc55516_device::hc55516_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, type, name, tag, owner, clock),
hc55516_device::hc55516_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(hc55516_state);
@ -350,7 +350,7 @@ void hc55516_device::sound_stream_update(sound_stream &stream, stream_sample_t *
const device_type MC3417 = &device_creator<mc3417_device>;
mc3417_device::mc3417_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: hc55516_device(mconfig, MC3417, "MC3417", tag, owner, clock)
: hc55516_device(mconfig, MC3417, "MC3417", tag, owner, clock, "mc3417", __FILE__)
{
}
@ -377,7 +377,7 @@ void mc3417_device::sound_stream_update(sound_stream &stream, stream_sample_t **
const device_type MC3418 = &device_creator<mc3418_device>;
mc3418_device::mc3418_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: hc55516_device(mconfig, MC3418, "MC3418", tag, owner, clock)
: hc55516_device(mconfig, MC3418, "MC3418", tag, owner, clock, "mc3418", __FILE__)
{
}

View File

@ -20,7 +20,7 @@ class hc55516_device : public device_t,
{
public:
hc55516_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
hc55516_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
hc55516_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
~hc55516_device() { global_free(m_token); }
// access to legacy token

View File

@ -22,7 +22,7 @@
const device_type I5000_SND = &device_creator<i5000snd_device>;
i5000snd_device::i5000snd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, I5000_SND, "I5000", tag, owner, clock),
: device_t(mconfig, I5000_SND, "I5000", tag, owner, clock, "i5000snd", __FILE__),
device_sound_interface(mconfig, *this)
{
}

View File

@ -22,7 +22,7 @@ void ics2115_device::static_set_irqf(device_t &device, void (*irqf)(device_t *de
}
ics2115_device::ics2115_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ICS2115, "ICS2115", tag, owner, clock),
: device_t(mconfig, ICS2115, "ICS2115", tag, owner, clock, "ics2115", __FILE__),
device_sound_interface(mconfig, *this),
m_irq_cb(NULL)
{

View File

@ -45,7 +45,7 @@ const device_type IREMGA20 = &device_creator<iremga20_device>;
//-------------------------------------------------
iremga20_device::iremga20_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, IREMGA20, "Irem GA20", tag, owner, clock),
: device_t(mconfig, IREMGA20, "Irem GA20", tag, owner, clock, "iremga20", __FILE__),
device_sound_interface(mconfig, *this),
m_rom(NULL),
m_rom_size(0),

View File

@ -44,7 +44,7 @@ const device_type K005289 = &device_creator<k005289_device>;
//-------------------------------------------------
k005289_device::k005289_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K005289, "K005289", tag, owner, clock),
: device_t(mconfig, K005289, "K005289", tag, owner, clock, "k005289", __FILE__),
device_sound_interface(mconfig, *this),
m_sound_prom(NULL),
m_stream(NULL),

View File

@ -146,7 +146,7 @@ static const float kdaca_fn[][2] = {
const device_type K007232 = &device_creator<k007232_device>;
k007232_device::k007232_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K007232, "K007232", tag, owner, clock),
: device_t(mconfig, K007232, "K007232", tag, owner, clock, "k007232", __FILE__),
device_sound_interface(mconfig, *this)
{

View File

@ -42,7 +42,7 @@ const device_type K051649 = &device_creator<k051649_device>;
//-------------------------------------------------
k051649_device::k051649_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K051649, "K051649", tag, owner, clock),
: device_t(mconfig, K051649, "K051649", tag, owner, clock, "k051649", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_mclock(0),

View File

@ -27,7 +27,7 @@ const device_type K053260 = &device_creator<k053260_device>;
//-------------------------------------------------
k053260_device::k053260_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K053260, "K053260", tag, owner, clock),
: device_t(mconfig, K053260, "K053260", tag, owner, clock, "k053260", __FILE__),
device_sound_interface(mconfig, *this),
m_channel(NULL),
m_mode(0),

View File

@ -13,7 +13,7 @@
const device_type K056800 = &device_creator<k056800_device>;
k056800_device::k056800_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K056800, "Konami 056800 MIRAC", tag, owner, clock)
: device_t(mconfig, K056800, "Konami 056800 MIRAC", tag, owner, clock, "k056800", __FILE__)
{
}

View File

@ -140,7 +140,7 @@ inline void lmc1992_device::execute_command(int addr, int data)
//-------------------------------------------------
lmc1992_device::lmc1992_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, LMC1992, "LMC1992", tag, owner, clock),
: device_t(mconfig, LMC1992, "LMC1992", tag, owner, clock, "lmc1992", __FILE__),
device_sound_interface(mconfig, *this)
{
}

View File

@ -9,7 +9,7 @@
const device_type MAS3507D = &device_creator<mas3507d_device>;
mas3507d_device::mas3507d_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MAS3507D, "MAS3507D", tag, owner, clock),
: device_t(mconfig, MAS3507D, "MAS3507D", tag, owner, clock, "mas3507d", __FILE__),
device_sound_interface(mconfig, *this)
{
}

View File

@ -686,8 +686,8 @@ static ADDRESS_MAP_START( mos6560_colorram_map, AS_1, 8, mos6560_device )
AM_RANGE(0x000, 0x3ff) AM_RAM
ADDRESS_MAP_END
mos6560_device::mos6560_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
: device_t(mconfig, type, name, tag, owner, clock),
mos6560_device::mos6560_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_memory_interface(mconfig, *this),
device_sound_interface(mconfig, *this),
m_variant(variant),
@ -699,7 +699,7 @@ mos6560_device::mos6560_device(const machine_config &mconfig, device_type type,
}
mos6560_device::mos6560_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MOS6560, "MOS6560", tag, owner, clock),
: device_t(mconfig, MOS6560, "MOS6560", tag, owner, clock, "mos6560", __FILE__),
device_memory_interface(mconfig, *this),
device_sound_interface(mconfig, *this),
m_variant(TYPE_6560),
@ -711,10 +711,10 @@ mos6560_device::mos6560_device(const machine_config &mconfig, const char *tag, d
}
mos6561_device::mos6561_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
:mos6560_device(mconfig, MOS6561, "MOS6561", tag, owner, clock, TYPE_6561) { }
:mos6560_device(mconfig, MOS6561, "MOS6561", tag, owner, clock, TYPE_6561, "mos6561", __FILE__) { }
mos656x_attack_ufo_device::mos656x_attack_ufo_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
:mos6560_device(mconfig, MOS656X_ATTACK_UFO, "MOS656X", tag, owner, clock, TYPE_ATTACK_UFO) { }
:mos6560_device(mconfig, MOS656X_ATTACK_UFO, "MOS656X", tag, owner, clock, TYPE_ATTACK_UFO, "mos656x_attack_ufo", __FILE__) { }
//-------------------------------------------------

View File

@ -128,7 +128,7 @@ class mos6560_device : public device_t,
public device_sound_interface
{
public:
mos6560_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
mos6560_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source);
mos6560_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
template<class _potx, class _poty> void set_callbacks(const char *screen_tag, _potx potx, _poty poty) {

View File

@ -38,8 +38,8 @@ const device_type MOS8580 = &device_creator<mos8580_device>;
// mos6581_device - constructor
//-------------------------------------------------
mos6581_device::mos6581_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
: device_t(mconfig, type, name, tag, owner, clock),
mos6581_device::mos6581_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this),
m_read_potx(*this),
m_read_poty(*this),
@ -50,7 +50,7 @@ mos6581_device::mos6581_device(const machine_config &mconfig, device_type type,
}
mos6581_device::mos6581_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MOS6581, "MOS6581", tag, owner, clock),
: device_t(mconfig, MOS6581, "MOS6581", tag, owner, clock, "mos6581", __FILE__),
device_sound_interface(mconfig, *this),
m_read_potx(*this),
m_read_poty(*this),
@ -66,7 +66,7 @@ mos6581_device::mos6581_device(const machine_config &mconfig, const char *tag, d
//-------------------------------------------------
mos8580_device::mos8580_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: mos6581_device(mconfig, MOS8580, "MOS8580", tag, owner, clock, TYPE_8580)
: mos6581_device(mconfig, MOS8580, "MOS8580", tag, owner, clock, TYPE_8580, "mos8580", __FILE__)
{
}

View File

@ -54,7 +54,7 @@ class mos6581_device : public device_t,
public device_sound_interface
{
public:
mos6581_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
mos6581_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source);
mos6581_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
~mos6581_device() { global_free(m_token); }

View File

@ -255,7 +255,7 @@ inline UINT8 mos7360_device::read_rom(offs_t offset)
//-------------------------------------------------
mos7360_device::mos7360_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MOS7360, "MOS7360", tag, owner, clock),
: device_t(mconfig, MOS7360, "MOS7360", tag, owner, clock, "mos7360", __FILE__),
device_memory_interface(mconfig, *this),
device_sound_interface(mconfig, *this),
m_videoram_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(mos7360_videoram_map)),

View File

@ -56,20 +56,20 @@ const device_type MSM6585 = &device_creator<msm6585_device>;
msm5205_device::msm5205_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MSM5205, "MSM5205", tag, owner, clock),
: device_t(mconfig, MSM5205, "MSM5205", tag, owner, clock, "msm5205", __FILE__),
device_sound_interface(mconfig, *this)
{
}
msm5205_device::msm5205_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, type, name, tag, owner, clock),
msm5205_device::msm5205_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this)
{
}
msm6585_device::msm6585_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: msm5205_device(mconfig, MSM6585, "MSM6585", tag, owner, clock)
: msm5205_device(mconfig, MSM6585, "MSM6585", tag, owner, clock, "msm6585", __FILE__)
{
}

View File

@ -36,7 +36,7 @@ class msm5205_device : public device_t,
{
public:
msm5205_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
msm5205_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
msm5205_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
~msm5205_device() {}
// reset signal should keep for 2cycle of VCLK

View File

@ -853,7 +853,7 @@ void msm5232_set_clock(device_t *device, int clock)
const device_type MSM5232 = &device_creator<msm5232_device>;
msm5232_device::msm5232_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MSM5232, "MSM5232", tag, owner, clock),
: device_t(mconfig, MSM5232, "MSM5232", tag, owner, clock, "msm5232", __FILE__),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(msm5232_state);

View File

@ -675,7 +675,7 @@ void multipcm_set_bank(device_t *device, UINT32 leftoffs, UINT32 rightoffs)
const device_type MULTIPCM = &device_creator<multipcm_device>;
multipcm_device::multipcm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MULTIPCM, "Sega/Yamaha 315-5560", tag, owner, clock),
: device_t(mconfig, MULTIPCM, "Sega/Yamaha 315-5560", tag, owner, clock, "multipcm", __FILE__),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(MultiPCM);

View File

@ -30,7 +30,7 @@ static const int vol_table[4] = { 26, 84, 200, 258 };
const device_type NAMCO_63701X = &device_creator<namco_63701x_device>;
namco_63701x_device::namco_63701x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NAMCO_63701X, "Namco 63701X", tag, owner, clock),
: device_t(mconfig, NAMCO_63701X, "Namco 63701X", tag, owner, clock, "namco_63701x", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_rom(NULL)

View File

@ -816,14 +816,14 @@ WRITE8_DEVICE_HANDLER( namco_snd_sharedram_w )
const device_type NAMCO = &device_creator<namco_device>;
namco_device::namco_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NAMCO, "Namco", tag, owner, clock),
: device_t(mconfig, NAMCO, "Namco", tag, owner, clock, "namco", __FILE__),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(namco_sound);
}
namco_device::namco_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, type, name, tag, owner, clock),
namco_device::namco_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(namco_sound);
@ -862,13 +862,13 @@ void namco_device::sound_stream_update(sound_stream &stream, stream_sample_t **i
const device_type NAMCO_15XX = &device_creator<namco_15xx_device>;
namco_15xx_device::namco_15xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: namco_device(mconfig, NAMCO_15XX, "Namco 15XX", tag, owner, clock)
: namco_device(mconfig, NAMCO_15XX, "Namco 15XX", tag, owner, clock, "namco_15xx", __FILE__)
{
}
const device_type NAMCO_CUS30 = &device_creator<namco_cus30_device>;
namco_cus30_device::namco_cus30_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: namco_device(mconfig, NAMCO_CUS30, "Namco CUS30", tag, owner, clock)
: namco_device(mconfig, NAMCO_CUS30, "Namco CUS30", tag, owner, clock, "namco_cus30", __FILE__)
{
}

View File

@ -31,7 +31,7 @@ class namco_device : public device_t,
{
public:
namco_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
namco_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
namco_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
~namco_device() { global_free(m_token); }
// access to legacy token

View File

@ -769,7 +769,7 @@ static DEVICE_START( nesapu )
const device_type NES = &device_creator<nesapu_device>;
nesapu_device::nesapu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NES, "N2A03", tag, owner, clock),
: device_t(mconfig, NES, "N2A03", tag, owner, clock, "nesapu", __FILE__),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(nesapu_state);

View File

@ -51,7 +51,7 @@ enum
const device_type NILE = &device_creator<nile_device>;
nile_device::nile_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NILE, "NiLe", tag, owner, clock),
: device_t(mconfig, NILE, "NiLe", tag, owner, clock, "nile", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_sound_ram(NULL),

View File

@ -45,7 +45,7 @@ const device_type OKIM6258 = &device_creator<okim6258_device>;
//-------------------------------------------------
okim6258_device::okim6258_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, OKIM6258, "OKI6258", tag, owner, clock),
: device_t(mconfig, OKIM6258, "OKI6258", tag, owner, clock, "okim6258", __FILE__),
device_sound_interface(mconfig, *this),
m_status(0),
m_master_clock(0),

View File

@ -85,7 +85,7 @@ ADDRESS_MAP_END
//-------------------------------------------------
okim6295_device::okim6295_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, OKIM6295, "OKI6295", tag, owner, clock),
: device_t(mconfig, OKIM6295, "OKI6295", tag, owner, clock, "okim6295", __FILE__),
device_sound_interface(mconfig, *this),
device_memory_interface(mconfig, *this),
m_space_config("samples", ENDIANNESS_LITTLE, 8, 18, 0, NULL, *ADDRESS_MAP_NAME(okim6295)),

View File

@ -619,7 +619,7 @@ WRITE8_DEVICE_HANDLER( okim6376_w )
const device_type OKIM6376 = &device_creator<okim6376_device>;
okim6376_device::okim6376_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, OKIM6376, "OKI6376", tag, owner, clock),
: device_t(mconfig, OKIM6376, "OKI6376", tag, owner, clock, "okim6376", __FILE__),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(okim6376_state);

View File

@ -76,7 +76,7 @@ ADDRESS_MAP_END
//-------------------------------------------------
okim9810_device::okim9810_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, OKIM9810, "OKI9810", tag, owner, clock),
: device_t(mconfig, OKIM9810, "OKI9810", tag, owner, clock, "okim9810", __FILE__),
device_sound_interface(mconfig, *this),
device_memory_interface(mconfig, *this),
m_space_config("samples", ENDIANNESS_BIG, 8, 24, 0, NULL, *ADDRESS_MAP_NAME(okim9810)),

View File

@ -181,7 +181,7 @@ const device_type POKEY = &device_creator<pokey_device>;
//-------------------------------------------------
pokey_device::pokey_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, POKEY, "POKEY", tag, owner, clock),
: device_t(mconfig, POKEY, "POKEY", tag, owner, clock, "pokey", __FILE__),
device_sound_interface(mconfig, *this),
device_execute_interface(mconfig, *this),
device_state_interface(mconfig, *this),

View File

@ -64,7 +64,7 @@ const device_type RF5C400 = &device_creator<rf5c400_device>;
//-------------------------------------------------
rf5c400_device::rf5c400_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, RF5C400, "RF5C400", tag, owner, clock),
: device_t(mconfig, RF5C400, "RF5C400", tag, owner, clock, "rf5c400", __FILE__),
device_sound_interface(mconfig, *this),
m_rom(NULL),
m_rom_length(0),

View File

@ -19,7 +19,7 @@ const device_type RF5C68 = &device_creator<rf5c68_device>;
//-------------------------------------------------
rf5c68_device::rf5c68_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, RF5C68, "RF5C68", tag, owner, clock),
: device_t(mconfig, RF5C68, "RF5C68", tag, owner, clock, "rf5c68", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_cbank(0),

View File

@ -636,7 +636,7 @@ void s14001a_set_volume(device_t *device, int volume)
const device_type S14001A = &device_creator<s14001a_device>;
s14001a_device::s14001a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, S14001A, "S14001A", tag, owner, clock),
: device_t(mconfig, S14001A, "S14001A", tag, owner, clock, "s14001a", __FILE__),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(S14001AChip);

View File

@ -84,7 +84,7 @@ static DEVICE_START(s2636_sound)
const device_type S2636_SOUND = &device_creator<s2636_sound_device>;
s2636_sound_device::s2636_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, S2636_SOUND, "S2636", tag, owner, clock),
: device_t(mconfig, S2636_SOUND, "S2636", tag, owner, clock, "s2636", __FILE__),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(s2636_sound);

View File

@ -132,7 +132,7 @@ const device_type SAA1099 = &device_creator<saa1099_device>;
//-------------------------------------------------
saa1099_device::saa1099_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SAA1099, "SAA1099", tag, owner, clock),
: device_t(mconfig, SAA1099, "SAA1099", tag, owner, clock, "saa1099", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_all_ch_enable(0),

View File

@ -75,7 +75,7 @@ const device_type SAMPLES = &device_creator<samples_device>;
//-------------------------------------------------
samples_device::samples_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SAMPLES, "Samples", tag, owner, clock),
: device_t(mconfig, SAMPLES, "Samples", tag, owner, clock, "samples", __FILE__),
device_sound_interface(mconfig, *this)
{
}

View File

@ -1492,7 +1492,7 @@ READ16_DEVICE_HANDLER( scsp_midi_out_r )
const device_type SCSP = &device_creator<scsp_device>;
scsp_device::scsp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SCSP, "SCSP", tag, owner, clock),
: device_t(mconfig, SCSP, "SCSP", tag, owner, clock, "scsp", __FILE__),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(scsp_state);

View File

@ -2469,7 +2469,7 @@ static DEVICE_STOP( sn76477 )
const device_type SN76477 = &device_creator<sn76477_device>;
sn76477_device::sn76477_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SN76477, "SN76477", tag, owner, clock),
: device_t(mconfig, SN76477, "SN76477", tag, owner, clock, "sn76477", __FILE__),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(sn76477_state);

View File

@ -125,9 +125,9 @@
sn76496_base_device::sn76496_base_device(const machine_config &mconfig, device_type type, const char *name,
const char *tag, int feedbackmask, int noisetap1, int noisetap2, bool negate, bool stereo, int clockdivider, int freq0,
device_t *owner, UINT32 clock)
device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock),
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this),
m_feedback_mask(feedbackmask),
m_whitenoise_tap1(noisetap1),

View File

@ -25,7 +25,7 @@ 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, const char *tag,
int feedbackmask, int noisetap1, int noisetap2, bool negate, bool stereo, int clockdivider, int freq0,
device_t *owner, UINT32 clock);
device_t *owner, UINT32 clock, const char *shortname, const char *source);
DECLARE_READ_LINE_MEMBER( ready_r );
DECLARE_WRITE8_MEMBER( stereo_w );
void write(UINT8 data);
@ -72,7 +72,7 @@ class sn76496_device : public sn76496_base_device
{
public:
sn76496_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sn76496_base_device(mconfig, SN76496, "SN76496", tag, 0x10000, 0x04, 0x08, false, false, 8, true, owner, clock)
: sn76496_base_device(mconfig, SN76496, "SN76496", tag, 0x10000, 0x04, 0x08, false, false, 8, true, owner, clock, "sn76496", __FILE__)
{ }
};
@ -81,7 +81,7 @@ class u8106_device : public sn76496_base_device
{
public:
u8106_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sn76496_base_device(mconfig, U8106, "U8106", tag, 0x4000, 0x01, 0x02, true, false, 8, true, owner, clock)
: sn76496_base_device(mconfig, U8106, "U8106", tag, 0x4000, 0x01, 0x02, true, false, 8, true, owner, clock, "u8106", __FILE__)
{ }
};
@ -90,7 +90,7 @@ class y2404_device : public sn76496_base_device
{
public:
y2404_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sn76496_base_device(mconfig, Y2404, "Y2404", tag, 0x10000, 0x04, 0x08, false, false, 8, true, owner, clock)
: sn76496_base_device(mconfig, Y2404, "Y2404", tag, 0x10000, 0x04, 0x08, false, false, 8, true, owner, clock, "y2404", __FILE__)
{ }
};
@ -99,7 +99,7 @@ class sn76489_device : public sn76496_base_device
{
public:
sn76489_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sn76496_base_device(mconfig, SN76489, "SN76489", tag, 0x4000, 0x01, 0x02, true, false, 8, true, owner, clock)
: sn76496_base_device(mconfig, SN76489, "SN76489", tag, 0x4000, 0x01, 0x02, true, false, 8, true, owner, clock, "sn76489", __FILE__)
{ }
};
@ -108,7 +108,7 @@ class sn76489a_device : public sn76496_base_device
{
public:
sn76489a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sn76496_base_device(mconfig, SN76489A, "SN76489A", tag, 0x10000, 0x04, 0x08, false, false, 8, true, owner, clock)
: sn76496_base_device(mconfig, SN76489A, "SN76489A", tag, 0x10000, 0x04, 0x08, false, false, 8, true, owner, clock, "sn76489a", __FILE__)
{ }
};
@ -117,7 +117,7 @@ class sn76494_device : public sn76496_base_device
{
public:
sn76494_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sn76496_base_device(mconfig, SN76494, "SN76494", tag, 0x10000, 0x04, 0x08, false, false, 1, true, owner, clock)
: sn76496_base_device(mconfig, SN76494, "SN76494", tag, 0x10000, 0x04, 0x08, false, false, 1, true, owner, clock, "sn76494", __FILE__)
{ }
};
@ -126,7 +126,7 @@ class sn94624_device : public sn76496_base_device
{
public:
sn94624_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sn76496_base_device(mconfig, SN94624, "SN94624", tag, 0x4000, 0x01, 0x02, true, false, 1, true, owner, clock)
: sn76496_base_device(mconfig, SN94624, "SN94624", tag, 0x4000, 0x01, 0x02, true, false, 1, true, owner, clock, "sn94624", __FILE__)
{ }
};
@ -135,7 +135,7 @@ class ncr7496_device : public sn76496_base_device
{
public:
ncr7496_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sn76496_base_device(mconfig, NCR7496, "NCR7496", tag, 0x8000, 0x02, 0x20, false, false, 8, true, owner, clock)
: sn76496_base_device(mconfig, NCR7496, "NCR7496", tag, 0x8000, 0x02, 0x20, false, false, 8, true, owner, clock, "ncr7496", __FILE__)
{ }
};
@ -144,7 +144,7 @@ class gamegear_device : public sn76496_base_device
{
public:
gamegear_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sn76496_base_device(mconfig, GAMEGEAR, "Game Gear PSG", tag, 0x8000, 0x01, 0x08, true, true, 8, false, owner, clock)
: sn76496_base_device(mconfig, GAMEGEAR, "Game Gear PSG", tag, 0x8000, 0x01, 0x08, true, true, 8, false, owner, clock, "gamegear", __FILE__)
{ }
};
@ -153,7 +153,7 @@ class segapsg_device : public sn76496_base_device
{
public:
segapsg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sn76496_base_device(mconfig, SEGAPSG, "SEGA VDP PSG", tag, 0x8000, 0x01, 0x08, true, false, 8, false, owner, clock)
: sn76496_base_device(mconfig, SEGAPSG, "SEGA VDP PSG", tag, 0x8000, 0x01, 0x08, true, false, 8, false, owner, clock, "segapsg", __FILE__)
{ }
};

View File

@ -20,7 +20,7 @@ const device_type SNKWAVE = &device_creator<snkwave_device>;
//-------------------------------------------------
snkwave_device::snkwave_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SNKWAVE, "SNK Wave", tag, owner, clock),
: device_t(mconfig, SNKWAVE, "SNK Wave", tag, owner, clock, "snkwave", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_external_clock(0),

View File

@ -240,7 +240,7 @@ UINT8 sp0250_drq_r(device_t *device)
const device_type SP0250 = &device_creator<sp0250_device>;
sp0250_device::sp0250_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SP0250, "SP0250", tag, owner, clock),
: device_t(mconfig, SP0250, "SP0250", tag, owner, clock, "sp0250", __FILE__),
device_sound_interface(mconfig, *this)
{
m_token = global_alloc_clear(sp0250_state);

View File

@ -94,7 +94,7 @@ const device_type SP0256 = &device_creator<sp0256_device>;
//**************************************************************************
sp0256_device::sp0256_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SP0256, "SP0256", tag, owner, clock),
: device_t(mconfig, SP0256, "SP0256", tag, owner, clock, "sp0256", __FILE__),
device_sound_interface(mconfig, *this)
{
}

View File

@ -82,7 +82,7 @@ static const int RATE_MULTIPLIER = 4;
const device_type SPEAKER_SOUND = &device_creator<speaker_sound_device>;
speaker_sound_device::speaker_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SPEAKER_SOUND, "Filtered 1-bit DAC", tag, owner, clock),
: device_t(mconfig, SPEAKER_SOUND, "Filtered 1-bit DAC", tag, owner, clock, "speaker", __FILE__),
device_sound_interface(mconfig, *this)
{
}

View File

@ -954,7 +954,7 @@ static int shift_register15(int &shift)
//-------------------------------------------------
spu_device::spu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, SPU, "SPU", tag, owner, clock),
device_t(mconfig, SPU, "SPU", tag, owner, clock, "spu", __FILE__),
device_sound_interface(mconfig, *this),
m_irq_handler(*this),
dirty_flags(-1),

View File

@ -23,7 +23,7 @@ const device_type ST0016 = &device_creator<st0016_device>;
//-------------------------------------------------
st0016_device::st0016_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ST0016, "ST0016", tag, owner, clock),
: device_t(mconfig, ST0016, "ST0016", tag, owner, clock, "st0016", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(NULL),
m_sound_ram(NULL)

View File

@ -37,7 +37,7 @@ const device_type T6721A = &device_creator<t6721a_device>;
//-------------------------------------------------
t6721a_device::t6721a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, T6721A, "T6721A", tag, owner, clock),
: device_t(mconfig, T6721A, "T6721A", tag, owner, clock, "t6721a", __FILE__),
device_sound_interface(mconfig, *this),
m_eos_handler(*this),
m_dtrd_handler(*this),

View File

@ -348,7 +348,7 @@ void t6w28_device::set_enable(bool enable)
const device_type T6W28 = &device_creator<t6w28_device>;
t6w28_device::t6w28_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, T6W28, "T6W28", tag, owner, clock),
: device_t(mconfig, T6W28, "T6W28", tag, owner, clock, "t6w28", __FILE__),
device_sound_interface(mconfig, *this)
{
}

View File

@ -23,7 +23,7 @@
const device_type TC8830F = &device_creator<tc8830f_device>;
tc8830f_device::tc8830f_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TC8830F, "TC8830F", tag, owner, clock),
: device_t(mconfig, TC8830F, "TC8830F", tag, owner, clock, "tc8830f", __FILE__),
device_sound_interface(mconfig, *this)
{
}

View File

@ -15,7 +15,7 @@ const device_type TIA = &device_creator<tia_device>;
//-------------------------------------------------
tia_device::tia_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TIA, "TIA", tag, owner, clock),
: device_t(mconfig, TIA, "TIA", tag, owner, clock, "tia_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_channel(NULL),
m_chip(NULL)

View File

@ -20,7 +20,7 @@ const device_type TMS3615 = &device_creator<tms3615_device>;
//-------------------------------------------------
tms3615_device::tms3615_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TMS3615, "TMS3615", tag, owner, clock),
: device_t(mconfig, TMS3615, "TMS3615", tag, owner, clock, "tms3615", __FILE__),
device_sound_interface(mconfig, *this),
m_channel(0),
m_samplerate(0),

View File

@ -322,7 +322,7 @@ const device_type TMS36XX = &device_creator<tms36xx_device>;
//-------------------------------------------------
tms36xx_device::tms36xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TMS36XX, "TMS36XX", tag, owner, clock),
: device_t(mconfig, TMS36XX, "TMS36XX", tag, owner, clock, "tms36xx", __FILE__),
device_sound_interface(mconfig, *this),
m_subtype(NULL),
m_channel(NULL),

View File

@ -1362,13 +1362,13 @@ WRITE_LINE_MEMBER( tmsprom_device::enable_w )
const device_type TMS5110 = &device_creator<tms5110_device>;
tms5110_device::tms5110_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TMS5110, "TMS5110", tag, owner, clock),
: device_t(mconfig, TMS5110, "TMS5110", tag, owner, clock, "tms5110", __FILE__),
device_sound_interface(mconfig, *this)
{
}
tms5110_device::tms5110_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, type, name, tag, owner, clock),
tms5110_device::tms5110_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this)
{
}
@ -1387,7 +1387,7 @@ const device_type TMS5100 = &device_creator<tms5100_device>;
tms5100_device::tms5100_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: tms5110_device(mconfig, TMS5100, "TMS5100", tag, owner, clock)
: tms5110_device(mconfig, TMS5100, "TMS5100", tag, owner, clock, "tms5100", __FILE__)
{
}
@ -1395,7 +1395,7 @@ tms5100_device::tms5100_device(const machine_config &mconfig, const char *tag, d
const device_type TMS5110A = &device_creator<tms5110a_device>;
tms5110a_device::tms5110a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: tms5110_device(mconfig, TMS5110A, "TMS5110A", tag, owner, clock)
: tms5110_device(mconfig, TMS5110A, "TMS5110A", tag, owner, clock, "tms5110a", __FILE__)
{
}
@ -1403,7 +1403,7 @@ tms5110a_device::tms5110a_device(const machine_config &mconfig, const char *tag,
const device_type CD2801 = &device_creator<cd2801_device>;
cd2801_device::cd2801_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: tms5110_device(mconfig, CD2801, "CD2801", tag, owner, clock)
: tms5110_device(mconfig, CD2801, "CD2801", tag, owner, clock, "cd2801", __FILE__)
{
}
@ -1411,7 +1411,7 @@ cd2801_device::cd2801_device(const machine_config &mconfig, const char *tag, dev
const device_type TMC0281 = &device_creator<tmc0281_device>;
tmc0281_device::tmc0281_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: tms5110_device(mconfig, TMC0281, "TMC0281", tag, owner, clock)
: tms5110_device(mconfig, TMC0281, "TMC0281", tag, owner, clock, "tmc0281", __FILE__)
{
}
@ -1419,7 +1419,7 @@ tmc0281_device::tmc0281_device(const machine_config &mconfig, const char *tag, d
const device_type CD2802 = &device_creator<cd2802_device>;
cd2802_device::cd2802_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: tms5110_device(mconfig, CD2802, "CD2802", tag, owner, clock)
: tms5110_device(mconfig, CD2802, "CD2802", tag, owner, clock, "cd2802", __FILE__)
{
}
@ -1427,7 +1427,7 @@ cd2802_device::cd2802_device(const machine_config &mconfig, const char *tag, dev
const device_type M58817 = &device_creator<m58817_device>;
m58817_device::m58817_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: tms5110_device(mconfig, M58817, "M58817", tag, owner, clock)
: tms5110_device(mconfig, M58817, "M58817", tag, owner, clock, "m58817", __FILE__)
{
}
@ -1435,7 +1435,7 @@ m58817_device::m58817_device(const machine_config &mconfig, const char *tag, dev
const device_type TMSPROM = &device_creator<tmsprom_device>;
tmsprom_device::tmsprom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TMSPROM, "TMSPROM", tag, owner, clock)
: device_t(mconfig, TMSPROM, "TMSPROM", tag, owner, clock, "tmsprom", __FILE__)
{
}

View File

@ -45,7 +45,7 @@ class tms5110_device : public device_t,
{
public:
tms5110_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
tms5110_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
tms5110_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
DECLARE_WRITE8_MEMBER( ctl_w );
DECLARE_READ8_MEMBER( ctl_r );

View File

@ -1826,7 +1826,7 @@ void tms5220_device::set_frequency(int frequency)
const device_type TMS5220C = &device_creator<tms5220c_device>;
tms5220c_device::tms5220c_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: tms5220_device(mconfig, TMS5220C, "TMS5220C", tag, owner, clock)
: tms5220_device(mconfig, TMS5220C, "TMS5220C", tag, owner, clock, "tms5220c", __FILE__)
{
}
@ -1834,7 +1834,7 @@ tms5220c_device::tms5220c_device(const machine_config &mconfig, const char *tag,
const device_type TMS5220 = &device_creator<tms5220_device>;
tms5220_device::tms5220_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TMS5220, "TMS5220", tag, owner, clock),
: device_t(mconfig, TMS5220, "TMS5220", tag, owner, clock, "tms5220", __FILE__),
device_sound_interface(mconfig, *this),
m_irq_handler(*this),
m_readyq_handler(*this),
@ -1842,8 +1842,8 @@ tms5220_device::tms5220_device(const machine_config &mconfig, const char *tag, d
{
}
tms5220_device::tms5220_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, type, name, tag, owner, clock),
tms5220_device::tms5220_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this),
m_irq_handler(*this),
m_readyq_handler(*this),
@ -1865,7 +1865,7 @@ void tms5220_device::device_config_complete()
const device_type TMC0285 = &device_creator<tmc0285_device>;
tmc0285_device::tmc0285_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: tms5220_device(mconfig, TMC0285, "TMC0285", tag, owner, clock)
: tms5220_device(mconfig, TMC0285, "TMC0285", tag, owner, clock, "tmc0285", __FILE__)
{
}
@ -1873,6 +1873,6 @@ tmc0285_device::tmc0285_device(const machine_config &mconfig, const char *tag, d
const device_type TMS5200 = &device_creator<tms5200_device>;
tms5200_device::tms5200_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: tms5220_device(mconfig, TMS5200, "TMS5200", tag, owner, clock)
: tms5220_device(mconfig, TMS5200, "TMS5200", tag, owner, clock, "tms5200", __FILE__)
{
}

Some files were not shown because too many files have changed in this diff Show More